diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core.pri index 65310b62..e4f3f13a 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core.pri +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core.pri @@ -3,10 +3,12 @@ HEADERS += \ $$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.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.cpp index 3fce4bcf..df0700be 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.cpp @@ -13,6 +13,11 @@ #include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -20,26 +25,29 @@ #include #include #include +#include #include #include #include -#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() { @@ -58,7 +66,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -80,7 +88,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -113,7 +121,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -146,7 +154,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -179,7 +187,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -201,7 +209,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -223,7 +231,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -245,7 +253,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -267,7 +275,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -393,7 +401,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -426,7 +434,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -459,7 +467,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -481,7 +489,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -514,7 +522,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -536,7 +544,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -569,7 +577,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -602,7 +610,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -635,7 +643,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -668,7 +676,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -690,7 +698,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -723,7 +731,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -756,7 +764,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -789,7 +797,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -822,7 +830,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -855,7 +863,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -888,7 +896,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -921,7 +929,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -954,7 +962,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -987,7 +995,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1020,7 +1028,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1053,7 +1061,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1086,7 +1094,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1119,7 +1127,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1152,7 +1160,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1185,7 +1193,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1207,7 +1215,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1240,7 +1248,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1273,7 +1281,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1306,7 +1314,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1339,7 +1347,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1372,7 +1380,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1405,7 +1413,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1427,7 +1435,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1460,7 +1468,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1493,7 +1501,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1526,7 +1534,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1559,7 +1567,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1581,7 +1589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1937,7 +1945,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1970,7 +1978,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2003,7 +2011,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2025,7 +2033,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2047,7 +2055,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2080,7 +2088,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2113,7 +2121,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2146,7 +2154,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2179,7 +2187,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2201,7 +2209,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2234,7 +2242,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2267,7 +2275,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2300,7 +2308,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2333,7 +2341,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2366,7 +2374,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2399,7 +2407,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2432,7 +2440,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2465,7 +2473,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2498,7 +2506,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2531,7 +2539,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2564,7 +2572,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2597,7 +2605,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2630,7 +2638,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2652,7 +2660,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2685,7 +2693,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2718,7 +2726,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2751,7 +2759,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2784,7 +2792,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2817,7 +2825,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2850,7 +2858,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2872,7 +2880,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2905,7 +2913,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2938,7 +2946,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2971,7 +2979,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3004,7 +3012,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3026,7 +3034,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3071,7 +3079,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3093,7 +3101,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3126,7 +3134,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3159,7 +3167,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3181,7 +3189,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3203,7 +3211,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3225,7 +3233,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3295,7 +3303,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3317,7 +3325,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3350,7 +3358,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3383,7 +3391,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3416,7 +3424,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3438,7 +3446,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3460,7 +3468,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3570,7 +3578,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3592,7 +3600,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3625,7 +3633,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3658,7 +3666,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3691,7 +3699,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3713,7 +3721,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3735,7 +3743,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3757,7 +3765,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3779,7 +3787,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3957,7 +3965,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3990,7 +3998,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4023,7 +4031,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4056,7 +4064,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4078,7 +4086,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4100,7 +4108,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4122,7 +4130,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4144,7 +4152,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4166,7 +4174,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4199,7 +4207,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4232,7 +4240,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4265,7 +4273,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4298,7 +4306,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4331,7 +4339,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4364,7 +4372,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4397,7 +4405,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4430,7 +4438,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4463,7 +4471,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4496,7 +4504,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4518,7 +4526,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4551,7 +4559,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4584,7 +4592,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4617,7 +4625,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4718,1943 +4726,2413 @@ void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrapped -PythonQtShell_QChildEvent::~PythonQtShell_QChildEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QChildEvent* PythonQtWrapper_QChildEvent::new_QChildEvent(QEvent::Type type, QObject* child) +QCborArray* PythonQtWrapper_QCborArray::new_QCborArray() { -return new PythonQtShell_QChildEvent(type, child); } +return new QCborArray(); } -bool PythonQtWrapper_QChildEvent::added(QChildEvent* theWrappedObject) const +QCborArray* PythonQtWrapper_QCborArray::new_QCborArray(const QCborArray& other) +{ +return new QCborArray(other); } + +void PythonQtWrapper_QCborArray::append(QCborArray* theWrappedObject, const QCborValue& value) { - return ( theWrappedObject->added()); + ( theWrappedObject->append(value)); } -QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const +QCborValue PythonQtWrapper_QCborArray::at(QCborArray* theWrappedObject, qsizetype i) const { - return ( theWrappedObject->child()); + return ( theWrappedObject->at(i)); } -bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const +void PythonQtWrapper_QCborArray::clear(QCborArray* theWrappedObject) { - return ( theWrappedObject->polished()); + ( theWrappedObject->clear()); } -bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const +int PythonQtWrapper_QCborArray::compare(QCborArray* theWrappedObject, const QCborArray& other) const { - return ( theWrappedObject->removed()); + return ( theWrappedObject->compare(other)); } - - -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 +bool PythonQtWrapper_QCborArray::contains(QCborArray* theWrappedObject, const QCborValue& value) const { - return ( theWrappedObject->caseSensitivity()); + return ( theWrappedObject->contains(value)); } -int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QChar* s1, int len1, const QChar* s2, int len2) const +bool PythonQtWrapper_QCborArray::empty(QCborArray* theWrappedObject) const { - return ( theWrappedObject->compare(s1, len1, s2, len2)); + return ( theWrappedObject->empty()); } -int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QString& s1, const QString& s2) const +QCborValue PythonQtWrapper_QCborArray::first(QCborArray* theWrappedObject) const { - return ( theWrappedObject->compare(s1, s2)); + return ( theWrappedObject->first()); } -int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QStringRef& s1, const QStringRef& s2) const +QCborArray PythonQtWrapper_QCborArray::static_QCborArray_fromJsonArray(const QJsonArray& array) { - return ( theWrappedObject->compare(s1, s2)); + return (QCborArray::fromJsonArray(array)); } -bool PythonQtWrapper_QCollator::ignorePunctuation(QCollator* theWrappedObject) const +QCborArray PythonQtWrapper_QCborArray::static_QCborArray_fromStringList(const QStringList& list) { - return ( theWrappedObject->ignorePunctuation()); + return (QCborArray::fromStringList(list)); } -QLocale PythonQtWrapper_QCollator::locale(QCollator* theWrappedObject) const +QCborArray PythonQtWrapper_QCborArray::static_QCborArray_fromVariantList(const QList& list) { - return ( theWrappedObject->locale()); + return (QCborArray::fromVariantList(list)); } -bool PythonQtWrapper_QCollator::numericMode(QCollator* theWrappedObject) const +void PythonQtWrapper_QCborArray::insert(QCborArray* theWrappedObject, qsizetype i, const QCborValue& value) { - return ( theWrappedObject->numericMode()); + ( theWrappedObject->insert(i, value)); } -bool PythonQtWrapper_QCollator::operator_cast_(QCollator* theWrappedObject, const QString& s1, const QString& s2) const +bool PythonQtWrapper_QCborArray::isEmpty(QCborArray* theWrappedObject) const { - return ( theWrappedObject->operator()(s1, s2)); + return ( theWrappedObject->isEmpty()); } -QCollator* PythonQtWrapper_QCollator::operator_assign(QCollator* theWrappedObject, const QCollator& arg__1) +QCborValue PythonQtWrapper_QCborArray::last(QCborArray* theWrappedObject) const { - return &( (*theWrappedObject)= arg__1); + return ( theWrappedObject->last()); } -void PythonQtWrapper_QCollator::setCaseSensitivity(QCollator* theWrappedObject, Qt::CaseSensitivity cs) +bool PythonQtWrapper_QCborArray::__ne__(QCborArray* theWrappedObject, const QCborArray& other) const { - ( theWrappedObject->setCaseSensitivity(cs)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QCollator::setIgnorePunctuation(QCollator* theWrappedObject, bool on) +QCborArray PythonQtWrapper_QCborArray::__add__(QCborArray* theWrappedObject, const QCborValue& v) const { - ( theWrappedObject->setIgnorePunctuation(on)); + return ( (*theWrappedObject)+ v); } -void PythonQtWrapper_QCollator::setLocale(QCollator* theWrappedObject, const QLocale& locale) +QCborArray* PythonQtWrapper_QCborArray::__iadd__(QCborArray* theWrappedObject, const QCborValue& v) { - ( theWrappedObject->setLocale(locale)); + return &( (*theWrappedObject)+= v); } -void PythonQtWrapper_QCollator::setNumericMode(QCollator* theWrappedObject, bool on) +bool PythonQtWrapper_QCborArray::__lt__(QCborArray* theWrappedObject, const QCborArray& other) const { - ( theWrappedObject->setNumericMode(on)); + return ( (*theWrappedObject)< other); } -QCollatorSortKey PythonQtWrapper_QCollator::sortKey(QCollator* theWrappedObject, const QString& string) const +QCborArray* PythonQtWrapper_QCborArray::__lshift__(QCborArray* theWrappedObject, const QCborValue& v) { - return ( theWrappedObject->sortKey(string)); + return &( (*theWrappedObject) <swap(other)); + return &( (*theWrappedObject)= other); } - - -QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::new_QCollatorSortKey(const QCollatorSortKey& other) -{ -return new QCollatorSortKey(other); } - -int PythonQtWrapper_QCollatorSortKey::compare(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& key) const +bool PythonQtWrapper_QCborArray::__eq__(QCborArray* theWrappedObject, const QCborArray& other) const { - return ( theWrappedObject->compare(key)); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QCollatorSortKey::__lt__(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& rhs) +const QCborValue PythonQtWrapper_QCborArray::operator_subscript(QCborArray* theWrappedObject, qsizetype i) const { - return ( (*theWrappedObject)< rhs); + return ( (*theWrappedObject)[i]); } -QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::operator_assign(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& other) +void PythonQtWrapper_QCborArray::pop_back(QCborArray* theWrappedObject) { - return &( (*theWrappedObject)= other); + ( theWrappedObject->pop_back()); } -void PythonQtWrapper_QCollatorSortKey::swap(QCollatorSortKey* theWrappedObject, QCollatorSortKey& other) +void PythonQtWrapper_QCborArray::pop_front(QCborArray* theWrappedObject) { - ( theWrappedObject->swap(other)); + ( 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)); +} -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 +void PythonQtWrapper_QCborArray::push_front(QCborArray* theWrappedObject, const QCborValue& t) { - return ( theWrappedObject->defaultValues()); + ( theWrappedObject->push_front(t)); } -QString PythonQtWrapper_QCommandLineOption::description(QCommandLineOption* theWrappedObject) const +void PythonQtWrapper_QCborArray::removeAt(QCborArray* theWrappedObject, qsizetype i) { - return ( theWrappedObject->description()); + ( theWrappedObject->removeAt(i)); } -bool PythonQtWrapper_QCommandLineOption::isHidden(QCommandLineOption* theWrappedObject) const +void PythonQtWrapper_QCborArray::removeFirst(QCborArray* theWrappedObject) { - return ( theWrappedObject->isHidden()); + ( theWrappedObject->removeFirst()); } -QStringList PythonQtWrapper_QCommandLineOption::names(QCommandLineOption* theWrappedObject) const +void PythonQtWrapper_QCborArray::removeLast(QCborArray* theWrappedObject) { - return ( theWrappedObject->names()); + ( theWrappedObject->removeLast()); } -QCommandLineOption* PythonQtWrapper_QCommandLineOption::operator_assign(QCommandLineOption* theWrappedObject, const QCommandLineOption& other) +qsizetype PythonQtWrapper_QCborArray::size(QCborArray* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QCommandLineOption::setDefaultValue(QCommandLineOption* theWrappedObject, const QString& defaultValue) +void PythonQtWrapper_QCborArray::swap(QCborArray* theWrappedObject, QCborArray& other) { - ( theWrappedObject->setDefaultValue(defaultValue)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QCommandLineOption::setDefaultValues(QCommandLineOption* theWrappedObject, const QStringList& defaultValues) +QCborValue PythonQtWrapper_QCborArray::takeAt(QCborArray* theWrappedObject, qsizetype i) { - ( theWrappedObject->setDefaultValues(defaultValues)); + return ( theWrappedObject->takeAt(i)); } -void PythonQtWrapper_QCommandLineOption::setDescription(QCommandLineOption* theWrappedObject, const QString& description) +QCborValue PythonQtWrapper_QCborArray::takeFirst(QCborArray* theWrappedObject) { - ( theWrappedObject->setDescription(description)); + return ( theWrappedObject->takeFirst()); } -void PythonQtWrapper_QCommandLineOption::setHidden(QCommandLineOption* theWrappedObject, bool hidden) +QCborValue PythonQtWrapper_QCborArray::takeLast(QCborArray* theWrappedObject) { - ( theWrappedObject->setHidden(hidden)); + return ( theWrappedObject->takeLast()); } -void PythonQtWrapper_QCommandLineOption::setValueName(QCommandLineOption* theWrappedObject, const QString& name) +QCborValue PythonQtWrapper_QCborArray::toCborValue(QCborArray* theWrappedObject) const { - ( theWrappedObject->setValueName(name)); + return ( theWrappedObject->toCborValue()); } -void PythonQtWrapper_QCommandLineOption::swap(QCommandLineOption* theWrappedObject, QCommandLineOption& other) +QJsonArray PythonQtWrapper_QCborArray::toJsonArray(QCborArray* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->toJsonArray()); } -QString PythonQtWrapper_QCommandLineOption::valueName(QCommandLineOption* theWrappedObject) const +QList PythonQtWrapper_QCborArray::toVariantList(QCborArray* theWrappedObject) const { - return ( theWrappedObject->valueName()); + return ( theWrappedObject->toVariantList()); } +QString PythonQtWrapper_QCborArray::py_toString(QCborArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} -QCommandLineParser* PythonQtWrapper_QCommandLineParser::new_QCommandLineParser() + +PythonQtShell_QCborError::~PythonQtShell_QCborError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QCborError* PythonQtWrapper_QCborError::new_QCborError() { -return new QCommandLineParser(); } +return new PythonQtShell_QCborError(); } -QCommandLineOption PythonQtWrapper_QCommandLineParser::addHelpOption(QCommandLineParser* theWrappedObject) +QString PythonQtWrapper_QCborError::toString(QCborError* theWrappedObject) const { - return ( theWrappedObject->addHelpOption()); + return ( theWrappedObject->toString()); } -bool PythonQtWrapper_QCommandLineParser::addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption) +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) { - return ( theWrappedObject->addOption(commandLineOption)); + ( theWrappedObject->clear()); } -bool PythonQtWrapper_QCommandLineParser::addOptions(QCommandLineParser* theWrappedObject, const QList& options) +int PythonQtWrapper_QCborMap::compare(QCborMap* theWrappedObject, const QCborMap& other) const { - return ( theWrappedObject->addOptions(options)); + return ( theWrappedObject->compare(other)); } -void PythonQtWrapper_QCommandLineParser::addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax) +bool PythonQtWrapper_QCborMap::contains(QCborMap* theWrappedObject, const QCborValue& key) const { - ( theWrappedObject->addPositionalArgument(name, description, syntax)); + return ( theWrappedObject->contains(key)); } -QCommandLineOption PythonQtWrapper_QCommandLineParser::addVersionOption(QCommandLineParser* theWrappedObject) +bool PythonQtWrapper_QCborMap::contains(QCborMap* theWrappedObject, const QString& key) const { - return ( theWrappedObject->addVersionOption()); + return ( theWrappedObject->contains(key)); } -QString PythonQtWrapper_QCommandLineParser::applicationDescription(QCommandLineParser* theWrappedObject) const +bool PythonQtWrapper_QCborMap::contains(QCborMap* theWrappedObject, qint64 key) const { - return ( theWrappedObject->applicationDescription()); + return ( theWrappedObject->contains(key)); } -void PythonQtWrapper_QCommandLineParser::clearPositionalArguments(QCommandLineParser* theWrappedObject) +bool PythonQtWrapper_QCborMap::empty(QCborMap* theWrappedObject) const { - ( theWrappedObject->clearPositionalArguments()); + return ( theWrappedObject->empty()); } -QString PythonQtWrapper_QCommandLineParser::errorText(QCommandLineParser* theWrappedObject) const +QCborMap PythonQtWrapper_QCborMap::static_QCborMap_fromJsonObject(const QJsonObject& o) { - return ( theWrappedObject->errorText()); + return (QCborMap::fromJsonObject(o)); } -QString PythonQtWrapper_QCommandLineParser::helpText(QCommandLineParser* theWrappedObject) const +QCborMap PythonQtWrapper_QCborMap::static_QCborMap_fromVariantHash(const QHash& hash) { - return ( theWrappedObject->helpText()); + return (QCborMap::fromVariantHash(hash)); } -bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +QCborMap PythonQtWrapper_QCborMap::static_QCborMap_fromVariantMap(const QMap& map) { - return ( theWrappedObject->isSet(option)); + return (QCborMap::fromVariantMap(map)); } -bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QCborMap::isEmpty(QCborMap* theWrappedObject) const { - return ( theWrappedObject->isSet(name)); + return ( theWrappedObject->isEmpty()); } -QStringList PythonQtWrapper_QCommandLineParser::optionNames(QCommandLineParser* theWrappedObject) const +QVector PythonQtWrapper_QCborMap::keys(QCborMap* theWrappedObject) const { - return ( theWrappedObject->optionNames()); + return ( theWrappedObject->keys()); } -bool PythonQtWrapper_QCommandLineParser::parse(QCommandLineParser* theWrappedObject, const QStringList& arguments) +bool PythonQtWrapper_QCborMap::__ne__(QCborMap* theWrappedObject, const QCborMap& other) const { - return ( theWrappedObject->parse(arguments)); + return ( (*theWrappedObject)!= other); } -QStringList PythonQtWrapper_QCommandLineParser::positionalArguments(QCommandLineParser* theWrappedObject) const +bool PythonQtWrapper_QCborMap::__lt__(QCborMap* theWrappedObject, const QCborMap& other) const { - return ( theWrappedObject->positionalArguments()); + return ( (*theWrappedObject)< other); } -void PythonQtWrapper_QCommandLineParser::process(QCommandLineParser* theWrappedObject, const QCoreApplication& app) +QCborMap* PythonQtWrapper_QCborMap::operator_assign(QCborMap* theWrappedObject, const QCborMap& other) { - ( theWrappedObject->process(app)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QCommandLineParser::process(QCommandLineParser* theWrappedObject, const QStringList& arguments) +bool PythonQtWrapper_QCborMap::__eq__(QCborMap* theWrappedObject, const QCborMap& other) const { - ( theWrappedObject->process(arguments)); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QCommandLineParser::setApplicationDescription(QCommandLineParser* theWrappedObject, const QString& description) +const QCborValue PythonQtWrapper_QCborMap::operator_subscript(QCborMap* theWrappedObject, const QCborValue& key) const { - ( theWrappedObject->setApplicationDescription(description)); + return ( (*theWrappedObject)[key]); } -void PythonQtWrapper_QCommandLineParser::setOptionsAfterPositionalArgumentsMode(QCommandLineParser* theWrappedObject, QCommandLineParser::OptionsAfterPositionalArgumentsMode mode) +const QCborValue PythonQtWrapper_QCborMap::operator_subscript(QCborMap* theWrappedObject, const QString& key) const { - ( theWrappedObject->setOptionsAfterPositionalArgumentsMode(mode)); + return ( (*theWrappedObject)[key]); } -void PythonQtWrapper_QCommandLineParser::setSingleDashWordOptionMode(QCommandLineParser* theWrappedObject, QCommandLineParser::SingleDashWordOptionMode parsingMode) +const QCborValue PythonQtWrapper_QCborMap::operator_subscript(QCborMap* theWrappedObject, qint64 key) const { - ( theWrappedObject->setSingleDashWordOptionMode(parsingMode)); + return ( (*theWrappedObject)[key]); } -void PythonQtWrapper_QCommandLineParser::showHelp(QCommandLineParser* theWrappedObject, int exitCode) +void PythonQtWrapper_QCborMap::remove(QCborMap* theWrappedObject, const QCborValue& key) { - ( theWrappedObject->showHelp(exitCode)); + ( theWrappedObject->remove(key)); } -void PythonQtWrapper_QCommandLineParser::showVersion(QCommandLineParser* theWrappedObject) +void PythonQtWrapper_QCborMap::remove(QCborMap* theWrappedObject, const QString& key) { - ( theWrappedObject->showVersion()); + ( theWrappedObject->remove(key)); } -QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_tr(const char* sourceText, const char* disambiguation, int n) +void PythonQtWrapper_QCborMap::remove(QCborMap* theWrappedObject, qint64 key) { - return (QCommandLineParser::tr(sourceText, disambiguation, n)); + ( theWrappedObject->remove(key)); } -QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_trUtf8(const char* sourceText, const char* disambiguation, int n) +qsizetype PythonQtWrapper_QCborMap::size(QCborMap* theWrappedObject) const { - return (QCommandLineParser::trUtf8(sourceText, disambiguation, n)); + return ( theWrappedObject->size()); } -QStringList PythonQtWrapper_QCommandLineParser::unknownOptionNames(QCommandLineParser* theWrappedObject) const +void PythonQtWrapper_QCborMap::swap(QCborMap* theWrappedObject, QCborMap& other) { - return ( theWrappedObject->unknownOptionNames()); + ( theWrappedObject->swap(other)); } -QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +QCborValue PythonQtWrapper_QCborMap::take(QCborMap* theWrappedObject, const QCborValue& key) { - return ( theWrappedObject->value(option)); + return ( theWrappedObject->take(key)); } -QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QString& name) const +QCborValue PythonQtWrapper_QCborMap::take(QCborMap* theWrappedObject, const QString& key) { - return ( theWrappedObject->value(name)); + return ( theWrappedObject->take(key)); } -QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +QCborValue PythonQtWrapper_QCborMap::take(QCborMap* theWrappedObject, qint64 key) { - return ( theWrappedObject->values(option)); + return ( theWrappedObject->take(key)); } -QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QString& name) const +QCborValue PythonQtWrapper_QCborMap::toCborValue(QCborMap* theWrappedObject) const { - return ( theWrappedObject->values(name)); + return ( theWrappedObject->toCborValue()); } - - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath(const QString& arg__1) +QJsonObject PythonQtWrapper_QCborMap::toJsonObject(QCborMap* theWrappedObject) const { - (QCoreApplication::addLibraryPath(arg__1)); + return ( theWrappedObject->toJsonObject()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationDirPath() +QHash PythonQtWrapper_QCborMap::toVariantHash(QCborMap* theWrappedObject) const { - return (QCoreApplication::applicationDirPath()); + return ( theWrappedObject->toVariantHash()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationFilePath() +QMap PythonQtWrapper_QCborMap::toVariantMap(QCborMap* theWrappedObject) const { - return (QCoreApplication::applicationFilePath()); + return ( theWrappedObject->toVariantMap()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationName() +QCborValue PythonQtWrapper_QCborMap::value(QCborMap* theWrappedObject, const QCborValue& key) const { - return (QCoreApplication::applicationName()); + return ( theWrappedObject->value(key)); } -qint64 PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationPid() +QCborValue PythonQtWrapper_QCborMap::value(QCborMap* theWrappedObject, const QString& key) const { - return (QCoreApplication::applicationPid()); + return ( theWrappedObject->value(key)); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationVersion() +QCborValue PythonQtWrapper_QCborMap::value(QCborMap* theWrappedObject, qint64 key) const { - return (QCoreApplication::applicationVersion()); + return ( theWrappedObject->value(key)); } -QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_arguments() -{ - return (QCoreApplication::arguments()); +QString PythonQtWrapper_QCborMap::py_toString(QCborMap* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_closingDown() -{ - return (QCoreApplication::closingDown()); + + +PythonQtShell_QCborParserError::~PythonQtShell_QCborParserError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QCborParserError* PythonQtWrapper_QCborParserError::new_QCborParserError() +{ +return new PythonQtShell_QCborParserError(); } -QAbstractEventDispatcher* PythonQtWrapper_QCoreApplication::static_QCoreApplication_eventDispatcher() +QString PythonQtWrapper_QCborParserError::errorString(QCborParserError* theWrappedObject) const { - return (QCoreApplication::eventDispatcher()); + return ( theWrappedObject->errorString()); } -int PythonQtWrapper_QCoreApplication::static_QCoreApplication_exec() + + +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) { - return (QCoreApplication::exec()); + ( theWrappedObject->addData(data)); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_exit(int retcode) +void PythonQtWrapper_QCborStreamReader::addData(QCborStreamReader* theWrappedObject, const char* data, qsizetype len) { - (QCoreApplication::exit(retcode)); + ( theWrappedObject->addData(data, len)); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_flush() +void PythonQtWrapper_QCborStreamReader::addData(QCborStreamReader* theWrappedObject, const unsigned char* data, qsizetype len) { - (QCoreApplication::flush()); + ( theWrappedObject->addData(data, len)); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_hasPendingEvents() +void PythonQtWrapper_QCborStreamReader::clear(QCborStreamReader* theWrappedObject) { - return (QCoreApplication::hasPendingEvents()); + ( theWrappedObject->clear()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) +int PythonQtWrapper_QCborStreamReader::containerDepth(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::installTranslator(messageFile)); + return ( theWrappedObject->containerDepth()); } -QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() +qint64 PythonQtWrapper_QCborStreamReader::currentOffset(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::instance()); + return ( theWrappedObject->currentOffset()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isQuitLockEnabled() +qsizetype PythonQtWrapper_QCborStreamReader::currentStringChunkSize(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::isQuitLockEnabled()); + return ( theWrappedObject->currentStringChunkSize()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isSetuidAllowed() +QIODevice* PythonQtWrapper_QCborStreamReader::device(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::isSetuidAllowed()); + return ( theWrappedObject->device()); } -QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_libraryPaths() +bool PythonQtWrapper_QCborStreamReader::enterContainer(QCborStreamReader* theWrappedObject) { - return (QCoreApplication::libraryPaths()); + return ( theWrappedObject->enterContainer()); } -bool PythonQtWrapper_QCoreApplication::notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) +bool PythonQtWrapper_QCborStreamReader::hasNext(QCborStreamReader* theWrappedObject) const { - return ( theWrappedObject->notify(arg__1, arg__2)); + return ( theWrappedObject->hasNext()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationDomain() +bool PythonQtWrapper_QCborStreamReader::isArray(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::organizationDomain()); + return ( theWrappedObject->isArray()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationName() +bool PythonQtWrapper_QCborStreamReader::isBool(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::organizationName()); + return ( theWrappedObject->isBool()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, PythonQtPassOwnershipToCPP event, int priority) +bool PythonQtWrapper_QCborStreamReader::isByteArray(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::postEvent(receiver, event, priority)); + return ( theWrappedObject->isByteArray()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags) +bool PythonQtWrapper_QCborStreamReader::isContainer(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::processEvents(flags)); + return ( theWrappedObject->isContainer()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) +bool PythonQtWrapper_QCborStreamReader::isDouble(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::processEvents(flags, maxtime)); + return ( theWrappedObject->isDouble()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeLibraryPath(const QString& arg__1) +bool PythonQtWrapper_QCborStreamReader::isFalse(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::removeLibraryPath(arg__1)); + return ( theWrappedObject->isFalse()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType) +bool PythonQtWrapper_QCborStreamReader::isFloat(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::removePostedEvents(receiver, eventType)); + return ( theWrappedObject->isFloat()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) +bool PythonQtWrapper_QCborStreamReader::isFloat16(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::removeTranslator(messageFile)); + return ( theWrappedObject->isFloat16()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) +bool PythonQtWrapper_QCborStreamReader::isInteger(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::sendEvent(receiver, event)); + return ( theWrappedObject->isInteger()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type) +bool PythonQtWrapper_QCborStreamReader::isInvalid(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::sendPostedEvents(receiver, event_type)); + return ( theWrappedObject->isInvalid()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationName(const QString& application) +bool PythonQtWrapper_QCborStreamReader::isLengthKnown(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setApplicationName(application)); + return ( theWrappedObject->isLengthKnown()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationVersion(const QString& version) +bool PythonQtWrapper_QCborStreamReader::isMap(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setApplicationVersion(version)); + return ( theWrappedObject->isMap()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on) +bool PythonQtWrapper_QCborStreamReader::isNegativeInteger(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setAttribute(attribute, on)); + return ( theWrappedObject->isNegativeInteger()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setEventDispatcher(QAbstractEventDispatcher* eventDispatcher) +bool PythonQtWrapper_QCborStreamReader::isNull(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setEventDispatcher(eventDispatcher)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setLibraryPaths(const QStringList& arg__1) +bool PythonQtWrapper_QCborStreamReader::isSimpleType(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setLibraryPaths(arg__1)); + return ( theWrappedObject->isSimpleType()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationDomain(const QString& orgDomain) +bool PythonQtWrapper_QCborStreamReader::isSimpleType(QCborStreamReader* theWrappedObject, QCborSimpleType st) const { - (QCoreApplication::setOrganizationDomain(orgDomain)); + return ( theWrappedObject->isSimpleType(st)); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationName(const QString& orgName) +bool PythonQtWrapper_QCborStreamReader::isString(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setOrganizationName(orgName)); + return ( theWrappedObject->isString()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setQuitLockEnabled(bool enabled) +bool PythonQtWrapper_QCborStreamReader::isTag(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setQuitLockEnabled(enabled)); + return ( theWrappedObject->isTag()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setSetuidAllowed(bool allow) +bool PythonQtWrapper_QCborStreamReader::isTrue(QCborStreamReader* theWrappedObject) const { - (QCoreApplication::setSetuidAllowed(allow)); + return ( theWrappedObject->isTrue()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_startingUp() +bool PythonQtWrapper_QCborStreamReader::isUndefined(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::startingUp()); + return ( theWrappedObject->isUndefined()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute) +bool PythonQtWrapper_QCborStreamReader::isUnsignedInteger(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::testAttribute(attribute)); + return ( theWrappedObject->isUnsignedInteger()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, int n) +bool PythonQtWrapper_QCborStreamReader::isValid(QCborStreamReader* theWrappedObject) const { - return (QCoreApplication::translate(context, key, disambiguation, n)); + return ( theWrappedObject->isValid()); } - - -QCryptographicHash* PythonQtWrapper_QCryptographicHash::new_QCryptographicHash(QCryptographicHash::Algorithm method) -{ -return new QCryptographicHash(method); } - -bool PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, QIODevice* device) +QCborError PythonQtWrapper_QCborStreamReader::lastError(QCborStreamReader* theWrappedObject) { - return ( theWrappedObject->addData(device)); + return ( theWrappedObject->lastError()); } -void PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, const QByteArray& data) +bool PythonQtWrapper_QCborStreamReader::leaveContainer(QCborStreamReader* theWrappedObject) { - ( theWrappedObject->addData(data)); + return ( theWrappedObject->leaveContainer()); } -QByteArray PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method) +quint64 PythonQtWrapper_QCborStreamReader::length(QCborStreamReader* theWrappedObject) const { - return (QCryptographicHash::hash(data, method)); + return ( theWrappedObject->length()); } -int PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hashLength(QCryptographicHash::Algorithm method) +bool PythonQtWrapper_QCborStreamReader::next(QCborStreamReader* theWrappedObject, int maxRecursion) { - return (QCryptographicHash::hashLength(method)); + return ( theWrappedObject->next(maxRecursion)); } -void PythonQtWrapper_QCryptographicHash::reset(QCryptographicHash* theWrappedObject) +QCborStreamReader::Type PythonQtWrapper_QCborStreamReader::parentContainerType(QCborStreamReader* theWrappedObject) const { - ( theWrappedObject->reset()); + return ( theWrappedObject->parentContainerType()); } -QByteArray PythonQtWrapper_QCryptographicHash::result(QCryptographicHash* theWrappedObject) const +void PythonQtWrapper_QCborStreamReader::reparse(QCborStreamReader* theWrappedObject) { - return ( theWrappedObject->result()); + ( theWrappedObject->reparse()); } - - -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) +void PythonQtWrapper_QCborStreamReader::reset(QCborStreamReader* theWrappedObject) { - ( theWrappedObject->abortTransaction()); + ( theWrappedObject->reset()); } -bool PythonQtWrapper_QDataStream::atEnd(QDataStream* theWrappedObject) const +void PythonQtWrapper_QCborStreamReader::setDevice(QCborStreamReader* theWrappedObject, QIODevice* device) { - return ( theWrappedObject->atEnd()); + ( theWrappedObject->setDevice(device)); } -QDataStream::ByteOrder PythonQtWrapper_QDataStream::byteOrder(QDataStream* theWrappedObject) const +bool PythonQtWrapper_QCborStreamReader::toBool(QCborStreamReader* theWrappedObject) const { - return ( theWrappedObject->byteOrder()); + return ( theWrappedObject->toBool()); } -bool PythonQtWrapper_QDataStream::commitTransaction(QDataStream* theWrappedObject) +double PythonQtWrapper_QCborStreamReader::toDouble(QCborStreamReader* theWrappedObject) const { - return ( theWrappedObject->commitTransaction()); + return ( theWrappedObject->toDouble()); } -QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const +float PythonQtWrapper_QCborStreamReader::toFloat(QCborStreamReader* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->toFloat()); } -QDataStream::FloatingPointPrecision PythonQtWrapper_QDataStream::floatingPointPrecision(QDataStream* theWrappedObject) const +qint64 PythonQtWrapper_QCborStreamReader::toInteger(QCborStreamReader* theWrappedObject) const { - return ( theWrappedObject->floatingPointPrecision()); + return ( theWrappedObject->toInteger()); } -void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) +QCborSimpleType PythonQtWrapper_QCborStreamReader::toSimpleType(QCborStreamReader* theWrappedObject) const { - ( theWrappedObject->resetStatus()); + return ( theWrappedObject->toSimpleType()); } -void PythonQtWrapper_QDataStream::rollbackTransaction(QDataStream* theWrappedObject) +quint64 PythonQtWrapper_QCborStreamReader::toUnsignedInteger(QCborStreamReader* theWrappedObject) const { - ( theWrappedObject->rollbackTransaction()); + return ( theWrappedObject->toUnsignedInteger()); } -void PythonQtWrapper_QDataStream::setByteOrder(QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1) +QCborStreamReader::Type PythonQtWrapper_QCborStreamReader::type(QCborStreamReader* theWrappedObject) const { - ( theWrappedObject->setByteOrder(arg__1)); + return ( theWrappedObject->type()); } -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) +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->setStatus(status)); + ( theWrappedObject->append(tag)); } -void PythonQtWrapper_QDataStream::setVersion(QDataStream* theWrappedObject, int arg__1) +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QCborSimpleType st) { - ( theWrappedObject->setVersion(arg__1)); + ( theWrappedObject->append(st)); } -int PythonQtWrapper_QDataStream::skipRawData(QDataStream* theWrappedObject, int len) +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QLatin1String str) { - return ( theWrappedObject->skipRawData(len)); + ( theWrappedObject->append(str)); } -void PythonQtWrapper_QDataStream::startTransaction(QDataStream* theWrappedObject) +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, QStringView str) { - ( theWrappedObject->startTransaction()); + ( theWrappedObject->append(str)); } -QDataStream::Status PythonQtWrapper_QDataStream::status(QDataStream* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, bool b) { - return ( theWrappedObject->status()); + ( theWrappedObject->append(b)); } -void PythonQtWrapper_QDataStream::unsetDevice(QDataStream* theWrappedObject) +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, const QByteArray& ba) { - ( theWrappedObject->unsetDevice()); + ( theWrappedObject->append(ba)); } -int PythonQtWrapper_QDataStream::version(QDataStream* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, double d) { - return ( theWrappedObject->version()); + ( theWrappedObject->append(d)); } - - -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) +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, float f) { - return (QDeadlineTimer::addNSecs(dt, nsecs)); + ( theWrappedObject->append(f)); } -QDeadlineTimer PythonQtWrapper_QDeadlineTimer::static_QDeadlineTimer_current(Qt::TimerType timerType) +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, int i) { - return (QDeadlineTimer::current(timerType)); + ( theWrappedObject->append(i)); } -qint64 PythonQtWrapper_QDeadlineTimer::deadline(QDeadlineTimer* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, qint64 i) { - return ( theWrappedObject->deadline()); + ( theWrappedObject->append(i)); } -qint64 PythonQtWrapper_QDeadlineTimer::deadlineNSecs(QDeadlineTimer* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, quint64 u) { - return ( theWrappedObject->deadlineNSecs()); + ( theWrappedObject->append(u)); } -bool PythonQtWrapper_QDeadlineTimer::hasExpired(QDeadlineTimer* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::append(QCborStreamWriter* theWrappedObject, uint u) { - return ( theWrappedObject->hasExpired()); + ( theWrappedObject->append(u)); } -bool PythonQtWrapper_QDeadlineTimer::isForever(QDeadlineTimer* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::appendByteString(QCborStreamWriter* theWrappedObject, const char* data, qsizetype len) { - return ( theWrappedObject->isForever()); + ( theWrappedObject->appendByteString(data, len)); } -QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::__iadd__(QDeadlineTimer* theWrappedObject, qint64 msecs) +void PythonQtWrapper_QCborStreamWriter::appendNull(QCborStreamWriter* theWrappedObject) { - return &( (*theWrappedObject)+= msecs); + ( theWrappedObject->appendNull()); } -QDeadlineTimer* PythonQtWrapper_QDeadlineTimer::__isub__(QDeadlineTimer* theWrappedObject, qint64 msecs) +void PythonQtWrapper_QCborStreamWriter::appendTextString(QCborStreamWriter* theWrappedObject, const char* utf8, qsizetype len) { - return &( (*theWrappedObject)-= msecs); + ( theWrappedObject->appendTextString(utf8, len)); } -qint64 PythonQtWrapper_QDeadlineTimer::remainingTime(QDeadlineTimer* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::appendUndefined(QCborStreamWriter* theWrappedObject) { - return ( theWrappedObject->remainingTime()); + ( theWrappedObject->appendUndefined()); } -qint64 PythonQtWrapper_QDeadlineTimer::remainingTimeNSecs(QDeadlineTimer* theWrappedObject) const +QIODevice* PythonQtWrapper_QCborStreamWriter::device(QCborStreamWriter* theWrappedObject) const { - return ( theWrappedObject->remainingTimeNSecs()); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QDeadlineTimer::setDeadline(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType timerType) +bool PythonQtWrapper_QCborStreamWriter::endArray(QCborStreamWriter* theWrappedObject) { - ( theWrappedObject->setDeadline(msecs, timerType)); + return ( theWrappedObject->endArray()); } -void PythonQtWrapper_QDeadlineTimer::setPreciseDeadline(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs, Qt::TimerType type) +bool PythonQtWrapper_QCborStreamWriter::endMap(QCborStreamWriter* theWrappedObject) { - ( theWrappedObject->setPreciseDeadline(secs, nsecs, type)); + return ( theWrappedObject->endMap()); } -void PythonQtWrapper_QDeadlineTimer::setPreciseRemainingTime(QDeadlineTimer* theWrappedObject, qint64 secs, qint64 nsecs, Qt::TimerType type) +void PythonQtWrapper_QCborStreamWriter::setDevice(QCborStreamWriter* theWrappedObject, QIODevice* device) { - ( theWrappedObject->setPreciseRemainingTime(secs, nsecs, type)); + ( theWrappedObject->setDevice(device)); } -void PythonQtWrapper_QDeadlineTimer::setRemainingTime(QDeadlineTimer* theWrappedObject, qint64 msecs, Qt::TimerType type) +void PythonQtWrapper_QCborStreamWriter::startArray(QCborStreamWriter* theWrappedObject) { - ( theWrappedObject->setRemainingTime(msecs, type)); + ( theWrappedObject->startArray()); } -void PythonQtWrapper_QDeadlineTimer::setTimerType(QDeadlineTimer* theWrappedObject, Qt::TimerType type) +void PythonQtWrapper_QCborStreamWriter::startArray(QCborStreamWriter* theWrappedObject, quint64 count) { - ( theWrappedObject->setTimerType(type)); + ( theWrappedObject->startArray(count)); } -void PythonQtWrapper_QDeadlineTimer::swap(QDeadlineTimer* theWrappedObject, QDeadlineTimer& other) +void PythonQtWrapper_QCborStreamWriter::startMap(QCborStreamWriter* theWrappedObject) { - ( theWrappedObject->swap(other)); + ( theWrappedObject->startMap()); } -Qt::TimerType PythonQtWrapper_QDeadlineTimer::timerType(QDeadlineTimer* theWrappedObject) const +void PythonQtWrapper_QCborStreamWriter::startMap(QCborStreamWriter* theWrappedObject, quint64 count) { - return ( theWrappedObject->timerType()); + ( theWrappedObject->startMap(count)); } -QDeferredDeleteEvent* PythonQtWrapper_QDeferredDeleteEvent::new_QDeferredDeleteEvent() +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue() { -return new QDeferredDeleteEvent(); } +return new QCborValue(); } -int PythonQtWrapper_QDeferredDeleteEvent::loopLevel(QDeferredDeleteEvent* theWrappedObject) const -{ - return ( theWrappedObject->loopLevel()); -} +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_); } -QDir* PythonQtWrapper_QDir::new_QDir(const QDir& arg__1) +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(bool b_) { -return new QDir(arg__1); } +return new QCborValue(b_); } -QDir* PythonQtWrapper_QDir::new_QDir(const QString& path) +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QByteArray& ba) { -return new QDir(path); } +return new QCborValue(ba); } -QDir* PythonQtWrapper_QDir::new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort, QDir::Filters filter) +QCborValue* PythonQtWrapper_QCborValue::new_QCborValue(const QCborArray& a) { -return new QDir(path, nameFilter, sort, filter); } +return new QCborValue(a); } -QString PythonQtWrapper_QDir::absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const +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->absoluteFilePath(fileName)); + return ( theWrappedObject->compare(other)); } -QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(QCborStreamReader& reader) { - return ( theWrappedObject->absolutePath()); + return (QCborValue::fromCbor(reader)); } -void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path) +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(const QByteArray& ba, QCborParserError* error) { - (QDir::addSearchPath(prefix, path)); + return (QCborValue::fromCbor(ba, error)); } -QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(const char* data, qsizetype len, QCborParserError* error) { - return ( theWrappedObject->canonicalPath()); + return (QCborValue::fromCbor(data, len, error)); } -bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName) +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromCbor(const unsigned char* data, qsizetype len, QCborParserError* error) { - return ( theWrappedObject->cd(dirName)); + return (QCborValue::fromCbor(data, len, error)); } -bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject) +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromJsonValue(const QJsonValue& v) { - return ( theWrappedObject->cdUp()); + return (QCborValue::fromJsonValue(v)); } -QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path) +QCborValue PythonQtWrapper_QCborValue::static_QCborValue_fromVariant(const QVariant& variant) { - return (QDir::cleanPath(path)); + return (QCborValue::fromVariant(variant)); } -uint PythonQtWrapper_QDir::count(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::isArray(QCborValue* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->isArray()); } -QDir PythonQtWrapper_QDir::static_QDir_current() +bool PythonQtWrapper_QCborValue::isBool(QCborValue* theWrappedObject) const { - return (QDir::current()); + return ( theWrappedObject->isBool()); } -QString PythonQtWrapper_QDir::static_QDir_currentPath() +bool PythonQtWrapper_QCborValue::isByteArray(QCborValue* theWrappedObject) const { - return (QDir::currentPath()); + return ( theWrappedObject->isByteArray()); } -QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::isContainer(QCborValue* theWrappedObject) const { - return ( theWrappedObject->dirName()); + return ( theWrappedObject->isContainer()); } -QList PythonQtWrapper_QDir::static_QDir_drives() +bool PythonQtWrapper_QCborValue::isDateTime(QCborValue* theWrappedObject) const { - return (QDir::drives()); + return ( theWrappedObject->isDateTime()); } -QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +bool PythonQtWrapper_QCborValue::isDouble(QCborValue* theWrappedObject) const { - return ( theWrappedObject->entryInfoList(filters, sort)); + return ( theWrappedObject->isDouble()); } -QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +bool PythonQtWrapper_QCborValue::isFalse(QCborValue* theWrappedObject) const { - return ( theWrappedObject->entryInfoList(nameFilters, filters, sort)); + return ( theWrappedObject->isFalse()); } -QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const +bool PythonQtWrapper_QCborValue::isInteger(QCborValue* theWrappedObject) const { - return ( theWrappedObject->entryList(filters, sort)); + return ( theWrappedObject->isInteger()); } -QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const +bool PythonQtWrapper_QCborValue::isInvalid(QCborValue* theWrappedObject) 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)); + return ( theWrappedObject->isInvalid()); } -QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const +bool PythonQtWrapper_QCborValue::isMap(QCborValue* theWrappedObject) const { - return ( theWrappedObject->filePath(fileName)); + return ( theWrappedObject->isMap()); } -QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::isNull(QCborValue* theWrappedObject) const { - return ( theWrappedObject->filter()); + return ( theWrappedObject->isNull()); } -QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName) +bool PythonQtWrapper_QCborValue::isRegularExpression(QCborValue* theWrappedObject) const { - return (QDir::fromNativeSeparators(pathName)); + return ( theWrappedObject->isRegularExpression()); } -QDir PythonQtWrapper_QDir::static_QDir_home() +bool PythonQtWrapper_QCborValue::isSimpleType(QCborValue* theWrappedObject) const { - return (QDir::home()); + return ( theWrappedObject->isSimpleType()); } -QString PythonQtWrapper_QDir::static_QDir_homePath() +bool PythonQtWrapper_QCborValue::isSimpleType(QCborValue* theWrappedObject, QCborSimpleType st) const { - return (QDir::homePath()); + return ( theWrappedObject->isSimpleType(st)); } -bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::isString(QCborValue* theWrappedObject) const { - return ( theWrappedObject->isAbsolute()); + return ( theWrappedObject->isString()); } -bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path) +bool PythonQtWrapper_QCborValue::isTag(QCborValue* theWrappedObject) const { - return (QDir::isAbsolutePath(path)); + return ( theWrappedObject->isTag()); } -bool PythonQtWrapper_QDir::isEmpty(QDir* theWrappedObject, QDir::Filters filters) const +bool PythonQtWrapper_QCborValue::isTrue(QCborValue* theWrappedObject) const { - return ( theWrappedObject->isEmpty(filters)); + return ( theWrappedObject->isTrue()); } -bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::isUndefined(QCborValue* theWrappedObject) const { - return ( theWrappedObject->isReadable()); + return ( theWrappedObject->isUndefined()); } -bool PythonQtWrapper_QDir::isRelative(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::isUrl(QCborValue* theWrappedObject) const { - return ( theWrappedObject->isRelative()); + return ( theWrappedObject->isUrl()); } -bool PythonQtWrapper_QDir::static_QDir_isRelativePath(const QString& path) +bool PythonQtWrapper_QCborValue::isUuid(QCborValue* theWrappedObject) const { - return (QDir::isRelativePath(path)); + return ( theWrappedObject->isUuid()); } -bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const +bool PythonQtWrapper_QCborValue::__ne__(QCborValue* theWrappedObject, const QCborValue& other) const { - return ( theWrappedObject->isRoot()); + return ( (*theWrappedObject)!= other); } -QChar PythonQtWrapper_QDir::static_QDir_listSeparator() +bool PythonQtWrapper_QCborValue::__lt__(QCborValue* theWrappedObject, const QCborValue& other) const { - return (QDir::listSeparator()); + return ( (*theWrappedObject)< other); } -bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject) +QCborValue* PythonQtWrapper_QCborValue::operator_assign(QCborValue* theWrappedObject, const QCborValue& other) { - return ( theWrappedObject->makeAbsolute()); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName) +bool PythonQtWrapper_QCborValue::__eq__(QCborValue* theWrappedObject, const QCborValue& other) const { - return (QDir::match(filter, fileName)); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName) +const QCborValue PythonQtWrapper_QCborValue::operator_subscript(QCborValue* theWrappedObject, const QString& key) const { - return (QDir::match(filters, fileName)); + return ( (*theWrappedObject)[key]); } -bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) const +const QCborValue PythonQtWrapper_QCborValue::operator_subscript(QCborValue* theWrappedObject, qint64 key) const { - return ( theWrappedObject->mkdir(dirName)); + return ( (*theWrappedObject)[key]); } -bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const +void PythonQtWrapper_QCborValue::swap(QCborValue* theWrappedObject, QCborValue& other) { - return ( theWrappedObject->mkpath(dirPath)); + ( theWrappedObject->swap(other)); } -QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) const +QCborValue PythonQtWrapper_QCborValue::taggedValue(QCborValue* theWrappedObject, const QCborValue& defaultValue) const { - return ( theWrappedObject->nameFilters()); + return ( theWrappedObject->taggedValue(defaultValue)); } -QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter) +QCborArray PythonQtWrapper_QCborValue::toArray(QCborValue* theWrappedObject) const { - return (QDir::nameFiltersFromString(nameFilter)); + return ( theWrappedObject->toArray()); } -bool PythonQtWrapper_QDir::__ne__(QDir* theWrappedObject, const QDir& dir) const +QCborArray PythonQtWrapper_QCborValue::toArray(QCborValue* theWrappedObject, const QCborArray& defaultValue) const { - return ( (*theWrappedObject)!= dir); + return ( theWrappedObject->toArray(defaultValue)); } -bool PythonQtWrapper_QDir::__eq__(QDir* theWrappedObject, const QDir& dir) const +bool PythonQtWrapper_QCborValue::toBool(QCborValue* theWrappedObject, bool defaultValue) const { - return ( (*theWrappedObject)== dir); + return ( theWrappedObject->toBool(defaultValue)); } -QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const +QByteArray PythonQtWrapper_QCborValue::toByteArray(QCborValue* theWrappedObject, const QByteArray& defaultValue) const { - return ( (*theWrappedObject)[arg__1]); + return ( theWrappedObject->toByteArray(defaultValue)); } -QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const +void PythonQtWrapper_QCborValue::toCbor(QCborValue* theWrappedObject, QCborStreamWriter& writer, QCborValue::EncodingOptions opt) { - return ( theWrappedObject->path()); + ( theWrappedObject->toCbor(writer, opt)); } -void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const +QByteArray PythonQtWrapper_QCborValue::toCbor(QCborValue* theWrappedObject, QCborValue::EncodingOptions opt) { - ( theWrappedObject->refresh()); + return ( theWrappedObject->toCbor(opt)); } -QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const +QDateTime PythonQtWrapper_QCborValue::toDateTime(QCborValue* theWrappedObject, const QDateTime& defaultValue) const { - return ( theWrappedObject->relativeFilePath(fileName)); + return ( theWrappedObject->toDateTime(defaultValue)); } -bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName) +QString PythonQtWrapper_QCborValue::toDiagnosticNotation(QCborValue* theWrappedObject, QCborValue::DiagnosticNotationOptions opts) const { - return ( theWrappedObject->remove(fileName)); + return ( theWrappedObject->toDiagnosticNotation(opts)); } -bool PythonQtWrapper_QDir::removeRecursively(QDir* theWrappedObject) +double PythonQtWrapper_QCborValue::toDouble(QCborValue* theWrappedObject, double defaultValue) const { - return ( theWrappedObject->removeRecursively()); + return ( theWrappedObject->toDouble(defaultValue)); } -bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName) +qint64 PythonQtWrapper_QCborValue::toInteger(QCborValue* theWrappedObject, qint64 defaultValue) const { - return ( theWrappedObject->rename(oldName, newName)); + return ( theWrappedObject->toInteger(defaultValue)); } -bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const +QJsonValue PythonQtWrapper_QCborValue::toJsonValue(QCborValue* theWrappedObject) const { - return ( theWrappedObject->rmdir(dirName)); + return ( theWrappedObject->toJsonValue()); } -bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) const +QCborMap PythonQtWrapper_QCborValue::toMap(QCborValue* theWrappedObject) const { - return ( theWrappedObject->rmpath(dirPath)); + return ( theWrappedObject->toMap()); } -QDir PythonQtWrapper_QDir::static_QDir_root() +QCborMap PythonQtWrapper_QCborValue::toMap(QCborValue* theWrappedObject, const QCborMap& defaultValue) const { - return (QDir::root()); + return ( theWrappedObject->toMap(defaultValue)); } -QString PythonQtWrapper_QDir::static_QDir_rootPath() +QRegularExpression PythonQtWrapper_QCborValue::toRegularExpression(QCborValue* theWrappedObject, const QRegularExpression& defaultValue) const { - return (QDir::rootPath()); + return ( theWrappedObject->toRegularExpression(defaultValue)); } -QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix) +QCborSimpleType PythonQtWrapper_QCborValue::toSimpleType(QCborValue* theWrappedObject, QCborSimpleType defaultValue) const { - return (QDir::searchPaths(prefix)); + return ( theWrappedObject->toSimpleType(defaultValue)); } -QChar PythonQtWrapper_QDir::static_QDir_separator() +QString PythonQtWrapper_QCborValue::toString(QCborValue* theWrappedObject, const QString& defaultValue) const { - return (QDir::separator()); + return ( theWrappedObject->toString(defaultValue)); } -bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path) +QUrl PythonQtWrapper_QCborValue::toUrl(QCborValue* theWrappedObject, const QUrl& defaultValue) const { - return (QDir::setCurrent(path)); + return ( theWrappedObject->toUrl(defaultValue)); } -void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter) +QUuid PythonQtWrapper_QCborValue::toUuid(QCborValue* theWrappedObject, const QUuid& defaultValue) const { - ( theWrappedObject->setFilter(filter)); + return ( theWrappedObject->toUuid(defaultValue)); } -void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters) +QVariant PythonQtWrapper_QCborValue::toVariant(QCborValue* theWrappedObject) const { - ( theWrappedObject->setNameFilters(nameFilters)); + return ( theWrappedObject->toVariant()); } -void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path) +QCborValue::Type PythonQtWrapper_QCborValue::type(QCborValue* theWrappedObject) const { - ( theWrappedObject->setPath(path)); + return ( theWrappedObject->type()); } -void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths) -{ - (QDir::setSearchPaths(prefix, searchPaths)); -} +QString PythonQtWrapper_QCborValue::py_toString(QCborValue* obj) { return obj->toString(); } -void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort) -{ - ( theWrappedObject->setSorting(sort)); -} -QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const -{ - return ( theWrappedObject->sorting()); +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); } -void PythonQtWrapper_QDir::swap(QDir* theWrappedObject, QDir& other) +bool PythonQtWrapper_QChildEvent::added(QChildEvent* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->added()); } -QDir PythonQtWrapper_QDir::static_QDir_temp() +QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const { - return (QDir::temp()); + return ( theWrappedObject->child()); } -QString PythonQtWrapper_QDir::static_QDir_tempPath() +bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const { - return (QDir::tempPath()); + return ( theWrappedObject->polished()); } -QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName) +bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const { - return (QDir::toNativeSeparators(pathName)); -} - -QString PythonQtWrapper_QDir::py_toString(QDir* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return ( theWrappedObject->removed()); } -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) +QCollator* PythonQtWrapper_QCollator::new_QCollator(const QCollator& arg__1) { -return new QDirIterator(path, flags); } +return new QCollator(arg__1); } -QDirIterator* PythonQtWrapper_QDirIterator::new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags) +QCollator* PythonQtWrapper_QCollator::new_QCollator(const QLocale& locale) { -return new QDirIterator(path, nameFilters, filters, flags); } - -QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const -{ - return ( theWrappedObject->fileInfo()); -} +return new QCollator(locale); } -QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const +Qt::CaseSensitivity PythonQtWrapper_QCollator::caseSensitivity(QCollator* theWrappedObject) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->caseSensitivity()); } -QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QChar* s1, int len1, const QChar* s2, int len2) const { - return ( theWrappedObject->filePath()); + return ( theWrappedObject->compare(s1, len1, s2, len2)); } -bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const +int PythonQtWrapper_QCollator::compare(QCollator* theWrappedObject, const QString& s1, const QString& s2) const { - return ( theWrappedObject->hasNext()); + return ( theWrappedObject->compare(s1, s2)); } -QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) +bool PythonQtWrapper_QCollator::ignorePunctuation(QCollator* theWrappedObject) const { - return ( theWrappedObject->next()); + return ( theWrappedObject->ignorePunctuation()); } -QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const +QLocale PythonQtWrapper_QCollator::locale(QCollator* theWrappedObject) const { - return ( theWrappedObject->path()); + return ( theWrappedObject->locale()); } - - -QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) -{ -return new QDynamicPropertyChangeEvent(name); } - -QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const +bool PythonQtWrapper_QCollator::numericMode(QCollator* theWrappedObject) const { - return ( theWrappedObject->propertyName()); + return ( theWrappedObject->numericMode()); } - - -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) +bool PythonQtWrapper_QCollator::operator_cast_(QCollator* theWrappedObject, const QString& s1, const QString& s2) const { - ( theWrappedObject->addCubicBezierSegment(c1, c2, endPoint)); + return ( theWrappedObject->operator()(s1, s2)); } -void PythonQtWrapper_QEasingCurve::addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b) +QCollator* PythonQtWrapper_QCollator::operator_assign(QCollator* theWrappedObject, const QCollator& arg__1) { - ( theWrappedObject->addTCBSegment(nextPoint, t, c, b)); + return &( (*theWrappedObject)= arg__1); } -qreal PythonQtWrapper_QEasingCurve::amplitude(QEasingCurve* theWrappedObject) const +void PythonQtWrapper_QCollator::setCaseSensitivity(QCollator* theWrappedObject, Qt::CaseSensitivity cs) { - return ( theWrappedObject->amplitude()); + ( theWrappedObject->setCaseSensitivity(cs)); } -bool PythonQtWrapper_QEasingCurve::__ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const +void PythonQtWrapper_QCollator::setIgnorePunctuation(QCollator* theWrappedObject, bool on) { - return ( (*theWrappedObject)!= other); + ( theWrappedObject->setIgnorePunctuation(on)); } -void PythonQtWrapper_QEasingCurve::writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QCollator::setLocale(QCollator* theWrappedObject, const QLocale& locale) { - arg__1 << (*theWrappedObject); + ( theWrappedObject->setLocale(locale)); } -QEasingCurve* PythonQtWrapper_QEasingCurve::operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other) +void PythonQtWrapper_QCollator::setNumericMode(QCollator* theWrappedObject, bool on) { - return &( (*theWrappedObject)= other); + ( theWrappedObject->setNumericMode(on)); } -bool PythonQtWrapper_QEasingCurve::__eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const +QCollatorSortKey PythonQtWrapper_QCollator::sortKey(QCollator* theWrappedObject, const QString& string) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->sortKey(string)); } -void PythonQtWrapper_QEasingCurve::readFrom(QEasingCurve* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QCollator::swap(QCollator* theWrappedObject, QCollator& other) { - arg__1 >> (*theWrappedObject); + ( theWrappedObject->swap(other)); } -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)); -} +QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::new_QCollatorSortKey(const QCollatorSortKey& other) +{ +return new QCollatorSortKey(other); } -void PythonQtWrapper_QEasingCurve::setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot) +int PythonQtWrapper_QCollatorSortKey::compare(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& key) const { - ( theWrappedObject->setOvershoot(overshoot)); + return ( theWrappedObject->compare(key)); } -void PythonQtWrapper_QEasingCurve::setPeriod(QEasingCurve* theWrappedObject, qreal period) +bool PythonQtWrapper_QCollatorSortKey::__lt__(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& rhs) { - ( theWrappedObject->setPeriod(period)); + return ( (*theWrappedObject)< rhs); } -void PythonQtWrapper_QEasingCurve::setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type) +QCollatorSortKey* PythonQtWrapper_QCollatorSortKey::operator_assign(QCollatorSortKey* theWrappedObject, const QCollatorSortKey& other) { - ( theWrappedObject->setType(type)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QEasingCurve::swap(QEasingCurve* theWrappedObject, QEasingCurve& other) +void PythonQtWrapper_QCollatorSortKey::swap(QCollatorSortKey* theWrappedObject, QCollatorSortKey& 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)); -} +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QCommandLineOption& other) +{ +return new QCommandLineOption(other); } -QString PythonQtWrapper_QEasingCurve::py_toString(QEasingCurve* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} +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); } -QElapsedTimer* PythonQtWrapper_QElapsedTimer::new_QElapsedTimer() +QCommandLineOption* PythonQtWrapper_QCommandLineOption::new_QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName, const QString& defaultValue) { -return new QElapsedTimer(); } +return new QCommandLineOption(names, description, valueName, defaultValue); } -QElapsedTimer::ClockType PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_clockType() +QStringList PythonQtWrapper_QCommandLineOption::defaultValues(QCommandLineOption* theWrappedObject) const { - return (QElapsedTimer::clockType()); + return ( theWrappedObject->defaultValues()); } -qint64 PythonQtWrapper_QElapsedTimer::elapsed(QElapsedTimer* theWrappedObject) const +QString PythonQtWrapper_QCommandLineOption::description(QCommandLineOption* theWrappedObject) const { - return ( theWrappedObject->elapsed()); + return ( theWrappedObject->description()); } -bool PythonQtWrapper_QElapsedTimer::hasExpired(QElapsedTimer* theWrappedObject, qint64 timeout) const +bool PythonQtWrapper_QCommandLineOption::isHidden(QCommandLineOption* theWrappedObject) const { - return ( theWrappedObject->hasExpired(timeout)); + return ( theWrappedObject->isHidden()); } -void PythonQtWrapper_QElapsedTimer::invalidate(QElapsedTimer* theWrappedObject) +QStringList PythonQtWrapper_QCommandLineOption::names(QCommandLineOption* theWrappedObject) const { - ( theWrappedObject->invalidate()); + return ( theWrappedObject->names()); } -bool PythonQtWrapper_QElapsedTimer::static_QElapsedTimer_isMonotonic() +QCommandLineOption* PythonQtWrapper_QCommandLineOption::operator_assign(QCommandLineOption* theWrappedObject, const QCommandLineOption& other) { - return (QElapsedTimer::isMonotonic()); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QElapsedTimer::isValid(QElapsedTimer* theWrappedObject) const +void PythonQtWrapper_QCommandLineOption::setDefaultValue(QCommandLineOption* theWrappedObject, const QString& defaultValue) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setDefaultValue(defaultValue)); } -qint64 PythonQtWrapper_QElapsedTimer::msecsSinceReference(QElapsedTimer* theWrappedObject) const +void PythonQtWrapper_QCommandLineOption::setDefaultValues(QCommandLineOption* theWrappedObject, const QStringList& defaultValues) { - return ( theWrappedObject->msecsSinceReference()); + ( theWrappedObject->setDefaultValues(defaultValues)); } -qint64 PythonQtWrapper_QElapsedTimer::msecsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +void PythonQtWrapper_QCommandLineOption::setDescription(QCommandLineOption* theWrappedObject, const QString& description) { - return ( theWrappedObject->msecsTo(other)); + ( theWrappedObject->setDescription(description)); } -qint64 PythonQtWrapper_QElapsedTimer::nsecsElapsed(QElapsedTimer* theWrappedObject) const +void PythonQtWrapper_QCommandLineOption::setHidden(QCommandLineOption* theWrappedObject, bool hidden) { - return ( theWrappedObject->nsecsElapsed()); + ( theWrappedObject->setHidden(hidden)); } -bool PythonQtWrapper_QElapsedTimer::__ne__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +void PythonQtWrapper_QCommandLineOption::setValueName(QCommandLineOption* theWrappedObject, const QString& name) { - return ( (*theWrappedObject)!= other); + ( theWrappedObject->setValueName(name)); } -bool PythonQtWrapper_QElapsedTimer::__eq__(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const +void PythonQtWrapper_QCommandLineOption::swap(QCommandLineOption* theWrappedObject, QCommandLineOption& other) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->swap(other)); } -qint64 PythonQtWrapper_QElapsedTimer::restart(QElapsedTimer* theWrappedObject) +QString PythonQtWrapper_QCommandLineOption::valueName(QCommandLineOption* theWrappedObject) const { - return ( theWrappedObject->restart()); + return ( theWrappedObject->valueName()); } -qint64 PythonQtWrapper_QElapsedTimer::secsTo(QElapsedTimer* theWrappedObject, const QElapsedTimer& other) const + + +QCommandLineParser* PythonQtWrapper_QCommandLineParser::new_QCommandLineParser() +{ +return new QCommandLineParser(); } + +QCommandLineOption PythonQtWrapper_QCommandLineParser::addHelpOption(QCommandLineParser* theWrappedObject) { - return ( theWrappedObject->secsTo(other)); + return ( theWrappedObject->addHelpOption()); } -void PythonQtWrapper_QElapsedTimer::start(QElapsedTimer* theWrappedObject) +bool PythonQtWrapper_QCommandLineParser::addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption) { - ( theWrappedObject->start()); + return ( theWrappedObject->addOption(commandLineOption)); } +bool PythonQtWrapper_QCommandLineParser::addOptions(QCommandLineParser* theWrappedObject, const QList& options) +{ + return ( theWrappedObject->addOptions(options)); +} - -PythonQtShell_QEvent::~PythonQtShell_QEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QCommandLineParser::addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax) +{ + ( theWrappedObject->addPositionalArgument(name, description, syntax)); } -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); } +QCommandLineOption PythonQtWrapper_QCommandLineParser::addVersionOption(QCommandLineParser* theWrappedObject) +{ + return ( theWrappedObject->addVersionOption()); +} -void PythonQtWrapper_QEvent::accept(QEvent* theWrappedObject) +QString PythonQtWrapper_QCommandLineParser::applicationDescription(QCommandLineParser* theWrappedObject) const { - ( theWrappedObject->accept()); + return ( theWrappedObject->applicationDescription()); } -void PythonQtWrapper_QEvent::ignore(QEvent* theWrappedObject) +void PythonQtWrapper_QCommandLineParser::clearPositionalArguments(QCommandLineParser* theWrappedObject) { - ( theWrappedObject->ignore()); + ( theWrappedObject->clearPositionalArguments()); } -bool PythonQtWrapper_QEvent::isAccepted(QEvent* theWrappedObject) const +QString PythonQtWrapper_QCommandLineParser::errorText(QCommandLineParser* theWrappedObject) const { - return ( theWrappedObject->isAccepted()); + return ( theWrappedObject->errorText()); } -QEvent* PythonQtWrapper_QEvent::operator_assign(QEvent* theWrappedObject, const QEvent& other) +QString PythonQtWrapper_QCommandLineParser::helpText(QCommandLineParser* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->helpText()); } -int PythonQtWrapper_QEvent::static_QEvent_registerEventType(int hint) +bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const { - return (QEvent::registerEventType(hint)); + return ( theWrappedObject->isSet(option)); } -void PythonQtWrapper_QEvent::setAccepted(QEvent* theWrappedObject, bool accepted) +bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QString& name) const { - ( theWrappedObject->setAccepted(accepted)); + return ( theWrappedObject->isSet(name)); } -bool PythonQtWrapper_QEvent::spontaneous(QEvent* theWrappedObject) const +QStringList PythonQtWrapper_QCommandLineParser::optionNames(QCommandLineParser* theWrappedObject) const { - return ( theWrappedObject->spontaneous()); + return ( theWrappedObject->optionNames()); } -QEvent::Type PythonQtWrapper_QEvent::type(QEvent* theWrappedObject) const +bool PythonQtWrapper_QCommandLineParser::parse(QCommandLineParser* theWrappedObject, const QStringList& arguments) { - return ( theWrappedObject->type()); + return ( theWrappedObject->parse(arguments)); } -QString PythonQtWrapper_QEvent::py_toString(QEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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)); +} -PythonQtShell_QEventLoop::~PythonQtShell_QEventLoop() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QCommandLineParser::setApplicationDescription(QCommandLineParser* theWrappedObject, const QString& description) +{ + ( theWrappedObject->setApplicationDescription(description)); } -void PythonQtShell_QEventLoop::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QCommandLineParser::setOptionsAfterPositionalArgumentsMode(QCommandLineParser* theWrappedObject, QCommandLineParser::OptionsAfterPositionalArgumentsMode mode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setOptionsAfterPositionalArgumentsMode(mode)); } - QEventLoop::childEvent(event0); + +void PythonQtWrapper_QCommandLineParser::setSingleDashWordOptionMode(QCommandLineParser* theWrappedObject, QCommandLineParser::SingleDashWordOptionMode parsingMode) +{ + ( theWrappedObject->setSingleDashWordOptionMode(parsingMode)); } -void PythonQtShell_QEventLoop::customEvent(QEvent* event0) + +void PythonQtWrapper_QCommandLineParser::showHelp(QCommandLineParser* theWrappedObject, int exitCode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->showHelp(exitCode)); } - QEventLoop::customEvent(event0); + +void PythonQtWrapper_QCommandLineParser::showVersion(QCommandLineParser* theWrappedObject) +{ + ( theWrappedObject->showVersion()); } -bool PythonQtShell_QEventLoop::event(QEvent* event0) + +QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_tr(const char* sourceText, const char* disambiguation, int n) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QCommandLineParser::tr(sourceText, disambiguation, n)); } - return QEventLoop::event(event0); + +QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_trUtf8(const char* sourceText, const char* disambiguation, int n) +{ + return (QCommandLineParser::trUtf8(sourceText, disambiguation, n)); } -bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) + +QStringList PythonQtWrapper_QCommandLineParser::unknownOptionNames(QCommandLineParser* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->unknownOptionNames()); } - return QEventLoop::eventFilter(watched0, event1); + +QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +{ + return ( theWrappedObject->value(option)); } -void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) + +QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QString& name) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->value(name)); } - QEventLoop::timerEvent(event0); + +QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +{ + return ( theWrappedObject->values(option)); } -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; - } +QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->values(name)); } -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; + + + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath(const QString& arg__1) +{ + (QCoreApplication::addLibraryPath(arg__1)); } -int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationDirPath() { - return ( theWrappedObject->exec(flags)); + return (QCoreApplication::applicationDirPath()); } -void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationFilePath() { - ( theWrappedObject->exit(returnCode)); + return (QCoreApplication::applicationFilePath()); } -bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationName() { - return ( theWrappedObject->isRunning()); + return (QCoreApplication::applicationName()); } -bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +qint64 PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationPid() { - return ( theWrappedObject->processEvents(flags)); + return (QCoreApplication::applicationPid()); } -void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationVersion() { - ( theWrappedObject->processEvents(flags, maximumTime)); + return (QCoreApplication::applicationVersion()); } -void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) +QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_arguments() { - ( theWrappedObject->wakeUp()); + return (QCoreApplication::arguments()); } +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_closingDown() +{ + return (QCoreApplication::closingDown()); +} +QAbstractEventDispatcher* PythonQtWrapper_QCoreApplication::static_QCoreApplication_eventDispatcher() +{ + return (QCoreApplication::eventDispatcher()); +} -PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +int PythonQtWrapper_QCoreApplication::static_QCoreApplication_exec() +{ + return (QCoreApplication::exec()); } -void PythonQtShell_QEventTransition::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_exit(int retcode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QCoreApplication::exit(retcode)); } - QEventTransition::childEvent(event0); + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_flush() +{ + (QCoreApplication::flush()); } -void PythonQtShell_QEventTransition::customEvent(QEvent* event0) + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_hasPendingEvents() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QCoreApplication::hasPendingEvents()); } - QEventTransition::customEvent(event0); + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) +{ + return (QCoreApplication::installTranslator(messageFile)); } -bool PythonQtShell_QEventTransition::event(QEvent* e0) + +QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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 (QCoreApplication::instance()); } - return QEventTransition::event(e0); + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isQuitLockEnabled() +{ + return (QCoreApplication::isQuitLockEnabled()); } -bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* event1) + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isSetuidAllowed() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QCoreApplication::isSetuidAllowed()); } - return QEventTransition::eventFilter(watched0, event1); + +QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_libraryPaths() +{ + return (QCoreApplication::libraryPaths()); } -bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) + +bool PythonQtWrapper_QCoreApplication::notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) { -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 ( theWrappedObject->notify(arg__1, arg__2)); } - return QEventTransition::eventTest(event0); + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationDomain() +{ + return (QCoreApplication::organizationDomain()); } -void PythonQtShell_QEventTransition::onTransition(QEvent* event0) + +QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationName() { -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(); - } - } + return (QCoreApplication::organizationName()); } - QEventTransition::onTransition(event0); + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, PythonQtPassOwnershipToCPP event, int priority) +{ + (QCoreApplication::postEvent(receiver, event, priority)); } -void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QCoreApplication::processEvents(flags)); } - QEventTransition::timerEvent(event0); + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) +{ + (QCoreApplication::processEvents(flags, maxtime)); } -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); } +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeLibraryPath(const QString& arg__1) +{ + (QCoreApplication::removeLibraryPath(arg__1)); +} -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; - } +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType) +{ + (QCoreApplication::removePostedEvents(receiver, eventType)); } -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; + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) +{ + return (QCoreApplication::removeTranslator(messageFile)); } -QObject* PythonQtWrapper_QEventTransition::eventSource(QEventTransition* theWrappedObject) const + +bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) { - return ( theWrappedObject->eventSource()); + return (QCoreApplication::sendEvent(receiver, event)); } -QEvent::Type PythonQtWrapper_QEventTransition::eventType(QEventTransition* theWrappedObject) const +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type) { - return ( theWrappedObject->eventType()); + (QCoreApplication::sendPostedEvents(receiver, event_type)); } -void PythonQtWrapper_QEventTransition::setEventSource(QEventTransition* theWrappedObject, QObject* object) +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationName(const QString& application) { - ( theWrappedObject->setEventSource(object)); + (QCoreApplication::setApplicationName(application)); } -void PythonQtWrapper_QEventTransition::setEventType(QEventTransition* theWrappedObject, QEvent::Type type) +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setApplicationVersion(const QString& version) { - ( theWrappedObject->setEventType(type)); + (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)); +} -PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setLibraryPaths(const QStringList& arg__1) +{ + (QCoreApplication::setLibraryPaths(arg__1)); } -QStringList PythonQtShell_QFactoryInterface::keys() const + +void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationDomain(const QString& orgDomain) { -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(); - } - } + (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()); +} + + + +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()); } - return QStringList(); + +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; } -QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() + + + +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 PythonQtShell_QFactoryInterface(); } +return new QDirIterator(path, nameFilters, filters, flags); } -QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const +QFileInfo PythonQtWrapper_QDirIterator::fileInfo(QDirIterator* theWrappedObject) const { - return ( theWrappedObject->keys()); + 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()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.h index 3777a4f9..7a4615b0 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core0.h @@ -13,6 +13,11 @@ #include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -20,30 +25,31 @@ #include #include #include +#include #include #include #include -#include -#include #include -#include -#include -#include #include #include +#include +#include +#include #include #include #include #include #include #include -#include +#include #include #include #include #include #include #include +#include +#include #include @@ -67,7 +73,7 @@ void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAnimation : public QAbstractAnimation @@ -166,7 +172,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel @@ -381,7 +387,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractListModel : public QAbstractListModel @@ -425,7 +431,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractState : public QAbstractState @@ -475,7 +481,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTransition : public QAbstractTransition @@ -535,7 +541,7 @@ void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAnimationGroup : public QAnimationGroup @@ -586,7 +592,7 @@ class PythonQtShell_QBasicMutex : public QBasicMutex ~PythonQtShell_QBasicMutex(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QBasicMutex : public QObject @@ -662,7 +668,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBuffer : public QBuffer @@ -733,6 +739,402 @@ void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; } +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; + QCborArray* __lshift__(QCborArray* theWrappedObject, const QCborValue& v); + QCborArray* operator_assign(QCborArray* theWrappedObject, const QCborArray& other); + bool __eq__(QCborArray* theWrappedObject, const QCborArray& other) const; + 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; + QCborMap* operator_assign(QCborMap* theWrappedObject, const QCborMap& other); + bool __eq__(QCborMap* theWrappedObject, const QCborMap& other) const; + 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; + QCborValue* operator_assign(QCborValue* theWrappedObject, const QCborValue& other); + bool __eq__(QCborValue* theWrappedObject, const QCborValue& other) const; + 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: @@ -741,7 +1143,7 @@ class PythonQtShell_QChildEvent : public QChildEvent ~PythonQtShell_QChildEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QChildEvent : public QObject @@ -770,7 +1172,6 @@ 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; - int compare(QCollator* theWrappedObject, const QStringRef& s1, const QStringRef& s2) const; bool ignorePunctuation(QCollator* theWrappedObject) const; QLocale locale(QCollator* theWrappedObject) const; bool numericMode(QCollator* theWrappedObject) const; @@ -1077,8 +1478,17 @@ void delete_QDeadlineTimer(QDeadlineTimer* obj) { delete obj; } 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); @@ -1218,247 +1628,3 @@ void delete_QDirIterator(QDirIterator* obj) { delete obj; } }; - - - -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 __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());} -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index cf3625b0..a572bbbe 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -5,8 +5,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -15,6 +15,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -35,11 +38,9 @@ #include #include #include -#include #include -#include -#include #include +#include #include #include #include @@ -48,101 +49,340 @@ #include #include #include +#include -PythonQtShell_QFile::~PythonQtShell_QFile() { +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); } } -bool PythonQtShell_QFile::atEnd() const +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("atEnd"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::atEnd(); + QEventLoop::childEvent(event0); } -qint64 PythonQtShell_QFile::bytesAvailable() const +void PythonQtShell_QEventLoop::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::bytesAvailable(); + QEventLoop::customEvent(event0); } -qint64 PythonQtShell_QFile::bytesToWrite() const +bool PythonQtShell_QEventLoop::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -150,32 +390,32 @@ if (_wrapper) { } } } - return QFile::bytesToWrite(); + return QEventLoop::event(event0); } -bool PythonQtShell_QFile::canReadLine() const +bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -183,21 +423,21 @@ if (_wrapper) { } } } - return QFile::canReadLine(); + return QEventLoop::eventFilter(watched0, event1); } -void PythonQtShell_QFile::childEvent(QChildEvent* event0) +void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -205,21 +445,74 @@ if (_wrapper) { } } } - QFile::childEvent(event0); + QEventLoop::timerEvent(event0); } -void PythonQtShell_QFile::close() -{ -if (_wrapper) { +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("close"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -227,9 +520,9 @@ if (_wrapper) { } } } - QFile::close(); + QEventTransition::childEvent(event0); } -void PythonQtShell_QFile::customEvent(QEvent* event0) +void PythonQtShell_QEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -241,7 +534,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -249,9 +542,9 @@ if (_wrapper) { } } } - QFile::customEvent(event0); + QEventTransition::customEvent(event0); } -bool PythonQtShell_QFile::event(QEvent* event0) +bool PythonQtShell_QEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -262,7 +555,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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); @@ -274,7 +567,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -282,9 +575,9 @@ if (_wrapper) { } } } - return QFile::event(event0); + return QEventTransition::event(e0); } -bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -307,7 +600,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -315,32 +608,32 @@ if (_wrapper) { } } } - return QFile::eventFilter(watched0, event1); + return QEventTransition::eventFilter(watched0, event1); } -QString PythonQtShell_QFile::fileName() const +bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fileName"); + static PyObject* name = PyString_FromString("eventTest"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -348,98 +641,123 @@ if (_wrapper) { } } } - return QFile::fileName(); + return QEventTransition::eventTest(event0); } -bool PythonQtShell_QFile::isSequential() const +void PythonQtShell_QEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + static PyObject* name = PyString_FromString("onTransition"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::isSequential(); + QEventTransition::onTransition(event0); } -bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) +void PythonQtShell_QEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::open(flags0); + QEventTransition::timerEvent(event0); } -QFileDevice::Permissions PythonQtShell_QFile::permissions() const +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("permissions"); + static PyObject* name = PyString_FromString("keys"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue{}; + 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("permissions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); } else { - returnValue = *((QFileDevice::Permissions*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -447,32 +765,47 @@ if (_wrapper) { } } } - return QFile::permissions(); + return QStringList(); } -qint64 PythonQtShell_QFile::pos() const +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("pos"); + static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -480,32 +813,32 @@ if (_wrapper) { } } } - return QFile::pos(); + return QFile::atEnd(); } -qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) +qint64 PythonQtShell_QFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("bytesAvailable"); 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); + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -513,32 +846,32 @@ if (_wrapper) { } } } - return QFile::readData(data0, maxlen1); + return QFile::bytesAvailable(); } -qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) +qint64 PythonQtShell_QFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("bytesToWrite"); 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); + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -546,14 +879,14 @@ if (_wrapper) { } } } - return QFile::readLineData(data0, maxlen1); + return QFile::bytesToWrite(); } -bool PythonQtShell_QFile::reset() +bool PythonQtShell_QFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool"}; @@ -565,13 +898,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -579,98 +912,98 @@ if (_wrapper) { } } } - return QFile::reset(); + return QFile::canReadLine(); } -bool PythonQtShell_QFile::resize(qint64 sz0) +void PythonQtShell_QFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&sz0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::resize(sz0); + QFile::childEvent(event0); } -bool PythonQtShell_QFile::seek(qint64 offset0) +void PythonQtShell_QFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); + static PyObject* name = PyString_FromString("close"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::seek(offset0); + QFile::close(); } -bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) +void PythonQtShell_QFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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*)&permissionSpec0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -678,32 +1011,32 @@ if (_wrapper) { } } } - return QFile::setPermissions(permissionSpec0); + return QFile::event(event0); } -qint64 PythonQtShell_QFile::size() const +bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -711,54 +1044,65 @@ if (_wrapper) { } } } - return QFile::size(); + return QFile::eventFilter(watched0, event1); } -void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) +QString PythonQtShell_QFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFile::timerEvent(event0); + return QFile::fileName(); } -bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) +bool PythonQtShell_QFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("isSequential"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -766,32 +1110,32 @@ if (_wrapper) { } } } - return QFile::waitForBytesWritten(msecs0); + return QFile::isSequential(); } -bool PythonQtShell_QFile::waitForReadyRead(int msecs0) +bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + 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("waitForReadyRead", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -799,32 +1143,32 @@ if (_wrapper) { } } } - return QFile::waitForReadyRead(msecs0); + return QFile::open(flags0); } -qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) +QFileDevice::Permissions PythonQtShell_QFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("permissions"); 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}; + 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("writeData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -832,144 +1176,113 @@ if (_wrapper) { } } } - return QFile::writeData(data0, len1); + return QFile::permissions(); } -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; +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(); + } } } -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)); + return QFile::pos(); } - -bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) +qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { - return ( theWrappedObject->copy(newName)); +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(); + } + } } - -QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) -{ - return (QFile::decodeName(localFileName)); + return QFile::readData(data0, maxlen1); } - -QByteArray PythonQtWrapper_QFile::static_QFile_encodeName(const QString& fileName) +qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { - return (QFile::encodeName(fileName)); +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(); + } + } } - -bool PythonQtWrapper_QFile::exists(QFile* theWrappedObject) const -{ - return ( theWrappedObject->exists()); + return QFile::readLineData(data0, maxlen1); } - -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::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 +bool PythonQtShell_QFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool"}; @@ -981,13 +1294,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -995,32 +1308,32 @@ if (_wrapper) { } } } - return QFileDevice::atEnd(); + return QFile::reset(); } -qint64 PythonQtShell_QFileDevice::bytesAvailable() const +bool PythonQtShell_QFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("resize"); 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}; + 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("bytesAvailable", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1028,32 +1341,32 @@ if (_wrapper) { } } } - return QFileDevice::bytesAvailable(); + return QFile::resize(sz0); } -qint64 PythonQtShell_QFileDevice::bytesToWrite() const +bool PythonQtShell_QFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("seek"); 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}; + 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("bytesToWrite", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1061,32 +1374,32 @@ if (_wrapper) { } } } - return QFileDevice::bytesToWrite(); + return QFile::seek(offset0); } -bool PythonQtShell_QFileDevice::canReadLine() const +bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + 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("canReadLine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1094,65 +1407,54 @@ if (_wrapper) { } } } - 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); + return QFile::setPermissions(permissionSpec0); } -void PythonQtShell_QFileDevice::close() +qint64 PythonQtShell_QFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileDevice::close(); + return QFile::size(); } -void PythonQtShell_QFileDevice::customEvent(QEvent* event0) +void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1160,32 +1462,32 @@ if (_wrapper) { } } } - QFileDevice::customEvent(event0); + QFile::timerEvent(event0); } -bool PythonQtShell_QFileDevice::event(QEvent* event0) +bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1193,32 +1495,32 @@ if (_wrapper) { } } } - return QFileDevice::event(event0); + return QFile::waitForBytesWritten(msecs0); } -bool PythonQtShell_QFileDevice::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1226,32 +1528,32 @@ if (_wrapper) { } } } - return QFileDevice::eventFilter(watched0, event1); + return QFile::waitForReadyRead(msecs0); } -QString PythonQtShell_QFileDevice::fileName() const +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("fileName"); + static PyObject* name = PyString_FromString("writeData"); 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}; + 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("fileName", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1259,65 +1561,162 @@ if (_wrapper) { } } } - 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 QFile::writeData(data0, len1); } - return QFileDevice::isSequential(); +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; + } } -bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) +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::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("open"); + static PyObject* name = PyString_FromString("atEnd"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&mode0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1325,32 +1724,32 @@ if (_wrapper) { } } } - return QFileDevice::open(mode0); + return QFileDevice::atEnd(); } -QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const +qint64 PythonQtShell_QFileDevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("permissions"); + static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QFileDevice::Permissions"}; + static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QFileDevice::Permissions returnValue{}; + 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("permissions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { - returnValue = *((QFileDevice::Permissions*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1358,14 +1757,14 @@ if (_wrapper) { } } } - return QFileDevice::permissions(); + return QFileDevice::bytesAvailable(); } -qint64 PythonQtShell_QFileDevice::pos() const +qint64 PythonQtShell_QFileDevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); + static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"qint64"}; @@ -1377,13 +1776,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1391,32 +1790,32 @@ if (_wrapper) { } } } - return QFileDevice::pos(); + return QFileDevice::bytesToWrite(); } -qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) +bool PythonQtShell_QFileDevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("canReadLine"); 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}; + 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("readData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1424,131 +1823,98 @@ if (_wrapper) { } } } - return QFileDevice::readData(data0, maxlen1); + return QFileDevice::canReadLine(); } -qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) +void PythonQtShell_QFileDevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDevice::readLineData(data0, maxlen1); + QFileDevice::childEvent(event0); } -bool PythonQtShell_QFileDevice::reset() +void PythonQtShell_QFileDevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDevice::reset(); + QFileDevice::close(); } -bool PythonQtShell_QFileDevice::resize(qint64 sz0) +void PythonQtShell_QFileDevice::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&sz0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDevice::resize(sz0); + QFileDevice::customEvent(event0); } -bool PythonQtShell_QFileDevice::seek(qint64 offset0) +bool PythonQtShell_QFileDevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1556,32 +1922,32 @@ if (_wrapper) { } } } - return QFileDevice::seek(offset0); + return QFileDevice::event(event0); } -bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) +bool PythonQtShell_QFileDevice::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&permissionSpec0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1589,32 +1955,32 @@ if (_wrapper) { } } } - return QFileDevice::setPermissions(permissionSpec0); + return QFileDevice::eventFilter(watched0, event1); } -qint64 PythonQtShell_QFileDevice::size() const +QString PythonQtShell_QFileDevice::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; + static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; + 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("size", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1622,54 +1988,65 @@ if (_wrapper) { } } } - return QFileDevice::size(); + return QFileDevice::fileName(); } -void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QFileDevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileDevice::timerEvent(event0); + return QFileDevice::isSequential(); } -bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) +bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + 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("waitForBytesWritten", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1677,32 +2054,32 @@ if (_wrapper) { } } } - return QFileDevice::waitForBytesWritten(msecs0); + return QFileDevice::open(mode0); } -bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) +QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("permissions"); 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}; + 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("waitForReadyRead", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1710,32 +2087,32 @@ if (_wrapper) { } } } - return QFileDevice::waitForReadyRead(msecs0); + return QFileDevice::permissions(); } -qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) +qint64 PythonQtShell_QFileDevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("pos"); 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); + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1743,165 +2120,517 @@ if (_wrapper) { } } } - return QFileDevice::writeData(data0, len1); + return QFileDevice::pos(); } -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; +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(); + } } } -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; + return QFileDevice::readData(data0, maxlen1); } -QFileDevice::FileError PythonQtWrapper_QFileDevice::error(QFileDevice* theWrappedObject) const +qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { - return ( theWrappedObject->error()); +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(); + } + } } - -QString PythonQtWrapper_QFileDevice::fileName(QFileDevice* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); + return QFileDevice::readLineData(data0, maxlen1); } - -QDateTime PythonQtWrapper_QFileDevice::fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const +bool PythonQtShell_QFileDevice::reset() { - return ( theWrappedObject->fileTime(time)); +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(); + } + } } - -bool PythonQtWrapper_QFileDevice::flush(QFileDevice* theWrappedObject) -{ - return ( theWrappedObject->flush()); + return QFileDevice::reset(); } - -int PythonQtWrapper_QFileDevice::handle(QFileDevice* theWrappedObject) const +bool PythonQtShell_QFileDevice::resize(qint64 sz0) { - return ( theWrappedObject->handle()); +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(); + } + } } - -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)); + return QFileDevice::resize(sz0); } - -bool PythonQtWrapper_QFileDevice::unmap(QFileDevice* theWrappedObject, uchar* address) +bool PythonQtShell_QFileDevice::seek(qint64 offset0) { - return ( theWrappedObject->unmap(address)); +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(); + } + } } - -void PythonQtWrapper_QFileDevice::unsetError(QFileDevice* theWrappedObject) -{ - ( theWrappedObject->unsetError()); + return QFileDevice::seek(offset0); } - - - -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 +bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) { - return ( theWrappedObject->absoluteDir()); +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(); + } + } } - -QString PythonQtWrapper_QFileInfo::absoluteFilePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->absoluteFilePath()); + return QFileDevice::setPermissions(permissionSpec0); } - -QString PythonQtWrapper_QFileInfo::absolutePath(QFileInfo* theWrappedObject) const +qint64 PythonQtShell_QFileDevice::size() const { - return ( theWrappedObject->absolutePath()); +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(); + } + } } - -QString PythonQtWrapper_QFileInfo::baseName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->baseName()); + return QFileDevice::size(); } - -QDateTime PythonQtWrapper_QFileInfo::birthTime(QFileInfo* theWrappedObject) const +void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->birthTime()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QFileInfo::bundleName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->bundleName()); + QFileDevice::timerEvent(event0); } - -bool PythonQtWrapper_QFileInfo::caching(QFileInfo* theWrappedObject) const +bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { - return ( theWrappedObject->caching()); +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(); + } + } } - -QString PythonQtWrapper_QFileInfo::canonicalFilePath(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->canonicalFilePath()); + return QFileDevice::waitForBytesWritten(msecs0); } - -QString PythonQtWrapper_QFileInfo::canonicalPath(QFileInfo* theWrappedObject) const +bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { - return ( theWrappedObject->canonicalPath()); +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(); + } + } } - -QString PythonQtWrapper_QFileInfo::completeBaseName(QFileInfo* theWrappedObject) const -{ - return ( theWrappedObject->completeBaseName()); + return QFileDevice::waitForReadyRead(msecs0); } - -QString PythonQtWrapper_QFileInfo::completeSuffix(QFileInfo* theWrappedObject) const +qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { - return ( theWrappedObject->completeSuffix()); -} +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 { @@ -2118,7 +2847,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2140,7 +2869,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2173,7 +2902,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2206,7 +2935,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2228,7 +2957,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2298,7 +3027,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2320,7 +3049,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2353,7 +3082,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2386,7 +3115,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2408,7 +3137,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2487,7 +3216,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2509,7 +3238,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2542,7 +3271,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2575,7 +3304,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2597,7 +3326,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2619,7 +3348,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2641,7 +3370,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2686,7 +3415,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2708,7 +3437,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2741,7 +3470,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2774,7 +3503,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2796,7 +3525,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2818,7 +3547,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2840,7 +3569,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2930,7 +3659,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2963,7 +3692,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2996,7 +3725,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3029,7 +3758,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3051,7 +3780,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3073,7 +3802,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3095,7 +3824,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3128,7 +3857,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3161,7 +3890,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3194,7 +3923,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3227,7 +3956,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3260,7 +3989,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3293,7 +4022,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3326,7 +4055,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3359,7 +4088,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3392,7 +4121,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3425,7 +4154,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3447,7 +4176,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3480,7 +4209,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3513,7 +4242,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3546,7 +4275,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3831,7 +4560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3864,7 +4593,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3897,7 +4626,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3919,7 +4648,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3952,7 +4681,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3974,7 +4703,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4007,7 +4736,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4040,7 +4769,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4073,7 +4802,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4106,7 +4835,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4128,7 +4857,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4161,7 +4890,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4177,1743 +4906,552 @@ 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)); -} - -void PythonQtWrapper_QJsonArray::insert(QJsonArray* theWrappedObject, int i, const QJsonValue& value) -{ - ( theWrappedObject->insert(i, value)); -} - -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); -} - -QJsonArray* PythonQtWrapper_QJsonArray::__lshift__(QJsonArray* theWrappedObject, const QJsonValue& v) -{ - return &( (*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); -} - -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); -} - -const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, QLatin1String key) const -{ - return ( (*theWrappedObject)[key]); -} - -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, QLatin1String key) const -{ - return ( theWrappedObject->contains(key)); -} - -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); -} - -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); -} - -QJsonValue PythonQtWrapper_QJsonObject::operator_subscript(QJsonObject* theWrappedObject, QLatin1String key) const -{ - return ( (*theWrappedObject)[key]); -} - -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, QLatin1String key) const -{ - return ( theWrappedObject->value(key)); -} - -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(QLatin1String s) -{ -return new QJsonValue(s); } - -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 n) -{ -return new QJsonValue(n); } - -QJsonValue PythonQtWrapper_QJsonValue::static_QJsonValue_fromVariant(const QVariant& variant) -{ - return (QJsonValue::fromVariant(variant)); + 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(); + } + } } - -bool PythonQtWrapper_QJsonValue::isArray(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isArray()); + return QIdentityProxyModel::hasChildren(parent0); } - -bool PythonQtWrapper_QJsonValue::isBool(QJsonValue* theWrappedObject) const +QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const { - return ( theWrappedObject->isBool()); +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(); + } + } } - -bool PythonQtWrapper_QJsonValue::isDouble(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isDouble()); + return QIdentityProxyModel::headerData(section0, orientation1, role2); } - -bool PythonQtWrapper_QJsonValue::isNull(QJsonValue* theWrappedObject) const +QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const { - return ( theWrappedObject->isNull()); +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(); + } + } } - -bool PythonQtWrapper_QJsonValue::isObject(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isObject()); + return QIdentityProxyModel::index(row0, column1, parent2); } - -bool PythonQtWrapper_QJsonValue::isString(QJsonValue* theWrappedObject) const +bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) { - return ( theWrappedObject->isString()); +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(); + } + } } - -bool PythonQtWrapper_QJsonValue::isUndefined(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->isUndefined()); + return QIdentityProxyModel::insertColumns(column0, count1, parent2); } - -bool PythonQtWrapper_QJsonValue::__ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const +bool PythonQtShell_QIdentityProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) { - return ( (*theWrappedObject)!= other); +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(); + } + } } - -QJsonValue* PythonQtWrapper_QJsonValue::operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other) -{ - return &( (*theWrappedObject)= other); + return QIdentityProxyModel::insertRows(row0, count1, parent2); } - -bool PythonQtWrapper_QJsonValue::__eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const +QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const { - return ( (*theWrappedObject)== other); +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(); + } + } } - -const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, QLatin1String key) const -{ - return ( (*theWrappedObject)[key]); + return QIdentityProxyModel::itemData(index0); } - -const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, const QString& key) const +QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { - return ( (*theWrappedObject)[key]); +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(); + } + } } - -const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, int i) const + return QIdentityProxyModel::mapFromSource(sourceIndex0); +} +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { - return ( (*theWrappedObject)[i]); +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(); + } + } } - -void PythonQtWrapper_QJsonValue::swap(QJsonValue* theWrappedObject, QJsonValue& other) -{ - ( theWrappedObject->swap(other)); + return QIdentityProxyModel::mapSelectionFromSource(selection0); } - -QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject) const +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { - return ( theWrappedObject->toArray()); +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(); + } + } } - -QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const -{ - return ( theWrappedObject->toArray(defaultValue)); + return QIdentityProxyModel::mapSelectionToSource(selection0); } - -bool PythonQtWrapper_QJsonValue::toBool(QJsonValue* theWrappedObject, bool defaultValue) const +QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { - return ( theWrappedObject->toBool(defaultValue)); +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(); + } + } } - -double PythonQtWrapper_QJsonValue::toDouble(QJsonValue* theWrappedObject, double defaultValue) const -{ - return ( theWrappedObject->toDouble(defaultValue)); + return QIdentityProxyModel::mapToSource(proxyIndex0); } - -int PythonQtWrapper_QJsonValue::toInt(QJsonValue* theWrappedObject, int defaultValue) const +QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const { - return ( theWrappedObject->toInt(defaultValue)); +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(); + } + } } - -QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->toObject()); + return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); } - -QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const +QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const { - return ( theWrappedObject->toObject(defaultValue)); +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(); + } + } } - -QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->toString()); + return QIdentityProxyModel::mimeData(indexes0); } - -QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject, const QString& defaultValue) const +QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { - return ( theWrappedObject->toString(defaultValue)); +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(); + } + } } - -QVariant PythonQtWrapper_QJsonValue::toVariant(QJsonValue* theWrappedObject) const -{ - return ( theWrappedObject->toVariant()); + return QIdentityProxyModel::mimeTypes(); } - -QJsonValue::Type PythonQtWrapper_QJsonValue::type(QJsonValue* theWrappedObject) const +bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) { - return ( theWrappedObject->type()); +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(); + } + } } - -QString PythonQtWrapper_QJsonValue::py_toString(QJsonValue* obj) { return obj->toString(); } - - -PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLibrary::childEvent(event0); + return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QLibrary::customEvent(QEvent* event0) +QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLibrary::customEvent(event0); + return QIdentityProxyModel::parent(child0); } -bool PythonQtShell_QLibrary::event(QEvent* event0) +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("event"); + static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5921,32 +5459,32 @@ if (_wrapper) { } } } - return QLibrary::event(event0); + return QIdentityProxyModel::removeColumns(column0, count1, parent2); } -bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5954,21 +5492,21 @@ if (_wrapper) { } } } - return QLibrary::eventFilter(watched0, event1); + return QIdentityProxyModel::removeRows(row0, count1, parent2); } -void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) +void PythonQtShell_QIdentityProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5976,979 +5514,1034 @@ if (_wrapper) { } } } - 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)); -} - - - -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)); + QIdentityProxyModel::revert(); } - -void PythonQtWrapper_QLockFile::unlock(QLockFile* theWrappedObject) +QHash PythonQtShell_QIdentityProxyModel::roleNames() const { - ( theWrappedObject->unlock()); +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(); + } + } } - - - -const char* PythonQtWrapper_QLoggingCategory::categoryName(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->categoryName()); + return QIdentityProxyModel::roleNames(); } - -QLoggingCategory* PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_defaultCategory() +int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const { - return (QLoggingCategory::defaultCategory()); +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(); + } + } } - -bool PythonQtWrapper_QLoggingCategory::isCriticalEnabled(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->isCriticalEnabled()); + return QIdentityProxyModel::rowCount(parent0); } - -bool PythonQtWrapper_QLoggingCategory::isDebugEnabled(QLoggingCategory* theWrappedObject) const +bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) { - return ( theWrappedObject->isDebugEnabled()); +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(); + } + } } - -bool PythonQtWrapper_QLoggingCategory::isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const -{ - return ( theWrappedObject->isEnabled(type)); + return QIdentityProxyModel::setData(index0, value1, role2); } - -bool PythonQtWrapper_QLoggingCategory::isInfoEnabled(QLoggingCategory* theWrappedObject) const +bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) { - return ( theWrappedObject->isInfoEnabled()); +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(); + } + } } - -bool PythonQtWrapper_QLoggingCategory::isWarningEnabled(QLoggingCategory* theWrappedObject) const -{ - return ( theWrappedObject->isWarningEnabled()); + return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); } - -void PythonQtWrapper_QLoggingCategory::setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable) +bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) { - ( theWrappedObject->setEnabled(type, enable)); +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(); + } + } } - -void PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_setFilterRules(const QString& rules) -{ - (QLoggingCategory::setFilterRules(rules)); + return QIdentityProxyModel::setItemData(index0, roles1); } - - - -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 +void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { - return ( theWrappedObject->bottom()); +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(); + } + } } - -bool PythonQtWrapper_QMarginsF::isNull(QMarginsF* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); + QIdentityProxyModel::setSourceModel(sourceModel0); } - -qreal PythonQtWrapper_QMarginsF::left(QMarginsF* theWrappedObject) const +QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const { - return ( theWrappedObject->left()); +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(); + } + } } - -bool PythonQtWrapper_QMarginsF::__ne__(QMarginsF* theWrappedObject, const QMarginsF& rhs) -{ - return ( (*theWrappedObject)!= rhs); + return QIdentityProxyModel::sibling(row0, column1, idx2); } - -QMarginsF PythonQtWrapper_QMarginsF::__mul__(QMarginsF* theWrappedObject, qreal rhs) +void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) { - return ( (*theWrappedObject)* rhs); +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(); + } + } } - -QMarginsF* PythonQtWrapper_QMarginsF::__imul__(QMarginsF* theWrappedObject, qreal factor) -{ - return &( (*theWrappedObject)*= factor); + QIdentityProxyModel::sort(column0, order1); } - -QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QMarginsF& rhs) +QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { - return ( (*theWrappedObject)+ rhs); +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(); + } + } } - -QRectF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QRectF& rhs) -{ - return ( (*theWrappedObject)+ rhs); + return QIdentityProxyModel::span(index0); } - -QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, qreal rhs) +bool PythonQtShell_QIdentityProxyModel::submit() { - return ( (*theWrappedObject)+ rhs); +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(); + } + } } - -QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, const QMarginsF& margins) -{ - return &( (*theWrappedObject)+= margins); + return QIdentityProxyModel::submit(); } - -QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, qreal addend) +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { - return &( (*theWrappedObject)+= addend); +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(); + } + } } - -QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, const QMarginsF& rhs) -{ - return ( (*theWrappedObject)- rhs); + return QIdentityProxyModel::supportedDragActions(); } - -QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, qreal rhs) +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { - return ( (*theWrappedObject)- rhs); +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(); + } + } } - -QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, const QMarginsF& margins) -{ - return &( (*theWrappedObject)-= margins); + return QIdentityProxyModel::supportedDropActions(); } - -QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, qreal subtrahend) +void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* event0) { - return &( (*theWrappedObject)-= subtrahend); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QMarginsF PythonQtWrapper_QMarginsF::__div__(QMarginsF* theWrappedObject, qreal divisor) -{ - return ( (*theWrappedObject)/ divisor); + QIdentityProxyModel::timerEvent(event0); } +QIdentityProxyModel* PythonQtWrapper_QIdentityProxyModel::new_QIdentityProxyModel(QObject* parent) +{ +return new PythonQtShell_QIdentityProxyModel(parent); } -QMarginsF* PythonQtWrapper_QMarginsF::__idiv__(QMarginsF* theWrappedObject, qreal divisor) -{ - return &( (*theWrappedObject)/= divisor); +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; + } } - -void PythonQtWrapper_QMarginsF::writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); +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; } -bool PythonQtWrapper_QMarginsF::__eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs) -{ - return ( (*theWrappedObject)== rhs); -} -void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} +QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray() +{ +return new QJsonArray(); } -qreal PythonQtWrapper_QMarginsF::right(QMarginsF* theWrappedObject) const -{ - return ( theWrappedObject->right()); -} +QJsonArray* PythonQtWrapper_QJsonArray::new_QJsonArray(const QJsonArray& other) +{ +return new QJsonArray(other); } -void PythonQtWrapper_QMarginsF::setBottom(QMarginsF* theWrappedObject, qreal bottom) +void PythonQtWrapper_QJsonArray::append(QJsonArray* theWrappedObject, const QJsonValue& value) { - ( theWrappedObject->setBottom(bottom)); + ( theWrappedObject->append(value)); } -void PythonQtWrapper_QMarginsF::setLeft(QMarginsF* theWrappedObject, qreal left) +QJsonValue PythonQtWrapper_QJsonArray::at(QJsonArray* theWrappedObject, int i) const { - ( theWrappedObject->setLeft(left)); + return ( theWrappedObject->at(i)); } -void PythonQtWrapper_QMarginsF::setRight(QMarginsF* theWrappedObject, qreal right) +bool PythonQtWrapper_QJsonArray::contains(QJsonArray* theWrappedObject, const QJsonValue& element) const { - ( theWrappedObject->setRight(right)); + return ( theWrappedObject->contains(element)); } -void PythonQtWrapper_QMarginsF::setTop(QMarginsF* theWrappedObject, qreal top) +int PythonQtWrapper_QJsonArray::count(QJsonArray* theWrappedObject) const { - ( theWrappedObject->setTop(top)); + return ( theWrappedObject->count()); } -QMargins PythonQtWrapper_QMarginsF::toMargins(QMarginsF* theWrappedObject) const +bool PythonQtWrapper_QJsonArray::empty(QJsonArray* theWrappedObject) const { - return ( theWrappedObject->toMargins()); + return ( theWrappedObject->empty()); } -qreal PythonQtWrapper_QMarginsF::top(QMarginsF* theWrappedObject) const +QJsonValue PythonQtWrapper_QJsonArray::first(QJsonArray* theWrappedObject) const { - return ( theWrappedObject->top()); + return ( theWrappedObject->first()); } -QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromStringList(const QStringList& list) +{ + return (QJsonArray::fromStringList(list)); } - - -QMessageAuthenticationCode* PythonQtWrapper_QMessageAuthenticationCode::new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key) -{ -return new QMessageAuthenticationCode(method, key); } - -bool PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device) +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromVariantList(const QList& list) { - return ( theWrappedObject->addData(device)); + return (QJsonArray::fromVariantList(list)); } -void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data) +bool PythonQtWrapper_QJsonArray::isEmpty(QJsonArray* theWrappedObject) const { - ( theWrappedObject->addData(data)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length) +QJsonValue PythonQtWrapper_QJsonArray::last(QJsonArray* theWrappedObject) const { - ( theWrappedObject->addData(data, length)); + return ( theWrappedObject->last()); } -QByteArray PythonQtWrapper_QMessageAuthenticationCode::static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method) +bool PythonQtWrapper_QJsonArray::__ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const { - return (QMessageAuthenticationCode::hash(message, key, method)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QMessageAuthenticationCode::reset(QMessageAuthenticationCode* theWrappedObject) +QJsonArray PythonQtWrapper_QJsonArray::__add__(QJsonArray* theWrappedObject, const QJsonValue& v) const { - ( theWrappedObject->reset()); + return ( (*theWrappedObject)+ v); } -QByteArray PythonQtWrapper_QMessageAuthenticationCode::result(QMessageAuthenticationCode* theWrappedObject) const +QJsonArray* PythonQtWrapper_QJsonArray::__iadd__(QJsonArray* theWrappedObject, const QJsonValue& v) { - return ( theWrappedObject->result()); + return &( (*theWrappedObject)+= v); } -void PythonQtWrapper_QMessageAuthenticationCode::setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key) +QJsonArray* PythonQtWrapper_QJsonArray::__lshift__(QJsonArray* theWrappedObject, const QJsonValue& v) { - ( theWrappedObject->setKey(key)); + return &( (*theWrappedObject) <shellClassDeleted(this); } +QJsonArray* PythonQtWrapper_QJsonArray::operator_assign(QJsonArray* theWrappedObject, const QJsonArray& other) +{ + return &( (*theWrappedObject)= other); } -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 +bool PythonQtWrapper_QJsonArray::__eq__(QJsonArray* theWrappedObject, const QJsonArray& other) const { - return ( theWrappedObject->enclosingMetaObject()); + return ( (*theWrappedObject)== other); } -const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const +QJsonValue PythonQtWrapper_QJsonArray::operator_subscript(QJsonArray* theWrappedObject, int i) const { - return ( theWrappedObject->name()); + return ( (*theWrappedObject)[i]); } -const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const +void PythonQtWrapper_QJsonArray::pop_back(QJsonArray* theWrappedObject) { - return ( theWrappedObject->value()); + ( theWrappedObject->pop_back()); } - - -QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() -{ -return new QMetaEnum(); } - -const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::pop_front(QJsonArray* theWrappedObject) { - return ( theWrappedObject->enclosingMetaObject()); + ( theWrappedObject->pop_front()); } -const char* PythonQtWrapper_QMetaEnum::enumName(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::prepend(QJsonArray* theWrappedObject, const QJsonValue& value) { - return ( theWrappedObject->enumName()); + ( theWrappedObject->prepend(value)); } -bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::push_back(QJsonArray* theWrappedObject, const QJsonValue& t) { - return ( theWrappedObject->isFlag()); + ( theWrappedObject->push_back(t)); } -bool PythonQtWrapper_QMetaEnum::isScoped(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::push_front(QJsonArray* theWrappedObject, const QJsonValue& t) { - return ( theWrappedObject->isScoped()); + ( theWrappedObject->push_front(t)); } -bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::removeAt(QJsonArray* theWrappedObject, int i) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->removeAt(i)); } -const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const +void PythonQtWrapper_QJsonArray::removeFirst(QJsonArray* theWrappedObject) { - return ( theWrappedObject->key(index)); + ( theWrappedObject->removeFirst()); } -int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::removeLast(QJsonArray* theWrappedObject) { - return ( theWrappedObject->keyCount()); + ( theWrappedObject->removeLast()); } -int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok) const +void PythonQtWrapper_QJsonArray::replace(QJsonArray* theWrappedObject, int i, const QJsonValue& value) { - return ( theWrappedObject->keyToValue(key, ok)); + ( theWrappedObject->replace(i, value)); } -int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok) const +int PythonQtWrapper_QJsonArray::size(QJsonArray* theWrappedObject) const { - return ( theWrappedObject->keysToValue(keys, ok)); + return ( theWrappedObject->size()); } -const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const +void PythonQtWrapper_QJsonArray::swap(QJsonArray* theWrappedObject, QJsonArray& other) { - return ( theWrappedObject->name()); + ( theWrappedObject->swap(other)); } -const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const +QJsonValue PythonQtWrapper_QJsonArray::takeAt(QJsonArray* theWrappedObject, int i) { - return ( theWrappedObject->scope()); + return ( theWrappedObject->takeAt(i)); } -int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const +QList PythonQtWrapper_QJsonArray::toVariantList(QJsonArray* theWrappedObject) const { - return ( theWrappedObject->value(index)); + return ( theWrappedObject->toVariantList()); } -const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const -{ - return ( theWrappedObject->valueToKey(value)); +QString PythonQtWrapper_QJsonArray::py_toString(QJsonArray* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const -{ - return ( theWrappedObject->valueToKeys(value)); + + +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); } -QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() +QJsonDocument* PythonQtWrapper_QJsonDocument::new_QJsonDocument(const QJsonObject& object) { -return new QMetaMethod(); } +return new PythonQtShell_QJsonDocument(object); } -QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const +QJsonArray PythonQtWrapper_QJsonDocument::array(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->access()); + return ( theWrappedObject->array()); } -int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromBinaryData(const QByteArray& data, QJsonDocument::DataValidation validation) { - return ( theWrappedObject->attributes()); + return (QJsonDocument::fromBinaryData(data, validation)); } -const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromJson(const QByteArray& json, QJsonParseError* error) { - return ( theWrappedObject->enclosingMetaObject()); + return (QJsonDocument::fromJson(json, error)); } -void PythonQtWrapper_QMetaMethod::getParameterTypes(QMetaMethod* theWrappedObject, int* types) const +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromRawData(const char* data, int size, QJsonDocument::DataValidation validation) { - ( theWrappedObject->getParameterTypes(types)); + return (QJsonDocument::fromRawData(data, size, validation)); } -bool PythonQtWrapper_QMetaMethod::isValid(QMetaMethod* theWrappedObject) const +QJsonDocument PythonQtWrapper_QJsonDocument::static_QJsonDocument_fromVariant(const QVariant& variant) { - return ( theWrappedObject->isValid()); + return (QJsonDocument::fromVariant(variant)); } -int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const +bool PythonQtWrapper_QJsonDocument::isArray(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->methodIndex()); + return ( theWrappedObject->isArray()); } -QByteArray PythonQtWrapper_QMetaMethod::methodSignature(QMetaMethod* theWrappedObject) const +bool PythonQtWrapper_QJsonDocument::isEmpty(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->methodSignature()); + return ( theWrappedObject->isEmpty()); } -QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const +bool PythonQtWrapper_QJsonDocument::isNull(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->methodType()); + return ( theWrappedObject->isNull()); } -QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) const +bool PythonQtWrapper_QJsonDocument::isObject(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->name()); + return ( theWrappedObject->isObject()); } -bool PythonQtWrapper_QMetaMethod::__ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) +QJsonObject PythonQtWrapper_QJsonDocument::object(QJsonDocument* theWrappedObject) const { - return ( (*theWrappedObject)!= m2); + return ( theWrappedObject->object()); } -bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) +bool PythonQtWrapper_QJsonDocument::__ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const { - return ( (*theWrappedObject)== m2); + return ( (*theWrappedObject)!= other); } -int PythonQtWrapper_QMetaMethod::parameterCount(QMetaMethod* theWrappedObject) const +QJsonDocument* PythonQtWrapper_QJsonDocument::operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other) { - return ( theWrappedObject->parameterCount()); + return &( (*theWrappedObject)= other); } -QList PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const +bool PythonQtWrapper_QJsonDocument::__eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const { - return ( theWrappedObject->parameterNames()); + return ( (*theWrappedObject)== other); } -int PythonQtWrapper_QMetaMethod::parameterType(QMetaMethod* theWrappedObject, int index) const +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, const QString& key) const { - return ( theWrappedObject->parameterType(index)); + return ( (*theWrappedObject)[key]); } -QList PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const +const QJsonValue PythonQtWrapper_QJsonDocument::operator_subscript(QJsonDocument* theWrappedObject, int i) const { - return ( theWrappedObject->parameterTypes()); + return ( (*theWrappedObject)[i]); } -int PythonQtWrapper_QMetaMethod::returnType(QMetaMethod* theWrappedObject) const +const char* PythonQtWrapper_QJsonDocument::rawData(QJsonDocument* theWrappedObject, int* size) const { - return ( theWrappedObject->returnType()); + return ( theWrappedObject->rawData(size)); } -int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const +void PythonQtWrapper_QJsonDocument::setArray(QJsonDocument* theWrappedObject, const QJsonArray& array) { - return ( theWrappedObject->revision()); + ( theWrappedObject->setArray(array)); } -const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const +void PythonQtWrapper_QJsonDocument::setObject(QJsonDocument* theWrappedObject, const QJsonObject& object) { - return ( theWrappedObject->tag()); + ( theWrappedObject->setObject(object)); } -const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const +void PythonQtWrapper_QJsonDocument::swap(QJsonDocument* theWrappedObject, QJsonDocument& other) { - return ( theWrappedObject->typeName()); + ( theWrappedObject->swap(other)); } - - -QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() -{ -return new QMetaProperty(); } - -const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const +QByteArray PythonQtWrapper_QJsonDocument::toBinaryData(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->enclosingMetaObject()); + return ( theWrappedObject->toBinaryData()); } -QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const +QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->enumerator()); + return ( theWrappedObject->toJson()); } -bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const +QByteArray PythonQtWrapper_QJsonDocument::toJson(QJsonDocument* theWrappedObject, QJsonDocument::JsonFormat format) const { - return ( theWrappedObject->hasNotifySignal()); + return ( theWrappedObject->toJson(format)); } -bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const +QVariant PythonQtWrapper_QJsonDocument::toVariant(QJsonDocument* theWrappedObject) const { - return ( theWrappedObject->hasStdCppSet()); + return ( theWrappedObject->toVariant()); } -bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->isConstant()); +QString PythonQtWrapper_QJsonDocument::py_toString(QJsonDocument* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -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 +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->isEnumType()); + return ( theWrappedObject->contains(key)); } -bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const +int PythonQtWrapper_QJsonObject::count(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->isFinal()); + return ( theWrappedObject->count()); } -bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const +bool PythonQtWrapper_QJsonObject::empty(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->isFlagType()); + return ( theWrappedObject->empty()); } -bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const +QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantHash(const QHash& map) { - return ( theWrappedObject->isReadable()); + return (QJsonObject::fromVariantHash(map)); } -bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const +QJsonObject PythonQtWrapper_QJsonObject::static_QJsonObject_fromVariantMap(const QMap& map) { - return ( theWrappedObject->isResettable()); + return (QJsonObject::fromVariantMap(map)); } -bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const +bool PythonQtWrapper_QJsonObject::isEmpty(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->isScriptable(obj)); + return ( theWrappedObject->isEmpty()); } -bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const +QStringList PythonQtWrapper_QJsonObject::keys(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->isStored(obj)); + return ( theWrappedObject->keys()); } -bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const +int PythonQtWrapper_QJsonObject::length(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->isUser(obj)); + return ( theWrappedObject->length()); } -bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const +bool PythonQtWrapper_QJsonObject::__ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const { - return ( theWrappedObject->isValid()); + return ( (*theWrappedObject)!= other); } -bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const +QJsonObject* PythonQtWrapper_QJsonObject::operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other) { - return ( theWrappedObject->isWritable()); + return &( (*theWrappedObject)= other); } -const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const +bool PythonQtWrapper_QJsonObject::__eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const { - return ( theWrappedObject->name()); + return ( (*theWrappedObject)== other); } -QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const +QJsonValue PythonQtWrapper_QJsonObject::operator_subscript(QJsonObject* theWrappedObject, const QString& key) const { - return ( theWrappedObject->notifySignal()); + return ( (*theWrappedObject)[key]); } -int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const +void PythonQtWrapper_QJsonObject::remove(QJsonObject* theWrappedObject, const QString& key) { - return ( theWrappedObject->notifySignalIndex()); + ( theWrappedObject->remove(key)); } -int PythonQtWrapper_QMetaProperty::propertyIndex(QMetaProperty* theWrappedObject) const +int PythonQtWrapper_QJsonObject::size(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->propertyIndex()); + return ( theWrappedObject->size()); } -QVariant PythonQtWrapper_QMetaProperty::read(QMetaProperty* theWrappedObject, const QObject* obj) const +void PythonQtWrapper_QJsonObject::swap(QJsonObject* theWrappedObject, QJsonObject& other) { - return ( theWrappedObject->read(obj)); + ( theWrappedObject->swap(other)); } -QVariant PythonQtWrapper_QMetaProperty::readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const +QJsonValue PythonQtWrapper_QJsonObject::take(QJsonObject* theWrappedObject, const QString& key) { - return ( theWrappedObject->readOnGadget(gadget)); + return ( theWrappedObject->take(key)); } -bool PythonQtWrapper_QMetaProperty::reset(QMetaProperty* theWrappedObject, QObject* obj) const +QHash PythonQtWrapper_QJsonObject::toVariantHash(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->reset(obj)); + return ( theWrappedObject->toVariantHash()); } -bool PythonQtWrapper_QMetaProperty::resetOnGadget(QMetaProperty* theWrappedObject, void* gadget) const +QMap PythonQtWrapper_QJsonObject::toVariantMap(QJsonObject* theWrappedObject) const { - return ( theWrappedObject->resetOnGadget(gadget)); + return ( theWrappedObject->toVariantMap()); } -int PythonQtWrapper_QMetaProperty::revision(QMetaProperty* theWrappedObject) const +QJsonValue PythonQtWrapper_QJsonObject::value(QJsonObject* theWrappedObject, const QString& key) const { - return ( theWrappedObject->revision()); + return ( theWrappedObject->value(key)); } -QVariant::Type PythonQtWrapper_QMetaProperty::type(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->type()); +QString PythonQtWrapper_QJsonObject::py_toString(QJsonObject* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -const char* PythonQtWrapper_QMetaProperty::typeName(QMetaProperty* theWrappedObject) const -{ - return ( theWrappedObject->typeName()); + + +PythonQtShell_QJsonParseError::~PythonQtShell_QJsonParseError() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QJsonParseError* PythonQtWrapper_QJsonParseError::new_QJsonParseError() +{ +return new PythonQtShell_QJsonParseError(); } -int PythonQtWrapper_QMetaProperty::userType(QMetaProperty* theWrappedObject) const +QString PythonQtWrapper_QJsonParseError::errorString(QJsonParseError* theWrappedObject) const { - return ( theWrappedObject->userType()); + return ( theWrappedObject->errorString()); } -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)); -} +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); } -QMetaType* PythonQtWrapper_QMetaType::new_QMetaType(const int type) +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonArray& a) { -return new QMetaType(type); } +return new QJsonValue(a); } -bool PythonQtWrapper_QMetaType::static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result) -{ - return (QMetaType::compare(lhs, rhs, typeId, result)); -} +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonObject& o) +{ +return new QJsonValue(o); } -void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, void* where, const void* copy) -{ - return (QMetaType::construct(type, where, copy)); -} +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QJsonValue& other) +{ +return new QJsonValue(other); } -void* PythonQtWrapper_QMetaType::construct(QMetaType* theWrappedObject, void* where, const void* copy) const -{ - return ( theWrappedObject->construct(where, copy)); -} +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const QString& s) +{ +return new QJsonValue(s); } -bool PythonQtWrapper_QMetaType::static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId) -{ - return (QMetaType::convert(from, fromTypeId, to, toTypeId)); -} +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(const char* s) +{ +return new QJsonValue(s); } -void* PythonQtWrapper_QMetaType::create(QMetaType* theWrappedObject, const void* copy) const -{ - return ( theWrappedObject->create(copy)); -} +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(double n) +{ +return new QJsonValue(n); } -void* PythonQtWrapper_QMetaType::static_QMetaType_create(int type, const void* copy) -{ - return (QMetaType::create(type, copy)); -} +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(int n) +{ +return new QJsonValue(n); } + +QJsonValue* PythonQtWrapper_QJsonValue::new_QJsonValue(qint64 n) +{ +return new QJsonValue(n); } -void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) +QJsonValue PythonQtWrapper_QJsonValue::static_QJsonValue_fromVariant(const QVariant& variant) { - (QMetaType::destroy(type, data)); + return (QJsonValue::fromVariant(variant)); } -void PythonQtWrapper_QMetaType::destroy(QMetaType* theWrappedObject, void* data) const +bool PythonQtWrapper_QJsonValue::isArray(QJsonValue* theWrappedObject) const { - ( theWrappedObject->destroy(data)); + return ( theWrappedObject->isArray()); } -void PythonQtWrapper_QMetaType::static_QMetaType_destruct(int type, void* where) +bool PythonQtWrapper_QJsonValue::isBool(QJsonValue* theWrappedObject) const { - (QMetaType::destruct(type, where)); + return ( theWrappedObject->isBool()); } -void PythonQtWrapper_QMetaType::destruct(QMetaType* theWrappedObject, void* data) const +bool PythonQtWrapper_QJsonValue::isDouble(QJsonValue* theWrappedObject) const { - ( theWrappedObject->destruct(data)); + return ( theWrappedObject->isDouble()); } -bool PythonQtWrapper_QMetaType::static_QMetaType_equals(const void* lhs, const void* rhs, int typeId, int* result) +bool PythonQtWrapper_QJsonValue::isNull(QJsonValue* theWrappedObject) const { - return (QMetaType::equals(lhs, rhs, typeId, result)); + return ( theWrappedObject->isNull()); } -QMetaType::TypeFlags PythonQtWrapper_QMetaType::flags(QMetaType* theWrappedObject) const +bool PythonQtWrapper_QJsonValue::isObject(QJsonValue* theWrappedObject) const { - return ( theWrappedObject->flags()); + return ( theWrappedObject->isObject()); } -bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredComparators(int typeId) +bool PythonQtWrapper_QJsonValue::isString(QJsonValue* theWrappedObject) const { - return (QMetaType::hasRegisteredComparators(typeId)); + return ( theWrappedObject->isString()); } -bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredConverterFunction(int fromTypeId, int toTypeId) +bool PythonQtWrapper_QJsonValue::isUndefined(QJsonValue* theWrappedObject) const { - return (QMetaType::hasRegisteredConverterFunction(fromTypeId, toTypeId)); + return ( theWrappedObject->isUndefined()); } -bool PythonQtWrapper_QMetaType::static_QMetaType_hasRegisteredDebugStreamOperator(int typeId) +bool PythonQtWrapper_QJsonValue::__ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const { - return (QMetaType::hasRegisteredDebugStreamOperator(typeId)); + return ( (*theWrappedObject)!= other); } -bool PythonQtWrapper_QMetaType::isRegistered(QMetaType* theWrappedObject) const +QJsonValue* PythonQtWrapper_QJsonValue::operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other) { - return ( theWrappedObject->isRegistered()); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QMetaType::static_QMetaType_isRegistered(int type) +bool PythonQtWrapper_QJsonValue::__eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const { - return (QMetaType::isRegistered(type)); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QMetaType::isValid(QMetaType* theWrappedObject) const +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, const QString& key) const { - return ( theWrappedObject->isValid()); + return ( (*theWrappedObject)[key]); } -bool PythonQtWrapper_QMetaType::static_QMetaType_load(QDataStream& stream, int type, void* data) +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, int i) const { - return (QMetaType::load(stream, type, data)); + return ( (*theWrappedObject)[i]); } -const QMetaObject* PythonQtWrapper_QMetaType::metaObject(QMetaType* theWrappedObject) const +void PythonQtWrapper_QJsonValue::swap(QJsonValue* theWrappedObject, QJsonValue& other) { - return ( theWrappedObject->metaObject()); + ( theWrappedObject->swap(other)); } -const QMetaObject* PythonQtWrapper_QMetaType::static_QMetaType_metaObjectForType(int type) +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject) const { - return (QMetaType::metaObjectForType(type)); + return ( theWrappedObject->toArray()); } -int PythonQtWrapper_QMetaType::static_QMetaType_registerNormalizedTypedef(const QByteArray& normalizedTypeName, int aliasId) +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const { - return (QMetaType::registerNormalizedTypedef(normalizedTypeName, aliasId)); + return ( theWrappedObject->toArray(defaultValue)); } -int PythonQtWrapper_QMetaType::static_QMetaType_registerTypedef(const char* typeName, int aliasId) +bool PythonQtWrapper_QJsonValue::toBool(QJsonValue* theWrappedObject, bool defaultValue) const { - return (QMetaType::registerTypedef(typeName, aliasId)); + return ( theWrappedObject->toBool(defaultValue)); } -bool PythonQtWrapper_QMetaType::static_QMetaType_save(QDataStream& stream, int type, const void* data) +double PythonQtWrapper_QJsonValue::toDouble(QJsonValue* theWrappedObject, double defaultValue) const { - return (QMetaType::save(stream, type, data)); + return ( theWrappedObject->toDouble(defaultValue)); } -int PythonQtWrapper_QMetaType::sizeOf(QMetaType* theWrappedObject) const +int PythonQtWrapper_QJsonValue::toInt(QJsonValue* theWrappedObject, int defaultValue) const { - return ( theWrappedObject->sizeOf()); + return ( theWrappedObject->toInt(defaultValue)); } -int PythonQtWrapper_QMetaType::static_QMetaType_sizeOf(int type) +QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject) const { - return (QMetaType::sizeOf(type)); + return ( theWrappedObject->toObject()); } -int PythonQtWrapper_QMetaType::static_QMetaType_type(const QByteArray& typeName) +QJsonObject PythonQtWrapper_QJsonValue::toObject(QJsonValue* theWrappedObject, const QJsonObject& defaultValue) const { - return (QMetaType::type(typeName)); + return ( theWrappedObject->toObject(defaultValue)); } -int PythonQtWrapper_QMetaType::static_QMetaType_type(const char* typeName) +QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject) const { - return (QMetaType::type(typeName)); + return ( theWrappedObject->toString()); } -QMetaType::TypeFlags PythonQtWrapper_QMetaType::static_QMetaType_typeFlags(int type) +QString PythonQtWrapper_QJsonValue::toString(QJsonValue* theWrappedObject, const QString& defaultValue) const { - return (QMetaType::typeFlags(type)); + return ( theWrappedObject->toString(defaultValue)); } -const char* PythonQtWrapper_QMetaType::static_QMetaType_typeName(int type) +QVariant PythonQtWrapper_QJsonValue::toVariant(QJsonValue* theWrappedObject) const { - return (QMetaType::typeName(type)); + return ( theWrappedObject->toVariant()); } -bool PythonQtWrapper_QMetaType::static_QMetaType_unregisterType(int type) +QJsonValue::Type PythonQtWrapper_QJsonValue::type(QJsonValue* theWrappedObject) const { - return (QMetaType::unregisterType(type)); + return ( theWrappedObject->type()); } +QString PythonQtWrapper_QJsonValue::py_toString(QJsonValue* obj) { return obj->toString(); } -PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { +PythonQtShell_QLibrary::~PythonQtShell_QLibrary() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) +void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6960,7 +6553,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6968,9 +6561,9 @@ if (_wrapper) { } } } - QMimeData::childEvent(event0); + QLibrary::childEvent(event0); } -void PythonQtShell_QMimeData::customEvent(QEvent* event0) +void PythonQtShell_QLibrary::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6982,7 +6575,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6990,9 +6583,9 @@ if (_wrapper) { } } } - QMimeData::customEvent(event0); + QLibrary::customEvent(event0); } -bool PythonQtShell_QMimeData::event(QEvent* event0) +bool PythonQtShell_QLibrary::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7015,7 +6608,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7023,9 +6616,9 @@ if (_wrapper) { } } } - return QMimeData::event(event0); + return QLibrary::event(event0); } -bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7048,7 +6641,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7056,422 +6649,508 @@ if (_wrapper) { } } } - return QMimeData::eventFilter(watched0, event1); + return QLibrary::eventFilter(watched0, event1); } -QStringList PythonQtShell_QMimeData::formats() const +void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("formats"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMimeData::formats(); + QLibrary::timerEvent(event0); } -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(); - } +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; } } - return QMimeData::hasFormat(mimetype0); +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; } -QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const +QString PythonQtWrapper_QLibrary::errorString(QLibrary* theWrappedObject) 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 ( 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()); } - return QMimeData::retrieveData(mimetype0, preferredType1); + +QDate PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_buildDate() +{ + return (QLibraryInfo::buildDate()); } -void PythonQtShell_QMimeData::timerEvent(QTimerEvent* event0) + +bool PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_isDebugBuild() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QLibraryInfo::isDebugBuild()); } - QMimeData::timerEvent(event0); + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensedProducts() +{ + return (QLibraryInfo::licensedProducts()); } -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; - } +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_licensee() +{ + return (QLibraryInfo::licensee()); } -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; + +QString PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1) +{ + return (QLibraryInfo::location(arg__1)); } -void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) + +QStringList PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_platformPluginArguments(const QString& platformName) { - ( theWrappedObject->clear()); + return (QLibraryInfo::platformPluginArguments(platformName)); } -QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const +QVersionNumber PythonQtWrapper_QLibraryInfo::static_QLibraryInfo_version() { - return ( theWrappedObject->colorData()); + return (QLibraryInfo::version()); } -QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const + + +QLockFile* PythonQtWrapper_QLockFile::new_QLockFile(const QString& fileName) +{ +return new QLockFile(fileName); } + +QLockFile::LockError PythonQtWrapper_QLockFile::error(QLockFile* theWrappedObject) const { - return ( theWrappedObject->data(mimetype)); + return ( theWrappedObject->error()); } -QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const +bool PythonQtWrapper_QLockFile::getLockInfo(QLockFile* theWrappedObject, qint64* pid, QString* hostname, QString* appname) const { - return ( theWrappedObject->formats()); + return ( theWrappedObject->getLockInfo(pid, hostname, appname)); } -bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) const +bool PythonQtWrapper_QLockFile::isLocked(QLockFile* theWrappedObject) const { - return ( theWrappedObject->hasColor()); + return ( theWrappedObject->isLocked()); } -bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const +bool PythonQtWrapper_QLockFile::lock(QLockFile* theWrappedObject) { - return ( theWrappedObject->hasFormat(mimetype)); + return ( theWrappedObject->lock()); } -bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const +bool PythonQtWrapper_QLockFile::removeStaleLockFile(QLockFile* theWrappedObject) { - return ( theWrappedObject->hasHtml()); + return ( theWrappedObject->removeStaleLockFile()); } -bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const +void PythonQtWrapper_QLockFile::setStaleLockTime(QLockFile* theWrappedObject, int arg__1) { - return ( theWrappedObject->hasImage()); + ( theWrappedObject->setStaleLockTime(arg__1)); } -bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const +int PythonQtWrapper_QLockFile::staleLockTime(QLockFile* theWrappedObject) const { - return ( theWrappedObject->hasText()); + return ( theWrappedObject->staleLockTime()); } -bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const +bool PythonQtWrapper_QLockFile::tryLock(QLockFile* theWrappedObject, int timeout) { - return ( theWrappedObject->hasUrls()); + return ( theWrappedObject->tryLock(timeout)); } -QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const +void PythonQtWrapper_QLockFile::unlock(QLockFile* theWrappedObject) { - return ( theWrappedObject->html()); + ( theWrappedObject->unlock()); } -QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const + + +const char* PythonQtWrapper_QLoggingCategory::categoryName(QLoggingCategory* theWrappedObject) const { - return ( theWrappedObject->imageData()); + return ( theWrappedObject->categoryName()); } -void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) +QLoggingCategory* PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_defaultCategory() { - ( theWrappedObject->removeFormat(mimetype)); + return (QLoggingCategory::defaultCategory()); } -QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const +bool PythonQtWrapper_QLoggingCategory::isCriticalEnabled(QLoggingCategory* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); + return ( theWrappedObject->isCriticalEnabled()); } -void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) +bool PythonQtWrapper_QLoggingCategory::isDebugEnabled(QLoggingCategory* theWrappedObject) const { - ( theWrappedObject->setColorData(color)); + return ( theWrappedObject->isDebugEnabled()); } -void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) +bool PythonQtWrapper_QLoggingCategory::isEnabled(QLoggingCategory* theWrappedObject, QtMsgType type) const { - ( theWrappedObject->setData(mimetype, data)); + return ( theWrappedObject->isEnabled(type)); } -void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) +bool PythonQtWrapper_QLoggingCategory::isInfoEnabled(QLoggingCategory* theWrappedObject) const { - ( theWrappedObject->setHtml(html)); + return ( theWrappedObject->isInfoEnabled()); } -void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) +bool PythonQtWrapper_QLoggingCategory::isWarningEnabled(QLoggingCategory* theWrappedObject) const { - ( theWrappedObject->setImageData(image)); + return ( theWrappedObject->isWarningEnabled()); } -void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) +void PythonQtWrapper_QLoggingCategory::setEnabled(QLoggingCategory* theWrappedObject, QtMsgType type, bool enable) { - ( theWrappedObject->setText(text)); + ( theWrappedObject->setEnabled(type, enable)); } -void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList& urls) +void PythonQtWrapper_QLoggingCategory::static_QLoggingCategory_setFilterRules(const QString& rules) { - ( theWrappedObject->setUrls(urls)); + (QLoggingCategory::setFilterRules(rules)); } -QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const + + +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->text()); + return ( theWrappedObject->bottom()); } -QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const +bool PythonQtWrapper_QMarginsF::isNull(QMarginsF* theWrappedObject) const { - return ( theWrappedObject->urls()); + 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); +} -QMimeDatabase* PythonQtWrapper_QMimeDatabase::new_QMimeDatabase() -{ -return new QMimeDatabase(); } +QMarginsF PythonQtWrapper_QMarginsF::__mul__(QMarginsF* theWrappedObject, qreal rhs) +{ + return ( (*theWrappedObject)* rhs); +} -QList PythonQtWrapper_QMimeDatabase::allMimeTypes(QMimeDatabase* theWrappedObject) const +QMarginsF* PythonQtWrapper_QMarginsF::__imul__(QMarginsF* theWrappedObject, qreal factor) { - return ( theWrappedObject->allMimeTypes()); + return &( (*theWrappedObject)*= factor); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, QIODevice* device) const +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject) { - return ( theWrappedObject->mimeTypeForData(device)); + return (+ (*theWrappedObject)); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForData(QMimeDatabase* theWrappedObject, const QByteArray& data) const +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QMarginsF& rhs) { - return ( theWrappedObject->mimeTypeForData(data)); + return ( (*theWrappedObject)+ rhs); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QFileInfo& fileInfo, QMimeDatabase::MatchMode mode) const +QRectF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, const QRectF& rhs) { - return ( theWrappedObject->mimeTypeForFile(fileInfo, mode)); + return ( (*theWrappedObject)+ rhs); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFile(QMimeDatabase* theWrappedObject, const QString& fileName, QMimeDatabase::MatchMode mode) const +QMarginsF PythonQtWrapper_QMarginsF::__add__(QMarginsF* theWrappedObject, qreal rhs) { - return ( theWrappedObject->mimeTypeForFile(fileName, mode)); + return ( (*theWrappedObject)+ rhs); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, QIODevice* device) const +QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, const QMarginsF& margins) { - return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, device)); + return &( (*theWrappedObject)+= margins); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForFileNameAndData(QMimeDatabase* theWrappedObject, const QString& fileName, const QByteArray& data) const +QMarginsF* PythonQtWrapper_QMarginsF::__iadd__(QMarginsF* theWrappedObject, qreal addend) { - return ( theWrappedObject->mimeTypeForFileNameAndData(fileName, data)); + return &( (*theWrappedObject)+= addend); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForName(QMimeDatabase* theWrappedObject, const QString& nameOrAlias) const +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject) { - return ( theWrappedObject->mimeTypeForName(nameOrAlias)); + return (- (*theWrappedObject)); } -QMimeType PythonQtWrapper_QMimeDatabase::mimeTypeForUrl(QMimeDatabase* theWrappedObject, const QUrl& url) const +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, const QMarginsF& rhs) { - return ( theWrappedObject->mimeTypeForUrl(url)); + return ( (*theWrappedObject)- rhs); } -QList PythonQtWrapper_QMimeDatabase::mimeTypesForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, qreal rhs) { - return ( theWrappedObject->mimeTypesForFileName(fileName)); + return ( (*theWrappedObject)- rhs); } -QString PythonQtWrapper_QMimeDatabase::suffixForFileName(QMimeDatabase* theWrappedObject, const QString& fileName) const +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, const QMarginsF& margins) { - return ( theWrappedObject->suffixForFileName(fileName)); + 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); +} -QMimeType* PythonQtWrapper_QMimeType::new_QMimeType() -{ -return new QMimeType(); } +QMarginsF* PythonQtWrapper_QMarginsF::__idiv__(QMarginsF* theWrappedObject, qreal divisor) +{ + return &( (*theWrappedObject)/= divisor); +} -QMimeType* PythonQtWrapper_QMimeType::new_QMimeType(const QMimeType& other) -{ -return new QMimeType(other); } +void PythonQtWrapper_QMarginsF::writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} -QStringList PythonQtWrapper_QMimeType::aliases(QMimeType* theWrappedObject) const +bool PythonQtWrapper_QMarginsF::__eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs) { - return ( theWrappedObject->aliases()); + return ( (*theWrappedObject)== rhs); } -QStringList PythonQtWrapper_QMimeType::allAncestors(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->allAncestors()); + arg__1 >> (*theWrappedObject); } -QString PythonQtWrapper_QMimeType::comment(QMimeType* theWrappedObject) const +qreal PythonQtWrapper_QMarginsF::right(QMarginsF* theWrappedObject) const { - return ( theWrappedObject->comment()); + return ( theWrappedObject->right()); } -QString PythonQtWrapper_QMimeType::filterString(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMarginsF::setBottom(QMarginsF* theWrappedObject, qreal bottom) { - return ( theWrappedObject->filterString()); + ( theWrappedObject->setBottom(bottom)); } -QString PythonQtWrapper_QMimeType::genericIconName(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMarginsF::setLeft(QMarginsF* theWrappedObject, qreal left) { - return ( theWrappedObject->genericIconName()); + ( theWrappedObject->setLeft(left)); } -QStringList PythonQtWrapper_QMimeType::globPatterns(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMarginsF::setRight(QMarginsF* theWrappedObject, qreal right) { - return ( theWrappedObject->globPatterns()); + ( theWrappedObject->setRight(right)); } -QString PythonQtWrapper_QMimeType::iconName(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMarginsF::setTop(QMarginsF* theWrappedObject, qreal top) { - return ( theWrappedObject->iconName()); + ( theWrappedObject->setTop(top)); } -bool PythonQtWrapper_QMimeType::inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const +QMargins PythonQtWrapper_QMarginsF::toMargins(QMarginsF* theWrappedObject) const { - return ( theWrappedObject->inherits(mimeTypeName)); + return ( theWrappedObject->toMargins()); } -bool PythonQtWrapper_QMimeType::isDefault(QMimeType* theWrappedObject) const +qreal PythonQtWrapper_QMarginsF::top(QMarginsF* theWrappedObject) const { - return ( theWrappedObject->isDefault()); + return ( theWrappedObject->top()); +} + +QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -bool PythonQtWrapper_QMimeType::isValid(QMimeType* theWrappedObject) const + + +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->isValid()); + return ( theWrappedObject->addData(device)); } -QString PythonQtWrapper_QMimeType::name(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const QByteArray& data) { - return ( theWrappedObject->name()); + ( theWrappedObject->addData(data)); } -bool PythonQtWrapper_QMimeType::__ne__(QMimeType* theWrappedObject, const QMimeType& other) const +void PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, const char* data, int length) { - return ( (*theWrappedObject)!= other); + ( theWrappedObject->addData(data, length)); } -QMimeType* PythonQtWrapper_QMimeType::operator_assign(QMimeType* theWrappedObject, const QMimeType& other) +QByteArray PythonQtWrapper_QMessageAuthenticationCode::static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method) { - return &( (*theWrappedObject)= other); + return (QMessageAuthenticationCode::hash(message, key, method)); } -bool PythonQtWrapper_QMimeType::__eq__(QMimeType* theWrappedObject, const QMimeType& other) const +void PythonQtWrapper_QMessageAuthenticationCode::reset(QMessageAuthenticationCode* theWrappedObject) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->reset()); } -QStringList PythonQtWrapper_QMimeType::parentMimeTypes(QMimeType* theWrappedObject) const +QByteArray PythonQtWrapper_QMessageAuthenticationCode::result(QMessageAuthenticationCode* theWrappedObject) const { - return ( theWrappedObject->parentMimeTypes()); + return ( theWrappedObject->result()); } -QString PythonQtWrapper_QMimeType::preferredSuffix(QMimeType* theWrappedObject) const +void PythonQtWrapper_QMessageAuthenticationCode::setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key) { - return ( theWrappedObject->preferredSuffix()); + ( theWrappedObject->setKey(key)); +} + + + +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); } -QStringList PythonQtWrapper_QMimeType::suffixes(QMimeType* theWrappedObject) const + + +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->suffixes()); + return ( theWrappedObject->enclosingMetaObject()); } -void PythonQtWrapper_QMimeType::swap(QMimeType* theWrappedObject, QMimeType& other) +const char* PythonQtWrapper_QMetaClassInfo::name(QMetaClassInfo* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->name()); } -QString PythonQtWrapper_QMimeType::py_toString(QMimeType* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +const char* PythonQtWrapper_QMetaClassInfo::value(QMetaClassInfo* theWrappedObject) const +{ + return ( theWrappedObject->value()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.h index e8aa4f90..e1832f6a 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core1.h @@ -3,8 +3,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -13,6 +13,11 @@ #include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -36,11 +41,9 @@ #include #include #include -#include #include -#include -#include #include +#include #include #include #include @@ -49,6 +52,252 @@ #include #include #include +#include + + + +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());} +}; + + @@ -90,7 +339,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFile : public QFile @@ -179,7 +428,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileDevice : public QFileDevice @@ -335,7 +584,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QFileSelector : public QObject @@ -371,7 +620,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QFileSystemWatcher : public QObject @@ -410,7 +659,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFinalState : public QFinalState @@ -456,7 +705,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QHistoryState : public QHistoryState @@ -523,7 +772,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIODevice : public QIODevice @@ -684,7 +933,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIdentityProxyModel : public QIdentityProxyModel @@ -752,7 +1001,6 @@ void delete_QJsonArray(QJsonArray* obj) { delete obj; } QJsonValue first(QJsonArray* theWrappedObject) const; QJsonArray static_QJsonArray_fromStringList(const QStringList& list); QJsonArray static_QJsonArray_fromVariantList(const QList& list); - void insert(QJsonArray* theWrappedObject, int i, const QJsonValue& value); bool isEmpty(QJsonArray* theWrappedObject) const; QJsonValue last(QJsonArray* theWrappedObject) const; bool __ne__(QJsonArray* theWrappedObject, const QJsonArray& other) const; @@ -794,7 +1042,7 @@ class PythonQtShell_QJsonDocument : public QJsonDocument ~PythonQtShell_QJsonDocument(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QJsonDocument : public QObject @@ -824,7 +1072,6 @@ void delete_QJsonDocument(QJsonDocument* obj) { delete obj; } bool __ne__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; QJsonDocument* operator_assign(QJsonDocument* theWrappedObject, const QJsonDocument& other); bool __eq__(QJsonDocument* theWrappedObject, const QJsonDocument& other) const; - const QJsonValue operator_subscript(QJsonDocument* theWrappedObject, QLatin1String key) const; 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; @@ -850,7 +1097,6 @@ public slots: QJsonObject* new_QJsonObject(); QJsonObject* new_QJsonObject(const QJsonObject& other); void delete_QJsonObject(QJsonObject* obj) { delete obj; } - bool contains(QJsonObject* theWrappedObject, QLatin1String key) const; bool contains(QJsonObject* theWrappedObject, const QString& key) const; int count(QJsonObject* theWrappedObject) const; bool empty(QJsonObject* theWrappedObject) const; @@ -862,7 +1108,6 @@ void delete_QJsonObject(QJsonObject* obj) { delete obj; } bool __ne__(QJsonObject* theWrappedObject, const QJsonObject& other) const; QJsonObject* operator_assign(QJsonObject* theWrappedObject, const QJsonObject& other); bool __eq__(QJsonObject* theWrappedObject, const QJsonObject& other) const; - QJsonValue operator_subscript(QJsonObject* theWrappedObject, QLatin1String key) const; QJsonValue operator_subscript(QJsonObject* theWrappedObject, const QString& key) const; void remove(QJsonObject* theWrappedObject, const QString& key); int size(QJsonObject* theWrappedObject) const; @@ -870,7 +1115,6 @@ void delete_QJsonObject(QJsonObject* obj) { delete obj; } QJsonValue take(QJsonObject* theWrappedObject, const QString& key); QHash toVariantHash(QJsonObject* theWrappedObject) const; QMap toVariantMap(QJsonObject* theWrappedObject) const; - QJsonValue value(QJsonObject* theWrappedObject, QLatin1String key) const; QJsonValue value(QJsonObject* theWrappedObject, const QString& key) const; QString py_toString(QJsonObject*); bool __nonzero__(QJsonObject* obj) { return !obj->isEmpty(); } @@ -888,7 +1132,7 @@ class PythonQtShell_QJsonParseError : public QJsonParseError ~PythonQtShell_QJsonParseError(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QJsonParseError : public QObject @@ -919,7 +1163,6 @@ 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(QLatin1String s); QJsonValue* new_QJsonValue(bool b); QJsonValue* new_QJsonValue(const QJsonArray& a); QJsonValue* new_QJsonValue(const QJsonObject& o); @@ -941,7 +1184,6 @@ void delete_QJsonValue(QJsonValue* obj) { delete obj; } bool __ne__(QJsonValue* theWrappedObject, const QJsonValue& other) const; QJsonValue* operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other); bool __eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const; - const QJsonValue operator_subscript(QJsonValue* theWrappedObject, QLatin1String key) const; 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); @@ -982,7 +1224,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QLibrary : public QObject @@ -1031,6 +1273,7 @@ void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; } QString static_QLibraryInfo_licensee(); QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1); QStringList static_QLibraryInfo_platformPluginArguments(const QString& platformName); + QVersionNumber static_QLibraryInfo_version(); }; @@ -1095,11 +1338,13 @@ void delete_QMarginsF(QMarginsF* obj) { delete obj; } 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); @@ -1152,7 +1397,7 @@ class PythonQtShell_QMessageLogContext : public QMessageLogContext ~PythonQtShell_QMessageLogContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMessageLogContext : public QObject @@ -1201,287 +1446,3 @@ void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } }; - - - -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 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; - 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); -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); - 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); - 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(); } -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index 3fc549d3..3765ea34 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -3,21 +3,26 @@ #include #include #include +#include #include #include #include #include -#include -#include #include #include #include #include #include #include +#include +#include #include #include #include +#include +#include +#include +#include #include #include #include @@ -33,510 +38,516 @@ #include #include #include -#include -#include -#include -#include -#include -#include #include #include #include +#include #include -#include -QModelIndex* PythonQtWrapper_QModelIndex::new_QModelIndex() +QMetaEnum* PythonQtWrapper_QMetaEnum::new_QMetaEnum() { -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()); -} +return new QMetaEnum(); } -QVariant PythonQtWrapper_QModelIndex::data(QModelIndex* theWrappedObject, int role) const +const QMetaObject* PythonQtWrapper_QMetaEnum::enclosingMetaObject(QMetaEnum* theWrappedObject) const { - return ( theWrappedObject->data(role)); + return ( theWrappedObject->enclosingMetaObject()); } -Qt::ItemFlags PythonQtWrapper_QModelIndex::flags(QModelIndex* theWrappedObject) const +const char* PythonQtWrapper_QMetaEnum::enumName(QMetaEnum* theWrappedObject) const { - return ( theWrappedObject->flags()); + return ( theWrappedObject->enumName()); } -quintptr PythonQtWrapper_QModelIndex::internalId(QModelIndex* theWrappedObject) const +bool PythonQtWrapper_QMetaEnum::isFlag(QMetaEnum* theWrappedObject) const { - return ( theWrappedObject->internalId()); + return ( theWrappedObject->isFlag()); } -void* PythonQtWrapper_QModelIndex::internalPointer(QModelIndex* theWrappedObject) const +bool PythonQtWrapper_QMetaEnum::isScoped(QMetaEnum* theWrappedObject) const { - return ( theWrappedObject->internalPointer()); + return ( theWrappedObject->isScoped()); } -bool PythonQtWrapper_QModelIndex::isValid(QModelIndex* theWrappedObject) const +bool PythonQtWrapper_QMetaEnum::isValid(QMetaEnum* theWrappedObject) const { return ( theWrappedObject->isValid()); } -const QAbstractItemModel* PythonQtWrapper_QModelIndex::model(QModelIndex* theWrappedObject) const +const char* PythonQtWrapper_QMetaEnum::key(QMetaEnum* theWrappedObject, int index) const { - return ( theWrappedObject->model()); + return ( theWrappedObject->key(index)); } -bool PythonQtWrapper_QModelIndex::__ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const +int PythonQtWrapper_QMetaEnum::keyCount(QMetaEnum* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->keyCount()); } -bool PythonQtWrapper_QModelIndex::__lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const +int PythonQtWrapper_QMetaEnum::keyToValue(QMetaEnum* theWrappedObject, const char* key, bool* ok) const { - return ( (*theWrappedObject)< other); + return ( theWrappedObject->keyToValue(key, ok)); } -bool PythonQtWrapper_QModelIndex::__eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const +int PythonQtWrapper_QMetaEnum::keysToValue(QMetaEnum* theWrappedObject, const char* keys, bool* ok) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->keysToValue(keys, ok)); } -QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const +const char* PythonQtWrapper_QMetaEnum::name(QMetaEnum* theWrappedObject) const { - return ( theWrappedObject->parent()); + return ( theWrappedObject->name()); } -int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const +const char* PythonQtWrapper_QMetaEnum::scope(QMetaEnum* theWrappedObject) const { - return ( theWrappedObject->row()); + return ( theWrappedObject->scope()); } -QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const +int PythonQtWrapper_QMetaEnum::value(QMetaEnum* theWrappedObject, int index) const { - return ( theWrappedObject->sibling(row, column)); + return ( theWrappedObject->value(index)); } -QModelIndex PythonQtWrapper_QModelIndex::siblingAtColumn(QModelIndex* theWrappedObject, int column) const +const char* PythonQtWrapper_QMetaEnum::valueToKey(QMetaEnum* theWrappedObject, int value) const { - return ( theWrappedObject->siblingAtColumn(column)); + return ( theWrappedObject->valueToKey(value)); } -QModelIndex PythonQtWrapper_QModelIndex::siblingAtRow(QModelIndex* theWrappedObject, int row) const +QByteArray PythonQtWrapper_QMetaEnum::valueToKeys(QMetaEnum* theWrappedObject, int value) const { - return ( theWrappedObject->siblingAtRow(row)); -} - -QString PythonQtWrapper_QModelIndex::py_toString(QModelIndex* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return ( theWrappedObject->valueToKeys(value)); } -QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) +QMetaMethod* PythonQtWrapper_QMetaMethod::new_QMetaMethod() { -return new QMutex(mode); } +return new QMetaMethod(); } -bool PythonQtWrapper_QMutex::isRecursive(QMutex* theWrappedObject) const +QMetaMethod::Access PythonQtWrapper_QMetaMethod::access(QMetaMethod* theWrappedObject) const { - return ( theWrappedObject->isRecursive()); + return ( theWrappedObject->access()); } -void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) +int PythonQtWrapper_QMetaMethod::attributes(QMetaMethod* theWrappedObject) const { - ( theWrappedObject->lock()); + return ( theWrappedObject->attributes()); } -bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) +const QMetaObject* PythonQtWrapper_QMetaMethod::enclosingMetaObject(QMetaMethod* theWrappedObject) const { - return ( theWrappedObject->tryLock(timeout)); + return ( theWrappedObject->enclosingMetaObject()); } -bool PythonQtWrapper_QMutex::try_lock(QMutex* theWrappedObject) +void PythonQtWrapper_QMetaMethod::getParameterTypes(QMetaMethod* theWrappedObject, int* types) const { - return ( theWrappedObject->try_lock()); + ( theWrappedObject->getParameterTypes(types)); } -void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) +bool PythonQtWrapper_QMetaMethod::isValid(QMetaMethod* theWrappedObject) const { - ( theWrappedObject->unlock()); + return ( theWrappedObject->isValid()); } - - -QMutexLocker* PythonQtWrapper_QMutexLocker::new_QMutexLocker(QMutex* arg__1) -{ -return new QMutexLocker(arg__1); } - -QMutex* PythonQtWrapper_QMutexLocker::mutex(QMutexLocker* theWrappedObject) const +int PythonQtWrapper_QMetaMethod::methodIndex(QMetaMethod* theWrappedObject) const { - return ( theWrappedObject->mutex()); + return ( theWrappedObject->methodIndex()); } -void PythonQtWrapper_QMutexLocker::relock(QMutexLocker* theWrappedObject) +QByteArray PythonQtWrapper_QMetaMethod::methodSignature(QMetaMethod* theWrappedObject) const { - ( theWrappedObject->relock()); + return ( theWrappedObject->methodSignature()); } -void PythonQtWrapper_QMutexLocker::unlock(QMutexLocker* theWrappedObject) +QMetaMethod::MethodType PythonQtWrapper_QMetaMethod::methodType(QMetaMethod* theWrappedObject) const { - ( theWrappedObject->unlock()); + return ( theWrappedObject->methodType()); } - - -PythonQtShell_QObject::~PythonQtShell_QObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QObject::childEvent(QChildEvent* event0) +QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->name()); } -void PythonQtShell_QObject::customEvent(QEvent* event0) + +bool PythonQtWrapper_QMetaMethod::__ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( (*theWrappedObject)!= m2); } -bool PythonQtShell_QObject::event(QEvent* event0) + +bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( (*theWrappedObject)== m2); } -bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) + +int PythonQtWrapper_QMetaMethod::parameterCount(QMetaMethod* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( theWrappedObject->parameterCount()); } -void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) + +QList PythonQtWrapper_QMetaMethod::parameterNames(QMetaMethod* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->parameterNames()); } -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) +int PythonQtWrapper_QMetaMethod::parameterType(QMetaMethod* theWrappedObject, int index) const { - return ( theWrappedObject->blockSignals(b)); + return ( theWrappedObject->parameterType(index)); } -void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* event) +QList PythonQtWrapper_QMetaMethod::parameterTypes(QMetaMethod* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(event)); + return ( theWrappedObject->parameterTypes()); } -const QList* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const +int PythonQtWrapper_QMetaMethod::returnType(QMetaMethod* theWrappedObject) const { - return &( theWrappedObject->children()); + return ( theWrappedObject->returnType()); } -void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* event) +int PythonQtWrapper_QMetaMethod::revision(QMetaMethod* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(event)); + return ( theWrappedObject->revision()); } -void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) +const char* PythonQtWrapper_QMetaMethod::tag(QMetaMethod* theWrappedObject) const { - ( theWrappedObject->dumpObjectInfo()); + return ( theWrappedObject->tag()); } -void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) const +const char* PythonQtWrapper_QMetaMethod::typeName(QMetaMethod* theWrappedObject) const { - ( theWrappedObject->dumpObjectInfo()); + return ( theWrappedObject->typeName()); } -void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) + + +QMetaProperty* PythonQtWrapper_QMetaProperty::new_QMetaProperty() +{ +return new QMetaProperty(); } + +const QMetaObject* PythonQtWrapper_QMetaProperty::enclosingMetaObject(QMetaProperty* theWrappedObject) const { - ( theWrappedObject->dumpObjectTree()); + return ( theWrappedObject->enclosingMetaObject()); } -void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) const +QMetaEnum PythonQtWrapper_QMetaProperty::enumerator(QMetaProperty* theWrappedObject) const { - ( theWrappedObject->dumpObjectTree()); + return ( theWrappedObject->enumerator()); } -QList PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::hasNotifySignal(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->dynamicPropertyNames()); + return ( theWrappedObject->hasNotifySignal()); } -bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* event) +bool PythonQtWrapper_QMetaProperty::hasStdCppSet(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->event(event)); + return ( theWrappedObject->hasStdCppSet()); } -bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event) +bool PythonQtWrapper_QMetaProperty::isConstant(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->eventFilter(watched, event)); + return ( theWrappedObject->isConstant()); } -void PythonQtWrapper_QObject::installEventFilter(QObject* theWrappedObject, QObject* filterObj) +bool PythonQtWrapper_QMetaProperty::isDesignable(QMetaProperty* theWrappedObject, const QObject* obj) const { - ( theWrappedObject->installEventFilter(filterObj)); + return ( theWrappedObject->isDesignable(obj)); } -bool PythonQtWrapper_QObject::isSignalConnected(QObject* theWrappedObject, const QMetaMethod& signal) const +bool PythonQtWrapper_QMetaProperty::isEditable(QMetaProperty* theWrappedObject, const QObject* obj) const { - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_isSignalConnected(signal)); + return ( theWrappedObject->isEditable(obj)); } -bool PythonQtWrapper_QObject::isWidgetType(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::isEnumType(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->isWidgetType()); + return ( theWrappedObject->isEnumType()); } -bool PythonQtWrapper_QObject::isWindowType(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::isFinal(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->isWindowType()); + return ( theWrappedObject->isFinal()); } -void PythonQtWrapper_QObject::killTimer(QObject* theWrappedObject, int id) +bool PythonQtWrapper_QMetaProperty::isFlagType(QMetaProperty* theWrappedObject) const { - ( theWrappedObject->killTimer(id)); + return ( theWrappedObject->isFlagType()); } -void PythonQtWrapper_QObject::moveToThread(QObject* theWrappedObject, QThread* thread) +bool PythonQtWrapper_QMetaProperty::isReadable(QMetaProperty* theWrappedObject) const { - ( theWrappedObject->moveToThread(thread)); + return ( theWrappedObject->isReadable()); } -QString PythonQtWrapper_QObject::objectName(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::isResettable(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->objectName()); + return ( theWrappedObject->isResettable()); } -void PythonQtWrapper_QObject::removeEventFilter(QObject* theWrappedObject, QObject* obj) +bool PythonQtWrapper_QMetaProperty::isScriptable(QMetaProperty* theWrappedObject, const QObject* obj) const { - ( theWrappedObject->removeEventFilter(obj)); + return ( theWrappedObject->isScriptable(obj)); } -QObject* PythonQtWrapper_QObject::sender(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::isStored(QMetaProperty* theWrappedObject, const QObject* obj) const { - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_sender()); + return ( theWrappedObject->isStored(obj)); } -int PythonQtWrapper_QObject::senderSignalIndex(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::isUser(QMetaProperty* theWrappedObject, const QObject* obj) const { - return ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_senderSignalIndex()); + return ( theWrappedObject->isUser(obj)); } -void PythonQtWrapper_QObject::setObjectName(QObject* theWrappedObject, const QString& name) +bool PythonQtWrapper_QMetaProperty::isValid(QMetaProperty* theWrappedObject) const { - ( theWrappedObject->setObjectName(name)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QObject::signalsBlocked(QObject* theWrappedObject) const +bool PythonQtWrapper_QMetaProperty::isWritable(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->signalsBlocked()); + return ( theWrappedObject->isWritable()); } -int PythonQtWrapper_QObject::startTimer(QObject* theWrappedObject, int interval, Qt::TimerType timerType) +const char* PythonQtWrapper_QMetaProperty::name(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->startTimer(interval, timerType)); + return ( theWrappedObject->name()); } -QThread* PythonQtWrapper_QObject::thread(QObject* theWrappedObject) const +QMetaMethod PythonQtWrapper_QMetaProperty::notifySignal(QMetaProperty* theWrappedObject) const { - return ( theWrappedObject->thread()); + return ( theWrappedObject->notifySignal()); } -void PythonQtWrapper_QObject::timerEvent(QObject* theWrappedObject, QTimerEvent* event) +int PythonQtWrapper_QMetaProperty::notifySignalIndex(QMetaProperty* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_timerEvent(event)); + 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)); +} -PythonQtShell_QOperatingSystemVersion::~PythonQtShell_QOperatingSystemVersion() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QVariant PythonQtWrapper_QMetaProperty::readOnGadget(QMetaProperty* theWrappedObject, const void* gadget) const +{ + return ( theWrappedObject->readOnGadget(gadget)); } -QOperatingSystemVersion* PythonQtWrapper_QOperatingSystemVersion::new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor, int vmicro) + +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 PythonQtShell_QOperatingSystemVersion(osType, vmajor, vminor, vmicro); } +return new QMetaType(type); } -QOperatingSystemVersion PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_current() +bool PythonQtWrapper_QMetaType::static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result) { - return (QOperatingSystemVersion::current()); + return (QMetaType::compare(lhs, rhs, typeId, result)); } -QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_currentType() +void* PythonQtWrapper_QMetaType::static_QMetaType_construct(int type, void* where, const void* copy) { - return (QOperatingSystemVersion::currentType()); + return (QMetaType::construct(type, where, copy)); } -int PythonQtWrapper_QOperatingSystemVersion::majorVersion(QOperatingSystemVersion* theWrappedObject) const +void* PythonQtWrapper_QMetaType::construct(QMetaType* theWrappedObject, void* where, const void* copy) const { - return ( theWrappedObject->majorVersion()); + return ( theWrappedObject->construct(where, copy)); } -int PythonQtWrapper_QOperatingSystemVersion::microVersion(QOperatingSystemVersion* theWrappedObject) const +bool PythonQtWrapper_QMetaType::static_QMetaType_convert(const void* from, int fromTypeId, void* to, int toTypeId) { - return ( theWrappedObject->microVersion()); + return (QMetaType::convert(from, fromTypeId, to, toTypeId)); } -int PythonQtWrapper_QOperatingSystemVersion::minorVersion(QOperatingSystemVersion* theWrappedObject) const +void* PythonQtWrapper_QMetaType::create(QMetaType* theWrappedObject, const void* copy) const { - return ( theWrappedObject->minorVersion()); + return ( theWrappedObject->create(copy)); } -QString PythonQtWrapper_QOperatingSystemVersion::name(QOperatingSystemVersion* theWrappedObject) const +void* PythonQtWrapper_QMetaType::static_QMetaType_create(int type, const void* copy) { - return ( theWrappedObject->name()); + return (QMetaType::create(type, copy)); } -int PythonQtWrapper_QOperatingSystemVersion::segmentCount(QOperatingSystemVersion* theWrappedObject) const +void PythonQtWrapper_QMetaType::static_QMetaType_destroy(int type, void* data) { - return ( theWrappedObject->segmentCount()); + (QMetaType::destroy(type, data)); } -QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::type(QOperatingSystemVersion* theWrappedObject) const +void PythonQtWrapper_QMetaType::destroy(QMetaType* theWrappedObject, void* data) const { - return ( theWrappedObject->type()); + ( theWrappedObject->destroy(data)); } -QString PythonQtWrapper_QOperatingSystemVersion::py_toString(QOperatingSystemVersion* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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()); +} -PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { +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)); +} + +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)); +} + +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_QParallelAnimationGroup::childEvent(QChildEvent* event0) +void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -548,7 +559,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -556,9 +567,9 @@ if (_wrapper) { } } } - QParallelAnimationGroup::childEvent(event0); + QMimeData::childEvent(event0); } -void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* event0) +void PythonQtShell_QMimeData::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -570,7 +581,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -578,42 +589,9 @@ if (_wrapper) { } } } - 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(); + QMimeData::customEvent(event0); } -bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) +bool PythonQtShell_QMimeData::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -636,7 +614,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -644,9 +622,9 @@ if (_wrapper) { } } } - return QParallelAnimationGroup::event(event0); + return QMimeData::event(event0); } -bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -669,7 +647,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -677,87 +655,120 @@ if (_wrapper) { } } } - return QParallelAnimationGroup::eventFilter(watched0, event1); + return QMimeData::eventFilter(watched0, event1); } -void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* event0) +QStringList PythonQtShell_QMimeData::formats() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("formats"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QParallelAnimationGroup::timerEvent(event0); + return QMimeData::formats(); } -void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) +bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); + static PyObject* name = PyString_FromString("hasFormat"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)¤tTime0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mimetype0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QParallelAnimationGroup::updateCurrentTime(currentTime0); + return QMimeData::hasFormat(mimetype0); } -void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +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("updateDirection"); + static PyObject* name = PyString_FromString("retrieveData"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QParallelAnimationGroup::updateDirection(direction0); + return QMimeData::retrieveData(mimetype0, preferredType1); } -void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +void PythonQtShell_QMimeData::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -765,388 +776,390 @@ if (_wrapper) { } } } - QParallelAnimationGroup::updateState(newState0, oldState1); + QMimeData::timerEvent(event0); } -QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) +QMimeData* PythonQtWrapper_QMimeData::new_QMimeData() { -return new PythonQtShell_QParallelAnimationGroup(parent); } +return new PythonQtShell_QMimeData(); } -const QMetaObject* PythonQtShell_QParallelAnimationGroup::metaObject() const { +const QMetaObject* PythonQtShell_QMimeData::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QParallelAnimationGroup::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMimeData::staticMetaObject); } else { - return &QParallelAnimationGroup::staticMetaObject; + return &QMimeData::staticMetaObject; } } -int PythonQtShell_QParallelAnimationGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QParallelAnimationGroup::qt_metacall(call, id, args); +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; } - - -PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* event0) +void PythonQtWrapper_QMimeData::clear(QMimeData* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->clear()); } - QPauseAnimation::childEvent(event0); + +QVariant PythonQtWrapper_QMimeData::colorData(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->colorData()); } -void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) + +QByteArray PythonQtWrapper_QMimeData::data(QMimeData* theWrappedObject, const QString& mimetype) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->data(mimetype)); } - QPauseAnimation::customEvent(event0); + +QStringList PythonQtWrapper_QMimeData::formats(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->formats()); } -int PythonQtShell_QPauseAnimation::duration() const + +bool PythonQtWrapper_QMimeData::hasColor(QMimeData* theWrappedObject) 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 ( theWrappedObject->hasColor()); } - return QPauseAnimation::duration(); + +bool PythonQtWrapper_QMimeData::hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const +{ + return ( theWrappedObject->hasFormat(mimetype)); } -bool PythonQtShell_QPauseAnimation::event(QEvent* e0) + +bool PythonQtWrapper_QMimeData::hasHtml(QMimeData* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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 ( theWrappedObject->hasHtml()); } - return QPauseAnimation::event(e0); + +bool PythonQtWrapper_QMimeData::hasImage(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasImage()); } -bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* event1) + +bool PythonQtWrapper_QMimeData::hasText(QMimeData* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->hasText()); } - return QPauseAnimation::eventFilter(watched0, event1); + +bool PythonQtWrapper_QMimeData::hasUrls(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->hasUrls()); } -void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* event0) + +QString PythonQtWrapper_QMimeData::html(QMimeData* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->html()); } - QPauseAnimation::timerEvent(event0); + +QVariant PythonQtWrapper_QMimeData::imageData(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->imageData()); } -void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) + +void PythonQtWrapper_QMimeData::removeFormat(QMimeData* theWrappedObject, const QString& mimetype) { -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(); - } - } + ( theWrappedObject->removeFormat(mimetype)); } - QPauseAnimation::updateCurrentTime(arg__1); + +QVariant PythonQtWrapper_QMimeData::retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const +{ + return ( ((PythonQtPublicPromoter_QMimeData*)theWrappedObject)->promoted_retrieveData(mimetype, preferredType)); } -void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) + +void PythonQtWrapper_QMimeData::setColorData(QMimeData* theWrappedObject, const QVariant& color) { -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(); - } - } + ( theWrappedObject->setColorData(color)); } - QPauseAnimation::updateDirection(direction0); + +void PythonQtWrapper_QMimeData::setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data) +{ + ( theWrappedObject->setData(mimetype, data)); } -void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) + +void PythonQtWrapper_QMimeData::setHtml(QMimeData* theWrappedObject, const QString& html) { -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(); - } - } + ( theWrappedObject->setHtml(html)); } - QPauseAnimation::updateState(newState0, oldState1); + +void PythonQtWrapper_QMimeData::setImageData(QMimeData* theWrappedObject, const QVariant& image) +{ + ( theWrappedObject->setImageData(image)); } -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); } +void PythonQtWrapper_QMimeData::setText(QMimeData* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} -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; - } +void PythonQtWrapper_QMimeData::setUrls(QMimeData* theWrappedObject, const QList& urls) +{ + ( theWrappedObject->setUrls(urls)); } -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; + +QString PythonQtWrapper_QMimeData::text(QMimeData* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) + +QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const { - ( theWrappedObject->setDuration(msecs)); + return ( theWrappedObject->urls()); } -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex() +QMimeDatabase* PythonQtWrapper_QMimeDatabase::new_QMimeDatabase() { -return new QPersistentModelIndex(); } +return new QMimeDatabase(); } -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QModelIndex& index) +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 QPersistentModelIndex(index); } +return new QMimeType(); } -QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QPersistentModelIndex& other) +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType(const QMimeType& other) { -return new QPersistentModelIndex(other); } +return new QMimeType(other); } -QModelIndex PythonQtWrapper_QPersistentModelIndex::child(QPersistentModelIndex* theWrappedObject, int row, int column) const +QStringList PythonQtWrapper_QMimeType::aliases(QMimeType* theWrappedObject) const { - return ( theWrappedObject->child(row, column)); + return ( theWrappedObject->aliases()); } -int PythonQtWrapper_QPersistentModelIndex::column(QPersistentModelIndex* theWrappedObject) const +QStringList PythonQtWrapper_QMimeType::allAncestors(QMimeType* theWrappedObject) const { - return ( theWrappedObject->column()); + return ( theWrappedObject->allAncestors()); } -QVariant PythonQtWrapper_QPersistentModelIndex::data(QPersistentModelIndex* theWrappedObject, int role) const +QString PythonQtWrapper_QMimeType::comment(QMimeType* theWrappedObject) const { - return ( theWrappedObject->data(role)); + return ( theWrappedObject->comment()); } -Qt::ItemFlags PythonQtWrapper_QPersistentModelIndex::flags(QPersistentModelIndex* theWrappedObject) const +QString PythonQtWrapper_QMimeType::filterString(QMimeType* theWrappedObject) const { - return ( theWrappedObject->flags()); + return ( theWrappedObject->filterString()); } -quintptr PythonQtWrapper_QPersistentModelIndex::internalId(QPersistentModelIndex* theWrappedObject) const +QString PythonQtWrapper_QMimeType::genericIconName(QMimeType* theWrappedObject) const { - return ( theWrappedObject->internalId()); + return ( theWrappedObject->genericIconName()); } -bool PythonQtWrapper_QPersistentModelIndex::isValid(QPersistentModelIndex* theWrappedObject) const +QStringList PythonQtWrapper_QMimeType::globPatterns(QMimeType* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->globPatterns()); } -const QAbstractItemModel* PythonQtWrapper_QPersistentModelIndex::model(QPersistentModelIndex* theWrappedObject) const +QString PythonQtWrapper_QMimeType::iconName(QMimeType* theWrappedObject) const { - return ( theWrappedObject->model()); + return ( theWrappedObject->iconName()); } -QModelIndex PythonQtWrapper_QPersistentModelIndex::operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const +bool PythonQtWrapper_QMimeType::inherits(QMimeType* theWrappedObject, const QString& mimeTypeName) const { - return ( theWrappedObject->operator const QModelIndex&()); + return ( theWrappedObject->inherits(mimeTypeName)); } -bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const +bool PythonQtWrapper_QMimeType::isDefault(QMimeType* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->isDefault()); } -bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +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); } -bool PythonQtWrapper_QPersistentModelIndex::__lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +QMimeType* PythonQtWrapper_QMimeType::operator_assign(QMimeType* theWrappedObject, const QMimeType& other) { - return ( (*theWrappedObject)< other); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const +bool PythonQtWrapper_QMimeType::__eq__(QMimeType* theWrappedObject, const QMimeType& other) const { return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const +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_QPersistentModelIndex::parent(QPersistentModelIndex* theWrappedObject) const +QModelIndex PythonQtWrapper_QModelIndex::parent(QModelIndex* theWrappedObject) const { return ( theWrappedObject->parent()); } -int PythonQtWrapper_QPersistentModelIndex::row(QPersistentModelIndex* theWrappedObject) const +int PythonQtWrapper_QModelIndex::row(QModelIndex* theWrappedObject) const { return ( theWrappedObject->row()); } -QModelIndex PythonQtWrapper_QPersistentModelIndex::sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const +QModelIndex PythonQtWrapper_QModelIndex::sibling(QModelIndex* theWrappedObject, int row, int column) const { return ( theWrappedObject->sibling(row, column)); } -void PythonQtWrapper_QPersistentModelIndex::swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other) +QModelIndex PythonQtWrapper_QModelIndex::siblingAtColumn(QModelIndex* theWrappedObject, int column) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->siblingAtColumn(column)); } -QString PythonQtWrapper_QPersistentModelIndex::py_toString(QPersistentModelIndex* obj) { +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; @@ -1155,100 +1168,130 @@ QString PythonQtWrapper_QPersistentModelIndex::py_toString(QPersistentModelIndex -PythonQtShell_QProcess::~PythonQtShell_QProcess() { +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); } + +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); } } -bool PythonQtShell_QProcess::atEnd() const +void PythonQtShell_QObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::atEnd(); + QObject::childEvent(event0); } -qint64 PythonQtShell_QProcess::bytesAvailable() const +void PythonQtShell_QObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::bytesAvailable(); + QObject::customEvent(event0); } -qint64 PythonQtShell_QProcess::bytesToWrite() const +bool PythonQtShell_QObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1256,32 +1299,32 @@ if (_wrapper) { } } } - return QProcess::bytesToWrite(); + return QObject::event(event0); } -bool PythonQtShell_QProcess::canReadLine() const +bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1289,21 +1332,21 @@ if (_wrapper) { } } } - return QProcess::canReadLine(); + return QObject::eventFilter(watched0, event1); } -void PythonQtShell_QProcess::childEvent(QChildEvent* event0) +void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1311,274 +1354,306 @@ if (_wrapper) { } } } - QProcess::childEvent(event0); + QObject::timerEvent(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(); - } +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; } } - QProcess::close(); +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; } -void PythonQtShell_QProcess::customEvent(QEvent* event0) +bool PythonQtWrapper_QObject::blockSignals(QObject* theWrappedObject, bool b) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->blockSignals(b)); } - QProcess::customEvent(event0); + +void PythonQtWrapper_QObject::childEvent(QObject* theWrappedObject, QChildEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_childEvent(event)); } -bool PythonQtShell_QProcess::event(QEvent* event0) + +const QList* PythonQtWrapper_QObject::children(QObject* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->children()); } - return QProcess::event(event0); + +void PythonQtWrapper_QObject::customEvent(QObject* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QObject*)theWrappedObject)->promoted_customEvent(event)); } -bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->dumpObjectInfo()); } - return QProcess::eventFilter(watched0, event1); + +void PythonQtWrapper_QObject::dumpObjectInfo(QObject* theWrappedObject) const +{ + ( theWrappedObject->dumpObjectInfo()); } -bool PythonQtShell_QProcess::isSequential() const + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) { -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(); - } - } + ( theWrappedObject->dumpObjectTree()); } - return QProcess::isSequential(); + +void PythonQtWrapper_QObject::dumpObjectTree(QObject* theWrappedObject) const +{ + ( theWrappedObject->dumpObjectTree()); } -bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) + +QList PythonQtWrapper_QObject::dynamicPropertyNames(QObject* theWrappedObject) const { -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 ( theWrappedObject->dynamicPropertyNames()); } - return QProcess::open(mode0); + +bool PythonQtWrapper_QObject::event(QObject* theWrappedObject, QEvent* event) +{ + return ( theWrappedObject->event(event)); } -qint64 PythonQtShell_QProcess::pos() const + +bool PythonQtWrapper_QObject::eventFilter(QObject* theWrappedObject, QObject* watched, QEvent* event) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE + 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("pos"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::pos(); + QParallelAnimationGroup::childEvent(event0); } -qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) +void PythonQtShell_QParallelAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::readData(data0, maxlen1); + QParallelAnimationGroup::customEvent(event0); } -qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) +int PythonQtShell_QParallelAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("duration"); 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}; + 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("readLineData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1586,32 +1661,32 @@ if (_wrapper) { } } } - return QProcess::readLineData(data0, maxlen1); + return QParallelAnimationGroup::duration(); } -bool PythonQtShell_QProcess::reset() +bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1619,32 +1694,32 @@ if (_wrapper) { } } } - return QProcess::reset(); + return QParallelAnimationGroup::event(event0); } -bool PythonQtShell_QProcess::seek(qint64 pos0) +bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&pos0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1652,21 +1727,21 @@ if (_wrapper) { } } } - return QProcess::seek(pos0); + return QParallelAnimationGroup::eventFilter(watched0, event1); } -void PythonQtShell_QProcess::setupChildProcess() +void PythonQtShell_QParallelAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupChildProcess"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1674,54 +1749,110 @@ if (_wrapper) { } } } - QProcess::setupChildProcess(); + QParallelAnimationGroup::timerEvent(event0); } -qint64 PythonQtShell_QProcess::size() const +void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("updateCurrentTime"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::size(); + QParallelAnimationGroup::updateCurrentTime(currentTime0); } -void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) +void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1729,32 +1860,54 @@ if (_wrapper) { } } } - QProcess::timerEvent(event0); + QPauseAnimation::childEvent(event0); } -bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) +void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + void* args[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("waitForBytesWritten", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1762,32 +1915,32 @@ if (_wrapper) { } } } - return QProcess::waitForBytesWritten(msecs0); + return QPauseAnimation::duration(); } -bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) +bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + 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("waitForReadyRead", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1795,32 +1948,32 @@ if (_wrapper) { } } } - return QProcess::waitForReadyRead(msecs0); + return QPauseAnimation::event(e0); } -qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) +bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1828,332 +1981,367 @@ if (_wrapper) { } } } - return QProcess::writeData(data0, len1); + return QPauseAnimation::eventFilter(watched0, event1); } -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; +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(); + } } } -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; + QPauseAnimation::timerEvent(event0); } -QStringList PythonQtWrapper_QProcess::arguments(QProcess* theWrappedObject) const +void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { - return ( theWrappedObject->arguments()); +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(); + } + } } - -void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) -{ - ( theWrappedObject->closeReadChannel(channel)); + QPauseAnimation::updateCurrentTime(arg__1); } - -void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) +void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) { - ( theWrappedObject->closeWriteChannel()); +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(); + } + } } - -QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->environment()); + QPauseAnimation::updateDirection(direction0); } - -QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const +void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { - return ( theWrappedObject->error()); -} - -int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& command) -{ - return (QProcess::execute(command)); +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(); + } + } } - -int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) -{ - return (QProcess::execute(program, arguments)); + QPauseAnimation::updateState(newState0, oldState1); } +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(parent); } -int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->exitCode()); -} +QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) +{ +return new PythonQtShell_QPauseAnimation(msecs, parent); } -QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->exitStatus()); +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; + } } - -QProcess::InputChannelMode PythonQtWrapper_QProcess::inputChannelMode(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->inputChannelMode()); +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; } - -QString PythonQtWrapper_QProcess::static_QProcess_nullDevice() +void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) { - return (QProcess::nullDevice()); + ( theWrappedObject->setDuration(msecs)); } -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()); -} +QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex() +{ +return new QPersistentModelIndex(); } -QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const -{ - return ( theWrappedObject->program()); -} +QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QModelIndex& index) +{ +return new QPersistentModelIndex(index); } -QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) -{ - return ( theWrappedObject->readAllStandardError()); -} +QPersistentModelIndex* PythonQtWrapper_QPersistentModelIndex::new_QPersistentModelIndex(const QPersistentModelIndex& other) +{ +return new QPersistentModelIndex(other); } -QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) +QModelIndex PythonQtWrapper_QPersistentModelIndex::child(QPersistentModelIndex* theWrappedObject, int row, int column) const { - return ( theWrappedObject->readAllStandardOutput()); + return ( theWrappedObject->child(row, column)); } -QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const +int PythonQtWrapper_QPersistentModelIndex::column(QPersistentModelIndex* theWrappedObject) const { - return ( theWrappedObject->readChannel()); + return ( theWrappedObject->column()); } -void PythonQtWrapper_QProcess::setArguments(QProcess* theWrappedObject, const QStringList& arguments) +QVariant PythonQtWrapper_QPersistentModelIndex::data(QPersistentModelIndex* theWrappedObject, int role) const { - ( theWrappedObject->setArguments(arguments)); + return ( theWrappedObject->data(role)); } -void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) +Qt::ItemFlags PythonQtWrapper_QPersistentModelIndex::flags(QPersistentModelIndex* theWrappedObject) const { - ( theWrappedObject->setEnvironment(environment)); + return ( theWrappedObject->flags()); } -void PythonQtWrapper_QProcess::setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode) +quintptr PythonQtWrapper_QPersistentModelIndex::internalId(QPersistentModelIndex* theWrappedObject) const { - ( theWrappedObject->setInputChannelMode(mode)); + return ( theWrappedObject->internalId()); } -void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) +bool PythonQtWrapper_QPersistentModelIndex::isValid(QPersistentModelIndex* theWrappedObject) const { - ( theWrappedObject->setProcessChannelMode(mode)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) +const QAbstractItemModel* PythonQtWrapper_QPersistentModelIndex::model(QPersistentModelIndex* theWrappedObject) const { - ( theWrappedObject->setProcessEnvironment(environment)); + return ( theWrappedObject->model()); } -void PythonQtWrapper_QProcess::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) +QModelIndex PythonQtWrapper_QPersistentModelIndex::operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); + return ( theWrappedObject->operator const QModelIndex&()); } -void PythonQtWrapper_QProcess::setProgram(QProcess* theWrappedObject, const QString& program) +bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const { - ( theWrappedObject->setProgram(program)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) +bool PythonQtWrapper_QPersistentModelIndex::__ne__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const { - ( theWrappedObject->setReadChannel(channel)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +bool PythonQtWrapper_QPersistentModelIndex::__lt__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const { - ( theWrappedObject->setStandardErrorFile(fileName, mode)); + return ( (*theWrappedObject)< other); } -void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) +bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const { - ( theWrappedObject->setStandardInputFile(fileName)); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) +bool PythonQtWrapper_QPersistentModelIndex::__eq__(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const { - ( theWrappedObject->setStandardOutputFile(fileName, mode)); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) +QModelIndex PythonQtWrapper_QPersistentModelIndex::parent(QPersistentModelIndex* theWrappedObject) const { - ( theWrappedObject->setStandardOutputProcess(destination)); + return ( theWrappedObject->parent()); } -void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) +int PythonQtWrapper_QPersistentModelIndex::row(QPersistentModelIndex* theWrappedObject) const { - ( theWrappedObject->setWorkingDirectory(dir)); + return ( theWrappedObject->row()); } -void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) +QModelIndex PythonQtWrapper_QPersistentModelIndex::sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const { - ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); + return ( theWrappedObject->sibling(row, column)); } -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, QIODevice::OpenMode mode) +void PythonQtWrapper_QPersistentModelIndex::swap(QPersistentModelIndex* theWrappedObject, QPersistentModelIndex& other) { - ( theWrappedObject->start(mode)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode) -{ - ( theWrappedObject->start(command, mode)); +QString PythonQtWrapper_QPersistentModelIndex::py_toString(QPersistentModelIndex* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -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)); +PythonQtShell_QProcess::~PythonQtShell_QProcess() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) +bool PythonQtShell_QProcess::atEnd() const { - return (QProcess::startDetached(program, arguments, workingDirectory, pid)); +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(); + } + } } - -bool PythonQtWrapper_QProcess::startDetached(QProcess* theWrappedObject, qint64* pid) -{ - return ( theWrappedObject->startDetached(pid)); + return QProcess::atEnd(); } - -QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const +qint64 PythonQtShell_QProcess::bytesAvailable() const { - return ( theWrappedObject->state()); +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(); + } + } } - -QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() -{ - return (QProcess::systemEnvironment()); + return QProcess::bytesAvailable(); } - -bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) +qint64 PythonQtShell_QProcess::bytesToWrite() const { - 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()); +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(); + } + } } - -QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const -{ - return ( theWrappedObject->toStringList()); + return QProcess::bytesToWrite(); } - -QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const +bool PythonQtShell_QProcess::canReadLine() const { - return ( theWrappedObject->value(name, defaultValue)); +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(); + } + } } - - - -PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QProcess::canReadLine(); } -void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) +void PythonQtShell_QProcess::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2165,7 +2353,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2173,21 +2361,21 @@ if (_wrapper) { } } } - QPropertyAnimation::childEvent(event0); + QProcess::childEvent(event0); } -void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) +void PythonQtShell_QProcess::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2195,42 +2383,31 @@ if (_wrapper) { } } } - QPropertyAnimation::customEvent(event0); + QProcess::close(); } -int PythonQtShell_QPropertyAnimation::duration() const +void PythonQtShell_QProcess::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPropertyAnimation::duration(); + QProcess::customEvent(event0); } -bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) +bool PythonQtShell_QProcess::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2253,7 +2430,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2261,9 +2438,9 @@ if (_wrapper) { } } } - return QPropertyAnimation::event(event0); + return QProcess::event(event0); } -bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2286,7 +2463,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2294,32 +2471,32 @@ if (_wrapper) { } } } - return QPropertyAnimation::eventFilter(watched0, event1); + return QProcess::eventFilter(watched0, event1); } -QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const +bool PythonQtShell_QProcess::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("interpolated"); + static PyObject* name = PyString_FromString("isSequential"); 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}; + 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("interpolated", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2327,848 +2504,839 @@ if (_wrapper) { } } } - return QPropertyAnimation::interpolated(from0, to1, progress2); + return QProcess::isSequential(); } -void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPropertyAnimation::timerEvent(event0); + return QProcess::open(mode0); } -void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) +qint64 PythonQtShell_QProcess::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); + static PyObject* name = PyString_FromString("pos"); 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}; + 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) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPropertyAnimation::updateCurrentTime(arg__1); + if (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(); + } + } } -void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) + 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("updateCurrentValue"); + static PyObject* name = PyString_FromString("readData"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPropertyAnimation::updateCurrentValue(value0); + return QProcess::readData(data0, maxlen1); } -void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) +qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); + static PyObject* name = PyString_FromString("readLineData"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPropertyAnimation::updateDirection(direction0); + return QProcess::readLineData(data0, maxlen1); } -void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +bool PythonQtShell_QProcess::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); + static PyObject* name = PyString_FromString("reset"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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; + return QProcess::reset(); } -QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const +bool PythonQtShell_QProcess::seek(qint64 pos0) { - return ( theWrappedObject->propertyName()); +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(); + } + } } - -void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) -{ - ( theWrappedObject->setPropertyName(propertyName)); + return QProcess::seek(pos0); } - -void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) +void PythonQtShell_QProcess::setupChildProcess() { - ( theWrappedObject->setTargetObject(target)); +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(); + } + } } - -QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const -{ - return ( theWrappedObject->targetObject()); + QProcess::setupChildProcess(); } - - - -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(unsigned int seedValue) -{ -return new QRandomGenerator(seedValue); } - -double PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, double highest) +qint64 PythonQtShell_QProcess::size() const { - return ( theWrappedObject->bounded(highest)); +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(); + } + } } - -int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int highest) -{ - return ( theWrappedObject->bounded(highest)); + return QProcess::size(); } - -int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int lowest, int highest) +void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->bounded(lowest, highest)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int highest) -{ - return ( theWrappedObject->bounded(highest)); + QProcess::timerEvent(event0); } - -unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest) +bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { - return ( theWrappedObject->bounded(lowest, highest)); -} - -void PythonQtWrapper_QRandomGenerator::discard(QRandomGenerator* theWrappedObject, quint64 z) -{ - ( theWrappedObject->discard(z)); +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(); + } + } } - -unsigned int PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject) + return QProcess::waitForBytesWritten(msecs0); +} +bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { - return ( theWrappedObject->generate()); +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(); + } + } } - -void PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end) + return QProcess::waitForReadyRead(msecs0); +} +qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) { - ( theWrappedObject->generate(begin, end)); +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); } -quint64 PythonQtWrapper_QRandomGenerator::generate64(QRandomGenerator* theWrappedObject) +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->generate64()); + return ( theWrappedObject->arguments()); } -double PythonQtWrapper_QRandomGenerator::generateDouble(QRandomGenerator* theWrappedObject) +void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) { - return ( theWrappedObject->generateDouble()); + ( theWrappedObject->closeReadChannel(channel)); } -QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_global() +void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) { - return (QRandomGenerator::global()); + ( theWrappedObject->closeWriteChannel()); } -unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_max() +QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const { - return (QRandomGenerator::max()); + return ( theWrappedObject->environment()); } -unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_min() +QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const { - return (QRandomGenerator::min()); + return ( theWrappedObject->error()); } -unsigned int PythonQtWrapper_QRandomGenerator::operator_cast_(QRandomGenerator* theWrappedObject) +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& command) { - return ( theWrappedObject->operator()()); + return (QProcess::execute(command)); } -QRandomGenerator* PythonQtWrapper_QRandomGenerator::operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other) +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) { - return &( (*theWrappedObject)= other); + return (QProcess::execute(program, arguments)); } -QRandomGenerator PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_securelySeeded() +int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const { - return (QRandomGenerator::securelySeeded()); + return ( theWrappedObject->exitCode()); } -void PythonQtWrapper_QRandomGenerator::seed(QRandomGenerator* theWrappedObject, unsigned int s) +QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const { - ( theWrappedObject->seed(s)); + return ( theWrappedObject->exitStatus()); } -QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_system() +QProcess::InputChannelMode PythonQtWrapper_QProcess::inputChannelMode(QProcess* theWrappedObject) const { - return (QRandomGenerator::system()); + return ( theWrappedObject->inputChannelMode()); } - - -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(unsigned int seedValue) -{ -return new QRandomGenerator64(seedValue); } - -void PythonQtWrapper_QRandomGenerator64::discard(QRandomGenerator64* theWrappedObject, quint64 z) +QString PythonQtWrapper_QProcess::static_QProcess_nullDevice() { - ( theWrappedObject->discard(z)); + return (QProcess::nullDevice()); } -quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) +QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const { - return ( theWrappedObject->generate()); + return ( theWrappedObject->processChannelMode()); } -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() +QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const { - return (QRandomGenerator64::global()); + return ( theWrappedObject->processEnvironment()); } -quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() +qint64 PythonQtWrapper_QProcess::processId(QProcess* theWrappedObject) const { - return (QRandomGenerator64::max()); + return ( theWrappedObject->processId()); } -quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() +QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const { - return (QRandomGenerator64::min()); + return ( theWrappedObject->program()); } -quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) +QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) { - return ( theWrappedObject->operator()()); + return ( theWrappedObject->readAllStandardError()); } -QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() +QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) { - return (QRandomGenerator64::securelySeeded()); + return ( theWrappedObject->readAllStandardOutput()); } -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() +QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const { - return (QRandomGenerator64::system()); + return ( theWrappedObject->readChannel()); } - - -QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) -{ -return new QReadWriteLock(recursionMode); } - -void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setArguments(QProcess* theWrappedObject, const QStringList& arguments) { - ( theWrappedObject->lockForRead()); + ( theWrappedObject->setArguments(arguments)); } -void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) { - ( theWrappedObject->lockForWrite()); + ( theWrappedObject->setEnvironment(environment)); } -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode) { - return ( theWrappedObject->tryLockForRead()); + ( theWrappedObject->setInputChannelMode(mode)); } -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) +void PythonQtWrapper_QProcess::setProcessChannelMode(QProcess* theWrappedObject, QProcess::ProcessChannelMode mode) { - return ( theWrappedObject->tryLockForRead(timeout)); + ( theWrappedObject->setProcessChannelMode(mode)); } -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setProcessEnvironment(QProcess* theWrappedObject, const QProcessEnvironment& environment) { - return ( theWrappedObject->tryLockForWrite()); + ( theWrappedObject->setProcessEnvironment(environment)); } -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) +void PythonQtWrapper_QProcess::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) { - return ( theWrappedObject->tryLockForWrite(timeout)); + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); } -void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setProgram(QProcess* theWrappedObject, const QString& program) { - ( theWrappedObject->unlock()); + ( theWrappedObject->setProgram(program)); } - - -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) +void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) { - return (QRegularExpression::anchoredPattern(expression)); + ( theWrappedObject->setReadChannel(channel)); } -int PythonQtWrapper_QRegularExpression::captureCount(QRegularExpression* theWrappedObject) const +void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) { - return ( theWrappedObject->captureCount()); + ( theWrappedObject->setStandardErrorFile(fileName, mode)); } -QString PythonQtWrapper_QRegularExpression::errorString(QRegularExpression* theWrappedObject) const +void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) { - return ( theWrappedObject->errorString()); + ( theWrappedObject->setStandardInputFile(fileName)); } -QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_escape(const QString& str) +void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) { - return (QRegularExpression::escape(str)); + ( theWrappedObject->setStandardOutputFile(fileName, mode)); } -QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) { - return ( theWrappedObject->globalMatch(subject, offset, matchType, matchOptions)); + ( theWrappedObject->setStandardOutputProcess(destination)); } -QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const +void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) { - return ( theWrappedObject->globalMatch(subjectRef, offset, matchType, matchOptions)); + ( theWrappedObject->setWorkingDirectory(dir)); } -bool PythonQtWrapper_QRegularExpression::isValid(QRegularExpression* theWrappedObject) const +void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) { - return ( theWrappedObject->isValid()); + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); } -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)); -} - -QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const -{ - return ( theWrappedObject->match(subjectRef, 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) +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, QIODevice::OpenMode mode) { - out << (*theWrappedObject); + ( theWrappedObject->start(mode)); } -QRegularExpression* PythonQtWrapper_QRegularExpression::operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re) +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode) { - return &( (*theWrappedObject)= re); + ( theWrappedObject->start(command, mode)); } -bool PythonQtWrapper_QRegularExpression::__eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) { - return ( (*theWrappedObject)== re); + ( theWrappedObject->start(program, arguments, mode)); } -void PythonQtWrapper_QRegularExpression::readFrom(QRegularExpression* theWrappedObject, QDataStream& in) +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& command) { - in >> (*theWrappedObject); + return (QProcess::startDetached(command)); } -void PythonQtWrapper_QRegularExpression::optimize(QRegularExpression* theWrappedObject) const +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) { - ( theWrappedObject->optimize()); + return (QProcess::startDetached(program, arguments)); } -QString PythonQtWrapper_QRegularExpression::pattern(QRegularExpression* theWrappedObject) const +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) { - return ( theWrappedObject->pattern()); + return (QProcess::startDetached(program, arguments, workingDirectory, pid)); } -int PythonQtWrapper_QRegularExpression::patternErrorOffset(QRegularExpression* theWrappedObject) const +bool PythonQtWrapper_QProcess::startDetached(QProcess* theWrappedObject, qint64* pid) { - return ( theWrappedObject->patternErrorOffset()); + return ( theWrappedObject->startDetached(pid)); } -QRegularExpression::PatternOptions PythonQtWrapper_QRegularExpression::patternOptions(QRegularExpression* theWrappedObject) const +QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const { - return ( theWrappedObject->patternOptions()); + return ( theWrappedObject->state()); } -void PythonQtWrapper_QRegularExpression::setPattern(QRegularExpression* theWrappedObject, const QString& pattern) +QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() { - ( theWrappedObject->setPattern(pattern)); + return (QProcess::systemEnvironment()); } -void PythonQtWrapper_QRegularExpression::setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options) +bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) { - ( theWrappedObject->setPatternOptions(options)); + return ( theWrappedObject->waitForFinished(msecs)); } -void PythonQtWrapper_QRegularExpression::swap(QRegularExpression* theWrappedObject, QRegularExpression& other) +bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->waitForStarted(msecs)); } -QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_wildcardToRegularExpression(const QString& str) +QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const { - return (QRegularExpression::wildcardToRegularExpression(str)); -} - -QString PythonQtWrapper_QRegularExpression::py_toString(QRegularExpression* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return ( theWrappedObject->workingDirectory()); } -QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch() +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment() { -return new QRegularExpressionMatch(); } +return new QProcessEnvironment(); } -QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch(const QRegularExpressionMatch& match) +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment(const QProcessEnvironment& other) { -return new QRegularExpressionMatch(match); } +return new QProcessEnvironment(other); } -QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, const QString& name) const +void PythonQtWrapper_QProcessEnvironment::clear(QProcessEnvironment* theWrappedObject) { - return ( theWrappedObject->captured(name)); + ( theWrappedObject->clear()); } -QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, int nth) const +bool PythonQtWrapper_QProcessEnvironment::contains(QProcessEnvironment* theWrappedObject, const QString& name) const { - return ( theWrappedObject->captured(nth)); + return ( theWrappedObject->contains(name)); } -int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e) { - return ( theWrappedObject->capturedEnd(name)); + ( theWrappedObject->insert(e)); } -int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth) const +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) { - return ( theWrappedObject->capturedEnd(nth)); + ( theWrappedObject->insert(name, value)); } -int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) const { - return ( theWrappedObject->capturedLength(name)); + return ( theWrappedObject->isEmpty()); } -int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, int nth) const +QStringList PythonQtWrapper_QProcessEnvironment::keys(QProcessEnvironment* theWrappedObject) const { - return ( theWrappedObject->capturedLength(nth)); + return ( theWrappedObject->keys()); } -QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const { - return ( theWrappedObject->capturedRef(name)); + return ( (*theWrappedObject)!= other); } -QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, int nth) const +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) { - return ( theWrappedObject->capturedRef(nth)); + return &( (*theWrappedObject)= other); } -int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const { - return ( theWrappedObject->capturedStart(name)); + return ( (*theWrappedObject)== other); } -int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, int nth) const +void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) { - return ( theWrappedObject->capturedStart(nth)); + ( theWrappedObject->remove(name)); } -QStringList PythonQtWrapper_QRegularExpressionMatch::capturedTexts(QRegularExpressionMatch* theWrappedObject) const +void PythonQtWrapper_QProcessEnvironment::swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other) { - return ( theWrappedObject->capturedTexts()); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QRegularExpressionMatch::hasMatch(QRegularExpressionMatch* theWrappedObject) const +QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() { - return ( theWrappedObject->hasMatch()); + return (QProcessEnvironment::systemEnvironment()); } -bool PythonQtWrapper_QRegularExpressionMatch::hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const +QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const { - return ( theWrappedObject->hasPartialMatch()); + return ( theWrappedObject->toStringList()); } -bool PythonQtWrapper_QRegularExpressionMatch::isValid(QRegularExpressionMatch* theWrappedObject) const +QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->value(name, defaultValue)); } -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()); +PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match) +void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) { - return &( (*theWrappedObject)= match); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRegularExpression PythonQtWrapper_QRegularExpressionMatch::regularExpression(QRegularExpressionMatch* theWrappedObject) const -{ - return ( theWrappedObject->regularExpression()); + QPropertyAnimation::childEvent(event0); } - -void PythonQtWrapper_QRegularExpressionMatch::swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& other) +void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) { - ( theWrappedObject->swap(other)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QRegularExpressionMatch::py_toString(QRegularExpressionMatch* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + QPropertyAnimation::customEvent(event0); } - - - -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 +int PythonQtShell_QPropertyAnimation::duration() const { - return ( theWrappedObject->hasNext()); +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(); + } + } } - -bool PythonQtWrapper_QRegularExpressionMatchIterator::isValid(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + return QPropertyAnimation::duration(); } - -QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatchIterator::matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const +bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { - return ( theWrappedObject->matchOptions()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatchIterator::matchType(QRegularExpressionMatchIterator* theWrappedObject) const -{ - return ( theWrappedObject->matchType()); + return QPropertyAnimation::event(event0); } - -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()); -} - -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()); -} - -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)); -} - - - -PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QSaveFile::atEnd() const +bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3176,32 +3344,32 @@ if (_wrapper) { } } } - return QSaveFile::atEnd(); + return QPropertyAnimation::eventFilter(watched0, event1); } -qint64 PythonQtShell_QSaveFile::bytesAvailable() const +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("bytesAvailable"); + static PyObject* name = PyString_FromString("interpolated"); 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}; + 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("bytesAvailable", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3209,87 +3377,43 @@ if (_wrapper) { } } } - return QSaveFile::bytesAvailable(); + return QPropertyAnimation::interpolated(from0, to1, progress2); } -qint64 PythonQtShell_QSaveFile::bytesToWrite() const +void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::bytesToWrite(); + QPropertyAnimation::timerEvent(event0); } -bool PythonQtShell_QSaveFile::canReadLine() const +void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("updateCurrentTime"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3297,21 +3421,21 @@ if (_wrapper) { } } } - QSaveFile::childEvent(event0); + QPropertyAnimation::updateCurrentTime(arg__1); } -void PythonQtShell_QSaveFile::customEvent(QEvent* event0) +void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3319,1351 +3443,761 @@ if (_wrapper) { } } } - QSaveFile::customEvent(event0); + QPropertyAnimation::updateCurrentValue(value0); } -bool PythonQtShell_QSaveFile::event(QEvent* event0) +void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::event(event0); + QPropertyAnimation::updateDirection(direction0); } -bool PythonQtShell_QSaveFile::eventFilter(QObject* watched0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::eventFilter(watched0, event1); + QPropertyAnimation::updateState(newState0, oldState1); } -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(); - } +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; } } - return QSaveFile::fileName(); +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; } -bool PythonQtShell_QSaveFile::isSequential() const +QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) 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 ( theWrappedObject->propertyName()); } - return QSaveFile::isSequential(); + +void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) +{ + ( theWrappedObject->setPropertyName(propertyName)); } -bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) + +void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) { -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(); - } - } + ( theWrappedObject->setTargetObject(target)); } - return QSaveFile::open(flags0); + +QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const +{ + return ( theWrappedObject->targetObject()); } -QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const + + + +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) { -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 ( theWrappedObject->bounded(highest)); } - return QSaveFile::permissions(); + +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int highest) +{ + return ( theWrappedObject->bounded(highest)); } -qint64 PythonQtShell_QSaveFile::pos() const + +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int lowest, int highest) { -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); + return ( theWrappedObject->bounded(lowest, highest)); } -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); } +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int highest) +{ + return ( theWrappedObject->bounded(highest)); +} -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name, QObject* parent) -{ -return new PythonQtShell_QSaveFile(name, parent); } +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest) +{ + return ( theWrappedObject->bounded(lowest, highest)); +} -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; - } +void PythonQtWrapper_QRandomGenerator::discard(QRandomGenerator* theWrappedObject, quint64 z) +{ + ( theWrappedObject->discard(z)); } -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; + +unsigned int PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generate()); } -void PythonQtWrapper_QSaveFile::cancelWriting(QSaveFile* theWrappedObject) + +void PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end) { - ( theWrappedObject->cancelWriting()); + ( theWrappedObject->generate(begin, end)); } -bool PythonQtWrapper_QSaveFile::commit(QSaveFile* theWrappedObject) +quint64 PythonQtWrapper_QRandomGenerator::generate64(QRandomGenerator* theWrappedObject) { - return ( theWrappedObject->commit()); + return ( theWrappedObject->generate64()); } -bool PythonQtWrapper_QSaveFile::directWriteFallback(QSaveFile* theWrappedObject) const +double PythonQtWrapper_QRandomGenerator::generateDouble(QRandomGenerator* theWrappedObject) { - return ( theWrappedObject->directWriteFallback()); + return ( theWrappedObject->generateDouble()); } -void PythonQtWrapper_QSaveFile::setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled) +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_global() { - ( theWrappedObject->setDirectWriteFallback(enabled)); + return (QRandomGenerator::global()); } -void PythonQtWrapper_QSaveFile::setFileName(QSaveFile* theWrappedObject, const QString& name) +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_max() { - ( theWrappedObject->setFileName(name)); + 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); +} -QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) -{ -return new QSemaphore(n); } +unsigned int PythonQtWrapper_QRandomGenerator::operator_cast_(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->operator()()); +} -void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) +QRandomGenerator* PythonQtWrapper_QRandomGenerator::operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other) { - ( theWrappedObject->acquire(n)); + return &( (*theWrappedObject)= other); } -int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const +bool PythonQtWrapper_QRandomGenerator::__eq__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2) { - return ( theWrappedObject->available()); + return ( (*theWrappedObject)== rng2); } -void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) +QRandomGenerator PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_securelySeeded() { - ( theWrappedObject->release(n)); + return (QRandomGenerator::securelySeeded()); } -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) +void PythonQtWrapper_QRandomGenerator::seed(QRandomGenerator* theWrappedObject, unsigned int s) { - return ( theWrappedObject->tryAcquire(n)); + ( theWrappedObject->seed(s)); } -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_system() { - return ( theWrappedObject->tryAcquire(n, timeout)); + return (QRandomGenerator::system()); } -PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* event0) +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) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + ( theWrappedObject->discard(z)); } -void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* event0) + +quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->generate()); } -int PythonQtShell_QSequentialAnimationGroup::duration() const + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() { -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 (QRandomGenerator64::global()); } - return QSequentialAnimationGroup::duration(); + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() +{ + return (QRandomGenerator64::max()); } -bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QRandomGenerator64::min()); } - return QSequentialAnimationGroup::event(event0); + +quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) +{ + return ( theWrappedObject->operator()()); } -bool PythonQtShell_QSequentialAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) + +QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QRandomGenerator64::securelySeeded()); } - return QSequentialAnimationGroup::eventFilter(watched0, event1); + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() +{ + return (QRandomGenerator64::system()); } -void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* event0) + + + +QReadLocker* PythonQtWrapper_QReadLocker::new_QReadLocker(QReadWriteLock* readWriteLock) +{ +return new QReadLocker(readWriteLock); } + +QReadWriteLock* PythonQtWrapper_QReadLocker::readWriteLock(QReadLocker* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->readWriteLock()); } - QSequentialAnimationGroup::timerEvent(event0); + +void PythonQtWrapper_QReadLocker::relock(QReadLocker* theWrappedObject) +{ + ( theWrappedObject->relock()); } -void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) + +void PythonQtWrapper_QReadLocker::unlock(QReadLocker* theWrappedObject) { -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(); - } - } + ( theWrappedObject->unlock()); } - QSequentialAnimationGroup::updateCurrentTime(arg__1); + + + +QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) +{ +return new QReadWriteLock(recursionMode); } + +void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForRead()); } -void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) + +void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) { -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(); - } - } + ( theWrappedObject->lockForWrite()); } - QSequentialAnimationGroup::updateDirection(direction0); + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForRead()); } -void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) { -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(); - } - } + return ( theWrappedObject->tryLockForRead(timeout)); } - QSequentialAnimationGroup::updateState(newState0, oldState1); + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForWrite()); } -QSequentialAnimationGroup* PythonQtWrapper_QSequentialAnimationGroup::new_QSequentialAnimationGroup(QObject* parent) + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLockForWrite(timeout)); +} + +void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->unlock()); +} + + + +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::new_QRegularExpressionMatch() { -return new PythonQtShell_QSequentialAnimationGroup(parent); } +return new QRegularExpressionMatch(); } -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; - } +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)); } -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; + +QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->captured(nth)); } -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) + +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const { - return ( theWrappedObject->addPause(msecs)); + return ( theWrappedObject->capturedEnd(name)); } -QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth) const { - return ( theWrappedObject->currentAnimation()); + return ( theWrappedObject->capturedEnd(nth)); } -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const { - return ( theWrappedObject->insertPause(index, msecs)); + 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)); +} -PythonQtShell_QSettings::~PythonQtShell_QSettings() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedRef(nth)); } -void PythonQtShell_QSettings::childEvent(QChildEvent* event0) + +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->capturedStart(name)); } - QSettings::childEvent(event0); + +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, int nth) const +{ + return ( theWrappedObject->capturedStart(nth)); } -void PythonQtShell_QSettings::customEvent(QEvent* event0) + +QStringList PythonQtWrapper_QRegularExpressionMatch::capturedTexts(QRegularExpressionMatch* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->capturedTexts()); } - QSettings::customEvent(event0); + +QStringView PythonQtWrapper_QRegularExpressionMatch::capturedView(QRegularExpressionMatch* theWrappedObject, QStringView name) const +{ + return ( theWrappedObject->capturedView(name)); } -bool PythonQtShell_QSettings::event(QEvent* event0) + +QStringView PythonQtWrapper_QRegularExpressionMatch::capturedView(QRegularExpressionMatch* theWrappedObject, int nth) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->capturedView(nth)); +} + +bool PythonQtWrapper_QRegularExpressionMatch::hasMatch(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->hasMatch()); } - return QSettings::event(event0); + +bool PythonQtWrapper_QRegularExpressionMatch::hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->hasPartialMatch()); } -bool PythonQtShell_QSettings::eventFilter(QObject* watched0, QEvent* event1) + +bool PythonQtWrapper_QRegularExpressionMatch::isValid(QRegularExpressionMatch* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - return QSettings::eventFilter(watched0, event1); + +int PythonQtWrapper_QRegularExpressionMatch::lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->lastCapturedIndex()); } -void PythonQtShell_QSettings::timerEvent(QTimerEvent* event0) + +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatch::matchOptions(QRegularExpressionMatch* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->matchOptions()); } - QSettings::timerEvent(event0); + +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatch::matchType(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->matchType()); } -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); } +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match) +{ + return &( (*theWrappedObject)= match); +} -QSettings* PythonQtWrapper_QSettings::new_QSettings(QSettings::Scope scope, const QString& organization, const QString& application, QObject* parent) -{ -return new PythonQtShell_QSettings(scope, organization, application, parent); } +QRegularExpression PythonQtWrapper_QRegularExpressionMatch::regularExpression(QRegularExpressionMatch* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} -QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent) +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 PythonQtShell_QSettings(fileName, format, parent); } +return new QRegularExpressionMatchIterator(); } -QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::new_QRegularExpressionMatchIterator(const QRegularExpressionMatchIterator& iterator) { -return new PythonQtShell_QSettings(organization, application, parent); } +return new QRegularExpressionMatchIterator(iterator); } -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 +bool PythonQtWrapper_QRegularExpressionMatchIterator::hasNext(QRegularExpressionMatchIterator* theWrappedObject) const { - return ( theWrappedObject->allKeys()); + return ( theWrappedObject->hasNext()); } -QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const +bool PythonQtWrapper_QRegularExpressionMatchIterator::isValid(QRegularExpressionMatchIterator* theWrappedObject) const { - return ( theWrappedObject->applicationName()); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatchIterator::matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const { - ( theWrappedObject->beginGroup(prefix)); + return ( theWrappedObject->matchOptions()); } -int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatchIterator::matchType(QRegularExpressionMatchIterator* theWrappedObject) const { - return ( theWrappedObject->beginReadArray(prefix)); + return ( theWrappedObject->matchType()); } -void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::next(QRegularExpressionMatchIterator* theWrappedObject) { - ( theWrappedObject->beginWriteArray(prefix, size)); + return ( theWrappedObject->next()); } -QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator) { - return ( theWrappedObject->childGroups()); + return &( (*theWrappedObject)= iterator); } -QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::peekNext(QRegularExpressionMatchIterator* theWrappedObject) const { - return ( theWrappedObject->childKeys()); + return ( theWrappedObject->peekNext()); } -void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) +QRegularExpression PythonQtWrapper_QRegularExpressionMatchIterator::regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->regularExpression()); } -bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const +void PythonQtWrapper_QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& other) { - return ( theWrappedObject->contains(key)); + ( theWrappedObject->swap(other)); } -QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() + + +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 (QSettings::defaultFormat()); + return ( theWrappedObject->absoluteFilePath()); } -void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) +void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) { - ( theWrappedObject->endArray()); + (QResource::addSearchPath(path)); } -void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) +QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const { - ( theWrappedObject->endGroup()); + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); } -bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const +const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const { - return ( theWrappedObject->fallbacksEnabled()); + return ( theWrappedObject->data()); } -QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const +QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const { return ( theWrappedObject->fileName()); } -QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const +bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->isCompressed()); } -QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const +bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const { - return ( theWrappedObject->group()); + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); } -QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const +bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const { - return ( theWrappedObject->iniCodec()); + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); } -bool PythonQtWrapper_QSettings::isAtomicSyncRequired(QSettings* theWrappedObject) const +bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const { - return ( theWrappedObject->isAtomicSyncRequired()); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const +QDateTime PythonQtWrapper_QResource::lastModified(QResource* theWrappedObject) const { - return ( theWrappedObject->isWritable()); + return ( theWrappedObject->lastModified()); } -QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const +QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const { - return ( theWrappedObject->organizationName()); + return ( theWrappedObject->locale()); } -void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) +bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) { - ( theWrappedObject->remove(key)); + return (QResource::registerResource(rccFilename, resourceRoot)); } -QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const +bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) { - return ( theWrappedObject->scope()); + return (QResource::registerResource(rccData, resourceRoot)); } -void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) +QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() { - ( theWrappedObject->setArrayIndex(i)); + return (QResource::searchPaths()); } -void PythonQtWrapper_QSettings::setAtomicSyncRequired(QSettings* theWrappedObject, bool enable) +void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) { - ( theWrappedObject->setAtomicSyncRequired(enable)); + ( theWrappedObject->setFileName(file)); } -void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) +void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) { - (QSettings::setDefaultFormat(format)); + ( theWrappedObject->setLocale(locale)); } -void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) +qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const { - ( theWrappedObject->setFallbacksEnabled(b)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) { - ( theWrappedObject->setIniCodec(codec)); + return (QResource::unregisterResource(rccFilename, resourceRoot)); } -void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) { - ( theWrappedObject->setIniCodec(codecName)); + return (QResource::unregisterResource(rccData, resourceRoot)); } -void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) + + +PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRunnable::run() { - (QSettings::setPath(format, scope, path)); +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(); + } + } } - -void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) -{ - ( theWrappedObject->setValue(key, value)); + } +QRunnable* PythonQtWrapper_QRunnable::new_QRunnable() +{ +return new PythonQtShell_QRunnable(); } -QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const +bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const { - return ( theWrappedObject->status()); + return ( theWrappedObject->autoDelete()); } -void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) +void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) { - ( theWrappedObject->sync()); + ( theWrappedObject->run()); } -QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const +void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) { - return ( theWrappedObject->value(key, defaultValue)); + ( theWrappedObject->setAutoDelete(_autoDelete)); } -PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { +PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSharedMemory::childEvent(QChildEvent* event0) +bool PythonQtShell_QSaveFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSharedMemory::childEvent(event0); + return QSaveFile::atEnd(); } -void PythonQtShell_QSharedMemory::customEvent(QEvent* event0) +qint64 PythonQtShell_QSaveFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSharedMemory::customEvent(event0); + return QSaveFile::bytesAvailable(); } -bool PythonQtShell_QSharedMemory::event(QEvent* event0) +qint64 PythonQtShell_QSaveFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4671,32 +4205,32 @@ if (_wrapper) { } } } - return QSharedMemory::event(event0); + return QSaveFile::bytesToWrite(); } -bool PythonQtShell_QSharedMemory::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSaveFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4704,21 +4238,21 @@ if (_wrapper) { } } } - return QSharedMemory::eventFilter(watched0, event1); + return QSaveFile::canReadLine(); } -void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* event0) +void PythonQtShell_QSaveFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4726,178 +4260,153 @@ if (_wrapper) { } } } - 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)); + QSaveFile::childEvent(event0); } - -void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) +void PythonQtShell_QSaveFile::customEvent(QEvent* event0) { - ( theWrappedObject->setNativeKey(key)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const -{ - return ( theWrappedObject->size()); + QSaveFile::customEvent(event0); } - -bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) +bool PythonQtShell_QSaveFile::event(QEvent* event0) { - return ( theWrappedObject->unlock()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSaveFile::event(event0); } -void PythonQtShell_QSignalMapper::childEvent(QChildEvent* 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("childEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSignalMapper::childEvent(event0); + return QSaveFile::eventFilter(watched0, event1); } -void PythonQtShell_QSignalMapper::customEvent(QEvent* event0) +QString PythonQtShell_QSaveFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSignalMapper::customEvent(event0); + return QSaveFile::fileName(); } -bool PythonQtShell_QSignalMapper::event(QEvent* event0) +bool PythonQtShell_QSaveFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4905,32 +4414,32 @@ if (_wrapper) { } } } - return QSignalMapper::event(event0); + return QSaveFile::isSequential(); } -bool PythonQtShell_QSignalMapper::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4938,166 +4447,131 @@ if (_wrapper) { } } } - return QSignalMapper::eventFilter(watched0, event1); + return QSaveFile::open(flags0); } -void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* event0) +QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("permissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QSaveFile::permissions(); } -void PythonQtShell_QSignalTransition::childEvent(QChildEvent* event0) +qint64 PythonQtShell_QSaveFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("pos"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSignalTransition::childEvent(event0); + return QSaveFile::pos(); } -void PythonQtShell_QSignalTransition::customEvent(QEvent* event0) +qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSignalTransition::customEvent(event0); + return QSaveFile::readData(data0, maxlen1); } -bool PythonQtShell_QSignalTransition::event(QEvent* e0) +qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("readLineData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5105,32 +4579,32 @@ if (_wrapper) { } } } - return QSignalTransition::event(e0); + return QSaveFile::readLineData(data0, maxlen1); } -bool PythonQtShell_QSignalTransition::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSaveFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5138,32 +4612,32 @@ if (_wrapper) { } } } - return QSignalTransition::eventFilter(watched0, event1); + return QSaveFile::reset(); } -bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) +bool PythonQtShell_QSaveFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); + static PyObject* name = PyString_FromString("resize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("eventTest", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5171,134 +4645,120 @@ if (_wrapper) { } } } - return QSignalTransition::eventTest(event0); + return QSaveFile::resize(sz0); } -void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) +bool PythonQtShell_QSaveFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); + static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSignalTransition::onTransition(event0); + return QSaveFile::seek(offset0); } -void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QSaveFile::setPermissions(permissionSpec0); } -void PythonQtShell_QSocketNotifier::childEvent(QChildEvent* event0) +qint64 PythonQtShell_QSaveFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSocketNotifier::childEvent(event0); + return QSaveFile::size(); } -void PythonQtShell_QSocketNotifier::customEvent(QEvent* event0) +void PythonQtShell_QSaveFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5306,32 +4766,32 @@ if (_wrapper) { } } } - QSocketNotifier::customEvent(event0); + QSaveFile::timerEvent(event0); } -bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) +bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5339,32 +4799,32 @@ if (_wrapper) { } } } - return QSocketNotifier::event(arg__1); + return QSaveFile::waitForBytesWritten(msecs0); } -bool PythonQtShell_QSocketNotifier::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5372,116 +4832,129 @@ if (_wrapper) { } } } - return QSocketNotifier::eventFilter(watched0, event1); + return QSaveFile::waitForReadyRead(msecs0); } -void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSocketNotifier::timerEvent(event0); + return QSaveFile::writeData(data0, len1); } -QSocketNotifier* PythonQtWrapper_QSocketNotifier::new_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent) +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(QObject* parent) +{ +return new PythonQtShell_QSaveFile(parent); } + +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name) { -return new PythonQtShell_QSocketNotifier(socket, arg__2, parent); } +return new PythonQtShell_QSaveFile(name); } + +QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name, QObject* parent) +{ +return new PythonQtShell_QSaveFile(name, parent); } -const QMetaObject* PythonQtShell_QSocketNotifier::metaObject() const { +const QMetaObject* PythonQtShell_QSaveFile::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSocketNotifier::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSaveFile::staticMetaObject); } else { - return &QSocketNotifier::staticMetaObject; + return &QSaveFile::staticMetaObject; } } -int PythonQtShell_QSocketNotifier::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSocketNotifier::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QSocketNotifier::isEnabled(QSocketNotifier* theWrappedObject) const +void PythonQtWrapper_QSaveFile::cancelWriting(QSaveFile* theWrappedObject) { - return ( theWrappedObject->isEnabled()); + ( theWrappedObject->cancelWriting()); } -qintptr PythonQtWrapper_QSocketNotifier::socket(QSocketNotifier* theWrappedObject) const +bool PythonQtWrapper_QSaveFile::commit(QSaveFile* theWrappedObject) { - return ( theWrappedObject->socket()); + return ( theWrappedObject->commit()); } -QSocketNotifier::Type PythonQtWrapper_QSocketNotifier::type(QSocketNotifier* theWrappedObject) const +bool PythonQtWrapper_QSaveFile::directWriteFallback(QSaveFile* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->directWriteFallback()); } - - -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_displayName(QStandardPaths::StandardLocation type) +void PythonQtWrapper_QSaveFile::setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled) { - return (QStandardPaths::displayName(type)); + ( theWrappedObject->setDirectWriteFallback(enabled)); } -void PythonQtWrapper_QStandardPaths::static_QStandardPaths_enableTestMode(bool testMode) +void PythonQtWrapper_QSaveFile::setFileName(QSaveFile* theWrappedObject, const QString& name) { - (QStandardPaths::enableTestMode(testMode)); + ( theWrappedObject->setFileName(name)); } -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) +QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n) +{ +return new QSemaphore(n); } + +void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) { - return (QStandardPaths::locate(type, fileName, options)); + ( theWrappedObject->acquire(n)); } -QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_locateAll(QStandardPaths::StandardLocation type, const QString& fileName, QStandardPaths::LocateOptions options) +int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const { - return (QStandardPaths::locateAll(type, fileName, options)); + return ( theWrappedObject->available()); } -void PythonQtWrapper_QStandardPaths::static_QStandardPaths_setTestModeEnabled(bool testMode) +void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) { - (QStandardPaths::setTestModeEnabled(testMode)); + ( theWrappedObject->release(n)); } -QStringList PythonQtWrapper_QStandardPaths::static_QStandardPaths_standardLocations(QStandardPaths::StandardLocation type) +bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) { - return (QStandardPaths::standardLocations(type)); + return ( theWrappedObject->tryAcquire(n)); } -QString PythonQtWrapper_QStandardPaths::static_QStandardPaths_writableLocation(QStandardPaths::StandardLocation type) +bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) { - return (QStandardPaths::writableLocation(type)); + return ( theWrappedObject->tryAcquire(n, timeout)); } -PythonQtShell_QState::~PythonQtShell_QState() { +PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QState::childEvent(QChildEvent* event0) +void PythonQtShell_QSequentialAnimationGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5493,7 +4966,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5501,9 +4974,9 @@ if (_wrapper) { } } } - QState::childEvent(event0); + QSequentialAnimationGroup::childEvent(event0); } -void PythonQtShell_QState::customEvent(QEvent* event0) +void PythonQtShell_QSequentialAnimationGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5515,7 +4988,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5523,32 +4996,32 @@ if (_wrapper) { } } } - QState::customEvent(event0); + QSequentialAnimationGroup::customEvent(event0); } -bool PythonQtShell_QState::event(QEvent* e0) +int PythonQtShell_QSequentialAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5556,32 +5029,32 @@ if (_wrapper) { } } } - return QState::event(e0); + return QSequentialAnimationGroup::duration(); } -bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5589,174 +5062,54 @@ if (_wrapper) { } } } - 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); + return QSequentialAnimationGroup::event(event0); } -void PythonQtShell_QState::timerEvent(QTimerEvent* 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("timerEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - 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()); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSequentialAnimationGroup::eventFilter(watched0, event1); } -void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) +void PythonQtShell_QSequentialAnimationGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginMicrostep"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5764,21 +5117,21 @@ if (_wrapper) { } } } - QStateMachine::beginMicrostep(event0); + QSequentialAnimationGroup::timerEvent(event0); } -void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) +void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginSelectTransitions"); + static PyObject* name = PyString_FromString("updateCurrentTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5786,21 +5139,21 @@ if (_wrapper) { } } } - QStateMachine::beginSelectTransitions(event0); + QSequentialAnimationGroup::updateCurrentTime(arg__1); } -void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) +void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5808,21 +5161,21 @@ if (_wrapper) { } } } - QStateMachine::childEvent(event0); + QSequentialAnimationGroup::updateDirection(direction0); } -void PythonQtShell_QStateMachine::customEvent(QEvent* event0) +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("customEvent"); + static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5830,21 +5183,59 @@ if (_wrapper) { } } } - QStateMachine::customEvent(event0); + 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_QStateMachine::endMicrostep(QEvent* event0) +void PythonQtShell_QSettings::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endMicrostep"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5852,21 +5243,21 @@ if (_wrapper) { } } } - QStateMachine::endMicrostep(event0); + QSettings::childEvent(event0); } -void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) +void PythonQtShell_QSettings::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endSelectTransitions"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5874,9 +5265,9 @@ if (_wrapper) { } } } - QStateMachine::endSelectTransitions(event0); + QSettings::customEvent(event0); } -bool PythonQtShell_QStateMachine::event(QEvent* e0) +bool PythonQtShell_QSettings::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5887,7 +5278,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -5899,7 +5290,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5907,9 +5298,9 @@ if (_wrapper) { } } } - return QStateMachine::event(e0); + return QSettings::event(event0); } -bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSettings::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5932,7 +5323,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5940,53 +5331,9 @@ if (_wrapper) { } } } - 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); + return QSettings::eventFilter(watched0, event1); } -void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) +void PythonQtShell_QSettings::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5998,7 +5345,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6006,132 +5353,204 @@ if (_wrapper) { } } } - QStateMachine::timerEvent(event0); + QSettings::timerEvent(event0); } -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) +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, 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_QStateMachine(parent); } +return new PythonQtShell_QSettings(fileName, format, parent); } -QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QState::ChildMode childMode, QObject* parent) +QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) { -return new PythonQtShell_QStateMachine(childMode, parent); } +return new PythonQtShell_QSettings(organization, application, parent); } -const QMetaObject* PythonQtShell_QStateMachine::metaObject() const { +const QMetaObject* PythonQtShell_QSettings::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStateMachine::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSettings::staticMetaObject); } else { - return &QStateMachine::staticMetaObject; + return &QSettings::staticMetaObject; } } -int PythonQtShell_QStateMachine::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStateMachine::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QStateMachine::addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +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) { - ( theWrappedObject->addDefaultAnimation(animation)); + return ( theWrappedObject->beginReadArray(prefix)); } -void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state) +void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) { - ( theWrappedObject->addState(state)); + ( theWrappedObject->beginWriteArray(prefix, size)); } -void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) +QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); + return ( theWrappedObject->childGroups()); } -void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); + return ( theWrappedObject->childKeys()); } -bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) +void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) { - return ( theWrappedObject->cancelDelayedEvent(id)); + ( theWrappedObject->clear()); } -void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) +bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const { - ( theWrappedObject->clearError()); + return ( theWrappedObject->contains(key)); } -QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const +QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() { - return ( theWrappedObject->configuration()); + return (QSettings::defaultFormat()); } -QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const +void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) { - return ( theWrappedObject->defaultAnimations()); + ( theWrappedObject->endArray()); } -void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) +void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); + ( theWrappedObject->endGroup()); } -void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) +bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); + return ( theWrappedObject->fallbacksEnabled()); } -QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const +QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const { - return ( theWrappedObject->error()); + 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)); } -QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const +void PythonQtWrapper_QSettings::setAtomicSyncRequired(QSettings* theWrappedObject, bool enable) { - return ( theWrappedObject->errorString()); + ( theWrappedObject->setAtomicSyncRequired(enable)); } -QState::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const +void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) { - return ( theWrappedObject->globalRestorePolicy()); + (QSettings::setDefaultFormat(format)); } -bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const +void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) { - return ( theWrappedObject->isAnimated()); + ( theWrappedObject->setFallbacksEnabled(b)); } -bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const +void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) { - return ( theWrappedObject->isRunning()); + ( theWrappedObject->setIniCodec(codec)); } -int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) +void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) { - return ( theWrappedObject->postDelayedEvent(event, delay)); + ( theWrappedObject->setIniCodec(codecName)); } -void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) +void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) { - ( theWrappedObject->postEvent(event, priority)); + (QSettings::setPath(format, scope, path)); } -void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) +void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) { - ( theWrappedObject->removeDefaultAnimation(animation)); + ( theWrappedObject->setValue(key, value)); } -void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state) +QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const { - ( theWrappedObject->removeState(state)); + return ( theWrappedObject->status()); } -void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) +void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) { - ( theWrappedObject->setAnimated(enabled)); + ( theWrappedObject->sync()); } -void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) +QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const { - ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); + return ( theWrappedObject->value(key, defaultValue)); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.h index 31ee244a..71c9ac76 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core2.h @@ -1,21 +1,26 @@ #include #include #include +#include #include #include #include #include -#include -#include #include #include #include #include #include #include +#include +#include #include #include #include +#include +#include +#include +#include #include #include #include @@ -33,18 +38,295 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include #include #include #include +#include #include -#include + + + +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 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; + 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); +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); + 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); + 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(); } +}; + + @@ -106,14 +388,14 @@ class PythonQtWrapper_QMutexLocker : public QObject { Q_OBJECT public: public slots: -QMutexLocker* new_QMutexLocker(QMutex* arg__1); +QMutexLocker* new_QMutexLocker(QBasicMutex* 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(); } + void __enter__(QMutexLocker* /*self*/) {} + void __exit__(QMutexLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } }; @@ -136,7 +418,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QObject : public QObject @@ -205,7 +487,7 @@ class PythonQtShell_QOperatingSystemVersion : public QOperatingSystemVersion ~PythonQtShell_QOperatingSystemVersion(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOperatingSystemVersion : public QObject @@ -223,6 +505,10 @@ void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; 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*); @@ -251,7 +537,7 @@ void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QParallelAnimationGroup : public QParallelAnimationGroup @@ -304,7 +590,7 @@ void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPauseAnimation : public QPauseAnimation @@ -398,7 +684,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProcess : public QProcess @@ -539,7 +825,7 @@ void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPropertyAnimation : public QPropertyAnimation @@ -578,6 +864,7 @@ class PythonQtWrapper_QRandomGenerator : public QObject 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); @@ -593,8 +880,10 @@ void delete_QRandomGenerator(QRandomGenerator* obj) { delete obj; } 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(); @@ -610,6 +899,7 @@ class PythonQtWrapper_QRandomGenerator64 : public QObject 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); @@ -626,6 +916,25 @@ void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } +class PythonQtWrapper_QReadLocker : public QObject +{ Q_OBJECT +public: +public slots: +QReadLocker* new_QReadLocker(QReadWriteLock* readWriteLock); +void delete_QReadLocker(QReadLocker* obj) { delete obj; } + QReadWriteLock* readWriteLock(QReadLocker* theWrappedObject) const; + void relock(QReadLocker* theWrappedObject); + void unlock(QReadLocker* theWrappedObject); + + void __enter__(QReadLocker* /*self*/) {} + void __exit__(QReadLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } + +}; + + + + + class PythonQtWrapper_QReadWriteLock : public QObject { Q_OBJECT public: @@ -648,55 +957,6 @@ void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } -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; - QRegularExpressionMatchIterator globalMatch(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, 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; - QRegularExpressionMatch match(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, 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_QRegularExpressionMatch : public QObject { Q_OBJECT public: @@ -715,6 +975,8 @@ void delete_QRegularExpressionMatch(QRegularExpressionMatch* obj) { delete obj; 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; @@ -763,7 +1025,7 @@ class PythonQtShell_QResource : public QResource ~PythonQtShell_QResource(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QResource : public QResource @@ -814,7 +1076,7 @@ class PythonQtShell_QRunnable : public QRunnable void run() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRunnable : public QRunnable @@ -874,7 +1136,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSaveFile : public QSaveFile @@ -943,7 +1205,7 @@ void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSequentialAnimationGroup : public QSequentialAnimationGroup @@ -998,7 +1260,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSettings : public QSettings @@ -1054,364 +1316,3 @@ void delete_QSettings(QSettings* obj) { delete obj; } }; - - - -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 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}; -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); -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.cpp index 54f56eff..b085d4b2 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.cpp @@ -2,15 +2,15 @@ #include #include #include -#include #include #include -#include +#include +#include +#include #include #include #include #include -#include #include #include #include @@ -18,11 +18,15 @@ #include #include #include -#include #include #include -#include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -41,461 +45,334 @@ #include #include #include -#include -#include -#include +#include -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()); +PythonQtShell_QSharedMemory::~PythonQtShell_QSharedMemory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const +void PythonQtShell_QSharedMemory::childEvent(QChildEvent* event0) { - return ( theWrappedObject->sender()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QStateMachine__SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const -{ - return ( theWrappedObject->signalIndex()); + QSharedMemory::childEvent(event0); } - - - -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 +void PythonQtShell_QSharedMemory::customEvent(QEvent* event0) { - return ( theWrappedObject->event()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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* PythonQtWrapper_QStateMachine__WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const -{ - return ( theWrappedObject->object()); + QSharedMemory::customEvent(event0); } - - - -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 +bool PythonQtShell_QSharedMemory::event(QEvent* event0) { - return ( theWrappedObject->blockSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qint64 PythonQtWrapper_QStorageInfo::bytesAvailable(QStorageInfo* theWrappedObject) const -{ - return ( theWrappedObject->bytesAvailable()); + return QSharedMemory::event(event0); } - -qint64 PythonQtWrapper_QStorageInfo::bytesFree(QStorageInfo* theWrappedObject) const +bool PythonQtShell_QSharedMemory::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->bytesFree()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qint64 PythonQtWrapper_QStorageInfo::bytesTotal(QStorageInfo* theWrappedObject) const -{ - return ( theWrappedObject->bytesTotal()); + return QSharedMemory::eventFilter(watched0, event1); } - -QByteArray PythonQtWrapper_QStorageInfo::device(QStorageInfo* theWrappedObject) const +void PythonQtShell_QSharedMemory::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->device()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QStorageInfo::displayName(QStorageInfo* theWrappedObject) const -{ - return ( theWrappedObject->displayName()); + QSharedMemory::timerEvent(event0); } +QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(QObject* parent) +{ +return new PythonQtShell_QSharedMemory(parent); } -QByteArray PythonQtWrapper_QStorageInfo::fileSystemType(QStorageInfo* theWrappedObject) const -{ - return ( theWrappedObject->fileSystemType()); -} +QSharedMemory* PythonQtWrapper_QSharedMemory::new_QSharedMemory(const QString& key, QObject* parent) +{ +return new PythonQtShell_QSharedMemory(key, parent); } -bool PythonQtWrapper_QStorageInfo::isReadOnly(QStorageInfo* theWrappedObject) const -{ - return ( theWrappedObject->isReadOnly()); +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; + } } - -bool PythonQtWrapper_QStorageInfo::isReady(QStorageInfo* theWrappedObject) const +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->isReady()); + return ( theWrappedObject->attach(mode)); } -bool PythonQtWrapper_QStorageInfo::isRoot(QStorageInfo* theWrappedObject) const +const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const { - return ( theWrappedObject->isRoot()); + return ( theWrappedObject->constData()); } -bool PythonQtWrapper_QStorageInfo::isValid(QStorageInfo* theWrappedObject) const +bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->create(size, mode)); } -QList PythonQtWrapper_QStorageInfo::static_QStorageInfo_mountedVolumes() +void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) { - return (QStorageInfo::mountedVolumes()); + return ( theWrappedObject->data()); } -QString PythonQtWrapper_QStorageInfo::name(QStorageInfo* theWrappedObject) const +const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const { - return ( theWrappedObject->name()); + return ( theWrappedObject->data()); } -bool PythonQtWrapper_QStorageInfo::__ne__(QStorageInfo* theWrappedObject, const QStorageInfo& second) +QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const { - return ( (*theWrappedObject)!= second); + return ( theWrappedObject->error()); } -QStorageInfo* PythonQtWrapper_QStorageInfo::operator_assign(QStorageInfo* theWrappedObject, const QStorageInfo& other) +QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->errorString()); } -bool PythonQtWrapper_QStorageInfo::__eq__(QStorageInfo* theWrappedObject, const QStorageInfo& second) +bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const { - return ( (*theWrappedObject)== second); + return ( theWrappedObject->isAttached()); } -void PythonQtWrapper_QStorageInfo::refresh(QStorageInfo* theWrappedObject) +QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const { - ( theWrappedObject->refresh()); + return ( theWrappedObject->key()); } -QStorageInfo PythonQtWrapper_QStorageInfo::static_QStorageInfo_root() +bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) { - return (QStorageInfo::root()); + return ( theWrappedObject->lock()); } -QString PythonQtWrapper_QStorageInfo::rootPath(QStorageInfo* theWrappedObject) const +QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const { - return ( theWrappedObject->rootPath()); + return ( theWrappedObject->nativeKey()); } -void PythonQtWrapper_QStorageInfo::setPath(QStorageInfo* theWrappedObject, const QString& path) +void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) { - ( theWrappedObject->setPath(path)); + ( theWrappedObject->setKey(key)); } -QByteArray PythonQtWrapper_QStorageInfo::subvolume(QStorageInfo* theWrappedObject) const +void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) { - return ( theWrappedObject->subvolume()); + ( theWrappedObject->setNativeKey(key)); } -void PythonQtWrapper_QStorageInfo::swap(QStorageInfo* theWrappedObject, QStorageInfo& other) +int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->size()); } -QString PythonQtWrapper_QStorageInfo::py_toString(QStorageInfo* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) +{ + return ( theWrappedObject->unlock()); } -QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher() -{ -return new QStringMatcher(); } - -QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs) +QSignalBlocker* PythonQtWrapper_QSignalBlocker::new_QSignalBlocker(QObject& o) { -return new QStringMatcher(pattern, cs); } +return new QSignalBlocker(o); } -QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other) +QSignalBlocker* PythonQtWrapper_QSignalBlocker::new_QSignalBlocker(QObject* o) { -return new QStringMatcher(other); } - -Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const -{ - return ( theWrappedObject->caseSensitivity()); -} - -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()); -} +return new QSignalBlocker(o); } -void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) +void PythonQtWrapper_QSignalBlocker::reblock(QSignalBlocker* theWrappedObject) { - ( theWrappedObject->setCaseSensitivity(cs)); + ( theWrappedObject->reblock()); } -void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) +void PythonQtWrapper_QSignalBlocker::unblock(QSignalBlocker* theWrappedObject) { - ( theWrappedObject->setPattern(pattern)); + ( theWrappedObject->unblock()); } -PythonQtShell_QSysInfo::~PythonQtShell_QSysInfo() { +PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { 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 +void PythonQtShell_QSignalMapper::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::atEnd(); + QSignalMapper::childEvent(event0); } -qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const +void PythonQtShell_QSignalMapper::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::bytesAvailable(); + QSignalMapper::customEvent(event0); } -qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const +bool PythonQtShell_QSignalMapper::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -503,32 +380,32 @@ if (_wrapper) { } } } - return QTemporaryFile::bytesToWrite(); + return QSignalMapper::event(event0); } -bool PythonQtShell_QTemporaryFile::canReadLine() const +bool PythonQtShell_QSignalMapper::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -536,21 +413,21 @@ if (_wrapper) { } } } - return QTemporaryFile::canReadLine(); + return QSignalMapper::eventFilter(watched0, event1); } -void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* event0) +void PythonQtShell_QSignalMapper::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -558,43 +435,89 @@ if (_wrapper) { } } } - QTemporaryFile::childEvent(event0); + QSignalMapper::timerEvent(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(); - } +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; } } - QTemporaryFile::close(); +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; } -void PythonQtShell_QTemporaryFile::customEvent(QEvent* event0) +QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -602,65 +525,54 @@ if (_wrapper) { } } } - QTemporaryFile::customEvent(event0); + QSignalTransition::childEvent(event0); } -bool PythonQtShell_QTemporaryFile::event(QEvent* event0) +void PythonQtShell_QSignalTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::event(event0); + QSignalTransition::customEvent(event0); } -bool PythonQtShell_QTemporaryFile::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSignalTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -668,32 +580,32 @@ if (_wrapper) { } } } - return QTemporaryFile::eventFilter(watched0, event1); + return QSignalTransition::event(e0); } -QString PythonQtShell_QTemporaryFile::fileName() const +bool PythonQtShell_QSignalTransition::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("uniqueFilename"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -701,32 +613,32 @@ if (_wrapper) { } } } - return QTemporaryFile::fileName(); + return QSignalTransition::eventFilter(watched0, event1); } -bool PythonQtShell_QTemporaryFile::isSequential() const +bool PythonQtShell_QSignalTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -734,164 +646,167 @@ if (_wrapper) { } } } - return QTemporaryFile::isSequential(); + return QSignalTransition::eventTest(event0); } -bool PythonQtShell_QTemporaryFile::open(QIODevice::OpenMode flags0) +void PythonQtShell_QSignalTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); + static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::open(flags0); + QSignalTransition::onTransition(event0); } -QFileDevice::Permissions PythonQtShell_QTemporaryFile::permissions() const +void PythonQtShell_QSignalTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("permissions"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::permissions(); + QSignalTransition::timerEvent(event0); } -qint64 PythonQtShell_QTemporaryFile::pos() const +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("pos"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::pos(); + QSocketNotifier::childEvent(event0); } -qint64 PythonQtShell_QTemporaryFile::readData(char* data0, qint64 maxlen1) +void PythonQtShell_QSocketNotifier::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::readData(data0, maxlen1); + QSocketNotifier::customEvent(event0); } -qint64 PythonQtShell_QTemporaryFile::readLineData(char* data0, qint64 maxlen1) +bool PythonQtShell_QSocketNotifier::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("event"); 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}; + 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("readLineData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -899,32 +814,32 @@ if (_wrapper) { } } } - return QTemporaryFile::readLineData(data0, maxlen1); + return QSocketNotifier::event(arg__1); } -bool PythonQtShell_QTemporaryFile::reset() +bool PythonQtShell_QSocketNotifier::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -932,131 +847,183 @@ if (_wrapper) { } } } - return QTemporaryFile::reset(); + return QSocketNotifier::eventFilter(watched0, event1); } -bool PythonQtShell_QTemporaryFile::resize(qint64 sz0) +void PythonQtShell_QSocketNotifier::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&sz0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::resize(sz0); + QSocketNotifier::timerEvent(event0); } -bool PythonQtShell_QTemporaryFile::seek(qint64 offset0) +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("seek"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::seek(offset0); + QState::childEvent(event0); } -bool PythonQtShell_QTemporaryFile::setPermissions(QFileDevice::Permissions permissionSpec0) +void PythonQtShell_QState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&permissionSpec0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::setPermissions(permissionSpec0); + QState::customEvent(event0); } -qint64 PythonQtShell_QTemporaryFile::size() const +bool PythonQtShell_QState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("event"); 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}; + 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("size", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1064,312 +1031,350 @@ if (_wrapper) { } } } - return QTemporaryFile::size(); + return QState::event(e0); } -void PythonQtShell_QTemporaryFile::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QState::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTemporaryFile::timerEvent(event0); + return QState::eventFilter(watched0, event1); } -bool PythonQtShell_QTemporaryFile::waitForBytesWritten(int msecs0) +void PythonQtShell_QState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::waitForBytesWritten(msecs0); + QState::onEntry(event0); } -bool PythonQtShell_QTemporaryFile::waitForReadyRead(int msecs0) +void PythonQtShell_QState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("onExit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::waitForReadyRead(msecs0); + QState::onExit(event0); } -qint64 PythonQtShell_QTemporaryFile::writeData(const char* data0, qint64 len1) +void PythonQtShell_QState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTemporaryFile::writeData(data0, len1); + QState::timerEvent(event0); } -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) +QState* PythonQtWrapper_QState::new_QState(QState* parent) { -return new PythonQtShell_QTemporaryFile(templateName); } +return new PythonQtShell_QState(parent); } -QTemporaryFile* PythonQtWrapper_QTemporaryFile::new_QTemporaryFile(const QString& templateName, QObject* parent) +QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) { -return new PythonQtShell_QTemporaryFile(templateName, parent); } +return new PythonQtShell_QState(childMode, parent); } -const QMetaObject* PythonQtShell_QTemporaryFile::metaObject() const { +const QMetaObject* PythonQtShell_QState::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTemporaryFile::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QState::staticMetaObject); } else { - return &QTemporaryFile::staticMetaObject; + return &QState::staticMetaObject; } } -int PythonQtShell_QTemporaryFile::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTemporaryFile::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QTemporaryFile::autoRemove(QTemporaryFile* theWrappedObject) const +QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target) { - return ( theWrappedObject->autoRemove()); + return ( theWrappedObject->addTransition(target)); } -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(QFile& file) +void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) { - return (QTemporaryFile::createLocalFile(file)); + ( theWrappedObject->addTransition(transition)); } -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createLocalFile(const QString& fileName) +QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) { - return (QTemporaryFile::createLocalFile(fileName)); + return ( theWrappedObject->addTransition(sender, signal, target)); } -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createNativeFile(QFile& file) +void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) { - return (QTemporaryFile::createNativeFile(file)); + ( theWrappedObject->assignProperty(object, name, value)); } -QTemporaryFile* PythonQtWrapper_QTemporaryFile::static_QTemporaryFile_createNativeFile(const QString& fileName) +QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const { - return (QTemporaryFile::createNativeFile(fileName)); + return ( theWrappedObject->childMode()); } -QString PythonQtWrapper_QTemporaryFile::fileName(QTemporaryFile* theWrappedObject) const +QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->errorState()); } -QString PythonQtWrapper_QTemporaryFile::fileTemplate(QTemporaryFile* theWrappedObject) const +QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const { - return ( theWrappedObject->fileTemplate()); + return ( theWrappedObject->initialState()); } -bool PythonQtWrapper_QTemporaryFile::open(QTemporaryFile* theWrappedObject) +void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition) { - return ( theWrappedObject->open()); + ( theWrappedObject->removeTransition(transition)); } -bool PythonQtWrapper_QTemporaryFile::rename(QTemporaryFile* theWrappedObject, const QString& newName) +void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) { - return ( theWrappedObject->rename(newName)); + ( theWrappedObject->setChildMode(mode)); } -void PythonQtWrapper_QTemporaryFile::setAutoRemove(QTemporaryFile* theWrappedObject, bool b) +void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) { - ( theWrappedObject->setAutoRemove(b)); + ( theWrappedObject->setErrorState(state)); } -void PythonQtWrapper_QTemporaryFile::setFileTemplate(QTemporaryFile* theWrappedObject, const QString& name) +void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) { - ( theWrappedObject->setFileTemplate(name)); + ( theWrappedObject->setInitialState(state)); } +QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const +{ + return ( theWrappedObject->transitions()); +} -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()); +PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -bool PythonQtWrapper_QTextBoundaryFinder::isAtBoundary(QTextBoundaryFinder* theWrappedObject) const +void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) { - return ( theWrappedObject->isAtBoundary()); +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(); + } + } } - -bool PythonQtWrapper_QTextBoundaryFinder::isValid(QTextBoundaryFinder* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + QStateMachine::beginMicrostep(event0); } - -int PythonQtWrapper_QTextBoundaryFinder::position(QTextBoundaryFinder* theWrappedObject) const +void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) { - return ( theWrappedObject->position()); +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(); + } + } } - -void PythonQtWrapper_QTextBoundaryFinder::setPosition(QTextBoundaryFinder* theWrappedObject, int position) -{ - ( theWrappedObject->setPosition(position)); + QStateMachine::beginSelectTransitions(event0); } - -QString PythonQtWrapper_QTextBoundaryFinder::string(QTextBoundaryFinder* theWrappedObject) const +void PythonQtShell_QStateMachine::childEvent(QChildEvent* event0) { - return ( theWrappedObject->string()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBoundaryFinder::toEnd(QTextBoundaryFinder* theWrappedObject) -{ - ( theWrappedObject->toEnd()); + QStateMachine::childEvent(event0); } - -int PythonQtWrapper_QTextBoundaryFinder::toNextBoundary(QTextBoundaryFinder* theWrappedObject) +void PythonQtShell_QStateMachine::customEvent(QEvent* event0) { - return ( theWrappedObject->toNextBoundary()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextBoundaryFinder::toPreviousBoundary(QTextBoundaryFinder* theWrappedObject) -{ - return ( theWrappedObject->toPreviousBoundary()); + QStateMachine::customEvent(event0); } - -void PythonQtWrapper_QTextBoundaryFinder::toStart(QTextBoundaryFinder* theWrappedObject) +void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) { - ( theWrappedObject->toStart()); +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(); + } + } } - -QTextBoundaryFinder::BoundaryType PythonQtWrapper_QTextBoundaryFinder::type(QTextBoundaryFinder* theWrappedObject) const + QStateMachine::endMicrostep(event0); +} +void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) { - return ( theWrappedObject->type()); +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(); + } + } } - - - -PythonQtShell_QTextCodec::~PythonQtShell_QTextCodec() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QStateMachine::endSelectTransitions(event0); } -QList PythonQtShell_QTextCodec::aliases() const +bool PythonQtShell_QStateMachine::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("aliases"); + static PyObject* name = PyString_FromString("event"); 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}; + 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("aliases", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1377,32 +1382,32 @@ if (_wrapper) { } } } - return QTextCodec::aliases(); + return QStateMachine::event(e0); } -QByteArray PythonQtShell_QTextCodec::convertFromUnicode(const QChar* in0, int length1, QTextCodec::ConverterState* state2) const +bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("convertFromUnicode"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QByteArray*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1410,618 +1415,653 @@ if (_wrapper) { } } } - return QByteArray(); + return QStateMachine::eventFilter(watched0, event1); } -QString PythonQtShell_QTextCodec::convertToUnicode(const char* in0, int length1, QTextCodec::ConverterState* state2) const +void PythonQtShell_QStateMachine::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("convertToUnicode"); + static PyObject* name = PyString_FromString("onEntry"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QString(); + QStateMachine::onEntry(event0); } -int PythonQtShell_QTextCodec::mibEnum() const +void PythonQtShell_QStateMachine::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mibEnum"); + static PyObject* name = PyString_FromString("onExit"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return int(); + QStateMachine::onExit(event0); } -QByteArray PythonQtShell_QTextCodec::name() const +void PythonQtShell_QStateMachine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("name"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QByteArray(); + QStateMachine::timerEvent(event0); } -QTextCodec* PythonQtWrapper_QTextCodec::new_QTextCodec() +QStateMachine* PythonQtWrapper_QStateMachine::new_QStateMachine(QObject* parent) { -return new PythonQtShell_QTextCodec(); } +return new PythonQtShell_QStateMachine(parent); } -QList PythonQtWrapper_QTextCodec::aliases(QTextCodec* theWrappedObject) const +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) { - return ( theWrappedObject->aliases()); + ( theWrappedObject->addDefaultAnimation(animation)); } -QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableCodecs() +void PythonQtWrapper_QStateMachine::addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state) { - return (QTextCodec::availableCodecs()); + ( theWrappedObject->addState(state)); } -QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableMibs() +void PythonQtWrapper_QStateMachine::beginMicrostep(QStateMachine* theWrappedObject, QEvent* event) { - return (QTextCodec::availableMibs()); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginMicrostep(event)); } -bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, QChar arg__1) const +void PythonQtWrapper_QStateMachine::beginSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) { - return ( theWrappedObject->canEncode(arg__1)); -} - -bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const -{ - return ( theWrappedObject->canEncode(arg__1)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_beginSelectTransitions(event)); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba) +bool PythonQtWrapper_QStateMachine::cancelDelayedEvent(QStateMachine* theWrappedObject, int id) { - return (QTextCodec::codecForHtml(ba)); + return ( theWrappedObject->cancelDelayedEvent(id)); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba, QTextCodec* defaultCodec) +void PythonQtWrapper_QStateMachine::clearError(QStateMachine* theWrappedObject) { - return (QTextCodec::codecForHtml(ba, defaultCodec)); + ( theWrappedObject->clearError()); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForLocale() +QSet PythonQtWrapper_QStateMachine::configuration(QStateMachine* theWrappedObject) const { - return (QTextCodec::codecForLocale()); + return ( theWrappedObject->configuration()); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForMib(int mib) +QList PythonQtWrapper_QStateMachine::defaultAnimations(QStateMachine* theWrappedObject) const { - return (QTextCodec::codecForMib(mib)); + return ( theWrappedObject->defaultAnimations()); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const QByteArray& name) +void PythonQtWrapper_QStateMachine::endMicrostep(QStateMachine* theWrappedObject, QEvent* event) { - return (QTextCodec::codecForName(name)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endMicrostep(event)); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForName(const char* name) +void PythonQtWrapper_QStateMachine::endSelectTransitions(QStateMachine* theWrappedObject, QEvent* event) { - return (QTextCodec::codecForName(name)); + ( ((PythonQtPublicPromoter_QStateMachine*)theWrappedObject)->promoted_endSelectTransitions(event)); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba) +QStateMachine::Error PythonQtWrapper_QStateMachine::error(QStateMachine* theWrappedObject) const { - return (QTextCodec::codecForUtfText(ba)); + return ( theWrappedObject->error()); } -QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForUtfText(const QByteArray& ba, QTextCodec* defaultCodec) +QString PythonQtWrapper_QStateMachine::errorString(QStateMachine* theWrappedObject) const { - return (QTextCodec::codecForUtfText(ba, defaultCodec)); + return ( theWrappedObject->errorString()); } -QByteArray PythonQtWrapper_QTextCodec::convertFromUnicode(QTextCodec* theWrappedObject, const QChar* in, int length, QTextCodec::ConverterState* state) const +QState::RestorePolicy PythonQtWrapper_QStateMachine::globalRestorePolicy(QStateMachine* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_convertFromUnicode(in, length, state)); + return ( theWrappedObject->globalRestorePolicy()); } -QString PythonQtWrapper_QTextCodec::convertToUnicode(QTextCodec* theWrappedObject, const char* in, int length, QTextCodec::ConverterState* state) const +bool PythonQtWrapper_QStateMachine::isAnimated(QStateMachine* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTextCodec*)theWrappedObject)->promoted_convertToUnicode(in, length, state)); + return ( theWrappedObject->isAnimated()); } -QByteArray PythonQtWrapper_QTextCodec::fromUnicode(QTextCodec* theWrappedObject, const QString& uc) const +bool PythonQtWrapper_QStateMachine::isRunning(QStateMachine* theWrappedObject) const { - return ( theWrappedObject->fromUnicode(uc)); + return ( theWrappedObject->isRunning()); } -QTextDecoder* PythonQtWrapper_QTextCodec::makeDecoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags) const +int PythonQtWrapper_QStateMachine::postDelayedEvent(QStateMachine* theWrappedObject, QEvent* event, int delay) { - return ( theWrappedObject->makeDecoder(flags)); + return ( theWrappedObject->postDelayedEvent(event, delay)); } -QTextEncoder* PythonQtWrapper_QTextCodec::makeEncoder(QTextCodec* theWrappedObject, QTextCodec::ConversionFlags flags) const +void PythonQtWrapper_QStateMachine::postEvent(QStateMachine* theWrappedObject, QEvent* event, QStateMachine::EventPriority priority) { - return ( theWrappedObject->makeEncoder(flags)); + ( theWrappedObject->postEvent(event, priority)); } -int PythonQtWrapper_QTextCodec::mibEnum(QTextCodec* theWrappedObject) const +void PythonQtWrapper_QStateMachine::removeDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation) { - return ( theWrappedObject->mibEnum()); + ( theWrappedObject->removeDefaultAnimation(animation)); } -QByteArray PythonQtWrapper_QTextCodec::name(QTextCodec* theWrappedObject) const +void PythonQtWrapper_QStateMachine::removeState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToPython state) { - return ( theWrappedObject->name()); + ( theWrappedObject->removeState(state)); } -void PythonQtWrapper_QTextCodec::static_QTextCodec_setCodecForLocale(QTextCodec* c) +void PythonQtWrapper_QStateMachine::setAnimated(QStateMachine* theWrappedObject, bool enabled) { - (QTextCodec::setCodecForLocale(c)); + ( theWrappedObject->setAnimated(enabled)); } -QString PythonQtWrapper_QTextCodec::toUnicode(QTextCodec* theWrappedObject, const QByteArray& arg__1) const +void PythonQtWrapper_QStateMachine::setGlobalRestorePolicy(QStateMachine* theWrappedObject, QState::RestorePolicy restorePolicy) { - return ( theWrappedObject->toUnicode(arg__1)); + ( theWrappedObject->setGlobalRestorePolicy(restorePolicy)); } -QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec) -{ -return new QTextDecoder(codec); } - -QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) +QStateMachine::SignalEvent* PythonQtWrapper_QStateMachine__SignalEvent::new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments) { -return new QTextDecoder(codec, flags); } +return new QStateMachine::SignalEvent(sender, signalIndex, arguments); } -bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const +QList PythonQtWrapper_QStateMachine__SignalEvent::arguments(QStateMachine::SignalEvent* theWrappedObject) const { - return ( theWrappedObject->hasFailure()); + return ( theWrappedObject->arguments()); } -bool PythonQtWrapper_QTextDecoder::needsMoreData(QTextDecoder* theWrappedObject) const +QObject* PythonQtWrapper_QStateMachine__SignalEvent::sender(QStateMachine::SignalEvent* theWrappedObject) const { - return ( theWrappedObject->needsMoreData()); + return ( theWrappedObject->sender()); } -QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba) +int PythonQtWrapper_QStateMachine__SignalEvent::signalIndex(QStateMachine::SignalEvent* theWrappedObject) const { - return ( theWrappedObject->toUnicode(ba)); + return ( theWrappedObject->signalIndex()); } -QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) -{ -return new QTextEncoder(codec); } - -QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec, QTextCodec::ConversionFlags flags) +QStateMachine::WrappedEvent* PythonQtWrapper_QStateMachine__WrappedEvent::new_QStateMachine__WrappedEvent(QObject* object, QEvent* event) { -return new QTextEncoder(codec, flags); } +return new QStateMachine::WrappedEvent(object, event); } -QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) +QEvent* PythonQtWrapper_QStateMachine__WrappedEvent::event(QStateMachine::WrappedEvent* theWrappedObject) const { - return ( theWrappedObject->fromUnicode(str)); + return ( theWrappedObject->event()); } -bool PythonQtWrapper_QTextEncoder::hasFailure(QTextEncoder* theWrappedObject) const +QObject* PythonQtWrapper_QStateMachine__WrappedEvent::object(QStateMachine::WrappedEvent* theWrappedObject) const { - return ( theWrappedObject->hasFailure()); + return ( theWrappedObject->object()); } -PythonQtShell_QTextStream::~PythonQtShell_QTextStream() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextStream* PythonQtWrapper_QTextStream::new_QTextStream() +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo() { -return new PythonQtShell_QTextStream(); } +return new QStorageInfo(); } -QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(QIODevice* device) +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QDir& dir) { -return new PythonQtShell_QTextStream(device); } +return new QStorageInfo(dir); } -QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode) +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QStorageInfo& other) { -return new PythonQtShell_QTextStream(array, openMode); } +return new QStorageInfo(other); } -bool PythonQtWrapper_QTextStream::atEnd(QTextStream* theWrappedObject) const +QStorageInfo* PythonQtWrapper_QStorageInfo::new_QStorageInfo(const QString& path) +{ +return new QStorageInfo(path); } + +int PythonQtWrapper_QStorageInfo::blockSize(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->atEnd()); + return ( theWrappedObject->blockSize()); } -bool PythonQtWrapper_QTextStream::autoDetectUnicode(QTextStream* theWrappedObject) const +qint64 PythonQtWrapper_QStorageInfo::bytesAvailable(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->autoDetectUnicode()); + return ( theWrappedObject->bytesAvailable()); } -QTextCodec* PythonQtWrapper_QTextStream::codec(QTextStream* theWrappedObject) const +qint64 PythonQtWrapper_QStorageInfo::bytesFree(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->codec()); + return ( theWrappedObject->bytesFree()); } -QIODevice* PythonQtWrapper_QTextStream::device(QTextStream* theWrappedObject) const +qint64 PythonQtWrapper_QStorageInfo::bytesTotal(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->bytesTotal()); } -QTextStream::FieldAlignment PythonQtWrapper_QTextStream::fieldAlignment(QTextStream* theWrappedObject) const +QByteArray PythonQtWrapper_QStorageInfo::device(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->fieldAlignment()); + return ( theWrappedObject->device()); } -int PythonQtWrapper_QTextStream::fieldWidth(QTextStream* theWrappedObject) const +QString PythonQtWrapper_QStorageInfo::displayName(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->fieldWidth()); + return ( theWrappedObject->displayName()); } -void PythonQtWrapper_QTextStream::flush(QTextStream* theWrappedObject) +QByteArray PythonQtWrapper_QStorageInfo::fileSystemType(QStorageInfo* theWrappedObject) const { - ( theWrappedObject->flush()); + return ( theWrappedObject->fileSystemType()); } -bool PythonQtWrapper_QTextStream::generateByteOrderMark(QTextStream* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::isReadOnly(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->generateByteOrderMark()); + return ( theWrappedObject->isReadOnly()); } -int PythonQtWrapper_QTextStream::integerBase(QTextStream* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::isReady(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->integerBase()); + return ( theWrappedObject->isReady()); } -QLocale PythonQtWrapper_QTextStream::locale(QTextStream* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::isRoot(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->locale()); + return ( theWrappedObject->isRoot()); } -QTextStream::NumberFlags PythonQtWrapper_QTextStream::numberFlags(QTextStream* theWrappedObject) const +bool PythonQtWrapper_QStorageInfo::isValid(QStorageInfo* theWrappedObject) const { - return ( theWrappedObject->numberFlags()); + return ( theWrappedObject->isValid()); } -QTextStream* PythonQtWrapper_QTextStream::__lshift__(QTextStream* theWrappedObject, QLatin1String s) +QList PythonQtWrapper_QStorageInfo::static_QStorageInfo_mountedVolumes() { - return &( (*theWrappedObject) <name()); } -QTextStream* PythonQtWrapper_QTextStream::__lshift__(QTextStream* theWrappedObject, const QStringRef& s) +bool PythonQtWrapper_QStorageInfo::__ne__(QStorageInfo* theWrappedObject, const QStorageInfo& second) { - return &( (*theWrappedObject) <refresh()); } -QTextStream* PythonQtWrapper_QTextStream::writeInt(QTextStream* theWrappedObject, signed int i) +QStorageInfo PythonQtWrapper_QStorageInfo::static_QStorageInfo_root() { - return &( (*theWrappedObject) <rootPath()); } -QTextStream* PythonQtWrapper_QTextStream::readByte(QTextStream* theWrappedObject, char& ch) +void PythonQtWrapper_QStorageInfo::setPath(QStorageInfo* theWrappedObject, const QString& path) { - return &( (*theWrappedObject) >>ch); + ( theWrappedObject->setPath(path)); } -QTextStream* PythonQtWrapper_QTextStream::readDouble(QTextStream* theWrappedObject, double& f) +QByteArray PythonQtWrapper_QStorageInfo::subvolume(QStorageInfo* theWrappedObject) const { - return &( (*theWrappedObject) >>f); + return ( theWrappedObject->subvolume()); } -QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) +void PythonQtWrapper_QStorageInfo::swap(QStorageInfo* theWrappedObject, QStorageInfo& other) { - return &( (*theWrappedObject) >>f); + ( theWrappedObject->swap(other)); } -QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) -{ - return &( (*theWrappedObject) >>i); +QString PythonQtWrapper_QStorageInfo::py_toString(QStorageInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) + + +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) >>i); + return ( theWrappedObject->caseSensitivity()); } -QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) +int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const { - return &( (*theWrappedObject) >>i); + return ( theWrappedObject->indexIn(str, from)); } -QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const +QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const { - return ( theWrappedObject->padChar()); + return ( theWrappedObject->pattern()); } -qint64 PythonQtWrapper_QTextStream::pos(QTextStream* theWrappedObject) const +void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) { - return ( theWrappedObject->pos()); + ( theWrappedObject->setCaseSensitivity(cs)); } -QString PythonQtWrapper_QTextStream::read(QTextStream* theWrappedObject, qint64 maxlen) +void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) { - return ( theWrappedObject->read(maxlen)); + ( theWrappedObject->setPattern(pattern)); } -QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) -{ - return ( theWrappedObject->readAll()); + + +PythonQtShell_QSysInfo::~PythonQtShell_QSysInfo() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QSysInfo* PythonQtWrapper_QSysInfo::new_QSysInfo() +{ +return new PythonQtShell_QSysInfo(); } -QString PythonQtWrapper_QTextStream::readLine(QTextStream* theWrappedObject, qint64 maxlen) +QByteArray PythonQtWrapper_QSysInfo::static_QSysInfo_bootUniqueId() { - return ( theWrappedObject->readLine(maxlen)); + return (QSysInfo::bootUniqueId()); } -bool PythonQtWrapper_QTextStream::readLineInto(QTextStream* theWrappedObject, QString* line, qint64 maxlen) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_buildAbi() { - return ( theWrappedObject->readLineInto(line, maxlen)); + return (QSysInfo::buildAbi()); } -QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const +QString PythonQtWrapper_QSysInfo::static_QSysInfo_buildCpuArchitecture() { - return ( theWrappedObject->realNumberNotation()); + return (QSysInfo::buildCpuArchitecture()); } -int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const +QString PythonQtWrapper_QSysInfo::static_QSysInfo_currentCpuArchitecture() { - return ( theWrappedObject->realNumberPrecision()); + return (QSysInfo::currentCpuArchitecture()); } -void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_kernelType() { - ( theWrappedObject->reset()); + return (QSysInfo::kernelType()); } -void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_kernelVersion() { - ( theWrappedObject->resetStatus()); + return (QSysInfo::kernelVersion()); } -bool PythonQtWrapper_QTextStream::seek(QTextStream* theWrappedObject, qint64 pos) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_machineHostName() { - return ( theWrappedObject->seek(pos)); + return (QSysInfo::machineHostName()); } -void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) +QByteArray PythonQtWrapper_QSysInfo::static_QSysInfo_machineUniqueId() { - ( theWrappedObject->setAutoDetectUnicode(enabled)); + return (QSysInfo::machineUniqueId()); } -void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_prettyProductName() { - ( theWrappedObject->setCodec(codec)); + return (QSysInfo::prettyProductName()); } -void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_productType() { - ( theWrappedObject->setCodec(codecName)); + return (QSysInfo::productType()); } -void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) +QString PythonQtWrapper_QSysInfo::static_QSysInfo_productVersion() { - ( theWrappedObject->setDevice(device)); + return (QSysInfo::productVersion()); } -void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) + + +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) { - ( theWrappedObject->setFieldAlignment(alignment)); + return ( theWrappedObject->acquire()); } -void PythonQtWrapper_QTextStream::setFieldWidth(QTextStream* theWrappedObject, int width) +QSystemSemaphore::SystemSemaphoreError PythonQtWrapper_QSystemSemaphore::error(QSystemSemaphore* theWrappedObject) const { - ( theWrappedObject->setFieldWidth(width)); + return ( theWrappedObject->error()); } -void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) +QString PythonQtWrapper_QSystemSemaphore::errorString(QSystemSemaphore* theWrappedObject) const { - ( theWrappedObject->setGenerateByteOrderMark(generate)); + return ( theWrappedObject->errorString()); } -void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) +QString PythonQtWrapper_QSystemSemaphore::key(QSystemSemaphore* theWrappedObject) const { - ( theWrappedObject->setIntegerBase(base)); + return ( theWrappedObject->key()); } -void PythonQtWrapper_QTextStream::setLocale(QTextStream* theWrappedObject, const QLocale& locale) +bool PythonQtWrapper_QSystemSemaphore::release(QSystemSemaphore* theWrappedObject, int n) { - ( theWrappedObject->setLocale(locale)); + return ( theWrappedObject->release(n)); } -void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) +void PythonQtWrapper_QSystemSemaphore::setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue, QSystemSemaphore::AccessMode mode) { - ( theWrappedObject->setNumberFlags(flags)); + ( theWrappedObject->setKey(key, initialValue, mode)); } -void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) + + +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 { - ( theWrappedObject->setPadChar(ch)); + return ( theWrappedObject->autoRemove()); } -void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) +QString PythonQtWrapper_QTemporaryDir::errorString(QTemporaryDir* theWrappedObject) const { - ( theWrappedObject->setRealNumberNotation(notation)); + return ( theWrappedObject->errorString()); } -void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) +QString PythonQtWrapper_QTemporaryDir::filePath(QTemporaryDir* theWrappedObject, const QString& fileName) const { - ( theWrappedObject->setRealNumberPrecision(precision)); + return ( theWrappedObject->filePath(fileName)); } -void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) +bool PythonQtWrapper_QTemporaryDir::isValid(QTemporaryDir* theWrappedObject) const { - ( theWrappedObject->setStatus(status)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) +QString PythonQtWrapper_QTemporaryDir::path(QTemporaryDir* theWrappedObject) const { - ( theWrappedObject->skipWhiteSpace()); + return ( theWrappedObject->path()); } -QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const +bool PythonQtWrapper_QTemporaryDir::remove(QTemporaryDir* theWrappedObject) { - return ( theWrappedObject->status()); + return ( theWrappedObject->remove()); } +void PythonQtWrapper_QTemporaryDir::setAutoRemove(QTemporaryDir* theWrappedObject, bool b) +{ + ( theWrappedObject->setAutoRemove(b)); +} -PythonQtShell_QThread::~PythonQtShell_QThread() { + +PythonQtShell_QTemporaryFile::~PythonQtShell_QTemporaryFile() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QThread::childEvent(QChildEvent* event0) +bool PythonQtShell_QTemporaryFile::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("atEnd"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QThread::childEvent(event0); + return QTemporaryFile::atEnd(); } -void PythonQtShell_QThread::customEvent(QEvent* event0) +qint64 PythonQtShell_QTemporaryFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QThread::customEvent(event0); + return QTemporaryFile::bytesAvailable(); } -bool PythonQtShell_QThread::event(QEvent* event0) +qint64 PythonQtShell_QTemporaryFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2029,32 +2069,32 @@ if (_wrapper) { } } } - return QThread::event(event0); + return QTemporaryFile::bytesToWrite(); } -bool PythonQtShell_QThread::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTemporaryFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2062,21 +2102,43 @@ if (_wrapper) { } } } - return QThread::eventFilter(watched0, event1); + return QTemporaryFile::canReadLine(); } -void PythonQtShell_QThread::run() +void PythonQtShell_QTemporaryFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("run"); + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2084,21 +2146,21 @@ if (_wrapper) { } } } - QThread::run(); + QTemporaryFile::close(); } -void PythonQtShell_QThread::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTemporaryFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2106,372 +2168,1349 @@ if (_wrapper) { } } } - QThread::timerEvent(event0); + QTemporaryFile::customEvent(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; +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(); + } } } -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; + return QTemporaryFile::event(event0); } -QThread* PythonQtWrapper_QThread::static_QThread_currentThread() +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 (QThread::currentThread()); + return ( theWrappedObject->aliases()); } -Qt::HANDLE PythonQtWrapper_QThread::static_QThread_currentThreadId() +QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableCodecs() { - return (QThread::currentThreadId()); + return (QTextCodec::availableCodecs()); } -QAbstractEventDispatcher* PythonQtWrapper_QThread::eventDispatcher(QThread* theWrappedObject) const +QList PythonQtWrapper_QTextCodec::static_QTextCodec_availableMibs() { - return ( theWrappedObject->eventDispatcher()); + return (QTextCodec::availableMibs()); } -int PythonQtWrapper_QThread::exec(QThread* theWrappedObject) +bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, QChar arg__1) const { - return ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_exec()); + return ( theWrappedObject->canEncode(arg__1)); } -void PythonQtWrapper_QThread::exit(QThread* theWrappedObject, int retcode) +bool PythonQtWrapper_QTextCodec::canEncode(QTextCodec* theWrappedObject, const QString& arg__1) const { - ( theWrappedObject->exit(retcode)); + return ( theWrappedObject->canEncode(arg__1)); } -int PythonQtWrapper_QThread::static_QThread_idealThreadCount() +QTextCodec* PythonQtWrapper_QTextCodec::static_QTextCodec_codecForHtml(const QByteArray& ba) { - return (QThread::idealThreadCount()); + 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) <isFinished()); + return &( (*theWrappedObject) <isInterruptionRequested()); + return &( (*theWrappedObject) <isRunning()); + return &( (*theWrappedObject) <loopLevel()); + return &( (*theWrappedObject) <>ch); } -void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) +QTextStream* PythonQtWrapper_QTextStream::readDouble(QTextStream* theWrappedObject, double& f) { - ( theWrappedObject->requestInterruption()); + return &( (*theWrappedObject) >>f); } -void PythonQtWrapper_QThread::run(QThread* theWrappedObject) +QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) { - ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_run()); + return &( (*theWrappedObject) >>f); } -void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher) +QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) { - ( theWrappedObject->setEventDispatcher(eventDispatcher)); + return &( (*theWrappedObject) >>i); } -void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) +QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) { - ( theWrappedObject->setStackSize(stackSize)); + return &( (*theWrappedObject) >>i); } -void PythonQtWrapper_QThread::static_QThread_setTerminationEnabled(bool enabled) +QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) { - (PythonQtPublicPromoter_QThread::promoted_setTerminationEnabled(enabled)); + return &( (*theWrappedObject) >>i); } -void PythonQtWrapper_QThread::static_QThread_sleep(unsigned long arg__1) +QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const { - (QThread::sleep(arg__1)); + return ( theWrappedObject->padChar()); } -uint PythonQtWrapper_QThread::stackSize(QThread* theWrappedObject) const +qint64 PythonQtWrapper_QTextStream::pos(QTextStream* theWrappedObject) const { - return ( theWrappedObject->stackSize()); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QThread::static_QThread_usleep(unsigned long arg__1) +QString PythonQtWrapper_QTextStream::read(QTextStream* theWrappedObject, qint64 maxlen) { - (QThread::usleep(arg__1)); + return ( theWrappedObject->read(maxlen)); } -bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, unsigned long time) +QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) { - return ( theWrappedObject->wait(time)); + return ( theWrappedObject->readAll()); } -void PythonQtWrapper_QThread::static_QThread_yieldCurrentThread() +QString PythonQtWrapper_QTextStream::readLine(QTextStream* theWrappedObject, qint64 maxlen) { - (QThread::yieldCurrentThread()); + return ( theWrappedObject->readLine(maxlen)); } - - -PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QThreadPool::childEvent(QChildEvent* event0) +bool PythonQtWrapper_QTextStream::readLineInto(QTextStream* theWrappedObject, QString* line, qint64 maxlen) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->readLineInto(line, maxlen)); } -void PythonQtShell_QThreadPool::customEvent(QEvent* event0) + +QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->realNumberNotation()); } -bool PythonQtShell_QThreadPool::event(QEvent* event0) + +int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( theWrappedObject->realNumberPrecision()); } -bool PythonQtShell_QThreadPool::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + ( theWrappedObject->reset()); } -void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + ( theWrappedObject->resetStatus()); } -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; +bool PythonQtWrapper_QTextStream::seek(QTextStream* theWrappedObject, qint64 pos) +{ + return ( theWrappedObject->seek(pos)); } -int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const + +void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) { - return ( theWrappedObject->activeThreadCount()); + ( theWrappedObject->setAutoDetectUnicode(enabled)); } -void PythonQtWrapper_QThreadPool::cancel(QThreadPool* theWrappedObject, QRunnable* runnable) +void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) { - ( theWrappedObject->cancel(runnable)); + ( theWrappedObject->setCodec(codec)); } -void PythonQtWrapper_QThreadPool::clear(QThreadPool* theWrappedObject) +void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) { - ( theWrappedObject->clear()); + ( theWrappedObject->setCodec(codecName)); } -int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const +void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) { - return ( theWrappedObject->expiryTimeout()); + ( theWrappedObject->setDevice(device)); } -QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() +void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) { - return (QThreadPool::globalInstance()); + ( theWrappedObject->setFieldAlignment(alignment)); } -int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const +void PythonQtWrapper_QTextStream::setFieldWidth(QTextStream* theWrappedObject, int width) { - return ( theWrappedObject->maxThreadCount()); + ( theWrappedObject->setFieldWidth(width)); } -void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) +void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) { - ( theWrappedObject->releaseThread()); + ( theWrappedObject->setGenerateByteOrderMark(generate)); } -void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) +void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) { - ( theWrappedObject->reserveThread()); + ( theWrappedObject->setIntegerBase(base)); } -void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) +void PythonQtWrapper_QTextStream::setLocale(QTextStream* theWrappedObject, const QLocale& locale) { - ( theWrappedObject->setExpiryTimeout(expiryTimeout)); + ( theWrappedObject->setLocale(locale)); } -void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) +void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) { - ( theWrappedObject->setMaxThreadCount(maxThreadCount)); + ( theWrappedObject->setNumberFlags(flags)); } -void PythonQtWrapper_QThreadPool::setStackSize(QThreadPool* theWrappedObject, uint stackSize) +void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) { - ( theWrappedObject->setStackSize(stackSize)); + ( theWrappedObject->setPadChar(ch)); } -uint PythonQtWrapper_QThreadPool::stackSize(QThreadPool* theWrappedObject) const +void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) { - return ( theWrappedObject->stackSize()); + ( theWrappedObject->setRealNumberNotation(notation)); } -void PythonQtWrapper_QThreadPool::start(QThreadPool* theWrappedObject, QRunnable* runnable, int priority) +void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) { - ( theWrappedObject->start(runnable, priority)); + ( theWrappedObject->setRealNumberPrecision(precision)); } -bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) +void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) { - return ( theWrappedObject->tryStart(runnable)); + ( theWrappedObject->setStatus(status)); } -bool PythonQtWrapper_QThreadPool::tryTake(QThreadPool* theWrappedObject, QRunnable* runnable) +void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) { - return ( theWrappedObject->tryTake(runnable)); + ( theWrappedObject->skipWhiteSpace()); } -bool PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject, int msecs) +QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const { - return ( theWrappedObject->waitForDone(msecs)); + return ( theWrappedObject->status()); } -PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { +PythonQtShell_QThread::~PythonQtShell_QThread() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTimeLine::childEvent(QChildEvent* event0) +void PythonQtShell_QThread::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2483,7 +3522,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2491,9 +3530,9 @@ if (_wrapper) { } } } - QTimeLine::childEvent(event0); + QThread::childEvent(event0); } -void PythonQtShell_QTimeLine::customEvent(QEvent* event0) +void PythonQtShell_QThread::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2505,7 +3544,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2513,9 +3552,9 @@ if (_wrapper) { } } } - QTimeLine::customEvent(event0); + QThread::customEvent(event0); } -bool PythonQtShell_QTimeLine::event(QEvent* event0) +bool PythonQtShell_QThread::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2538,7 +3577,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2546,9 +3585,9 @@ if (_wrapper) { } } } - return QTimeLine::event(event0); + return QThread::event(event0); } -bool PythonQtShell_QTimeLine::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QThread::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2571,7 +3610,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2579,386 +3618,191 @@ if (_wrapper) { } } } - return QTimeLine::eventFilter(watched0, event1); + return QThread::eventFilter(watched0, event1); } -void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) +void PythonQtShell_QThread::run() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("run"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { 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)); + QThread::run(); } - -QString PythonQtWrapper_QTimeZone::comment(QTimeZone* theWrappedObject) const +void PythonQtShell_QThread::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->comment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QLocale::Country PythonQtWrapper_QTimeZone::country(QTimeZone* theWrappedObject) const -{ - return ( theWrappedObject->country()); + QThread::timerEvent(event0); } +QThread* PythonQtWrapper_QThread::new_QThread(QObject* parent) +{ +return new PythonQtShell_QThread(parent); } -int PythonQtWrapper_QTimeZone::daylightTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const -{ - return ( theWrappedObject->daylightTimeOffset(atDateTime)); +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; + } } - -QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QLocale& locale) const -{ - return ( theWrappedObject->displayName(timeType, nameType, locale)); +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; } - -QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, const QDateTime& atDateTime, QTimeZone::NameType nameType, const QLocale& locale) const +QThread* PythonQtWrapper_QThread::static_QThread_currentThread() { - return ( theWrappedObject->displayName(atDateTime, nameType, locale)); + return (QThread::currentThread()); } -bool PythonQtWrapper_QTimeZone::hasDaylightTime(QTimeZone* theWrappedObject) const +Qt::HANDLE PythonQtWrapper_QThread::static_QThread_currentThreadId() { - return ( theWrappedObject->hasDaylightTime()); + return (QThread::currentThreadId()); } -bool PythonQtWrapper_QTimeZone::hasTransitions(QTimeZone* theWrappedObject) const +QAbstractEventDispatcher* PythonQtWrapper_QThread::eventDispatcher(QThread* theWrappedObject) const { - return ( theWrappedObject->hasTransitions()); + return ( theWrappedObject->eventDispatcher()); } -QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_ianaIdToWindowsId(const QByteArray& ianaId) +int PythonQtWrapper_QThread::exec(QThread* theWrappedObject) { - return (QTimeZone::ianaIdToWindowsId(ianaId)); + return ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_exec()); } -QByteArray PythonQtWrapper_QTimeZone::id(QTimeZone* theWrappedObject) const +void PythonQtWrapper_QThread::exit(QThread* theWrappedObject, int retcode) { - return ( theWrappedObject->id()); + ( theWrappedObject->exit(retcode)); } -bool PythonQtWrapper_QTimeZone::isDaylightTime(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +int PythonQtWrapper_QThread::static_QThread_idealThreadCount() { - return ( theWrappedObject->isDaylightTime(atDateTime)); + return (QThread::idealThreadCount()); } -bool PythonQtWrapper_QTimeZone::static_QTimeZone_isTimeZoneIdAvailable(const QByteArray& ianaId) +bool PythonQtWrapper_QThread::isFinished(QThread* theWrappedObject) const { - return (QTimeZone::isTimeZoneIdAvailable(ianaId)); + return ( theWrappedObject->isFinished()); } -bool PythonQtWrapper_QTimeZone::isValid(QTimeZone* theWrappedObject) const +bool PythonQtWrapper_QThread::isInterruptionRequested(QThread* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->isInterruptionRequested()); } -int PythonQtWrapper_QTimeZone::offsetFromUtc(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +bool PythonQtWrapper_QThread::isRunning(QThread* theWrappedObject) const { - return ( theWrappedObject->offsetFromUtc(atDateTime)); + return ( theWrappedObject->isRunning()); } -bool PythonQtWrapper_QTimeZone::__ne__(QTimeZone* theWrappedObject, const QTimeZone& other) const +int PythonQtWrapper_QThread::loopLevel(QThread* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->loopLevel()); } -void PythonQtWrapper_QTimeZone::writeTo(QTimeZone* theWrappedObject, QDataStream& ds) +void PythonQtWrapper_QThread::static_QThread_msleep(unsigned long arg__1) { - ds << (*theWrappedObject); + (QThread::msleep(arg__1)); } -QTimeZone* PythonQtWrapper_QTimeZone::operator_assign(QTimeZone* theWrappedObject, const QTimeZone& other) +QThread::Priority PythonQtWrapper_QThread::priority(QThread* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->priority()); } -bool PythonQtWrapper_QTimeZone::__eq__(QTimeZone* theWrappedObject, const QTimeZone& other) const +void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->requestInterruption()); } -void PythonQtWrapper_QTimeZone::readFrom(QTimeZone* theWrappedObject, QDataStream& ds) +void PythonQtWrapper_QThread::run(QThread* theWrappedObject) { - ds >> (*theWrappedObject); + ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_run()); } -int PythonQtWrapper_QTimeZone::standardTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const +void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher) { - return ( theWrappedObject->standardTimeOffset(atDateTime)); + ( theWrappedObject->setEventDispatcher(eventDispatcher)); } -void PythonQtWrapper_QTimeZone::swap(QTimeZone* theWrappedObject, QTimeZone& other) +void PythonQtWrapper_QThread::setPriority(QThread* theWrappedObject, QThread::Priority priority) { - ( theWrappedObject->swap(other)); + ( theWrappedObject->setPriority(priority)); } -QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZone() +void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) { - return (QTimeZone::systemTimeZone()); + ( theWrappedObject->setStackSize(stackSize)); } -QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZoneId() +void PythonQtWrapper_QThread::static_QThread_setTerminationEnabled(bool enabled) { - return (QTimeZone::systemTimeZoneId()); + (PythonQtPublicPromoter_QThread::promoted_setTerminationEnabled(enabled)); } -QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_utc() +void PythonQtWrapper_QThread::static_QThread_sleep(unsigned long arg__1) { - return (QTimeZone::utc()); + (QThread::sleep(arg__1)); } -QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId) +uint PythonQtWrapper_QThread::stackSize(QThread* theWrappedObject) const { - return (QTimeZone::windowsIdToDefaultIanaId(windowsId)); + return ( theWrappedObject->stackSize()); } -QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId, QLocale::Country country) +void PythonQtWrapper_QThread::static_QThread_usleep(unsigned long arg__1) { - return (QTimeZone::windowsIdToDefaultIanaId(windowsId, country)); + (QThread::usleep(arg__1)); } -QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId) +bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, unsigned long time) { - return (QTimeZone::windowsIdToIanaIds(windowsId)); + return ( theWrappedObject->wait(time)); } -QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId, QLocale::Country country) +void PythonQtWrapper_QThread::static_QThread_yieldCurrentThread() { - return (QTimeZone::windowsIdToIanaIds(windowsId, country)); -} - -QString PythonQtWrapper_QTimeZone::py_toString(QTimeZone* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + (QThread::yieldCurrentThread()); } -PythonQtShell_QTimer::~PythonQtShell_QTimer() { +PythonQtShell_QThreadPool::~PythonQtShell_QThreadPool() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTimer::childEvent(QChildEvent* event0) +void PythonQtShell_QThreadPool::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2970,7 +3814,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2978,9 +3822,9 @@ if (_wrapper) { } } } - QTimer::childEvent(event0); + QThreadPool::childEvent(event0); } -void PythonQtShell_QTimer::customEvent(QEvent* event0) +void PythonQtShell_QThreadPool::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2992,7 +3836,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3000,9 +3844,9 @@ if (_wrapper) { } } } - QTimer::customEvent(event0); + QThreadPool::customEvent(event0); } -bool PythonQtShell_QTimer::event(QEvent* event0) +bool PythonQtShell_QThreadPool::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3025,7 +3869,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3033,9 +3877,9 @@ if (_wrapper) { } } } - return QTimer::event(event0); + return QThreadPool::event(event0); } -bool PythonQtShell_QTimer::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QThreadPool::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3058,7 +3902,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3066,9 +3910,9 @@ if (_wrapper) { } } } - return QTimer::eventFilter(watched0, event1); + return QThreadPool::eventFilter(watched0, event1); } -void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QThreadPool::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3078,9 +3922,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3088,102 +3932,112 @@ if (_wrapper) { } } } - QTimer::timerEvent(arg__1); + QThreadPool::timerEvent(event0); } -QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) +QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) { -return new PythonQtShell_QTimer(parent); } +return new PythonQtShell_QThreadPool(parent); } -const QMetaObject* PythonQtShell_QTimer::metaObject() const { +const QMetaObject* PythonQtShell_QThreadPool::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimer::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QThreadPool::staticMetaObject); } else { - return &QTimer::staticMetaObject; + return &QThreadPool::staticMetaObject; } } -int PythonQtShell_QTimer::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTimer::qt_metacall(call, id, args); +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_QTimer::interval(QTimer* theWrappedObject) const +int PythonQtWrapper_QThreadPool::activeThreadCount(QThreadPool* theWrappedObject) const { - return ( theWrappedObject->interval()); + return ( theWrappedObject->activeThreadCount()); } -bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const +void PythonQtWrapper_QThreadPool::cancel(QThreadPool* theWrappedObject, QRunnable* runnable) { - return ( theWrappedObject->isActive()); + ( theWrappedObject->cancel(runnable)); } -bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const +void PythonQtWrapper_QThreadPool::clear(QThreadPool* theWrappedObject) { - return ( theWrappedObject->isSingleShot()); + ( theWrappedObject->clear()); } -int PythonQtWrapper_QTimer::remainingTime(QTimer* theWrappedObject) const +int PythonQtWrapper_QThreadPool::expiryTimeout(QThreadPool* theWrappedObject) const { - return ( theWrappedObject->remainingTime()); + return ( theWrappedObject->expiryTimeout()); } -void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) +QThreadPool* PythonQtWrapper_QThreadPool::static_QThreadPool_globalInstance() { - ( theWrappedObject->setInterval(msec)); + return (QThreadPool::globalInstance()); } -void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) +int PythonQtWrapper_QThreadPool::maxThreadCount(QThreadPool* theWrappedObject) const { - ( theWrappedObject->setSingleShot(singleShot)); + return ( theWrappedObject->maxThreadCount()); } -void PythonQtWrapper_QTimer::setTimerType(QTimer* theWrappedObject, Qt::TimerType atype) +void PythonQtWrapper_QThreadPool::releaseThread(QThreadPool* theWrappedObject) { - ( theWrappedObject->setTimerType(atype)); + ( theWrappedObject->releaseThread()); } -void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member) +void PythonQtWrapper_QThreadPool::reserveThread(QThreadPool* theWrappedObject) { - (QTimer::singleShot(msec, timerType, receiver, member)); + ( theWrappedObject->reserveThread()); } -void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, const QObject* receiver, const char* member) +void PythonQtWrapper_QThreadPool::setExpiryTimeout(QThreadPool* theWrappedObject, int expiryTimeout) { - (QTimer::singleShot(msec, receiver, member)); + ( theWrappedObject->setExpiryTimeout(expiryTimeout)); } -int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const +void PythonQtWrapper_QThreadPool::setMaxThreadCount(QThreadPool* theWrappedObject, int maxThreadCount) { - return ( theWrappedObject->timerId()); + ( theWrappedObject->setMaxThreadCount(maxThreadCount)); } -Qt::TimerType PythonQtWrapper_QTimer::timerType(QTimer* theWrappedObject) const +void PythonQtWrapper_QThreadPool::setStackSize(QThreadPool* theWrappedObject, uint stackSize) { - return ( theWrappedObject->timerType()); + ( 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)); +} -PythonQtShell_QTimerEvent::~PythonQtShell_QTimerEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QThreadPool::tryStart(QThreadPool* theWrappedObject, QRunnable* runnable) +{ + return ( theWrappedObject->tryStart(runnable)); } -QTimerEvent* PythonQtWrapper_QTimerEvent::new_QTimerEvent(int timerId) -{ -return new PythonQtShell_QTimerEvent(timerId); } -int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const +bool PythonQtWrapper_QThreadPool::tryTake(QThreadPool* theWrappedObject, QRunnable* runnable) { - return ( theWrappedObject->timerId()); + return ( theWrappedObject->tryTake(runnable)); +} + +bool PythonQtWrapper_QThreadPool::waitForDone(QThreadPool* theWrappedObject, int msecs) +{ + return ( theWrappedObject->waitForDone(msecs)); } -PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { +PythonQtShell_QTimeLine::~PythonQtShell_QTimeLine() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTranslator::childEvent(QChildEvent* event0) +void PythonQtShell_QTimeLine::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3195,7 +4049,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3203,9 +4057,9 @@ if (_wrapper) { } } } - QTranslator::childEvent(event0); + QTimeLine::childEvent(event0); } -void PythonQtShell_QTranslator::customEvent(QEvent* event0) +void PythonQtShell_QTimeLine::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3217,7 +4071,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3225,9 +4079,9 @@ if (_wrapper) { } } } - QTranslator::customEvent(event0); + QTimeLine::customEvent(event0); } -bool PythonQtShell_QTranslator::event(QEvent* event0) +bool PythonQtShell_QTimeLine::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3250,7 +4104,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3258,9 +4112,9 @@ if (_wrapper) { } } } - return QTranslator::event(event0); + return QTimeLine::event(event0); } -bool PythonQtShell_QTranslator::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTimeLine::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3283,40 +4137,7 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3324,9 +4145,9 @@ if (_wrapper) { } } } - return QTranslator::isEmpty(); + return QTimeLine::eventFilter(watched0, event1); } -void PythonQtShell_QTranslator::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTimeLine::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3338,7 +4159,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3346,32 +4167,32 @@ if (_wrapper) { } } } - QTranslator::timerEvent(event0); + QTimeLine::timerEvent(event0); } -QString PythonQtShell_QTranslator::translate(const char* context0, const char* sourceText1, const char* disambiguation2, int n3) const +qreal PythonQtShell_QTimeLine::valueForTime(int msec0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("translate"); + static PyObject* name = PyString_FromString("valueForTime"); 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}; + 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("translate", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("valueForTime", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3379,324 +4200,556 @@ if (_wrapper) { } } } - return QTranslator::translate(context0, sourceText1, disambiguation2, n3); + return QTimeLine::valueForTime(msec0); } -QTranslator* PythonQtWrapper_QTranslator::new_QTranslator(QObject* parent) +QTimeLine* PythonQtWrapper_QTimeLine::new_QTimeLine(int duration, QObject* parent) { -return new PythonQtShell_QTranslator(parent); } +return new PythonQtShell_QTimeLine(duration, parent); } -const QMetaObject* PythonQtShell_QTranslator::metaObject() const { +const QMetaObject* PythonQtShell_QTimeLine::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTranslator::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeLine::staticMetaObject); } else { - return &QTranslator::staticMetaObject; + return &QTimeLine::staticMetaObject; } } -int PythonQtShell_QTranslator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTranslator::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QTranslator::isEmpty(QTranslator* theWrappedObject) const +int PythonQtWrapper_QTimeLine::currentFrame(QTimeLine* theWrappedObject) const { - return ( theWrappedObject->isEmpty()); + return ( theWrappedObject->currentFrame()); } -bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const QLocale& locale, const QString& filename, const QString& prefix, const QString& directory, const QString& suffix) +int PythonQtWrapper_QTimeLine::currentTime(QTimeLine* theWrappedObject) const { - return ( theWrappedObject->load(locale, filename, prefix, directory, suffix)); + 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)); } -bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const QString& filename, const QString& directory, const QString& search_delimiters, const QString& suffix) +QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QLocale& locale) const { - return ( theWrappedObject->load(filename, directory, search_delimiters, suffix)); + return ( theWrappedObject->displayName(timeType, nameType, locale)); } -bool PythonQtWrapper_QTranslator::load(QTranslator* theWrappedObject, const uchar* data, int len, const QString& directory) +QString PythonQtWrapper_QTimeZone::displayName(QTimeZone* theWrappedObject, const QDateTime& atDateTime, QTimeZone::NameType nameType, const QLocale& locale) const { - return ( theWrappedObject->load(data, len, directory)); + return ( theWrappedObject->displayName(atDateTime, nameType, locale)); } -QString PythonQtWrapper_QTranslator::translate(QTranslator* theWrappedObject, const char* context, const char* sourceText, const char* disambiguation, int n) const +bool PythonQtWrapper_QTimeZone::hasDaylightTime(QTimeZone* theWrappedObject) const { - return ( theWrappedObject->translate(context, sourceText, disambiguation, n)); + return ( theWrappedObject->hasDaylightTime()); } - - -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) +bool PythonQtWrapper_QTimeZone::hasTransitions(QTimeZone* theWrappedObject) const { - ( theWrappedObject->addQueryItem(key, value)); + return ( theWrappedObject->hasTransitions()); } -QStringList PythonQtWrapper_QUrlQuery::allQueryItemValues(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_ianaIdToWindowsId(const QByteArray& ianaId) { - return ( theWrappedObject->allQueryItemValues(key, encoding)); + return (QTimeZone::ianaIdToWindowsId(ianaId)); } -void PythonQtWrapper_QUrlQuery::clear(QUrlQuery* theWrappedObject) +QByteArray PythonQtWrapper_QTimeZone::id(QTimeZone* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->id()); } -QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryPairDelimiter() +bool PythonQtWrapper_QTimeZone::isDaylightTime(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - return (QUrlQuery::defaultQueryPairDelimiter()); + return ( theWrappedObject->isDaylightTime(atDateTime)); } -QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryValueDelimiter() +bool PythonQtWrapper_QTimeZone::static_QTimeZone_isTimeZoneIdAvailable(const QByteArray& ianaId) { - return (QUrlQuery::defaultQueryValueDelimiter()); + return (QTimeZone::isTimeZoneIdAvailable(ianaId)); } -bool PythonQtWrapper_QUrlQuery::hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const +bool PythonQtWrapper_QTimeZone::isValid(QTimeZone* theWrappedObject) const { - return ( theWrappedObject->hasQueryItem(key)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QUrlQuery::isEmpty(QUrlQuery* theWrappedObject) const +int PythonQtWrapper_QTimeZone::offsetFromUtc(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - return ( theWrappedObject->isEmpty()); + return ( theWrappedObject->offsetFromUtc(atDateTime)); } -bool PythonQtWrapper_QUrlQuery::__ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +bool PythonQtWrapper_QTimeZone::__ne__(QTimeZone* theWrappedObject, const QTimeZone& other) const { return ( (*theWrappedObject)!= other); } -QUrlQuery* PythonQtWrapper_QUrlQuery::operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other) +void PythonQtWrapper_QTimeZone::writeTo(QTimeZone* theWrappedObject, QDataStream& ds) { - return &( (*theWrappedObject)= other); + ds << (*theWrappedObject); } -bool PythonQtWrapper_QUrlQuery::__eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +QTimeZone* PythonQtWrapper_QTimeZone::operator_assign(QTimeZone* theWrappedObject, const QTimeZone& other) { - return ( (*theWrappedObject)== other); + return &( (*theWrappedObject)= other); } -QString PythonQtWrapper_QUrlQuery::query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +bool PythonQtWrapper_QTimeZone::__eq__(QTimeZone* theWrappedObject, const QTimeZone& other) const { - return ( theWrappedObject->query(encoding)); + return ( (*theWrappedObject)== other); } -QString PythonQtWrapper_QUrlQuery::queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +void PythonQtWrapper_QTimeZone::readFrom(QTimeZone* theWrappedObject, QDataStream& ds) { - return ( theWrappedObject->queryItemValue(key, encoding)); + ds >> (*theWrappedObject); } -QList > PythonQtWrapper_QUrlQuery::queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +int PythonQtWrapper_QTimeZone::standardTimeOffset(QTimeZone* theWrappedObject, const QDateTime& atDateTime) const { - return ( theWrappedObject->queryItems(encoding)); + return ( theWrappedObject->standardTimeOffset(atDateTime)); } -QChar PythonQtWrapper_QUrlQuery::queryPairDelimiter(QUrlQuery* theWrappedObject) const +void PythonQtWrapper_QTimeZone::swap(QTimeZone* theWrappedObject, QTimeZone& other) { - return ( theWrappedObject->queryPairDelimiter()); + ( theWrappedObject->swap(other)); } -QChar PythonQtWrapper_QUrlQuery::queryValueDelimiter(QUrlQuery* theWrappedObject) const +QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZone() { - return ( theWrappedObject->queryValueDelimiter()); + return (QTimeZone::systemTimeZone()); } -void PythonQtWrapper_QUrlQuery::removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key) +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_systemTimeZoneId() { - ( theWrappedObject->removeAllQueryItems(key)); + return (QTimeZone::systemTimeZoneId()); } -void PythonQtWrapper_QUrlQuery::removeQueryItem(QUrlQuery* theWrappedObject, const QString& key) +QTimeZone PythonQtWrapper_QTimeZone::static_QTimeZone_utc() { - ( theWrappedObject->removeQueryItem(key)); + return (QTimeZone::utc()); } -void PythonQtWrapper_QUrlQuery::setQuery(QUrlQuery* theWrappedObject, const QString& queryString) +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId) { - ( theWrappedObject->setQuery(queryString)); + return (QTimeZone::windowsIdToDefaultIanaId(windowsId)); } -void PythonQtWrapper_QUrlQuery::setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter) +QByteArray PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToDefaultIanaId(const QByteArray& windowsId, QLocale::Country country) { - ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); + return (QTimeZone::windowsIdToDefaultIanaId(windowsId, country)); } -void PythonQtWrapper_QUrlQuery::setQueryItems(QUrlQuery* theWrappedObject, const QList >& query) +QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId) { - ( theWrappedObject->setQueryItems(query)); + return (QTimeZone::windowsIdToIanaIds(windowsId)); } -void PythonQtWrapper_QUrlQuery::swap(QUrlQuery* theWrappedObject, QUrlQuery& other) +QList PythonQtWrapper_QTimeZone::static_QTimeZone_windowsIdToIanaIds(const QByteArray& windowsId, QLocale::Country country) { - ( theWrappedObject->swap(other)); + return (QTimeZone::windowsIdToIanaIds(windowsId, country)); } -QString PythonQtWrapper_QUrlQuery::toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const -{ - return ( theWrappedObject->toString(encoding)); +QString PythonQtWrapper_QTimeZone::py_toString(QTimeZone* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QString PythonQtWrapper_QUrlQuery::py_toString(QUrlQuery* obj) { return obj->toString(); } -PythonQtShell_QUuid::~PythonQtShell_QUuid() { +PythonQtShell_QTimer::~PythonQtShell_QTimer() { 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() +void PythonQtShell_QTimer::childEvent(QChildEvent* event0) { - return (QUuid::createUuid()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData) + QTimer::childEvent(event0); +} +void PythonQtShell_QTimer::customEvent(QEvent* event0) { - return (QUuid::createUuidV3(ns, baseData)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData) + QTimer::customEvent(event0); +} +bool PythonQtShell_QTimer::event(QEvent* event0) { - return (QUuid::createUuidV3(ns, baseData)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData) + return QTimer::event(event0); +} +bool PythonQtShell_QTimer::eventFilter(QObject* watched0, QEvent* event1) { - return (QUuid::createUuidV5(ns, baseData)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QString& baseData) + return QTimer::eventFilter(watched0, event1); +} +void PythonQtShell_QTimer::timerEvent(QTimerEvent* arg__1) { - return (QUuid::createUuidV5(ns, baseData)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_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(); + } + } } - -QUuid PythonQtWrapper_QUuid::static_QUuid_fromRfc4122(const QByteArray& arg__1) -{ - return (QUuid::fromRfc4122(arg__1)); + QTimer::timerEvent(arg__1); } +QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent) +{ +return new PythonQtShell_QTimer(parent); } -QUuid PythonQtWrapper_QUuid::static_QUuid_fromString(QLatin1String string) -{ - return (QUuid::fromString(string)); +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; + } } - -bool PythonQtWrapper_QUuid::isNull(QUuid* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); +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; } - -bool PythonQtWrapper_QUuid::__ne__(QUuid* theWrappedObject, const QUuid& orig) const +int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const { - return ( (*theWrappedObject)!= orig); + return ( theWrappedObject->interval()); } -bool PythonQtWrapper_QUuid::__lt__(QUuid* theWrappedObject, const QUuid& other) const +bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const { - return ( (*theWrappedObject)< other); + return ( theWrappedObject->isActive()); } -void PythonQtWrapper_QUuid::writeTo(QUuid* theWrappedObject, QDataStream& arg__1) +bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const { - arg__1 << (*theWrappedObject); + return ( theWrappedObject->isSingleShot()); } -bool PythonQtWrapper_QUuid::__le__(QUuid* theWrappedObject, const QUuid& rhs) +int PythonQtWrapper_QTimer::remainingTime(QTimer* theWrappedObject) const { - return ( (*theWrappedObject)<= rhs); + return ( theWrappedObject->remainingTime()); } -bool PythonQtWrapper_QUuid::__eq__(QUuid* theWrappedObject, const QUuid& orig) const +void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec) { - return ( (*theWrappedObject)== orig); + ( theWrappedObject->setInterval(msec)); } -bool PythonQtWrapper_QUuid::__gt__(QUuid* theWrappedObject, const QUuid& other) const +void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot) { - return ( (*theWrappedObject)> other); + ( theWrappedObject->setSingleShot(singleShot)); } -bool PythonQtWrapper_QUuid::__ge__(QUuid* theWrappedObject, const QUuid& rhs) +void PythonQtWrapper_QTimer::setTimerType(QTimer* theWrappedObject, Qt::TimerType atype) { - return ( (*theWrappedObject)>= rhs); + ( theWrappedObject->setTimerType(atype)); } -void PythonQtWrapper_QUuid::readFrom(QUuid* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, Qt::TimerType timerType, const QObject* receiver, const char* member) { - arg__1 >> (*theWrappedObject); + (QTimer::singleShot(msec, timerType, receiver, member)); } -QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject) const +void PythonQtWrapper_QTimer::static_QTimer_singleShot(int msec, const QObject* receiver, const char* member) { - return ( theWrappedObject->toByteArray()); + (QTimer::singleShot(msec, receiver, member)); } -QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject, QUuid::StringFormat mode) const +int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const { - return ( theWrappedObject->toByteArray(mode)); + return ( theWrappedObject->timerId()); } -QByteArray PythonQtWrapper_QUuid::toRfc4122(QUuid* theWrappedObject) const +Qt::TimerType PythonQtWrapper_QTimer::timerType(QTimer* theWrappedObject) const { - return ( theWrappedObject->toRfc4122()); + return ( theWrappedObject->timerType()); } -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()); +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); } -QUuid::Version PythonQtWrapper_QUuid::version(QUuid* theWrappedObject) const +int PythonQtWrapper_QTimerEvent::timerId(QTimerEvent* theWrappedObject) const { - return ( theWrappedObject->version()); + return ( theWrappedObject->timerId()); } -QString PythonQtWrapper_QUuid::py_toString(QUuid* obj) { return obj->toString(); } -PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { +PythonQtShell_QTranslator::~PythonQtShell_QTranslator() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QVariantAnimation::childEvent(QChildEvent* event0) +void PythonQtShell_QTranslator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3708,7 +4761,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3716,9 +4769,9 @@ if (_wrapper) { } } } - QVariantAnimation::childEvent(event0); + QTranslator::childEvent(event0); } -void PythonQtShell_QVariantAnimation::customEvent(QEvent* event0) +void PythonQtShell_QTranslator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3730,7 +4783,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3738,42 +4791,9 @@ if (_wrapper) { } } } - 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(); + QTranslator::customEvent(event0); } -bool PythonQtShell_QVariantAnimation::event(QEvent* event0) +bool PythonQtShell_QTranslator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3796,7 +4816,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3804,9 +4824,9 @@ if (_wrapper) { } } } - return QVariantAnimation::event(event0); + return QTranslator::event(event0); } -bool PythonQtShell_QVariantAnimation::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTranslator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3829,7 +4849,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3837,32 +4857,32 @@ if (_wrapper) { } } } - return QVariantAnimation::eventFilter(watched0, event1); + return QTranslator::eventFilter(watched0, event1); } -QVariant PythonQtShell_QVariantAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const +bool PythonQtShell_QTranslator::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("interpolated"); + static PyObject* name = PyString_FromString("isEmpty"); 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}; + 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("interpolated", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3870,9 +4890,9 @@ if (_wrapper) { } } } - return QVariantAnimation::interpolated(from0, to1, progress2); + return QTranslator::isEmpty(); } -void PythonQtShell_QVariantAnimation::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTranslator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3884,7 +4904,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3892,313 +4912,353 @@ if (_wrapper) { } } } - QVariantAnimation::timerEvent(event0); + 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; +} +bool PythonQtWrapper_QTranslator::isEmpty(QTranslator* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); +} + +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 PythonQtShell_QVariantAnimation::updateCurrentTime(int arg__1) + +void PythonQtWrapper_QUrlQuery::clear(QUrlQuery* theWrappedObject) { -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(); - } - } + ( theWrappedObject->clear()); } - QVariantAnimation::updateCurrentTime(arg__1); + +QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryPairDelimiter() +{ + return (QUrlQuery::defaultQueryPairDelimiter()); } -void PythonQtShell_QVariantAnimation::updateCurrentValue(const QVariant& value0) + +QChar PythonQtWrapper_QUrlQuery::static_QUrlQuery_defaultQueryValueDelimiter() { -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(); - } - } + return (QUrlQuery::defaultQueryValueDelimiter()); } - QVariantAnimation::updateCurrentValue(value0); + +bool PythonQtWrapper_QUrlQuery::hasQueryItem(QUrlQuery* theWrappedObject, const QString& key) const +{ + return ( theWrappedObject->hasQueryItem(key)); } -void PythonQtShell_QVariantAnimation::updateDirection(QAbstractAnimation::Direction direction0) + +bool PythonQtWrapper_QUrlQuery::isEmpty(QUrlQuery* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isEmpty()); } - QVariantAnimation::updateDirection(direction0); + +bool PythonQtWrapper_QUrlQuery::__ne__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +{ + return ( (*theWrappedObject)!= other); } -void PythonQtShell_QVariantAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) + +QUrlQuery* PythonQtWrapper_QUrlQuery::operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other) { -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(); - } - } + return &( (*theWrappedObject)= other); } - QVariantAnimation::updateState(newState0, oldState1); + +bool PythonQtWrapper_QUrlQuery::__eq__(QUrlQuery* theWrappedObject, const QUrlQuery& other) const +{ + return ( (*theWrappedObject)== other); } -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; - } +QString PythonQtWrapper_QUrlQuery::query(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->query(encoding)); } -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; + +QString PythonQtWrapper_QUrlQuery::queryItemValue(QUrlQuery* theWrappedObject, const QString& key, QUrl::ComponentFormattingOptions encoding) const +{ + return ( theWrappedObject->queryItemValue(key, encoding)); } -QVariant PythonQtWrapper_QVariantAnimation::currentValue(QVariantAnimation* theWrappedObject) const + +QList > PythonQtWrapper_QUrlQuery::queryItems(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const { - return ( theWrappedObject->currentValue()); + return ( theWrappedObject->queryItems(encoding)); } -QEasingCurve PythonQtWrapper_QVariantAnimation::easingCurve(QVariantAnimation* theWrappedObject) const +QChar PythonQtWrapper_QUrlQuery::queryPairDelimiter(QUrlQuery* theWrappedObject) const { - return ( theWrappedObject->easingCurve()); + return ( theWrappedObject->queryPairDelimiter()); } -QVariant PythonQtWrapper_QVariantAnimation::endValue(QVariantAnimation* theWrappedObject) const +QChar PythonQtWrapper_QUrlQuery::queryValueDelimiter(QUrlQuery* theWrappedObject) const { - return ( theWrappedObject->endValue()); + return ( theWrappedObject->queryValueDelimiter()); } -QVariant PythonQtWrapper_QVariantAnimation::interpolated(QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const +void PythonQtWrapper_QUrlQuery::removeAllQueryItems(QUrlQuery* theWrappedObject, const QString& key) { - return ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_interpolated(from, to, progress)); + ( theWrappedObject->removeAllQueryItems(key)); } -QVariant PythonQtWrapper_QVariantAnimation::keyValueAt(QVariantAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QUrlQuery::removeQueryItem(QUrlQuery* theWrappedObject, const QString& key) { - return ( theWrappedObject->keyValueAt(step)); + ( theWrappedObject->removeQueryItem(key)); } -QVector > PythonQtWrapper_QVariantAnimation::keyValues(QVariantAnimation* theWrappedObject) const +void PythonQtWrapper_QUrlQuery::setQuery(QUrlQuery* theWrappedObject, const QString& queryString) { - return ( theWrappedObject->keyValues()); + ( theWrappedObject->setQuery(queryString)); } -void PythonQtWrapper_QVariantAnimation::setDuration(QVariantAnimation* theWrappedObject, int msecs) +void PythonQtWrapper_QUrlQuery::setQueryDelimiters(QUrlQuery* theWrappedObject, QChar valueDelimiter, QChar pairDelimiter) { - ( theWrappedObject->setDuration(msecs)); + ( theWrappedObject->setQueryDelimiters(valueDelimiter, pairDelimiter)); } -void PythonQtWrapper_QVariantAnimation::setEasingCurve(QVariantAnimation* theWrappedObject, const QEasingCurve& easing) +void PythonQtWrapper_QUrlQuery::setQueryItems(QUrlQuery* theWrappedObject, const QList >& query) { - ( theWrappedObject->setEasingCurve(easing)); + ( theWrappedObject->setQueryItems(query)); } -void PythonQtWrapper_QVariantAnimation::setEndValue(QVariantAnimation* theWrappedObject, const QVariant& value) +void PythonQtWrapper_QUrlQuery::swap(QUrlQuery* theWrappedObject, QUrlQuery& other) { - ( theWrappedObject->setEndValue(value)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QVariantAnimation::setKeyValueAt(QVariantAnimation* theWrappedObject, qreal step, const QVariant& value) +QString PythonQtWrapper_QUrlQuery::toString(QUrlQuery* theWrappedObject, QUrl::ComponentFormattingOptions encoding) const { - ( theWrappedObject->setKeyValueAt(step, value)); + 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); } -void PythonQtWrapper_QVariantAnimation::setKeyValues(QVariantAnimation* theWrappedObject, const QVector >& values) +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuid() { - ( theWrappedObject->setKeyValues(values)); + return (QUuid::createUuid()); } -void PythonQtWrapper_QVariantAnimation::setStartValue(QVariantAnimation* theWrappedObject, const QVariant& value) +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QByteArray& baseData) { - ( theWrappedObject->setStartValue(value)); + return (QUuid::createUuidV3(ns, baseData)); } -QVariant PythonQtWrapper_QVariantAnimation::startValue(QVariantAnimation* theWrappedObject) const +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV3(const QUuid& ns, const QString& baseData) { - return ( theWrappedObject->startValue()); + return (QUuid::createUuidV3(ns, baseData)); } -void PythonQtWrapper_QVariantAnimation::updateCurrentValue(QVariantAnimation* theWrappedObject, const QVariant& value) +QUuid PythonQtWrapper_QUuid::static_QUuid_createUuidV5(const QUuid& ns, const QByteArray& baseData) { - ( ((PythonQtPublicPromoter_QVariantAnimation*)theWrappedObject)->promoted_updateCurrentValue(value)); + 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)); +} -QWaitCondition* PythonQtWrapper_QWaitCondition::new_QWaitCondition() -{ -return new QWaitCondition(); } +QUuid PythonQtWrapper_QUuid::static_QUuid_fromString(QLatin1String string) +{ + return (QUuid::fromString(string)); +} -void PythonQtWrapper_QWaitCondition::notify_all(QWaitCondition* theWrappedObject) +QUuid PythonQtWrapper_QUuid::static_QUuid_fromString(QStringView string) { - ( theWrappedObject->notify_all()); + return (QUuid::fromString(string)); } -void PythonQtWrapper_QWaitCondition::notify_one(QWaitCondition* theWrappedObject) +bool PythonQtWrapper_QUuid::isNull(QUuid* theWrappedObject) const { - ( theWrappedObject->notify_one()); + return ( theWrappedObject->isNull()); } -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, QDeadlineTimer deadline) +bool PythonQtWrapper_QUuid::__ne__(QUuid* theWrappedObject, const QUuid& orig) const { - return ( theWrappedObject->wait(lockedMutex, deadline)); + return ( (*theWrappedObject)!= orig); } -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, unsigned long time) +bool PythonQtWrapper_QUuid::__lt__(QUuid* theWrappedObject, const QUuid& other) const { - return ( theWrappedObject->wait(lockedMutex, time)); + return ( (*theWrappedObject)< other); } -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, QDeadlineTimer deadline) +void PythonQtWrapper_QUuid::writeTo(QUuid* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->wait(lockedReadWriteLock, deadline)); + arg__1 << (*theWrappedObject); } -bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time) +bool PythonQtWrapper_QUuid::__le__(QUuid* theWrappedObject, const QUuid& rhs) { - return ( theWrappedObject->wait(lockedReadWriteLock, time)); + return ( (*theWrappedObject)<= rhs); } -void PythonQtWrapper_QWaitCondition::wakeAll(QWaitCondition* theWrappedObject) +bool PythonQtWrapper_QUuid::__eq__(QUuid* theWrappedObject, const QUuid& orig) const { - ( theWrappedObject->wakeAll()); + return ( (*theWrappedObject)== orig); } -void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) +bool PythonQtWrapper_QUuid::__gt__(QUuid* theWrappedObject, const QUuid& other) const { - ( theWrappedObject->wakeOne()); + 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); +} -PythonQtShell_QXmlStreamEntityResolver::~PythonQtShell_QXmlStreamEntityResolver() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toByteArray()); } -QString PythonQtShell_QXmlStreamEntityResolver::resolveEntity(const QString& publicId0, const QString& systemId1) + +QByteArray PythonQtWrapper_QUuid::toByteArray(QUuid* theWrappedObject, QUuid::StringFormat mode) const { -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 ( theWrappedObject->toByteArray(mode)); } - return QXmlStreamEntityResolver::resolveEntity(publicId0, systemId1); + +QByteArray PythonQtWrapper_QUuid::toRfc4122(QUuid* theWrappedObject) const +{ + return ( theWrappedObject->toRfc4122()); } -QString PythonQtShell_QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name0) + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject) const { -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 ( theWrappedObject->toString()); } - return QXmlStreamEntityResolver::resolveUndeclaredEntity(name0); + +QString PythonQtWrapper_QUuid::toString(QUuid* theWrappedObject, QUuid::StringFormat mode) const +{ + return ( theWrappedObject->toString(mode)); } -QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamEntityResolver::new_QXmlStreamEntityResolver() -{ -return new PythonQtShell_QXmlStreamEntityResolver(); } -QString PythonQtWrapper_QXmlStreamEntityResolver::resolveEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId) +QUuid::Variant PythonQtWrapper_QUuid::variant(QUuid* theWrappedObject) const { - return ( theWrappedObject->resolveEntity(publicId, systemId)); + return ( theWrappedObject->variant()); } -QString PythonQtWrapper_QXmlStreamEntityResolver::resolveUndeclaredEntity(QXmlStreamEntityResolver* theWrappedObject, const QString& name) +QUuid::Version PythonQtWrapper_QUuid::version(QUuid* theWrappedObject) const { - return ( theWrappedObject->resolveUndeclaredEntity(name)); + return ( theWrappedObject->version()); } +QString PythonQtWrapper_QUuid::py_toString(QUuid* obj) { return obj->toString(); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.h b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.h index 4bac42e5..c31d86cf 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core3.h @@ -1,14 +1,14 @@ #include -#include #include #include #include -#include +#include +#include +#include #include #include #include #include -#include #include #include #include @@ -16,11 +16,15 @@ #include #include #include -#include #include #include -#include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -41,10 +45,383 @@ #include #include #include -#include -#include -#include -#include +#include + + + +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}; +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); +}; + + @@ -143,7 +520,7 @@ class PythonQtShell_QSysInfo : public QSysInfo ~PythonQtShell_QSysInfo(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSysInfo : public QObject @@ -256,7 +633,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTemporaryFile : public QTemporaryFile @@ -340,7 +717,7 @@ QString convertToUnicode(const char* in, int length, QTextCodec::ConverterSta int mibEnum() const override; QByteArray name() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextCodec : public QTextCodec @@ -438,7 +815,7 @@ class PythonQtShell_QTextStream : public QTextStream ~PythonQtShell_QTextStream() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextStream : public QObject @@ -471,9 +848,7 @@ void delete_QTextStream(QTextStream* obj) { delete obj; } int integerBase(QTextStream* theWrappedObject) const; QLocale locale(QTextStream* theWrappedObject) const; QTextStream::NumberFlags numberFlags(QTextStream* theWrappedObject) const; - QTextStream* __lshift__(QTextStream* theWrappedObject, QLatin1String s); QTextStream* writeByte(QTextStream* theWrappedObject, char ch); - QTextStream* __lshift__(QTextStream* theWrappedObject, const QStringRef& s); QTextStream* writeDouble(QTextStream* theWrappedObject, double f); QTextStream* writeFloat(QTextStream* theWrappedObject, float f); QTextStream* writeLongLong(QTextStream* theWrappedObject, qlonglong i); @@ -534,7 +909,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QThread : public QThread @@ -549,6 +924,9 @@ inline void py_q_run() { QThread::run(); } class PythonQtWrapper_QThread : public QObject { Q_OBJECT public: +Q_ENUMS(Priority ) +enum Priority{ + IdlePriority = QThread::IdlePriority, LowestPriority = QThread::LowestPriority, LowPriority = QThread::LowPriority, NormalPriority = QThread::NormalPriority, HighPriority = QThread::HighPriority, HighestPriority = QThread::HighestPriority, TimeCriticalPriority = QThread::TimeCriticalPriority, InheritPriority = QThread::InheritPriority}; public slots: QThread* new_QThread(QObject* parent = nullptr); void delete_QThread(QThread* obj) { delete obj; } @@ -564,10 +942,12 @@ void delete_QThread(QThread* obj) { delete obj; } bool isRunning(QThread* theWrappedObject) const; int loopLevel(QThread* theWrappedObject) const; void static_QThread_msleep(unsigned long arg__1); + QThread::Priority priority(QThread* theWrappedObject) const; void requestInterruption(QThread* theWrappedObject); void run(QThread* theWrappedObject); void py_q_run(QThread* theWrappedObject){ (((PythonQtPublicPromoter_QThread*)theWrappedObject)->py_q_run());} void setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher); + void setPriority(QThread* theWrappedObject, QThread::Priority priority); void setStackSize(QThread* theWrappedObject, uint stackSize); void static_QThread_setTerminationEnabled(bool enabled = true); void static_QThread_sleep(unsigned long arg__1); @@ -596,7 +976,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QThreadPool : public QObject @@ -643,7 +1023,7 @@ qreal valueForTime(int msec) const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTimeLine : public QTimeLine @@ -766,7 +1146,7 @@ void timerEvent(QTimerEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTimer : public QTimer @@ -807,7 +1187,7 @@ class PythonQtShell_QTimerEvent : public QTimerEvent ~PythonQtShell_QTimerEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimerEvent : public QObject @@ -840,7 +1220,7 @@ QString translate(const char* context, const char* sourceText, const char* d const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTranslator : public QTranslator @@ -919,7 +1299,7 @@ class PythonQtShell_QUuid : public QUuid ~PythonQtShell_QUuid(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUuid : public QObject @@ -949,6 +1329,7 @@ void delete_QUuid(QUuid* obj) { delete obj; } 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; @@ -976,129 +1357,3 @@ 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_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); - bool wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, unsigned long time = ULONG_MAX); - bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, QDeadlineTimer deadline); - bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time = ULONG_MAX); - void wakeAll(QWaitCondition* theWrappedObject); - void wakeOne(QWaitCondition* theWrappedObject); -}; - - - - - -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));} -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core4.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core4.cpp new file mode 100644 index 00000000..64cd69ae --- /dev/null +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core4.cpp @@ -0,0 +1,691 @@ +#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 + +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.12.12/com_trolltech_qt_core/com_trolltech_qt_core4.h b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core4.h new file mode 100644 index 00000000..1b00d271 --- /dev/null +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core4.h @@ -0,0 +1,231 @@ +#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_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); + bool wait(QWaitCondition* theWrappedObject, QMutex* lockedMutex, unsigned long time = ULONG_MAX); + bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, QDeadlineTimer deadline); + bool wait(QWaitCondition* theWrappedObject, QReadWriteLock* lockedReadWriteLock, unsigned long time = ULONG_MAX); + 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.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp index 800a4bce..3e5eaa6d 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -4,6 +4,7 @@ #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) { @@ -57,6 +58,13 @@ PythonQt::priv()->registerCPPClass("QBasicMutex", "", "QtCore", PythonQtCreateOb 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("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); @@ -65,7 +73,7 @@ PythonQt::priv()->registerCPPClass("QCommandLineParser", "", "QtCore", PythonQtC PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerCPPClass("QDeadlineTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract); +PythonQt::priv()->registerCPPClass("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); @@ -110,17 +118,17 @@ PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateOb PythonQt::priv()->registerCPPClass("QMutex", "QBasicMutex", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QMutexLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); PythonQt::priv()->registerClass(&QObject::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOperatingSystemVersion", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->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, 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("QRegularExpression", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QRegularExpressionMatch", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QRegularExpressionMatchIterator", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QResource", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); @@ -130,6 +138,7 @@ PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObj 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); @@ -159,8 +168,12 @@ PythonQt::priv()->registerClass(&QTranslator::staticMetaObject, "QtCore", Python 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); +//TODO: uncomment later +//PythonQt::priv()->registerGlobalNamespace("QtCore", "QtCore", PythonQtCreateObject, PythonQtWrapper_QtCore::staticMetaObject, module); PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); @@ -170,4 +183,5 @@ PythonQtRegisterListTemplateConverterForKnownClass(QList, QMimeType); PythonQtRegisterListTemplateConverterForKnownClass(QList, QModelIndex); PythonQtRegisterListTemplateConverterForKnownClass(QList, QPersistentModelIndex); PythonQtRegisterListTemplateConverterForKnownClass(QList, QStorageInfo); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QCborValue); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp index 10024140..eb8a1c23 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp @@ -16,12 +16,15 @@ #include #include #include +#include #include #include #include +#include #include #include #include +#include #include #include #include @@ -79,6 +82,11 @@ bool PythonQtWrapper_QBitArray::fill(QBitArray* theWrappedObject, bool val, in 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()); @@ -146,7 +154,7 @@ QBitArray* PythonQtWrapper_QBitArray::__ior__(QBitArray* theWrappedObject, cons QBitArray PythonQtWrapper_QBitArray::__invert__(QBitArray* theWrappedObject) const { - return ( theWrappedObject->operator~()); + return (~ (*theWrappedObject)); } void PythonQtWrapper_QBitArray::resize(QBitArray* theWrappedObject, int size) @@ -240,11 +248,6 @@ char PythonQtWrapper_QByteArray::at(QByteArray* theWrappedObject, int i) const return ( theWrappedObject->at(i)); } -QByteRef PythonQtWrapper_QByteArray::back(QByteArray* theWrappedObject) -{ - return ( theWrappedObject->back()); -} - char PythonQtWrapper_QByteArray::back(QByteArray* theWrappedObject) const { return ( theWrappedObject->back()); @@ -255,16 +258,6 @@ int PythonQtWrapper_QByteArray::capacity(QByteArray* theWrappedObject) const return ( theWrappedObject->capacity()); } -const char* PythonQtWrapper_QByteArray::cbegin(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->cbegin()); -} - -const char* PythonQtWrapper_QByteArray::cend(QByteArray* theWrappedObject) const -{ - return ( theWrappedObject->cend()); -} - void PythonQtWrapper_QByteArray::chop(QByteArray* theWrappedObject, int n) { ( theWrappedObject->chop(n)); @@ -350,11 +343,6 @@ QByteArray PythonQtWrapper_QByteArray::static_QByteArray_fromPercentEncoding(co return (QByteArray::fromPercentEncoding(pctEncoded, percent)); } -QByteRef PythonQtWrapper_QByteArray::front(QByteArray* theWrappedObject) -{ - return ( theWrappedObject->front()); -} - char PythonQtWrapper_QByteArray::front(QByteArray* theWrappedObject) const { return ( theWrappedObject->front()); @@ -1012,10 +1000,6 @@ QDateTime* PythonQtWrapper_QDateTime::new_QDateTime() { return new QDateTime(); } -QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(QDateTime& other) -{ -return new QDateTime(other); } - QDateTime* PythonQtWrapper_QDateTime::new_QDateTime(const QDate& arg__1) { return new QDateTime(arg__1); } @@ -1870,11 +1854,6 @@ QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const Q return ( theWrappedObject->quoteString(str, style)); } -QString PythonQtWrapper_QLocale::quoteString(QLocale* theWrappedObject, const QStringRef& str, QLocale::QuotationStyle style) const -{ - return ( theWrappedObject->quoteString(str, style)); -} - QLocale::Script PythonQtWrapper_QLocale::script(QLocale* theWrappedObject) const { return ( theWrappedObject->script()); @@ -2000,41 +1979,21 @@ double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QStri return ( theWrappedObject->toDouble(s, ok)); } -double PythonQtWrapper_QLocale::toDouble(QLocale* theWrappedObject, const QStringRef& 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)); } -float PythonQtWrapper_QLocale::toFloat(QLocale* theWrappedObject, const QStringRef& 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)); } -int PythonQtWrapper_QLocale::toInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const -{ - return ( theWrappedObject->toInt(s, ok)); -} - qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const { return ( theWrappedObject->toLongLong(s, ok)); } -qlonglong PythonQtWrapper_QLocale::toLongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const -{ - return ( theWrappedObject->toLongLong(s, ok)); -} - QString PythonQtWrapper_QLocale::toLower(QLocale* theWrappedObject, const QString& str) const { return ( theWrappedObject->toLower(str)); @@ -2045,11 +2004,6 @@ short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QString return ( theWrappedObject->toShort(s, ok)); } -short PythonQtWrapper_QLocale::toShort(QLocale* theWrappedObject, const QStringRef& 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)); @@ -2120,31 +2074,16 @@ uint PythonQtWrapper_QLocale::toUInt(QLocale* theWrappedObject, const QString& return ( theWrappedObject->toUInt(s, ok)); } -uint PythonQtWrapper_QLocale::toUInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const -{ - return ( theWrappedObject->toUInt(s, ok)); -} - qulonglong PythonQtWrapper_QLocale::toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok) const { return ( theWrappedObject->toULongLong(s, ok)); } -qulonglong PythonQtWrapper_QLocale::toULongLong(QLocale* theWrappedObject, const QStringRef& 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)); } -ushort PythonQtWrapper_QLocale::toUShort(QLocale* theWrappedObject, const QStringRef& s, bool* ok) const -{ - return ( theWrappedObject->toUShort(s, ok)); -} - QString PythonQtWrapper_QLocale::toUpper(QLocale* theWrappedObject, const QString& str) const { return ( theWrappedObject->toUpper(str)); @@ -2197,9 +2136,9 @@ int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const return ( theWrappedObject->manhattanLength()); } -bool PythonQtWrapper_QPoint::__ne__(QPoint* theWrappedObject, const QPoint& p2) +bool PythonQtWrapper_QPoint::__ne__(QPoint* theWrappedObject, const QPoint& arg__2) { - return ( (*theWrappedObject)!= p2); + return ( (*theWrappedObject)!= arg__2); } QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix& m) @@ -2217,19 +2156,19 @@ QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QTransfo return ( (*theWrappedObject)* m); } -const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, double factor) +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, double arg__2) { - return ( (*theWrappedObject)* factor); + return ( (*theWrappedObject)* arg__2); } -const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, float factor) +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, float arg__2) { - return ( (*theWrappedObject)* factor); + return ( (*theWrappedObject)* arg__2); } -const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, int factor) +const QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, int arg__2) { - return ( (*theWrappedObject)* factor); + return ( (*theWrappedObject)* arg__2); } QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, double factor) @@ -2247,9 +2186,14 @@ QPoint* PythonQtWrapper_QPoint::__imul__(QPoint* theWrappedObject, int factor) return &( (*theWrappedObject)*= factor); } -const QPoint PythonQtWrapper_QPoint::__add__(QPoint* theWrappedObject, const QPoint& p2) +const QPoint PythonQtWrapper_QPoint::__add__(QPoint* theWrappedObject) { - return ( (*theWrappedObject)+ p2); + 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) @@ -2257,9 +2201,14 @@ QPoint* PythonQtWrapper_QPoint::__iadd__(QPoint* theWrappedObject, const QPoint return &( (*theWrappedObject)+= p); } -const QPoint PythonQtWrapper_QPoint::__sub__(QPoint* theWrappedObject, const QPoint& p2) +const QPoint PythonQtWrapper_QPoint::__sub__(QPoint* theWrappedObject) { - return ( (*theWrappedObject)- p2); + 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) @@ -2267,9 +2216,9 @@ QPoint* PythonQtWrapper_QPoint::__isub__(QPoint* theWrappedObject, const QPoint return &( (*theWrappedObject)-= p); } -const QPoint PythonQtWrapper_QPoint::__div__(QPoint* theWrappedObject, qreal c) +const QPoint PythonQtWrapper_QPoint::__div__(QPoint* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)/ c); + return ( (*theWrappedObject)/ arg__2); } QPoint* PythonQtWrapper_QPoint::__idiv__(QPoint* theWrappedObject, qreal divisor) @@ -2282,9 +2231,9 @@ void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg arg__1 << (*theWrappedObject); } -bool PythonQtWrapper_QPoint::__eq__(QPoint* theWrappedObject, const QPoint& p2) +bool PythonQtWrapper_QPoint::__eq__(QPoint* theWrappedObject, const QPoint& arg__2) { - return ( (*theWrappedObject)== p2); + return ( (*theWrappedObject)== arg__2); } void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1) @@ -2348,9 +2297,9 @@ qreal PythonQtWrapper_QPointF::manhattanLength(QPointF* theWrappedObject) const return ( theWrappedObject->manhattanLength()); } -bool PythonQtWrapper_QPointF::__ne__(QPointF* theWrappedObject, const QPointF& p2) +bool PythonQtWrapper_QPointF::__ne__(QPointF* theWrappedObject, const QPointF& arg__2) { - return ( (*theWrappedObject)!= p2); + return ( (*theWrappedObject)!= arg__2); } QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix& m) @@ -2368,9 +2317,9 @@ QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QTran return ( (*theWrappedObject)* m); } -const QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, qreal c) +const QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)* c); + return ( (*theWrappedObject)* arg__2); } QPointF* PythonQtWrapper_QPointF::__imul__(QPointF* theWrappedObject, qreal c) @@ -2378,9 +2327,14 @@ QPointF* PythonQtWrapper_QPointF::__imul__(QPointF* theWrappedObject, qreal c) return &( (*theWrappedObject)*= c); } -const QPointF PythonQtWrapper_QPointF::__add__(QPointF* theWrappedObject, const QPointF& p2) +const QPointF PythonQtWrapper_QPointF::__add__(QPointF* theWrappedObject) +{ + return (+ (*theWrappedObject)); +} + +const QPointF PythonQtWrapper_QPointF::__add__(QPointF* theWrappedObject, const QPointF& arg__2) { - return ( (*theWrappedObject)+ p2); + return ( (*theWrappedObject)+ arg__2); } QPointF* PythonQtWrapper_QPointF::__iadd__(QPointF* theWrappedObject, const QPointF& p) @@ -2388,9 +2342,14 @@ QPointF* PythonQtWrapper_QPointF::__iadd__(QPointF* theWrappedObject, const QPo return &( (*theWrappedObject)+= p); } -const QPointF PythonQtWrapper_QPointF::__sub__(QPointF* theWrappedObject, const QPointF& p2) +const QPointF PythonQtWrapper_QPointF::__sub__(QPointF* theWrappedObject) { - return ( (*theWrappedObject)- p2); + 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) @@ -2398,9 +2357,9 @@ QPointF* PythonQtWrapper_QPointF::__isub__(QPointF* theWrappedObject, const QPo return &( (*theWrappedObject)-= p); } -const QPointF PythonQtWrapper_QPointF::__div__(QPointF* theWrappedObject, qreal divisor) +const QPointF PythonQtWrapper_QPointF::__div__(QPointF* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)/ divisor); + return ( (*theWrappedObject)/ arg__2); } QPointF* PythonQtWrapper_QPointF::__idiv__(QPointF* theWrappedObject, qreal c) @@ -2413,9 +2372,9 @@ void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& a arg__1 << (*theWrappedObject); } -bool PythonQtWrapper_QPointF::__eq__(QPointF* theWrappedObject, const QPointF& p2) +bool PythonQtWrapper_QPointF::__eq__(QPointF* theWrappedObject, const QPointF& arg__2) { - return ( (*theWrappedObject)== p2); + return ( (*theWrappedObject)== arg__2); } void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1) @@ -3382,6 +3341,132 @@ QString PythonQtWrapper_QRegExp::py_toString(QRegExp* obj) { +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(); } @@ -3420,14 +3505,14 @@ bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QSize::__ne__(QSize* theWrappedObject, const QSize& s2) +bool PythonQtWrapper_QSize::__ne__(QSize* theWrappedObject, const QSize& arg__2) { - return ( (*theWrappedObject)!= s2); + return ( (*theWrappedObject)!= arg__2); } -const QSize PythonQtWrapper_QSize::__mul__(QSize* theWrappedObject, qreal c) +const QSize PythonQtWrapper_QSize::__mul__(QSize* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)* c); + return ( (*theWrappedObject)* arg__2); } QSize* PythonQtWrapper_QSize::__imul__(QSize* theWrappedObject, qreal c) @@ -3435,9 +3520,9 @@ QSize* PythonQtWrapper_QSize::__imul__(QSize* theWrappedObject, qreal c) return &( (*theWrappedObject)*= c); } -const QSize PythonQtWrapper_QSize::__add__(QSize* theWrappedObject, const QSize& s2) +const QSize PythonQtWrapper_QSize::__add__(QSize* theWrappedObject, const QSize& arg__2) { - return ( (*theWrappedObject)+ s2); + return ( (*theWrappedObject)+ arg__2); } QSize* PythonQtWrapper_QSize::__iadd__(QSize* theWrappedObject, const QSize& arg__1) @@ -3445,9 +3530,9 @@ QSize* PythonQtWrapper_QSize::__iadd__(QSize* theWrappedObject, const QSize& a return &( (*theWrappedObject)+= arg__1); } -const QSize PythonQtWrapper_QSize::__sub__(QSize* theWrappedObject, const QSize& s2) +const QSize PythonQtWrapper_QSize::__sub__(QSize* theWrappedObject, const QSize& arg__2) { - return ( (*theWrappedObject)- s2); + return ( (*theWrappedObject)- arg__2); } QSize* PythonQtWrapper_QSize::__isub__(QSize* theWrappedObject, const QSize& arg__1) @@ -3455,9 +3540,9 @@ QSize* PythonQtWrapper_QSize::__isub__(QSize* theWrappedObject, const QSize& a return &( (*theWrappedObject)-= arg__1); } -const QSize PythonQtWrapper_QSize::__div__(QSize* theWrappedObject, qreal c) +const QSize PythonQtWrapper_QSize::__div__(QSize* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)/ c); + return ( (*theWrappedObject)/ arg__2); } QSize* PythonQtWrapper_QSize::__idiv__(QSize* theWrappedObject, qreal c) @@ -3470,9 +3555,9 @@ void PythonQtWrapper_QSize::writeTo(QSize* theWrappedObject, QDataStream& arg__ arg__1 << (*theWrappedObject); } -bool PythonQtWrapper_QSize::__eq__(QSize* theWrappedObject, const QSize& s2) +bool PythonQtWrapper_QSize::__eq__(QSize* theWrappedObject, const QSize& arg__2) { - return ( (*theWrappedObject)== s2); + return ( (*theWrappedObject)== arg__2); } void PythonQtWrapper_QSize::readFrom(QSize* theWrappedObject, QDataStream& arg__1) @@ -3576,14 +3661,14 @@ bool PythonQtWrapper_QSizeF::isValid(QSizeF* theWrappedObject) const return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QSizeF::__ne__(QSizeF* theWrappedObject, const QSizeF& s2) +bool PythonQtWrapper_QSizeF::__ne__(QSizeF* theWrappedObject, const QSizeF& arg__2) { - return ( (*theWrappedObject)!= s2); + return ( (*theWrappedObject)!= arg__2); } -const QSizeF PythonQtWrapper_QSizeF::__mul__(QSizeF* theWrappedObject, qreal c) +const QSizeF PythonQtWrapper_QSizeF::__mul__(QSizeF* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)* c); + return ( (*theWrappedObject)* arg__2); } QSizeF* PythonQtWrapper_QSizeF::__imul__(QSizeF* theWrappedObject, qreal c) @@ -3591,9 +3676,9 @@ QSizeF* PythonQtWrapper_QSizeF::__imul__(QSizeF* theWrappedObject, qreal c) return &( (*theWrappedObject)*= c); } -const QSizeF PythonQtWrapper_QSizeF::__add__(QSizeF* theWrappedObject, const QSizeF& s2) +const QSizeF PythonQtWrapper_QSizeF::__add__(QSizeF* theWrappedObject, const QSizeF& arg__2) { - return ( (*theWrappedObject)+ s2); + return ( (*theWrappedObject)+ arg__2); } QSizeF* PythonQtWrapper_QSizeF::__iadd__(QSizeF* theWrappedObject, const QSizeF& arg__1) @@ -3601,9 +3686,9 @@ QSizeF* PythonQtWrapper_QSizeF::__iadd__(QSizeF* theWrappedObject, const QSizeF return &( (*theWrappedObject)+= arg__1); } -const QSizeF PythonQtWrapper_QSizeF::__sub__(QSizeF* theWrappedObject, const QSizeF& s2) +const QSizeF PythonQtWrapper_QSizeF::__sub__(QSizeF* theWrappedObject, const QSizeF& arg__2) { - return ( (*theWrappedObject)- s2); + return ( (*theWrappedObject)- arg__2); } QSizeF* PythonQtWrapper_QSizeF::__isub__(QSizeF* theWrappedObject, const QSizeF& arg__1) @@ -3611,9 +3696,9 @@ QSizeF* PythonQtWrapper_QSizeF::__isub__(QSizeF* theWrappedObject, const QSizeF return &( (*theWrappedObject)-= arg__1); } -const QSizeF PythonQtWrapper_QSizeF::__div__(QSizeF* theWrappedObject, qreal c) +const QSizeF PythonQtWrapper_QSizeF::__div__(QSizeF* theWrappedObject, qreal arg__2) { - return ( (*theWrappedObject)/ c); + return ( (*theWrappedObject)/ arg__2); } QSizeF* PythonQtWrapper_QSizeF::__idiv__(QSizeF* theWrappedObject, qreal c) @@ -3626,9 +3711,9 @@ void PythonQtWrapper_QSizeF::writeTo(QSizeF* theWrappedObject, QDataStream& arg arg__1 << (*theWrappedObject); } -bool PythonQtWrapper_QSizeF::__eq__(QSizeF* theWrappedObject, const QSizeF& s2) +bool PythonQtWrapper_QSizeF::__eq__(QSizeF* theWrappedObject, const QSizeF& arg__2) { - return ( (*theWrappedObject)== s2); + return ( (*theWrappedObject)== arg__2); } void PythonQtWrapper_QSizeF::readFrom(QSizeF* theWrappedObject, QDataStream& arg__1) diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h index d30a5401..8fda8903 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h @@ -18,9 +18,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -44,6 +46,7 @@ void delete_QBitArray(QBitArray* obj) { delete obj; } 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; @@ -93,11 +96,8 @@ void delete_QByteArray(QByteArray* obj) { delete obj; } QByteArray* append(QByteArray* theWrappedObject, const char* s, int len); QByteArray* append(QByteArray* theWrappedObject, int count, char c); char at(QByteArray* theWrappedObject, int i) const; - QByteRef back(QByteArray* theWrappedObject); char back(QByteArray* theWrappedObject) const; int capacity(QByteArray* theWrappedObject) const; - const char* cbegin(QByteArray* theWrappedObject) const; - const char* cend(QByteArray* theWrappedObject) const; void chop(QByteArray* theWrappedObject, int n); QByteArray chopped(QByteArray* theWrappedObject, int len) const; void clear(QByteArray* theWrappedObject); @@ -115,7 +115,6 @@ void delete_QByteArray(QByteArray* obj) { delete obj; } QByteArray static_QByteArray_fromBase64(const QByteArray& base64, QByteArray::Base64Options options); QByteArray static_QByteArray_fromHex(const QByteArray& hexEncoded); QByteArray static_QByteArray_fromPercentEncoding(const QByteArray& pctEncoded, char percent = '%'); - QByteRef front(QByteArray* theWrappedObject); 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; @@ -283,7 +282,6 @@ class PythonQtWrapper_QDateTime : public QObject public: public slots: QDateTime* new_QDateTime(); -QDateTime* new_QDateTime(QDateTime& other); 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); @@ -528,7 +526,6 @@ void delete_QLocale(QLocale* obj) { delete obj; } QString pmText(QLocale* theWrappedObject) const; QChar positiveSign(QLocale* theWrappedObject) const; QString quoteString(QLocale* theWrappedObject, const QString& str, QLocale::QuotationStyle style = QLocale::StandardQuotation) const; - QString quoteString(QLocale* theWrappedObject, const QStringRef& 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); @@ -554,16 +551,11 @@ void delete_QLocale(QLocale* obj) { delete obj; } QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType format = QLocale::LongFormat) const; QDateTime toDateTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; double toDouble(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - double toDouble(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; float toFloat(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - float toFloat(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; int toInt(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - int toInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; qlonglong toLongLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - qlonglong toLongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; QString toLower(QLocale* theWrappedObject, const QString& str) const; short toShort(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - short toShort(QLocale* theWrappedObject, const QStringRef& 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, const QString& formatStr) const; QString toString(QLocale* theWrappedObject, const QDateTime& dateTime, QLocale::FormatType format = QLocale::LongFormat) const; @@ -578,11 +570,8 @@ void delete_QLocale(QLocale* obj) { delete obj; } QTime toTime(QLocale* theWrappedObject, const QString& string, QLocale::FormatType arg__2 = QLocale::LongFormat) const; QTime toTime(QLocale* theWrappedObject, const QString& string, const QString& format) const; uint toUInt(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - uint toUInt(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; qulonglong toULongLong(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - qulonglong toULongLong(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; ushort toUShort(QLocale* theWrappedObject, const QString& s, bool* ok = nullptr) const; - ushort toUShort(QLocale* theWrappedObject, const QStringRef& s, bool* ok = nullptr) const; QString toUpper(QLocale* theWrappedObject, const QString& str) const; QStringList uiLanguages(QLocale* theWrappedObject) const; QList weekdays(QLocale* theWrappedObject) const; @@ -608,24 +597,26 @@ void delete_QPoint(QPoint* obj) { delete obj; } int static_QPoint_dotProduct(const QPoint& p1, const QPoint& p2); bool isNull(QPoint* theWrappedObject) const; int manhattanLength(QPoint* theWrappedObject) const; - bool __ne__(QPoint* theWrappedObject, const QPoint& p2); + 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 factor); - const QPoint __mul__(QPoint* theWrappedObject, float factor); - const QPoint __mul__(QPoint* theWrappedObject, int factor); + 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& p2); + 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& p2); + 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 c); + 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& p2); + 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); @@ -654,20 +645,22 @@ void delete_QPointF(QPointF* obj) { delete obj; } qreal static_QPointF_dotProduct(const QPointF& p1, const QPointF& p2); bool isNull(QPointF* theWrappedObject) const; qreal manhattanLength(QPointF* theWrappedObject) const; - bool __ne__(QPointF* theWrappedObject, const QPointF& p2); + 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 c); + const QPointF __mul__(QPointF* theWrappedObject, qreal arg__2); QPointF* __imul__(QPointF* theWrappedObject, qreal c); - const QPointF __add__(QPointF* theWrappedObject, const QPointF& p2); + 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& p2); + 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 divisor); + 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& p2); + 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); @@ -916,6 +909,53 @@ void delete_QRegExp(QRegExp* obj) { delete obj; } +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: @@ -933,17 +973,17 @@ void delete_QSize(QSize* obj) { delete obj; } bool isEmpty(QSize* theWrappedObject) const; bool isNull(QSize* theWrappedObject) const; bool isValid(QSize* theWrappedObject) const; - bool __ne__(QSize* theWrappedObject, const QSize& s2); - const QSize __mul__(QSize* theWrappedObject, qreal c); + 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& s2); + const QSize __add__(QSize* theWrappedObject, const QSize& arg__2); QSize* __iadd__(QSize* theWrappedObject, const QSize& arg__1); - const QSize __sub__(QSize* theWrappedObject, const QSize& s2); + const QSize __sub__(QSize* theWrappedObject, const QSize& arg__2); QSize* __isub__(QSize* theWrappedObject, const QSize& arg__1); - const QSize __div__(QSize* theWrappedObject, qreal c); + 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& s2); + 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); @@ -980,17 +1020,17 @@ void delete_QSizeF(QSizeF* obj) { delete obj; } bool isEmpty(QSizeF* theWrappedObject) const; bool isNull(QSizeF* theWrappedObject) const; bool isValid(QSizeF* theWrappedObject) const; - bool __ne__(QSizeF* theWrappedObject, const QSizeF& s2); - const QSizeF __mul__(QSizeF* theWrappedObject, qreal c); + 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& s2); + const QSizeF __add__(QSizeF* theWrappedObject, const QSizeF& arg__2); QSizeF* __iadd__(QSizeF* theWrappedObject, const QSizeF& arg__1); - const QSizeF __sub__(QSizeF* theWrappedObject, const QSizeF& s2); + const QSizeF __sub__(QSizeF* theWrappedObject, const QSizeF& arg__2); QSizeF* __isub__(QSizeF* theWrappedObject, const QSizeF& arg__1); - const QSizeF __div__(QSizeF* theWrappedObject, qreal c); + 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& s2); + 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); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp index 7634ff7e..eb6a4bd5 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp @@ -16,6 +16,7 @@ PythonQt::priv()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject 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); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index 1036cfcb..bfab4171 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -2,14 +2,15 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include +#include #include #include #include @@ -23,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -35,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -60,9 +63,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -85,6 +90,7 @@ #include #include #include +#include #include #include #include @@ -121,7 +127,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -143,7 +149,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -165,7 +171,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -187,7 +193,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -209,7 +215,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -231,7 +237,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -253,7 +259,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -286,7 +292,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -308,7 +314,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -330,7 +336,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -352,7 +358,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -374,7 +380,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -396,7 +402,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -429,7 +435,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -462,7 +468,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -484,7 +490,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -517,7 +523,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -539,7 +545,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -572,7 +578,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -605,7 +611,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -627,7 +633,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -660,7 +666,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -682,7 +688,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -704,7 +710,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -737,7 +743,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -759,7 +765,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -781,7 +787,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -803,7 +809,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -836,7 +842,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -869,7 +875,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -891,7 +897,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -913,7 +919,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -935,7 +941,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -957,7 +963,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -979,7 +985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1012,7 +1018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1034,7 +1040,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1067,7 +1073,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1089,7 +1095,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1122,7 +1128,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1144,7 +1150,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1166,7 +1172,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1199,7 +1205,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1221,7 +1227,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1254,7 +1260,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1276,7 +1282,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1298,7 +1304,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1320,7 +1326,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1485,7 +1491,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1518,7 +1524,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1551,7 +1557,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1584,7 +1590,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1617,7 +1623,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1639,7 +1645,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1661,7 +1667,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1683,7 +1689,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1705,7 +1711,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1727,7 +1733,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1760,7 +1766,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1782,7 +1788,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1804,7 +1810,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1826,7 +1832,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1848,7 +1854,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1870,7 +1876,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1892,7 +1898,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1925,7 +1931,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1958,7 +1964,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1991,7 +1997,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -2016,7 +2022,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2038,7 +2044,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2060,7 +2066,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2082,7 +2088,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2104,7 +2110,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2126,7 +2132,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2159,7 +2165,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2181,7 +2187,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2214,7 +2220,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2247,7 +2253,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2269,7 +2275,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2302,7 +2308,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2335,7 +2341,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2368,7 +2374,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2390,7 +2396,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2442,7 +2448,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2475,7 +2481,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2497,7 +2503,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2519,7 +2525,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2552,7 +2558,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2585,7 +2591,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2618,7 +2624,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2651,7 +2657,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2673,7 +2679,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2706,7 +2712,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2728,7 +2734,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2750,7 +2756,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2783,7 +2789,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2805,7 +2811,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2827,7 +2833,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2922,7 +2928,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2944,7 +2950,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2966,7 +2972,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2988,7 +2994,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3010,7 +3016,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3032,7 +3038,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3054,7 +3060,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3076,7 +3082,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3098,7 +3104,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3120,7 +3126,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3153,7 +3159,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3175,7 +3181,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3197,7 +3203,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3219,7 +3225,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3241,7 +3247,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3263,7 +3269,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3296,7 +3302,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3318,7 +3324,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3340,7 +3346,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3373,7 +3379,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3406,7 +3412,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3428,7 +3434,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3461,7 +3467,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3483,7 +3489,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3516,7 +3522,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3549,7 +3555,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3571,7 +3577,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3604,7 +3610,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3626,7 +3632,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3648,7 +3654,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3681,7 +3687,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3703,7 +3709,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3725,7 +3731,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3758,7 +3764,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3791,7 +3797,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3813,7 +3819,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3835,7 +3841,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3857,7 +3863,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3879,7 +3885,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3912,7 +3918,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3945,7 +3951,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3967,7 +3973,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3989,7 +3995,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4011,7 +4017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4033,7 +4039,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4066,7 +4072,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4088,7 +4094,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4121,7 +4127,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4154,7 +4160,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4176,7 +4182,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4209,7 +4215,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4231,7 +4237,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4253,7 +4259,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4275,7 +4281,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4297,7 +4303,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4319,7 +4325,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4341,7 +4347,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4363,7 +4369,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4396,7 +4402,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4418,7 +4424,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4451,7 +4457,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4473,7 +4479,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4495,7 +4501,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4517,7 +4523,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4539,7 +4545,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4561,7 +4567,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4583,7 +4589,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4616,7 +4622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4638,7 +4644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4671,7 +4677,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4704,7 +4710,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4737,7 +4743,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4759,7 +4765,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4781,7 +4787,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4803,7 +4809,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4825,7 +4831,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4847,7 +4853,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4869,7 +4875,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4902,7 +4908,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4924,7 +4930,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4946,7 +4952,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4979,7 +4985,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5012,7 +5018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5045,7 +5051,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5078,7 +5084,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5111,7 +5117,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5133,7 +5139,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5583,7 +5589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5605,7 +5611,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5627,7 +5633,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5649,7 +5655,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5671,7 +5677,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5693,7 +5699,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5715,7 +5721,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5748,7 +5754,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5770,7 +5776,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5792,7 +5798,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5814,7 +5820,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5836,7 +5842,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5858,7 +5864,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5880,7 +5886,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5913,7 +5919,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5946,7 +5952,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5979,7 +5985,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6001,7 +6007,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6034,7 +6040,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6056,7 +6062,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6089,7 +6095,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6122,7 +6128,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6144,7 +6150,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6166,7 +6172,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6188,7 +6194,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6221,7 +6227,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6243,7 +6249,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6265,7 +6271,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6287,7 +6293,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6320,7 +6326,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6353,7 +6359,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6375,7 +6381,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6397,7 +6403,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6419,7 +6425,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6441,7 +6447,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6463,7 +6469,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6496,7 +6502,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6518,7 +6524,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6551,7 +6557,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6573,7 +6579,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6606,7 +6612,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6628,7 +6634,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6650,7 +6656,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6672,7 +6678,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6705,7 +6711,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6727,7 +6733,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6760,7 +6766,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6782,7 +6788,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6804,7 +6810,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6826,7 +6832,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6952,7 +6958,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6985,7 +6991,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7018,7 +7024,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7040,7 +7046,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7073,7 +7079,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7095,7 +7101,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7128,7 +7134,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7161,7 +7167,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7194,7 +7200,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7227,7 +7233,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7249,7 +7255,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7282,7 +7288,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7315,7 +7321,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7348,7 +7354,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7381,7 +7387,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7414,7 +7420,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7447,7 +7453,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7480,7 +7486,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7513,7 +7519,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7546,7 +7552,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7579,7 +7585,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7612,7 +7618,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7645,7 +7651,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7678,7 +7684,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7711,7 +7717,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7744,7 +7750,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7777,7 +7783,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7810,7 +7816,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7843,7 +7849,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7876,7 +7882,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7898,7 +7904,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7931,7 +7937,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7964,7 +7970,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7997,7 +8003,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8030,7 +8036,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8063,7 +8069,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8085,7 +8091,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8118,7 +8124,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8140,7 +8146,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8173,7 +8179,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8206,7 +8212,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8239,7 +8245,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8272,7 +8278,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8294,7 +8300,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8369,7 +8375,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8391,7 +8397,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8413,7 +8419,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8435,7 +8441,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8457,7 +8463,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8479,7 +8485,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8512,7 +8518,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8534,7 +8540,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8556,7 +8562,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8578,7 +8584,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8600,7 +8606,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8622,7 +8628,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8655,7 +8661,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8688,7 +8694,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8710,7 +8716,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8743,7 +8749,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8765,7 +8771,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8798,7 +8804,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8831,7 +8837,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8853,7 +8859,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8875,7 +8881,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8897,7 +8903,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8930,7 +8936,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8952,7 +8958,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8974,7 +8980,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8996,7 +9002,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9029,7 +9035,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9062,7 +9068,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9084,7 +9090,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9106,7 +9112,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9128,7 +9134,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9150,7 +9156,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9172,7 +9178,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9205,7 +9211,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9238,7 +9244,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9260,7 +9266,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9293,7 +9299,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9315,7 +9321,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9337,7 +9343,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9359,7 +9365,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9381,7 +9387,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9414,7 +9420,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9436,7 +9442,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9469,7 +9475,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9491,7 +9497,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9513,7 +9519,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9546,7 +9552,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9579,7 +9585,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9601,7 +9607,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9771,7 +9777,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9793,7 +9799,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9815,7 +9821,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9837,7 +9843,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9859,7 +9865,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9881,7 +9887,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9914,7 +9920,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9936,7 +9942,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9958,7 +9964,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9980,7 +9986,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10002,7 +10008,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10024,7 +10030,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10057,7 +10063,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10090,7 +10096,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10112,7 +10118,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10145,7 +10151,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10167,7 +10173,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10200,7 +10206,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10233,7 +10239,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10255,7 +10261,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10277,7 +10283,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10299,7 +10305,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10332,7 +10338,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10354,7 +10360,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10376,7 +10382,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10398,7 +10404,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10431,7 +10437,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10464,7 +10470,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10486,7 +10492,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10508,7 +10514,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10530,7 +10536,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10552,7 +10558,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10574,7 +10580,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10607,7 +10613,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10640,7 +10646,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10662,7 +10668,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10695,7 +10701,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10717,7 +10723,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10739,7 +10745,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10772,7 +10778,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10794,7 +10800,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10827,7 +10833,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10849,7 +10855,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10871,7 +10877,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10893,7 +10899,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10915,7 +10921,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11080,7 +11086,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11102,7 +11108,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11124,7 +11130,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11146,7 +11152,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11168,7 +11174,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11190,7 +11196,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11212,7 +11218,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11245,7 +11251,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11267,7 +11273,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11289,7 +11295,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11311,7 +11317,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11333,7 +11339,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11355,7 +11361,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11388,7 +11394,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11421,7 +11427,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11443,7 +11449,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11465,7 +11471,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11498,7 +11504,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11520,7 +11526,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11553,7 +11559,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11586,7 +11592,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11608,7 +11614,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11630,7 +11636,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11652,7 +11658,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11685,7 +11691,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11707,7 +11713,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11729,7 +11735,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11751,7 +11757,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11784,7 +11790,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11817,7 +11823,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11839,7 +11845,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11861,7 +11867,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11883,7 +11889,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11905,7 +11911,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11927,7 +11933,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11960,7 +11966,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11993,7 +11999,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12015,7 +12021,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12048,7 +12054,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12070,7 +12076,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12092,7 +12098,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12125,7 +12131,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12147,7 +12153,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12180,7 +12186,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12202,7 +12208,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12235,7 +12241,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12257,7 +12263,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12279,7 +12285,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12312,7 +12318,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12334,7 +12340,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12550,7 +12556,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12583,7 +12589,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12616,7 +12622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12638,7 +12644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12671,7 +12677,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12693,7 +12699,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12726,7 +12732,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12759,7 +12765,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12792,7 +12798,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12825,7 +12831,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12847,7 +12853,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12880,7 +12886,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12913,7 +12919,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12946,7 +12952,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12979,7 +12985,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13012,7 +13018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13045,7 +13051,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13078,7 +13084,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13111,7 +13117,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13144,7 +13150,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13177,7 +13183,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13210,7 +13216,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13243,7 +13249,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13276,7 +13282,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13298,7 +13304,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13331,7 +13337,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13364,7 +13370,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13397,7 +13403,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13430,7 +13436,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13463,7 +13469,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13496,7 +13502,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13518,7 +13524,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13551,7 +13557,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13584,7 +13590,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13617,7 +13623,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13650,7 +13656,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13672,7 +13678,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13728,7 +13734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13750,7 +13756,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13772,7 +13778,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13794,7 +13800,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13827,7 +13833,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13849,7 +13855,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13871,7 +13877,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13904,7 +13910,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13937,7 +13943,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13970,7 +13976,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14003,7 +14009,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14036,7 +14042,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14058,7 +14064,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14080,7 +14086,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14102,7 +14108,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14304,7 +14310,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14326,7 +14332,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14359,7 +14365,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14392,7 +14398,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14414,7 +14420,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14735,7 +14741,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14757,7 +14763,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14790,7 +14796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14823,7 +14829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14845,7 +14851,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15223,7 +15229,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15233,6 +15239,61 @@ if (_wrapper) { } 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) { @@ -15256,7 +15317,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15266,6 +15327,94 @@ if (_wrapper) { } 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) { @@ -15289,7 +15438,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15299,6 +15448,39 @@ if (_wrapper) { } 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) { @@ -15322,7 +15504,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15355,7 +15537,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15365,6 +15547,39 @@ if (_wrapper) { } 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) { @@ -15377,7 +15592,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15387,6 +15602,39 @@ if (_wrapper) { } 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) { @@ -15410,7 +15658,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15420,6 +15668,39 @@ if (_wrapper) { } 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) { @@ -15443,7 +15724,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15476,7 +15757,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15509,7 +15790,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15531,7 +15812,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15564,7 +15845,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15574,6 +15855,39 @@ if (_wrapper) { } return QBoxLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QBoxLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QBoxLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) { if (_wrapper) { @@ -15597,7 +15911,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15607,7 +15921,62 @@ if (_wrapper) { } return QBoxLayout::takeAt(arg__1); } -QBoxLayout* PythonQtWrapper_QBoxLayout::new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent) +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); } @@ -15624,9 +15993,9 @@ int PythonQtShell_QBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** int result = QBoxLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QBoxLayout::addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1) +void PythonQtWrapper_QBoxLayout::addLayout(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout, int stretch) { - ( theWrappedObject->addItem(arg__1)); + ( theWrappedObject->addLayout(layout, stretch)); } void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem) @@ -15654,34 +16023,19 @@ void PythonQtWrapper_QBoxLayout::addWidget(QBoxLayout* theWrappedObject, PythonQ ( theWrappedObject->addWidget(arg__1, stretch, alignment)); } -int PythonQtWrapper_QBoxLayout::count(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrappedObject) const { return ( theWrappedObject->direction()); } -Qt::Orientations PythonQtWrapper_QBoxLayout::expandingDirections(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -bool PythonQtWrapper_QBoxLayout::hasHeightForWidth(QBoxLayout* theWrappedObject) const +void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) { - return ( theWrappedObject->hasHeightForWidth()); + ( theWrappedObject->insertItem(index, arg__2)); } -int PythonQtWrapper_QBoxLayout::heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const +void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch) { - return ( theWrappedObject->heightForWidth(arg__1)); -} - -void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) -{ - ( theWrappedObject->insertItem(index, arg__2)); + ( theWrappedObject->insertLayout(index, layout, stretch)); } void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem) @@ -15704,41 +16058,11 @@ void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); } -void PythonQtWrapper_QBoxLayout::invalidate(QBoxLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QBoxLayout::itemAt(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->itemAt(arg__1)); -} - -QSize PythonQtWrapper_QBoxLayout::maximumSize(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QBoxLayout::minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QBoxLayout::minimumSize(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) { ( theWrappedObject->setDirection(arg__1)); } -void PythonQtWrapper_QBoxLayout::setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) { ( theWrappedObject->setSpacing(spacing)); @@ -15749,14 +16073,14 @@ void PythonQtWrapper_QBoxLayout::setStretch(QBoxLayout* theWrappedObject, int i ( theWrappedObject->setStretch(index, stretch)); } -bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch) { - return ( theWrappedObject->setStretchFactor(w, stretch)); + return ( theWrappedObject->setStretchFactor(l, stretch)); } -QSize PythonQtWrapper_QBoxLayout::sizeHint(QBoxLayout* theWrappedObject) const +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->setStretchFactor(w, stretch)); } int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const @@ -15769,11 +16093,6 @@ int PythonQtWrapper_QBoxLayout::stretch(QBoxLayout* theWrappedObject, int inde return ( theWrappedObject->stretch(index)); } -QLayoutItem* PythonQtWrapper_QBoxLayout::takeAt(QBoxLayout* theWrappedObject, int arg__1) -{ - return ( theWrappedObject->takeAt(arg__1)); -} - PythonQtShell_QButtonGroup::~PythonQtShell_QButtonGroup() { @@ -15792,7 +16111,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15814,7 +16133,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15847,7 +16166,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15880,7 +16199,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15902,7 +16221,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15997,7 +16316,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16019,7 +16338,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16041,7 +16360,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16063,7 +16382,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16085,7 +16404,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16107,7 +16426,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16140,7 +16459,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16162,7 +16481,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16184,7 +16503,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16206,7 +16525,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16228,7 +16547,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16250,7 +16569,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16283,7 +16602,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16316,7 +16635,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16338,7 +16657,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16371,7 +16690,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16393,7 +16712,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16426,7 +16745,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16459,7 +16778,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16481,7 +16800,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16503,7 +16822,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16525,7 +16844,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16558,7 +16877,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16580,7 +16899,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16602,7 +16921,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16624,7 +16943,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16657,7 +16976,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16690,7 +17009,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16712,7 +17031,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16734,7 +17053,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16756,7 +17075,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16778,7 +17097,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16800,7 +17119,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16833,7 +17152,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16855,7 +17174,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16888,7 +17207,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16910,7 +17229,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16943,7 +17262,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16965,7 +17284,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16987,7 +17306,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17020,7 +17339,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17042,7 +17361,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17075,7 +17394,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17097,7 +17416,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17119,7 +17438,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17141,7 +17460,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17341,7 +17660,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17363,7 +17682,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17385,7 +17704,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17407,7 +17726,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17429,7 +17748,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17451,7 +17770,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17473,7 +17792,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17506,7 +17825,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17528,7 +17847,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17550,7 +17869,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17572,7 +17891,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17594,7 +17913,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17616,7 +17935,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17649,7 +17968,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17682,7 +18001,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17704,7 +18023,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17737,7 +18056,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17759,7 +18078,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17792,7 +18111,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17825,7 +18144,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17847,7 +18166,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17880,7 +18199,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17902,7 +18221,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17924,7 +18243,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17957,7 +18276,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17979,7 +18298,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18001,7 +18320,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18023,7 +18342,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18056,7 +18375,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18089,7 +18408,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18111,7 +18430,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18133,7 +18452,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18155,7 +18474,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18177,7 +18496,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18199,7 +18518,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18232,7 +18551,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18254,7 +18573,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18287,7 +18606,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18309,7 +18628,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18342,7 +18661,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18364,7 +18683,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18386,7 +18705,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18419,7 +18738,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18441,7 +18760,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18474,7 +18793,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18496,7 +18815,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18518,7 +18837,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18540,7 +18859,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18608,6 +18927,83 @@ QSize PythonQtWrapper_QCheckBox::sizeHint(QCheckBox* theWrappedObject) const +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(); } @@ -18630,7 +19026,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18652,7 +19048,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18674,7 +19070,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18696,7 +19092,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18718,7 +19114,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18740,7 +19136,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18762,7 +19158,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18795,7 +19191,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18817,7 +19213,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18839,7 +19235,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18861,7 +19257,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18883,7 +19279,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18905,7 +19301,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18927,7 +19323,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18960,7 +19356,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18993,7 +19389,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19026,7 +19422,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19048,7 +19444,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19081,7 +19477,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19103,7 +19499,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19136,7 +19532,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19169,7 +19565,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19191,7 +19587,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19213,7 +19609,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19235,7 +19631,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19268,7 +19664,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19290,7 +19686,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19312,7 +19708,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19334,7 +19730,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19367,7 +19763,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19400,7 +19796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19422,7 +19818,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19444,7 +19840,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19466,7 +19862,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19488,7 +19884,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19510,7 +19906,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19543,7 +19939,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19576,7 +19972,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19598,7 +19994,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19631,7 +20027,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19653,7 +20049,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19675,7 +20071,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19697,7 +20093,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19730,7 +20126,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19752,7 +20148,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19785,7 +20181,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19807,7 +20203,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19829,7 +20225,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19851,7 +20247,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19975,7 +20371,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19997,7 +20393,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20019,7 +20415,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20041,7 +20437,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20063,7 +20459,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20085,7 +20481,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20107,7 +20503,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20140,7 +20536,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20162,7 +20558,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20184,7 +20580,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20206,7 +20602,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20239,7 +20635,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20261,7 +20657,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20283,7 +20679,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20305,7 +20701,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20327,7 +20723,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20349,7 +20745,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20382,7 +20778,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20404,7 +20800,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20426,7 +20822,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20459,7 +20855,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20492,7 +20888,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20514,7 +20910,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20547,7 +20943,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20569,7 +20965,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20602,7 +20998,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20635,7 +21031,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20657,7 +21053,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20690,7 +21086,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20712,7 +21108,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20734,7 +21130,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20767,7 +21163,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20789,7 +21185,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20811,7 +21207,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20844,7 +21240,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20877,7 +21273,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20899,7 +21295,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20921,7 +21317,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20943,7 +21339,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20965,7 +21361,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20998,7 +21394,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21031,7 +21427,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21053,7 +21449,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21075,7 +21471,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21097,7 +21493,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21119,7 +21515,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21152,7 +21548,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21174,7 +21570,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21207,7 +21603,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21240,7 +21636,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21262,7 +21658,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21295,7 +21691,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21317,7 +21713,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21339,7 +21735,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21361,7 +21757,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21383,7 +21779,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21405,7 +21801,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21427,7 +21823,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21449,7 +21845,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21482,7 +21878,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21504,7 +21900,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21537,7 +21933,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21559,7 +21955,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21581,7 +21977,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21603,7 +21999,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21625,7 +22021,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21647,7 +22043,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21669,7 +22065,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21702,7 +22098,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21724,7 +22120,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21757,7 +22153,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21790,7 +22186,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21823,7 +22219,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21845,7 +22241,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21867,7 +22263,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21889,7 +22285,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21911,7 +22307,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21933,7 +22329,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21955,7 +22351,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21988,7 +22384,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22010,7 +22406,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22032,7 +22428,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22065,7 +22461,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22098,7 +22494,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22131,7 +22527,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22164,7 +22560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22197,7 +22593,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22219,7 +22615,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22304,7 +22700,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22326,7 +22722,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22348,7 +22744,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22370,7 +22766,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22392,7 +22788,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22414,7 +22810,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22447,7 +22843,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22469,7 +22865,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22491,7 +22887,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22513,7 +22909,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22535,7 +22931,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22557,7 +22953,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22590,7 +22986,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22623,7 +23019,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22645,7 +23041,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22678,7 +23074,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22700,7 +23096,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22733,7 +23129,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22766,7 +23162,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22788,7 +23184,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22810,7 +23206,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22832,7 +23228,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22854,7 +23250,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22887,7 +23283,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -22909,7 +23305,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22931,7 +23327,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22953,7 +23349,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22986,7 +23382,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23019,7 +23415,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23041,7 +23437,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23063,7 +23459,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23085,7 +23481,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23107,7 +23503,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23129,7 +23525,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23162,7 +23558,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23195,7 +23591,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23217,7 +23613,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23250,7 +23646,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23272,7 +23668,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23294,7 +23690,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23327,7 +23723,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23349,7 +23745,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23371,7 +23767,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23404,7 +23800,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -23426,7 +23822,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23448,7 +23844,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23470,7 +23866,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23815,7 +24211,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23837,7 +24233,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23859,7 +24255,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23881,7 +24277,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23903,7 +24299,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23925,7 +24321,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23947,7 +24343,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -23980,7 +24376,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24002,7 +24398,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24024,7 +24420,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24046,7 +24442,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24068,7 +24464,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24090,7 +24486,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24123,7 +24519,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24156,7 +24552,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24178,7 +24574,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24211,7 +24607,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24233,7 +24629,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24266,7 +24662,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24299,7 +24695,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24321,7 +24717,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24354,7 +24750,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24376,7 +24772,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24398,7 +24794,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24431,7 +24827,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24453,7 +24849,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24475,7 +24871,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24497,7 +24893,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24530,7 +24926,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24563,7 +24959,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24585,7 +24981,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24607,7 +25003,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24629,7 +25025,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24651,7 +25047,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24673,7 +25069,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24706,7 +25102,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24728,7 +25124,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24761,7 +25157,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24783,7 +25179,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24816,7 +25212,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24838,7 +25234,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24860,7 +25256,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24893,7 +25289,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24915,7 +25311,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24948,7 +25344,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -24970,7 +25366,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -24992,7 +25388,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25014,7 +25410,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25077,7 +25473,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25099,7 +25495,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25121,7 +25517,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25143,7 +25539,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25165,7 +25561,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25187,7 +25583,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25209,7 +25605,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25242,7 +25638,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25275,7 +25671,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25308,7 +25704,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25341,7 +25737,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25374,7 +25770,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25407,7 +25803,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25440,7 +25836,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25462,7 +25858,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25484,7 +25880,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25506,7 +25902,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25539,7 +25935,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25572,7 +25968,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25605,7 +26001,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25638,7 +26034,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25671,7 +26067,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25704,7 +26100,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25737,7 +26133,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -25759,7 +26155,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25781,7 +26177,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25803,7 +26199,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -25831,382 +26227,3 @@ int PythonQtShell_QCommonStyle::qt_metacall(QMetaObject::Call call, int id, void 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()); -} - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.h index 591d1ac8..26da322c 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -1,13 +1,14 @@ #include -#include #include #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -34,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -59,9 +61,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -84,6 +88,7 @@ #include #include #include +#include #include #include #include @@ -164,7 +169,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton @@ -292,7 +297,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem @@ -344,7 +349,7 @@ void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemDelegate : public QAbstractItemDelegate @@ -493,7 +498,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView @@ -842,7 +847,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractPrintDialog : public QAbstractPrintDialog @@ -938,7 +943,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractProxyModel : public QAbstractProxyModel @@ -1077,7 +1082,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractScrollArea : public QAbstractScrollArea @@ -1240,7 +1245,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider @@ -1370,7 +1375,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSpinBox : public QAbstractSpinBox @@ -1543,7 +1548,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTableModel : public QAbstractTableModel @@ -1595,7 +1600,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout @@ -1668,7 +1673,7 @@ class PythonQtShell_QAbstractTextDocumentLayout__PaintContext : public QAbstract ~PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext : public QObject @@ -1701,7 +1706,7 @@ class PythonQtShell_QAbstractTextDocumentLayout__Selection : public QAbstractTex ~PythonQtShell_QAbstractTextDocumentLayout__Selection(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__Selection : public QObject @@ -1732,7 +1737,7 @@ class PythonQtShell_QAccessibleEvent : public QAccessibleEvent ~PythonQtShell_QAccessibleEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAccessibleEvent : public QObject @@ -1769,7 +1774,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAction : public QAction @@ -1875,7 +1880,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QActionGroup : public QObject @@ -1995,25 +2000,37 @@ class PythonQtShell_QBoxLayout : public QBoxLayout public: PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QBoxLayout(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBoxLayout : public QBoxLayout @@ -2042,49 +2059,40 @@ enum Direction{ public slots: QBoxLayout* new_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr); void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } - void addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1); 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 count(QBoxLayout* theWrappedObject) const; int py_q_count(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_count());} QBoxLayout::Direction direction(QBoxLayout* theWrappedObject) const; - Qt::Orientations expandingDirections(QBoxLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QBoxLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} void insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2); + void insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch = 0); 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 invalidate(QBoxLayout* theWrappedObject); void py_q_invalidate(QBoxLayout* theWrappedObject){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QBoxLayout* theWrappedObject, int arg__1) const; QLayoutItem* py_q_itemAt(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_itemAt(arg__1));} - QSize maximumSize(QBoxLayout* theWrappedObject) const; QSize py_q_maximumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} - QSize minimumSize(QBoxLayout* theWrappedObject) const; QSize py_q_minimumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumSize());} void setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1); - void setGeometry(QBoxLayout* theWrappedObject, const QRect& 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 sizeHint(QBoxLayout* theWrappedObject) const; QSize py_q_sizeHint(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QBoxLayout* theWrappedObject) const; int stretch(QBoxLayout* theWrappedObject, int index) const; - QLayoutItem* takeAt(QBoxLayout* theWrappedObject, int arg__1); 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(); } }; @@ -2106,7 +2114,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QButtonGroup : public QObject @@ -2187,7 +2195,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCalendarWidget : public QCalendarWidget @@ -2320,7 +2328,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCheckBox : public QCheckBox @@ -2370,6 +2378,34 @@ void delete_QCheckBox(QCheckBox* obj) { delete obj; } +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: @@ -2442,7 +2478,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColorDialog : public QColorDialog @@ -2588,7 +2624,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColumnView : public QColumnView @@ -2722,7 +2758,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QComboBox : public QComboBox @@ -2916,7 +2952,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCommandLinkButton : public QCommandLinkButton @@ -2991,7 +3027,7 @@ void unpolish(QWidget* widget) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCommonStyle : public QCommonStyle @@ -3043,88 +3079,3 @@ void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } }; - - - -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: -Q_ENUMS(CompletionMode ModelSorting ) -enum CompletionMode{ - PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; -enum ModelSorting{ - UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; -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; -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index b2ea1846..ea234529 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -50,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -80,6 +80,385 @@ #include #include +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()); +} + + + QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient() { return new QConicalGradient(); } @@ -188,7 +567,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -210,7 +589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -243,7 +622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -276,7 +655,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -298,7 +677,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -320,7 +699,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -455,7 +834,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -477,7 +856,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -499,7 +878,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -521,7 +900,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -543,7 +922,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -565,7 +944,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -587,7 +966,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -620,7 +999,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -653,7 +1032,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -675,7 +1054,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -697,7 +1076,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -719,7 +1098,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -741,7 +1120,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -763,7 +1142,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -796,7 +1175,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -829,7 +1208,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -851,7 +1230,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -873,7 +1252,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -906,7 +1285,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -928,7 +1307,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -961,7 +1340,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -994,7 +1373,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1016,7 +1395,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1038,7 +1417,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1060,7 +1439,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1093,7 +1472,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1115,7 +1494,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1137,7 +1516,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1159,7 +1538,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1192,7 +1571,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1225,7 +1604,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1247,7 +1626,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1269,7 +1648,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1291,7 +1670,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1313,7 +1692,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1335,7 +1714,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1368,7 +1747,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1401,7 +1780,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1423,7 +1802,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1456,7 +1835,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1478,7 +1857,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1500,7 +1879,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1533,7 +1912,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1555,7 +1934,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1588,7 +1967,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1610,7 +1989,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1643,7 +2022,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1665,7 +2044,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1698,7 +2077,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1720,7 +2099,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1753,7 +2132,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1775,7 +2154,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1824,7 +2203,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1846,7 +2225,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1868,7 +2247,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1890,7 +2269,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1912,7 +2291,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1934,7 +2313,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1956,7 +2335,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1989,7 +2368,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2022,7 +2401,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2044,7 +2423,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2066,7 +2445,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2088,7 +2467,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2110,7 +2489,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2132,7 +2511,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2165,7 +2544,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2198,7 +2577,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2220,7 +2599,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2242,7 +2621,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2275,7 +2654,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2297,7 +2676,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2330,7 +2709,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2363,7 +2742,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2385,7 +2764,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2407,7 +2786,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2429,7 +2808,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2462,7 +2841,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2484,7 +2863,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2506,7 +2885,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2528,7 +2907,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2561,7 +2940,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2594,7 +2973,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2616,7 +2995,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2638,7 +3017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2660,7 +3039,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2682,7 +3061,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2704,7 +3083,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2737,7 +3116,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2770,7 +3149,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2792,7 +3171,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2825,7 +3204,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2847,7 +3226,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2869,7 +3248,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2902,7 +3281,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2924,7 +3303,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2957,7 +3336,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2979,7 +3358,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3012,7 +3391,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3034,7 +3413,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3067,7 +3446,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3089,7 +3468,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3122,7 +3501,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3144,7 +3523,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3450,7 +3829,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3472,7 +3851,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3494,7 +3873,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3516,7 +3895,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3538,7 +3917,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3560,7 +3939,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3593,7 +3972,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3615,7 +3994,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3637,7 +4016,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3659,7 +4038,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3681,7 +4060,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3703,7 +4082,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3736,7 +4115,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3769,7 +4148,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3791,7 +4170,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3824,7 +4203,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3846,7 +4225,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3879,7 +4258,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3912,7 +4291,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3934,7 +4313,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3956,7 +4335,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3978,7 +4357,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4011,7 +4390,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4033,7 +4412,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4055,7 +4434,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4077,7 +4456,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4110,7 +4489,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4143,7 +4522,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4165,7 +4544,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4187,7 +4566,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4209,7 +4588,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4231,7 +4610,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4253,7 +4632,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4286,7 +4665,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4319,7 +4698,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4341,7 +4720,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4374,7 +4753,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4396,7 +4775,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4418,7 +4797,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4451,7 +4830,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4473,7 +4852,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4506,7 +4885,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4528,7 +4907,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4550,7 +4929,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4572,7 +4951,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4682,7 +5061,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4704,7 +5083,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4726,7 +5105,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4748,7 +5127,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4770,7 +5149,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4792,7 +5171,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4825,7 +5204,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4847,7 +5226,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4869,7 +5248,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4891,7 +5270,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4913,7 +5292,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4935,7 +5314,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4968,7 +5347,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5001,7 +5380,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5023,7 +5402,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5056,7 +5435,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5078,7 +5457,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5111,7 +5490,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5144,7 +5523,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5166,7 +5545,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5188,7 +5567,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5210,7 +5589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5243,7 +5622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5265,7 +5644,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5287,7 +5666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5309,7 +5688,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5342,7 +5721,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5375,7 +5754,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5397,7 +5776,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5419,7 +5798,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5441,7 +5820,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5463,7 +5842,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5485,7 +5864,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5518,7 +5897,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5551,7 +5930,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5573,7 +5952,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5606,7 +5985,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5628,7 +6007,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5650,7 +6029,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5683,7 +6062,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5705,7 +6084,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5738,7 +6117,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5760,7 +6139,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5782,7 +6161,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5804,7 +6183,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5826,7 +6205,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5911,7 +6290,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5933,7 +6312,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5955,7 +6334,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5977,7 +6356,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5999,7 +6378,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6021,7 +6400,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6043,7 +6422,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6076,7 +6455,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6098,7 +6477,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6120,7 +6499,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6142,7 +6521,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6164,7 +6543,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6186,7 +6565,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6208,7 +6587,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6241,7 +6620,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6274,7 +6653,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6307,7 +6686,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6329,7 +6708,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6362,7 +6741,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6384,7 +6763,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6417,7 +6796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6450,7 +6829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6472,7 +6851,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6494,7 +6873,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6516,7 +6895,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6549,7 +6928,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6571,7 +6950,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6593,7 +6972,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6615,7 +6994,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6648,7 +7027,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6681,7 +7060,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6703,7 +7082,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6725,7 +7104,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6747,7 +7126,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6769,7 +7148,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6791,7 +7170,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6824,7 +7203,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6846,7 +7225,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6879,7 +7258,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6901,7 +7280,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6934,7 +7313,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6956,7 +7335,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6978,7 +7357,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7000,7 +7379,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7033,7 +7412,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7055,7 +7434,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7088,7 +7467,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7110,7 +7489,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7132,7 +7511,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7154,7 +7533,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7239,7 +7618,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7261,7 +7640,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7283,7 +7662,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7305,7 +7684,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7327,7 +7706,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7349,7 +7728,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7382,7 +7761,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7404,7 +7783,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7426,7 +7805,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7448,7 +7827,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7470,7 +7849,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7492,7 +7871,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7525,7 +7904,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7558,7 +7937,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7580,7 +7959,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7613,7 +7992,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7635,7 +8014,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7668,7 +8047,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7701,7 +8080,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7723,7 +8102,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7745,7 +8124,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7767,7 +8146,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7800,7 +8179,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7822,7 +8201,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7844,7 +8223,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7866,7 +8245,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7899,7 +8278,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7932,7 +8311,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7954,7 +8333,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7976,7 +8355,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7998,7 +8377,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8020,7 +8399,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8042,7 +8421,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8075,7 +8454,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8108,7 +8487,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8130,7 +8509,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8163,7 +8542,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8185,7 +8564,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8207,7 +8586,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8240,7 +8619,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8262,7 +8641,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8295,7 +8674,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8317,7 +8696,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8339,7 +8718,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8361,7 +8740,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8504,7 +8883,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8537,7 +8916,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8570,7 +8949,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8592,7 +8971,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8625,7 +9004,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8647,7 +9026,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8680,7 +9059,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8713,7 +9092,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8746,7 +9125,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8779,7 +9158,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8801,7 +9180,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8834,7 +9213,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8867,7 +9246,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8900,7 +9279,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8933,7 +9312,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8966,7 +9345,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8999,7 +9378,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9032,7 +9411,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9065,7 +9444,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9098,7 +9477,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9131,7 +9510,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9164,7 +9543,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9197,7 +9576,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9230,7 +9609,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9263,7 +9642,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9296,7 +9675,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9318,7 +9697,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9351,7 +9730,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9384,7 +9763,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9417,7 +9796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9450,7 +9829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9483,7 +9862,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9516,7 +9895,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9538,7 +9917,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9571,7 +9950,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9604,7 +9983,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9637,7 +10016,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9670,7 +10049,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9692,7 +10071,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9856,7 +10235,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9878,7 +10257,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9900,7 +10279,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9922,7 +10301,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9944,7 +10323,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9966,7 +10345,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9999,7 +10378,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10021,7 +10400,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10043,7 +10422,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10065,7 +10444,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10087,7 +10466,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10109,7 +10488,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10142,7 +10521,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10175,7 +10554,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10197,7 +10576,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10230,7 +10609,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10252,7 +10631,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10285,7 +10664,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10318,7 +10697,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10340,7 +10719,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10362,7 +10741,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10384,7 +10763,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10417,7 +10796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10439,7 +10818,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10461,7 +10840,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10483,7 +10862,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10516,7 +10895,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10549,7 +10928,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10571,7 +10950,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10593,7 +10972,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10615,7 +10994,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10637,7 +11016,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10659,7 +11038,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10692,7 +11071,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10725,7 +11104,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10747,7 +11126,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10780,7 +11159,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10802,7 +11181,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10824,7 +11203,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10857,7 +11236,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10879,7 +11258,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10912,7 +11291,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10934,7 +11313,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10956,7 +11335,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10978,7 +11357,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11092,7 +11471,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11114,7 +11493,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11136,7 +11515,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11158,7 +11537,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11180,7 +11559,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11202,7 +11581,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11224,7 +11603,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11257,7 +11636,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11279,7 +11658,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11301,7 +11680,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11323,7 +11702,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11345,7 +11724,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11367,7 +11746,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11400,7 +11779,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11433,7 +11812,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11455,7 +11834,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11477,7 +11856,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11510,7 +11889,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11532,7 +11911,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11565,7 +11944,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11598,7 +11977,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11620,7 +11999,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11642,7 +12021,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11664,7 +12043,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11697,7 +12076,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11719,7 +12098,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11741,7 +12120,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11763,7 +12142,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11796,7 +12175,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11829,7 +12208,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11851,7 +12230,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11873,7 +12252,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11895,7 +12274,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11917,7 +12296,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11939,7 +12318,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11972,7 +12351,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12005,7 +12384,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12027,7 +12406,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12060,7 +12439,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12082,7 +12461,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12104,7 +12483,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12137,7 +12516,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12159,7 +12538,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12192,7 +12571,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12214,7 +12593,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12247,7 +12626,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12269,7 +12648,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12302,7 +12681,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12324,7 +12703,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12357,7 +12736,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12390,7 +12769,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12412,7 +12791,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12494,6 +12873,11 @@ void PythonQtWrapper_QDoubleSpinBox::setSingleStep(QDoubleSpinBox* theWrappedObj ( 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)); @@ -12504,6 +12888,11 @@ double PythonQtWrapper_QDoubleSpinBox::singleStep(QDoubleSpinBox* theWrappedObj return ( theWrappedObject->singleStep()); } +QAbstractSpinBox::StepType PythonQtWrapper_QDoubleSpinBox::stepType(QDoubleSpinBox* theWrappedObject) const +{ + return ( theWrappedObject->stepType()); +} + QString PythonQtWrapper_QDoubleSpinBox::suffix(QDoubleSpinBox* theWrappedObject) const { return ( theWrappedObject->suffix()); @@ -12542,7 +12931,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12564,7 +12953,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12597,7 +12986,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12630,7 +13019,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12652,7 +13041,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12674,7 +13063,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12696,7 +13085,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12729,7 +13118,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12823,7 +13212,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12845,7 +13234,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12878,7 +13267,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12911,7 +13300,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12933,7 +13322,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13210,7 +13599,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13232,7 +13621,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13254,7 +13643,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13276,7 +13665,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13298,7 +13687,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13320,7 +13709,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13342,7 +13731,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13375,7 +13764,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13397,7 +13786,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13419,7 +13808,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13441,7 +13830,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13463,7 +13852,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13485,7 +13874,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13507,7 +13896,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13540,7 +13929,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13573,7 +13962,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13606,7 +13995,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13628,7 +14017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13661,7 +14050,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13683,7 +14072,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13716,7 +14105,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13749,7 +14138,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13771,7 +14160,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13793,7 +14182,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13815,7 +14204,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13848,7 +14237,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13870,7 +14259,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13892,7 +14281,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13914,7 +14303,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13947,7 +14336,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13980,7 +14369,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14002,7 +14391,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14024,7 +14413,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14046,7 +14435,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14068,7 +14457,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14090,7 +14479,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14123,7 +14512,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14145,7 +14534,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14178,7 +14567,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14200,7 +14589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14233,7 +14622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14255,7 +14644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14277,7 +14666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14299,7 +14688,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14332,7 +14721,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14354,7 +14743,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14387,7 +14776,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14409,7 +14798,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14431,7 +14820,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14453,7 +14842,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14518,7 +14907,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14540,7 +14929,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14562,7 +14951,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14584,7 +14973,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14606,7 +14995,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14628,7 +15017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14650,7 +15039,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14683,7 +15072,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14705,7 +15094,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14727,7 +15116,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14749,7 +15138,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14771,7 +15160,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14793,7 +15182,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14815,7 +15204,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14848,7 +15237,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14881,7 +15270,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14914,7 +15303,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14936,7 +15325,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14969,7 +15358,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14991,7 +15380,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15024,7 +15413,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15057,7 +15446,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15079,7 +15468,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15101,7 +15490,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15123,7 +15512,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15156,7 +15545,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15178,7 +15567,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15200,7 +15589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15222,7 +15611,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15255,7 +15644,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15288,7 +15677,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15310,7 +15699,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15332,7 +15721,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15354,7 +15743,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15376,7 +15765,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15398,7 +15787,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15431,7 +15820,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15464,7 +15853,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15486,7 +15875,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15519,7 +15908,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15541,7 +15930,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15563,7 +15952,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15585,7 +15974,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15618,7 +16007,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15640,7 +16029,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15673,7 +16062,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15695,7 +16084,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15717,7 +16106,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15739,7 +16128,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16124,7 +16513,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16157,7 +16546,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16190,7 +16579,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16283,7 +16672,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16316,7 +16705,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16349,7 +16738,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16371,7 +16760,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16404,7 +16793,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16426,7 +16815,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16459,7 +16848,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16492,7 +16881,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16525,7 +16914,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16558,7 +16947,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16580,7 +16969,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16613,7 +17002,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16646,7 +17035,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16679,7 +17068,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16712,7 +17101,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16745,7 +17134,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16778,7 +17167,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16811,7 +17200,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16844,7 +17233,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16877,7 +17266,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16910,7 +17299,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16943,7 +17332,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16976,7 +17365,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17009,7 +17398,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17042,7 +17431,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17075,7 +17464,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17097,7 +17486,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17130,7 +17519,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17163,7 +17552,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17196,7 +17585,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17229,7 +17618,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17262,7 +17651,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17295,7 +17684,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17317,7 +17706,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17350,7 +17739,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17383,7 +17772,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17416,7 +17805,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17449,7 +17838,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17471,7 +17860,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17682,7 +18071,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17704,7 +18093,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17726,7 +18115,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17748,7 +18137,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17770,7 +18159,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17792,7 +18181,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17825,7 +18214,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17847,7 +18236,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17869,7 +18258,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17891,7 +18280,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17913,7 +18302,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17935,7 +18324,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17968,7 +18357,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18001,7 +18390,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18023,7 +18412,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18056,7 +18445,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18078,7 +18467,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18111,7 +18500,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18144,7 +18533,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18166,7 +18555,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18188,7 +18577,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18210,7 +18599,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18243,7 +18632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18265,7 +18654,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18287,7 +18676,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18309,7 +18698,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18342,7 +18731,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18375,7 +18764,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18397,7 +18786,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18419,7 +18808,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18441,7 +18830,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18463,7 +18852,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18485,7 +18874,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18518,7 +18907,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18551,7 +18940,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18573,7 +18962,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18606,7 +18995,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18628,7 +19017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18650,7 +19039,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18683,7 +19072,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18705,7 +19094,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18738,7 +19127,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18760,7 +19149,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18782,7 +19171,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18804,7 +19193,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18864,7 +19253,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18886,7 +19275,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18908,7 +19297,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18930,7 +19319,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18952,7 +19341,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18974,7 +19363,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19007,7 +19396,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19029,7 +19418,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19051,7 +19440,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19073,7 +19462,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19095,7 +19484,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19117,7 +19506,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19150,7 +19539,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19183,7 +19572,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19205,7 +19594,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19238,7 +19627,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19260,7 +19649,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19293,7 +19682,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19326,7 +19715,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19348,7 +19737,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19370,7 +19759,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19392,7 +19781,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19414,7 +19803,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19447,7 +19836,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19469,7 +19858,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19491,7 +19880,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19513,7 +19902,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19546,7 +19935,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19579,7 +19968,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19601,7 +19990,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19623,7 +20012,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19645,7 +20034,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19667,7 +20056,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19689,7 +20078,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19722,7 +20111,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19755,7 +20144,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19777,7 +20166,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19810,7 +20199,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19832,7 +20221,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19854,7 +20243,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19887,7 +20276,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19909,7 +20298,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19931,7 +20320,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19964,7 +20353,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19986,7 +20375,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20008,7 +20397,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20030,7 +20419,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20083,149 +20472,3 @@ QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFont } - -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)); -} - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.h index e0a597ff..6a9d075b 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include @@ -43,13 +42,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include @@ -82,6 +81,91 @@ +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: +Q_ENUMS(CompletionMode ModelSorting ) +enum CompletionMode{ + PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; +enum ModelSorting{ + UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; +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 PythonQtWrapper_QConicalGradient : public QObject { Q_OBJECT public: @@ -115,7 +199,7 @@ class PythonQtShell_QContextMenuEvent : public QContextMenuEvent ~PythonQtShell_QContextMenuEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QContextMenuEvent : public QObject @@ -158,7 +242,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper @@ -260,7 +344,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDateEdit : public QObject @@ -342,7 +426,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDateTimeEdit : public QDateTimeEdit @@ -464,7 +548,7 @@ class PythonQtShell_QDesktopServices : public QDesktopServices ~PythonQtShell_QDesktopServices(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDesktopServices : public QObject @@ -537,7 +621,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDesktopWidget : public QDesktopWidget @@ -628,7 +712,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDial : public QDial @@ -741,7 +825,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialog : public QDialog @@ -864,7 +948,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialogButtonBox : public QDialogButtonBox @@ -966,7 +1050,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDirModel : public QDirModel @@ -1096,7 +1180,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDockWidget : public QDockWidget @@ -1209,7 +1293,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleSpinBox : public QDoubleSpinBox @@ -1238,8 +1322,10 @@ void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } 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));} @@ -1272,7 +1358,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator @@ -1320,7 +1406,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDrag : public QObject @@ -1382,7 +1468,7 @@ class PythonQtShell_QDragMoveEvent : public QDragMoveEvent ~PythonQtShell_QDragMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDragMoveEvent : public QObject @@ -1408,7 +1494,7 @@ class PythonQtShell_QDropEvent : public QDropEvent ~PythonQtShell_QDropEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDropEvent : public QObject @@ -1442,7 +1528,7 @@ class PythonQtShell_QEnterEvent : public QEnterEvent ~PythonQtShell_QEnterEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QEnterEvent : public QObject @@ -1526,7 +1612,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QErrorMessage : public QErrorMessage @@ -1560,7 +1646,7 @@ class PythonQtShell_QExposeEvent : public QExposeEvent ~PythonQtShell_QExposeEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QExposeEvent : public QObject @@ -1636,7 +1722,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileDialog : public QFileDialog @@ -1750,7 +1836,7 @@ QIcon icon(QFileIconProvider::IconType type) const override; QIcon icon(const QFileInfo& info) const override; QString type(const QFileInfo& info) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider @@ -1852,7 +1938,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileSystemModel : public QFileSystemModel @@ -2013,7 +2099,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFocusFrame : public QFocusFrame @@ -2102,7 +2188,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontComboBox : public QFontComboBox @@ -2133,52 +2219,3 @@ void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } }; - - - -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; -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 5d2792c4..b6528178 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -2,14 +2,12 @@ #include #include #include +#include #include #include #include -#include #include #include -#include -#include #include #include #include @@ -36,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -47,11 +46,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -62,6 +61,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -85,111 +87,436 @@ #include #include -PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { +PythonQtShell_QSurface::~PythonQtShell_QSurface() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) +QSurfaceFormat PythonQtShell_QSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("format"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::actionEvent(event0); + return QSurfaceFormat(); } -void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) +QSize PythonQtShell_QSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::changeEvent(arg__1); + return QSize(); } -void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) +QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); + } else { + returnValue = *((QPlatformSurface**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::childEvent(event0); + return nullptr; } -void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) +QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("surfaceType"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::closeEvent(event0); + return QSurface::SurfaceType(); } -void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -197,9 +524,9 @@ if (_wrapper) { } } } - QTabWidget::contextMenuEvent(event0); + QSwipeGesture::childEvent(event0); } -void PythonQtShell_QTabWidget::customEvent(QEvent* event0) +void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -211,7 +538,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -219,32 +546,32 @@ if (_wrapper) { } } } - QTabWidget::customEvent(event0); + QSwipeGesture::customEvent(event0); } -int PythonQtShell_QTabWidget::devType() const +bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -252,43 +579,54 @@ if (_wrapper) { } } } - return QTabWidget::devType(); + return QSwipeGesture::event(event0); } -void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* 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("dragEnterEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::dragEnterEvent(event0); + return QSwipeGesture::eventFilter(watched0, event1); } -void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -296,43 +634,64 @@ if (_wrapper) { } } } - QTabWidget::dragLeaveEvent(event0); + QSwipeGesture::timerEvent(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(); - } +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; } } - QTabWidget::dragMoveEvent(event0); +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; } -void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -340,21 +699,21 @@ if (_wrapper) { } } } - QTabWidget::dropEvent(event0); + QSyntaxHighlighter::childEvent(event0); } -void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) +void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -362,9 +721,9 @@ if (_wrapper) { } } } - QTabWidget::enterEvent(event0); + QSyntaxHighlighter::customEvent(event0); } -bool PythonQtShell_QTabWidget::event(QEvent* arg__1) +bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -375,7 +734,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -387,7 +746,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -395,9 +754,9 @@ if (_wrapper) { } } } - return QTabWidget::event(arg__1); + return QSyntaxHighlighter::event(event0); } -bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -420,7 +779,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -428,21 +787,43 @@ if (_wrapper) { } } } - return QTabWidget::eventFilter(watched0, event1); + return QSyntaxHighlighter::eventFilter(watched0, event1); } -void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -450,54 +831,135 @@ if (_wrapper) { } } } - QTabWidget::focusInEvent(event0); + QSyntaxHighlighter::timerEvent(event0); } -bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabWidget::focusNextPrevChild(next0); + QSystemTrayIcon::childEvent(event0); } -void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -505,32 +967,32 @@ if (_wrapper) { } } } - QTabWidget::focusOutEvent(event0); + QSystemTrayIcon::customEvent(event0); } -bool PythonQtShell_QTabWidget::hasHeightForWidth() const +bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -538,32 +1000,32 @@ if (_wrapper) { } } } - return QTabWidget::hasHeightForWidth(); + return QSystemTrayIcon::event(event0); } -int PythonQtShell_QTabWidget::heightForWidth(int width0) const +bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -571,21 +1033,21 @@ if (_wrapper) { } } } - return QTabWidget::heightForWidth(width0); + return QSystemTrayIcon::eventFilter(watched0, event1); } -void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -593,43 +1055,98 @@ if (_wrapper) { } } } - QTabWidget::hideEvent(event0); + QSystemTrayIcon::timerEvent(event0); } -void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const +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 { -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(); - } - } + return ( theWrappedObject->contextMenu()); } - QTabWidget::initPainter(painter0); + +QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); } -void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) + +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -637,54 +1154,43 @@ if (_wrapper) { } } } - QTabWidget::inputMethodEvent(arg__1); + QTabBar::actionEvent(event0); } -QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabWidget::inputMethodQuery(arg__1); + QTabBar::changeEvent(arg__1); } -void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -692,21 +1198,21 @@ if (_wrapper) { } } } - QTabWidget::keyPressEvent(arg__1); + QTabBar::childEvent(event0); } -void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -714,21 +1220,21 @@ if (_wrapper) { } } } - QTabWidget::keyReleaseEvent(event0); + QTabBar::closeEvent(event0); } -void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -736,65 +1242,54 @@ if (_wrapper) { } } } - QTabWidget::leaveEvent(event0); + QTabBar::contextMenuEvent(event0); } -int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QTabBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabWidget::metric(arg__1); + QTabBar::customEvent(event0); } -QSize PythonQtShell_QTabWidget::minimumSizeHint() const +int PythonQtShell_QTabBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -802,21 +1297,21 @@ if (_wrapper) { } } } - return QTabWidget::minimumSizeHint(); + return QTabBar::devType(); } -void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -824,21 +1319,21 @@ if (_wrapper) { } } } - QTabWidget::mouseDoubleClickEvent(event0); + QTabBar::dragEnterEvent(event0); } -void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -846,21 +1341,21 @@ if (_wrapper) { } } } - QTabWidget::mouseMoveEvent(event0); + QTabBar::dragLeaveEvent(event0); } -void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -868,21 +1363,21 @@ if (_wrapper) { } } } - QTabWidget::mousePressEvent(event0); + QTabBar::dragMoveEvent(event0); } -void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -890,21 +1385,21 @@ if (_wrapper) { } } } - QTabWidget::mouseReleaseEvent(event0); + QTabBar::dropEvent(event0); } -void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -912,32 +1407,32 @@ if (_wrapper) { } } } - QTabWidget::moveEvent(event0); + QTabBar::enterEvent(event0); } -bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTabBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -945,32 +1440,32 @@ if (_wrapper) { } } } - return QTabWidget::nativeEvent(eventType0, message1, result2); + return QTabBar::event(arg__1); } -QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const +bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -978,21 +1473,21 @@ if (_wrapper) { } } } - return QTabWidget::paintEngine(); + return QTabBar::eventFilter(watched0, event1); } -void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1000,32 +1495,32 @@ if (_wrapper) { } } } - QTabWidget::paintEvent(arg__1); + QTabBar::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const +bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1033,43 +1528,21 @@ if (_wrapper) { } } } - 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); + return QTabBar::focusNextPrevChild(next0); } -void PythonQtShell_QTabWidget::setVisible(bool visible0) +void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1077,32 +1550,32 @@ if (_wrapper) { } } } - QTabWidget::setVisible(visible0); + QTabBar::focusOutEvent(event0); } -QPainter* PythonQtShell_QTabWidget::sharedPainter() const +bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1110,21 +1583,54 @@ if (_wrapper) { } } } - return QTabWidget::sharedPainter(); + return QTabBar::hasHeightForWidth(); } -void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) +int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1132,32 +1638,76 @@ if (_wrapper) { } } } - QTabWidget::showEvent(arg__1); + QTabBar::hideEvent(arg__1); } -QSize PythonQtShell_QTabWidget::sizeHint() const +void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("initPainter"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1165,21 +1715,21 @@ if (_wrapper) { } } } - return QTabWidget::sizeHint(); + return QTabBar::inputMethodQuery(arg__1); } -void PythonQtShell_QTabWidget::tabInserted(int index0) +void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabInserted"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1187,21 +1737,21 @@ if (_wrapper) { } } } - QTabWidget::tabInserted(index0); + QTabBar::keyPressEvent(arg__1); } -void PythonQtShell_QTabWidget::tabRemoved(int index0) +void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabRemoved"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1209,21 +1759,21 @@ if (_wrapper) { } } } - QTabWidget::tabRemoved(index0); + QTabBar::keyReleaseEvent(event0); } -void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1231,350 +1781,186 @@ if (_wrapper) { } } } - QTabWidget::tabletEvent(event0); + QTabBar::leaveEvent(event0); } -void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* 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("timerEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::timerEvent(event0); + return QTabBar::metric(arg__1); } -void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) +QSize PythonQtShell_QTabBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabWidget::wheelEvent(event0); + return QTabBar::minimumSizeHint(); } -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; +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(); + } } } -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; + return QTabBar::minimumTabSizeHint(index0); } -int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) +void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->addTab(widget, icon, label)); +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(); + } + } } - -int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2) -{ - return ( theWrappedObject->addTab(widget, arg__2)); + QTabBar::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) +void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { - ( theWrappedObject->clear()); +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(); + } + } } - -QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->cornerWidget(corner)); + QTabBar::mouseMoveEvent(arg__1); } - -int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const +void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->count()); +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(); + } + } } - -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)); -} - -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 arg__1) -{ - ( theWrappedObject->setElideMode(arg__1)); -} - -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 arg__2) -{ - ( theWrappedObject->setTabEnabled(index, arg__2)); -} - -void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setTabIcon(index, icon)); -} - -void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1) -{ - ( theWrappedObject->setTabPosition(arg__1)); -} - -void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) -{ - ( theWrappedObject->setTabShape(s)); -} - -void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2) -{ - ( theWrappedObject->setTabText(index, arg__2)); -} - -void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) -{ - ( theWrappedObject->setTabToolTip(index, tip)); + QTabBar::mousePressEvent(arg__1); } - -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) +void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1582,21 +1968,21 @@ if (_wrapper) { } } } - QTableView::changeEvent(arg__1); + QTabBar::mouseReleaseEvent(arg__1); } -void PythonQtShell_QTableView::childEvent(QChildEvent* event0) +void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1604,87 +1990,87 @@ if (_wrapper) { } } } - QTableView::childEvent(event0); + QTabBar::moveEvent(event0); } -void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +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("closeEditor"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::closeEvent(event0); + return QTabBar::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTableView::commitData(QWidget* editor0) +QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::commitData(editor0); + return QTabBar::paintEngine(); } -void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1692,43 +2078,54 @@ if (_wrapper) { } } } - QTableView::contextMenuEvent(arg__1); + QTabBar::paintEvent(arg__1); } -void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::currentChanged(current0, previous1); + return QTabBar::redirected(offset0); } -void PythonQtShell_QTableView::customEvent(QEvent* event0) +void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1736,21 +2133,21 @@ if (_wrapper) { } } } - QTableView::customEvent(event0); + QTabBar::resizeEvent(arg__1); } -void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QTabBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("setVisible"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1758,32 +2155,32 @@ if (_wrapper) { } } } - QTableView::dataChanged(topLeft0, bottomRight1, roles2); + QTabBar::setVisible(visible0); } -int PythonQtShell_QTableView::devType() const +QPainter* PythonQtShell_QTabBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1791,21 +2188,21 @@ if (_wrapper) { } } } - return QTableView::devType(); + return QTabBar::sharedPainter(); } -void PythonQtShell_QTableView::doItemsLayout() +void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1813,43 +2210,54 @@ if (_wrapper) { } } } - QTableView::doItemsLayout(); + QTabBar::showEvent(arg__1); } -void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) +QSize PythonQtShell_QTabBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::dragEnterEvent(event0); + return QTabBar::sizeHint(); } -void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QTabBar::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1857,21 +2265,21 @@ if (_wrapper) { } } } - QTableView::dragLeaveEvent(event0); + QTabBar::tabInserted(index0); } -void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QTabBar::tabLayoutChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("tabLayoutChange"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1879,21 +2287,21 @@ if (_wrapper) { } } } - QTableView::dragMoveEvent(event0); + QTabBar::tabLayoutChange(); } -void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) +void PythonQtShell_QTabBar::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1901,32 +2309,32 @@ if (_wrapper) { } } } - QTableView::dropEvent(event0); + QTabBar::tabRemoved(index0); } -bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("tabSizeHint"); 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}; + 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("edit", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1934,21 +2342,21 @@ if (_wrapper) { } } } - return QTableView::edit(index0, trigger1, event2); + return QTabBar::tabSizeHint(index0); } -void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) +void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1956,21 +2364,21 @@ if (_wrapper) { } } } - QTableView::editorDestroyed(editor0); + QTabBar::tabletEvent(event0); } -void PythonQtShell_QTableView::enterEvent(QEvent* event0) +void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1978,87 +2386,366 @@ if (_wrapper) { } } } - QTableView::enterEvent(event0); + QTabBar::timerEvent(event0); } -bool PythonQtShell_QTableView::event(QEvent* event0) +void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::event(event0); + QTabBar::wheelEvent(event0); } -bool PythonQtShell_QTableView::eventFilter(QObject* object0, QEvent* event1) +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 { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - 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 ( theWrappedObject->accessibleTabName(index)); } - return QTableView::eventFilter(object0, event1); + +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addTab(icon, text)); } -void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) + +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)); +} + +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 arg__1) +{ + ( theWrappedObject->setElideMode(arg__1)); +} + +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 arg__2) +{ + ( theWrappedObject->setTabEnabled(index, arg__2)); +} + +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::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("focusInEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2066,54 +2753,43 @@ if (_wrapper) { } } } - QTableView::focusInEvent(event0); + QTabWidget::actionEvent(event0); } -bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) +void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::focusNextPrevChild(next0); + QTabWidget::changeEvent(arg__1); } -void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2121,87 +2797,65 @@ if (_wrapper) { } } } - QTableView::focusOutEvent(event0); + QTabWidget::childEvent(event0); } -bool PythonQtShell_QTableView::hasHeightForWidth() const +void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("closeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::hasHeightForWidth(); + QTabWidget::closeEvent(event0); } -int PythonQtShell_QTableView::heightForWidth(int arg__1) const +void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::heightForWidth(arg__1); + QTabWidget::contextMenuEvent(event0); } -void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) +void PythonQtShell_QTabWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2209,14 +2863,14 @@ if (_wrapper) { } } } - QTableView::hideEvent(event0); + QTabWidget::customEvent(event0); } -int PythonQtShell_QTableView::horizontalOffset() const +int PythonQtShell_QTabWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int"}; @@ -2228,13 +2882,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2242,21 +2896,21 @@ if (_wrapper) { } } } - return QTableView::horizontalOffset(); + return QTabWidget::devType(); } -void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) +void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2264,21 +2918,21 @@ if (_wrapper) { } } } - QTableView::horizontalScrollbarAction(action0); + QTabWidget::dragEnterEvent(event0); } -void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2286,54 +2940,43 @@ if (_wrapper) { } } } - QTableView::horizontalScrollbarValueChanged(value0); + QTabWidget::dragLeaveEvent(event0); } -QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const +void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::indexAt(p0); + QTabWidget::dragMoveEvent(event0); } -void PythonQtShell_QTableView::initPainter(QPainter* painter0) const +void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2341,21 +2984,21 @@ if (_wrapper) { } } } - QTableView::initPainter(painter0); + QTabWidget::dropEvent(event0); } -void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2363,32 +3006,32 @@ if (_wrapper) { } } } - QTableView::inputMethodEvent(event0); + QTabWidget::enterEvent(event0); } -QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const +bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2396,32 +3039,32 @@ if (_wrapper) { } } } - return QTableView::inputMethodQuery(query0); + return QTabWidget::event(arg__1); } -bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const +bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2429,43 +3072,21 @@ if (_wrapper) { } } } - 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); + return QTabWidget::eventFilter(watched0, event1); } -void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2473,43 +3094,54 @@ if (_wrapper) { } } } - QTableView::keyReleaseEvent(event0); + QTabWidget::focusInEvent(event0); } -void PythonQtShell_QTableView::keyboardSearch(const QString& search0) +bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::keyboardSearch(search0); + return QTabWidget::focusNextPrevChild(next0); } -void PythonQtShell_QTableView::leaveEvent(QEvent* event0) +void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2517,32 +3149,32 @@ if (_wrapper) { } } } - QTableView::leaveEvent(event0); + QTabWidget::focusOutEvent(event0); } -int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QTabWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2550,32 +3182,32 @@ if (_wrapper) { } } } - return QTableView::metric(arg__1); + return QTabWidget::hasHeightForWidth(); } -QSize PythonQtShell_QTableView::minimumSizeHint() const +int PythonQtShell_QTabWidget::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2583,21 +3215,21 @@ if (_wrapper) { } } } - return QTableView::minimumSizeHint(); + return QTabWidget::heightForWidth(width0); } -void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2605,21 +3237,21 @@ if (_wrapper) { } } } - QTableView::mouseDoubleClickEvent(event0); + QTabWidget::hideEvent(event0); } -void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2627,21 +3259,21 @@ if (_wrapper) { } } } - QTableView::mouseMoveEvent(event0); + QTabWidget::initPainter(painter0); } -void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2649,21 +3281,54 @@ if (_wrapper) { } } } - QTableView::mousePressEvent(event0); + QTabWidget::inputMethodEvent(arg__1); } -void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) +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("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2671,54 +3336,43 @@ if (_wrapper) { } } } - QTableView::mouseReleaseEvent(event0); + QTabWidget::keyPressEvent(arg__1); } -QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::moveCursor(cursorAction0, modifiers1); + QTabWidget::keyReleaseEvent(event0); } -void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2726,32 +3380,32 @@ if (_wrapper) { } } } - QTableView::moveEvent(event0); + QTabWidget::leaveEvent(event0); } -bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2759,32 +3413,32 @@ if (_wrapper) { } } } - return QTableView::nativeEvent(eventType0, message1, result2); + return QTabWidget::metric(arg__1); } -QPaintEngine* PythonQtShell_QTableView::paintEngine() const +QSize PythonQtShell_QTabWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2792,21 +3446,21 @@ if (_wrapper) { } } } - return QTableView::paintEngine(); + return QTabWidget::minimumSizeHint(); } -void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2814,54 +3468,43 @@ if (_wrapper) { } } } - QTableView::paintEvent(e0); + QTabWidget::mouseDoubleClickEvent(event0); } -QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const +void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::redirected(offset0); + QTabWidget::mouseMoveEvent(event0); } -void PythonQtShell_QTableView::reset() +void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2869,21 +3512,21 @@ if (_wrapper) { } } } - QTableView::reset(); + QTabWidget::mousePressEvent(event0); } -void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2891,21 +3534,21 @@ if (_wrapper) { } } } - QTableView::resizeEvent(event0); + QTabWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("moveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2913,65 +3556,87 @@ if (_wrapper) { } } } - QTableView::rowsAboutToBeRemoved(parent0, start1, end2); + QTabWidget::moveEvent(event0); } -void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +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("rowsInserted"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::rowsInserted(parent0, start1, end2); + return QTabWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) +QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::scrollContentsBy(dx0, dy1); + return QTabWidget::paintEngine(); } -void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("paintEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2979,76 +3644,76 @@ if (_wrapper) { } } } - QTableView::scrollTo(index0, hint1); + QTabWidget::paintEvent(arg__1); } -void PythonQtShell_QTableView::selectAll() +QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::selectAll(); + return QTabWidget::redirected(offset0); } -QList PythonQtShell_QTableView::selectedIndexes() const +void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("resizeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::selectedIndexes(); + QTabWidget::resizeEvent(arg__1); } -void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTabWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("setVisible"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3056,32 +3721,32 @@ if (_wrapper) { } } } - QTableView::selectionChanged(selected0, deselected1); + QTabWidget::setVisible(visible0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +QPainter* PythonQtShell_QTabWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("selectionCommand", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3089,21 +3754,21 @@ if (_wrapper) { } } } - return QTableView::selectionCommand(index0, event1); + return QTabWidget::sharedPainter(); } -void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&model0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3111,43 +3776,54 @@ if (_wrapper) { } } } - QTableView::setModel(model0); + QTabWidget::showEvent(arg__1); } -void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) +QSize PythonQtShell_QTabWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::setRootIndex(index0); + return QTabWidget::sizeHint(); } -void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QTabWidget::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("tabInserted"); 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}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3155,21 +3831,21 @@ if (_wrapper) { } } } - QTableView::setSelection(rect0, command1); + QTabWidget::tabInserted(index0); } -void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QTabWidget::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3177,21 +3853,21 @@ if (_wrapper) { } } } - QTableView::setSelectionModel(selectionModel0); + QTabWidget::tabRemoved(index0); } -void PythonQtShell_QTableView::setVisible(bool visible0) +void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3199,21 +3875,21 @@ if (_wrapper) { } } } - QTableView::setVisible(visible0); + QTabWidget::tabletEvent(event0); } -void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) +void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3221,54 +3897,21 @@ if (_wrapper) { } } } - 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(); + QTabWidget::timerEvent(event0); } -void PythonQtShell_QTableView::showEvent(QShowEvent* event0) +void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3276,307 +3919,284 @@ if (_wrapper) { } } } - QTableView::showEvent(event0); + QTabWidget::wheelEvent(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(); - } +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; } } - return QTableView::sizeHint(); +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 PythonQtShell_QTableView::sizeHintForColumn(int column0) const +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) { -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 ( theWrappedObject->addTab(widget, icon, label)); } - return QTableView::sizeHintForColumn(column0); + +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2) +{ + return ( theWrappedObject->addTab(widget, arg__2)); } -int PythonQtShell_QTableView::sizeHintForRow(int row0) const + +void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) { -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(); - } - } + ( theWrappedObject->clear()); } - return QTableView::sizeHintForRow(row0); + +QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const +{ + return ( theWrappedObject->cornerWidget(corner)); } -void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) + +int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->count()); } - QTableView::startDrag(supportedActions0); + +int PythonQtWrapper_QTabWidget::currentIndex(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); } -void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) + +QWidget* PythonQtWrapper_QTabWidget::currentWidget(QTabWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->currentWidget()); } - QTableView::tabletEvent(event0); + +bool PythonQtWrapper_QTabWidget::documentMode(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); } -void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) + +Qt::TextElideMode PythonQtWrapper_QTabWidget::elideMode(QTabWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->elideMode()); } - QTableView::timerEvent(event0); + +QSize PythonQtWrapper_QTabWidget::iconSize(QTabWidget* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); } -void PythonQtShell_QTableView::updateEditorData() + +int PythonQtWrapper_QTabWidget::indexOf(QTabWidget* theWrappedObject, QWidget* widget) const { -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(); - } - } + return ( theWrappedObject->indexOf(widget)); } - QTableView::updateEditorData(); + +void PythonQtWrapper_QTabWidget::initStyleOption(QTabWidget* theWrappedObject, QStyleOptionTabWidgetFrame* option) const +{ + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtShell_QTableView::updateEditorGeometries() + +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) { -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(); - } - } + return ( theWrappedObject->insertTab(index, widget, icon, label)); } - QTableView::updateEditorGeometries(); + +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& arg__3) +{ + return ( theWrappedObject->insertTab(index, widget, arg__3)); } -void PythonQtShell_QTableView::updateGeometries() + +bool PythonQtWrapper_QTabWidget::isMovable(QTabWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isMovable()); } - QTableView::updateGeometries(); + +bool PythonQtWrapper_QTabWidget::isTabEnabled(QTabWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabEnabled(index)); } -int PythonQtShell_QTableView::verticalOffset() const + +QSize PythonQtWrapper_QTabWidget::minimumSizeHint(QTabWidget* theWrappedObject) 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 ( theWrappedObject->minimumSizeHint()); } - return QTableView::verticalOffset(); + +void PythonQtWrapper_QTabWidget::removeTab(QTabWidget* theWrappedObject, int index) +{ + ( theWrappedObject->removeTab(index)); } -void PythonQtShell_QTableView::verticalScrollbarAction(int action0) + +void PythonQtWrapper_QTabWidget::setCornerWidget(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP w, Qt::Corner corner) { -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(); - } - } + ( theWrappedObject->setCornerWidget(w, corner)); } - QTableView::verticalScrollbarAction(action0); + +void PythonQtWrapper_QTabWidget::setDocumentMode(QTabWidget* theWrappedObject, bool set) +{ + ( theWrappedObject->setDocumentMode(set)); } -void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) + +void PythonQtWrapper_QTabWidget::setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1) +{ + ( theWrappedObject->setElideMode(arg__1)); +} + +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 arg__2) +{ + ( theWrappedObject->setTabEnabled(index, arg__2)); +} + +void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); +} + +void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1) +{ + ( theWrappedObject->setTabPosition(arg__1)); +} + +void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) +{ + ( theWrappedObject->setTabShape(s)); +} + +void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2) +{ + ( theWrappedObject->setTabText(index, arg__2)); +} + +void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) +{ + ( theWrappedObject->setTabToolTip(index, tip)); +} + +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("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3584,186 +4204,131 @@ if (_wrapper) { } } } - QTableView::verticalScrollbarValueChanged(value0); + QTableView::actionEvent(event0); } -QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const +void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("changeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::viewOptions(); + QTableView::changeEvent(arg__1); } -bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) +void PythonQtShell_QTableView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::viewportEvent(event0); + QTableView::childEvent(event0); } -QSize PythonQtShell_QTableView::viewportSizeHint() const +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("viewportSizeHint"); + static PyObject* name = PyString_FromString("closeEditor"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::viewportSizeHint(); + QTableView::closeEditor(editor0, hint1); } -QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::visualRect(index0); + QTableView::closeEvent(event0); } -QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QTableView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::visualRegionForSelection(selection0); + QTableView::commitData(editor0); } -void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3771,194 +4336,21 @@ if (_wrapper) { } } } - 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()); -} - -void PythonQtWrapper_QTableView::sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortByColumn(column, order)); -} - -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); } + QTableView::contextMenuEvent(arg__1); } -void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) +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("actionEvent"); + static PyObject* name = PyString_FromString("currentChanged"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3966,21 +4358,21 @@ if (_wrapper) { } } } - QTableWidget::actionEvent(event0); + QTableView::currentChanged(current0, previous1); } -void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) +void PythonQtShell_QTableView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_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}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3988,21 +4380,21 @@ if (_wrapper) { } } } - QTableWidget::changeEvent(arg__1); + QTableView::customEvent(event0); } -void PythonQtShell_QTableWidget::childEvent(QChildEvent* 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("childEvent"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4010,174 +4402,20 @@ if (_wrapper) { } } } - QTableWidget::childEvent(event0); + QTableView::dataChanged(topLeft0, bottomRight1, roles2); } -void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +int PythonQtShell_QTableView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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); @@ -4189,7 +4427,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4197,9 +4435,9 @@ if (_wrapper) { } } } - return QTableWidget::devType(); + return QTableView::devType(); } -void PythonQtShell_QTableWidget::doItemsLayout() +void PythonQtShell_QTableView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4211,7 +4449,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4219,9 +4457,9 @@ if (_wrapper) { } } } - QTableWidget::doItemsLayout(); + QTableView::doItemsLayout(); } -void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4233,7 +4471,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4241,9 +4479,9 @@ if (_wrapper) { } } } - QTableWidget::dragEnterEvent(event0); + QTableView::dragEnterEvent(event0); } -void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4255,7 +4493,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4263,9 +4501,9 @@ if (_wrapper) { } } } - QTableWidget::dragLeaveEvent(event0); + QTableView::dragLeaveEvent(event0); } -void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4277,7 +4515,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4285,9 +4523,9 @@ if (_wrapper) { } } } - QTableWidget::dragMoveEvent(event0); + QTableView::dragMoveEvent(event0); } -void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4299,7 +4537,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4307,42 +4545,9 @@ if (_wrapper) { } } } - 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); + QTableView::dropEvent(event0); } -bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4365,7 +4570,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4373,9 +4578,9 @@ if (_wrapper) { } } } - return QTableWidget::edit(index0, trigger1, event2); + return QTableView::edit(index0, trigger1, event2); } -void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) +void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4387,7 +4592,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4395,9 +4600,9 @@ if (_wrapper) { } } } - QTableWidget::editorDestroyed(editor0); + QTableView::editorDestroyed(editor0); } -void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) +void PythonQtShell_QTableView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4409,7 +4614,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4417,9 +4622,9 @@ if (_wrapper) { } } } - QTableWidget::enterEvent(event0); + QTableView::enterEvent(event0); } -bool PythonQtShell_QTableWidget::event(QEvent* e0) +bool PythonQtShell_QTableView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4430,7 +4635,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -4442,7 +4647,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4450,9 +4655,9 @@ if (_wrapper) { } } } - return QTableWidget::event(e0); + return QTableView::event(event0); } -bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QTableView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4475,7 +4680,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4483,9 +4688,9 @@ if (_wrapper) { } } } - return QTableWidget::eventFilter(object0, event1); + return QTableView::eventFilter(object0, event1); } -void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4497,7 +4702,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4505,9 +4710,9 @@ if (_wrapper) { } } } - QTableWidget::focusInEvent(event0); + QTableView::focusInEvent(event0); } -bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) +bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4530,7 +4735,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4538,9 +4743,9 @@ if (_wrapper) { } } } - return QTableWidget::focusNextPrevChild(next0); + return QTableView::focusNextPrevChild(next0); } -void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4552,7 +4757,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4560,9 +4765,9 @@ if (_wrapper) { } } } - QTableWidget::focusOutEvent(event0); + QTableView::focusOutEvent(event0); } -bool PythonQtShell_QTableWidget::hasHeightForWidth() const +bool PythonQtShell_QTableView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4585,7 +4790,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4593,9 +4798,9 @@ if (_wrapper) { } } } - return QTableWidget::hasHeightForWidth(); + return QTableView::hasHeightForWidth(); } -int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const +int PythonQtShell_QTableView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4618,7 +4823,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4626,9 +4831,9 @@ if (_wrapper) { } } } - return QTableWidget::heightForWidth(arg__1); + return QTableView::heightForWidth(arg__1); } -void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4640,7 +4845,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4648,9 +4853,9 @@ if (_wrapper) { } } } - QTableWidget::hideEvent(event0); + QTableView::hideEvent(event0); } -int PythonQtShell_QTableWidget::horizontalOffset() const +int PythonQtShell_QTableView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4673,7 +4878,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4681,9 +4886,9 @@ if (_wrapper) { } } } - return QTableWidget::horizontalOffset(); + return QTableView::horizontalOffset(); } -void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) +void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4695,7 +4900,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4703,9 +4908,9 @@ if (_wrapper) { } } } - QTableWidget::horizontalScrollbarAction(action0); + QTableView::horizontalScrollbarAction(action0); } -void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4717,7 +4922,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4725,9 +4930,9 @@ if (_wrapper) { } } } - QTableWidget::horizontalScrollbarValueChanged(value0); + QTableView::horizontalScrollbarValueChanged(value0); } -QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const +QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4750,7 +4955,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4758,9 +4963,9 @@ if (_wrapper) { } } } - return QTableWidget::indexAt(p0); + return QTableView::indexAt(p0); } -void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4772,7 +4977,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4780,9 +4985,9 @@ if (_wrapper) { } } } - QTableWidget::initPainter(painter0); + QTableView::initPainter(painter0); } -void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4794,7 +4999,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4802,9 +5007,9 @@ if (_wrapper) { } } } - QTableWidget::inputMethodEvent(event0); + QTableView::inputMethodEvent(event0); } -QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4827,7 +5032,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4835,9 +5040,9 @@ if (_wrapper) { } } } - return QTableWidget::inputMethodQuery(query0); + return QTableView::inputMethodQuery(query0); } -bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const +bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4860,7 +5065,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4868,9 +5073,9 @@ if (_wrapper) { } } } - return QTableWidget::isIndexHidden(index0); + return QTableView::isIndexHidden(index0); } -void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4882,7 +5087,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4890,9 +5095,9 @@ if (_wrapper) { } } } - QTableWidget::keyPressEvent(event0); + QTableView::keyPressEvent(event0); } -void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4904,7 +5109,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4912,9 +5117,9 @@ if (_wrapper) { } } } - QTableWidget::keyReleaseEvent(event0); + QTableView::keyReleaseEvent(event0); } -void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) +void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4926,7 +5131,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4934,9 +5139,9 @@ if (_wrapper) { } } } - QTableWidget::keyboardSearch(search0); + QTableView::keyboardSearch(search0); } -void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QTableView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4948,7 +5153,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4956,9 +5161,9 @@ if (_wrapper) { } } } - QTableWidget::leaveEvent(event0); + QTableView::leaveEvent(event0); } -int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4981,73 +5186,7 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5055,9 +5194,9 @@ if (_wrapper) { } } } - return QTableWidget::mimeTypes(); + return QTableView::metric(arg__1); } -QSize PythonQtShell_QTableWidget::minimumSizeHint() const +QSize PythonQtShell_QTableView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5080,7 +5219,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5088,9 +5227,9 @@ if (_wrapper) { } } } - return QTableWidget::minimumSizeHint(); + return QTableView::minimumSizeHint(); } -void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5102,7 +5241,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5110,9 +5249,9 @@ if (_wrapper) { } } } - QTableWidget::mouseDoubleClickEvent(event0); + QTableView::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5124,7 +5263,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5132,9 +5271,9 @@ if (_wrapper) { } } } - QTableWidget::mouseMoveEvent(event0); + QTableView::mouseMoveEvent(event0); } -void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5146,7 +5285,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5154,9 +5293,9 @@ if (_wrapper) { } } } - QTableWidget::mousePressEvent(event0); + QTableView::mousePressEvent(event0); } -void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5168,7 +5307,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5176,9 +5315,9 @@ if (_wrapper) { } } } - QTableWidget::mouseReleaseEvent(event0); + QTableView::mouseReleaseEvent(event0); } -QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5201,7 +5340,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5209,9 +5348,9 @@ if (_wrapper) { } } } - return QTableWidget::moveCursor(cursorAction0, modifiers1); + return QTableView::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5223,7 +5362,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5231,9 +5370,9 @@ if (_wrapper) { } } } - QTableWidget::moveEvent(event0); + QTableView::moveEvent(event0); } -bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5256,7 +5395,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5264,9 +5403,9 @@ if (_wrapper) { } } } - return QTableWidget::nativeEvent(eventType0, message1, result2); + return QTableView::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const +QPaintEngine* PythonQtShell_QTableView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5289,7 +5428,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5297,9 +5436,9 @@ if (_wrapper) { } } } - return QTableWidget::paintEngine(); + return QTableView::paintEngine(); } -void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5311,7 +5450,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5319,9 +5458,9 @@ if (_wrapper) { } } } - QTableWidget::paintEvent(e0); + QTableView::paintEvent(e0); } -QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5344,7 +5483,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5352,9 +5491,9 @@ if (_wrapper) { } } } - return QTableWidget::redirected(offset0); + return QTableView::redirected(offset0); } -void PythonQtShell_QTableWidget::reset() +void PythonQtShell_QTableView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5366,7 +5505,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5374,9 +5513,9 @@ if (_wrapper) { } } } - QTableWidget::reset(); + QTableView::reset(); } -void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5388,7 +5527,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5396,9 +5535,9 @@ if (_wrapper) { } } } - QTableWidget::resizeEvent(event0); + QTableView::resizeEvent(event0); } -void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5410,7 +5549,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5418,9 +5557,9 @@ if (_wrapper) { } } } - QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QTableView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5432,7 +5571,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5440,9 +5579,9 @@ if (_wrapper) { } } } - QTableWidget::rowsInserted(parent0, start1, end2); + QTableView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5454,7 +5593,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5462,9 +5601,9 @@ if (_wrapper) { } } } - QTableWidget::scrollContentsBy(dx0, dy1); + QTableView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5476,7 +5615,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5484,9 +5623,9 @@ if (_wrapper) { } } } - QTableWidget::scrollTo(index0, hint1); + QTableView::scrollTo(index0, hint1); } -void PythonQtShell_QTableWidget::selectAll() +void PythonQtShell_QTableView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5498,7 +5637,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5506,9 +5645,9 @@ if (_wrapper) { } } } - QTableWidget::selectAll(); + QTableView::selectAll(); } -QList PythonQtShell_QTableWidget::selectedIndexes() const +QList PythonQtShell_QTableView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5531,7 +5670,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5539,9 +5678,9 @@ if (_wrapper) { } } } - return QTableWidget::selectedIndexes(); + return QTableView::selectedIndexes(); } -void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5553,7 +5692,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5561,9 +5700,9 @@ if (_wrapper) { } } } - QTableWidget::selectionChanged(selected0, deselected1); + QTableView::selectionChanged(selected0, deselected1); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5586,7 +5725,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5594,9 +5733,31 @@ if (_wrapper) { } } } - return QTableWidget::selectionCommand(index0, event1); + return QTableView::selectionCommand(index0, event1); } -void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) +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 @@ -5608,7 +5769,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5616,9 +5777,9 @@ if (_wrapper) { } } } - QTableWidget::setRootIndex(index0); + QTableView::setRootIndex(index0); } -void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5630,7 +5791,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5638,9 +5799,9 @@ if (_wrapper) { } } } - QTableWidget::setSelection(rect0, command1); + QTableView::setSelection(rect0, command1); } -void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5652,7 +5813,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5660,9 +5821,9 @@ if (_wrapper) { } } } - QTableWidget::setSelectionModel(selectionModel0); + QTableView::setSelectionModel(selectionModel0); } -void PythonQtShell_QTableWidget::setVisible(bool visible0) +void PythonQtShell_QTableView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5674,7 +5835,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5682,9 +5843,9 @@ if (_wrapper) { } } } - QTableWidget::setVisible(visible0); + QTableView::setVisible(visible0); } -void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) +void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5696,7 +5857,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5704,9 +5865,9 @@ if (_wrapper) { } } } - QTableWidget::setupViewport(viewport0); + QTableView::setupViewport(viewport0); } -QPainter* PythonQtShell_QTableWidget::sharedPainter() const +QPainter* PythonQtShell_QTableView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5729,7 +5890,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5737,9 +5898,9 @@ if (_wrapper) { } } } - return QTableWidget::sharedPainter(); + return QTableView::sharedPainter(); } -void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QTableView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5751,7 +5912,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5759,9 +5920,9 @@ if (_wrapper) { } } } - QTableWidget::showEvent(event0); + QTableView::showEvent(event0); } -QSize PythonQtShell_QTableWidget::sizeHint() const +QSize PythonQtShell_QTableView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5784,7 +5945,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5792,9 +5953,9 @@ if (_wrapper) { } } } - return QTableWidget::sizeHint(); + return QTableView::sizeHint(); } -int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const +int PythonQtShell_QTableView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5817,7 +5978,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5825,9 +5986,9 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForColumn(column0); + return QTableView::sizeHintForColumn(column0); } -int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const +int PythonQtShell_QTableView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5850,7 +6011,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5858,9 +6019,9 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForRow(row0); + return QTableView::sizeHintForRow(row0); } -void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5872,7 +6033,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5880,42 +6041,9 @@ if (_wrapper) { } } } - QTableWidget::startDrag(supportedActions0); + QTableView::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) +void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5927,7 +6055,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5935,9 +6063,9 @@ if (_wrapper) { } } } - QTableWidget::tabletEvent(event0); + QTableView::tabletEvent(event0); } -void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5949,7 +6077,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5957,9 +6085,9 @@ if (_wrapper) { } } } - QTableWidget::timerEvent(event0); + QTableView::timerEvent(event0); } -void PythonQtShell_QTableWidget::updateEditorData() +void PythonQtShell_QTableView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5971,7 +6099,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5979,9 +6107,9 @@ if (_wrapper) { } } } - QTableWidget::updateEditorData(); + QTableView::updateEditorData(); } -void PythonQtShell_QTableWidget::updateEditorGeometries() +void PythonQtShell_QTableView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5993,7 +6121,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6001,9 +6129,9 @@ if (_wrapper) { } } } - QTableWidget::updateEditorGeometries(); + QTableView::updateEditorGeometries(); } -void PythonQtShell_QTableWidget::updateGeometries() +void PythonQtShell_QTableView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6015,7 +6143,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6023,9 +6151,9 @@ if (_wrapper) { } } } - QTableWidget::updateGeometries(); + QTableView::updateGeometries(); } -int PythonQtShell_QTableWidget::verticalOffset() const +int PythonQtShell_QTableView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6048,7 +6176,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6056,9 +6184,9 @@ if (_wrapper) { } } } - return QTableWidget::verticalOffset(); + return QTableView::verticalOffset(); } -void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) +void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6070,7 +6198,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6078,9 +6206,9 @@ if (_wrapper) { } } } - QTableWidget::verticalScrollbarAction(action0); + QTableView::verticalScrollbarAction(action0); } -void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6092,7 +6220,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6100,9 +6228,9 @@ if (_wrapper) { } } } - QTableWidget::verticalScrollbarValueChanged(value0); + QTableView::verticalScrollbarValueChanged(value0); } -QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6125,7 +6253,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6133,9 +6261,9 @@ if (_wrapper) { } } } - return QTableWidget::viewOptions(); + return QTableView::viewOptions(); } -bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) +bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6158,7 +6286,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6166,9 +6294,9 @@ if (_wrapper) { } } } - return QTableWidget::viewportEvent(event0); + return QTableView::viewportEvent(event0); } -QSize PythonQtShell_QTableWidget::viewportSizeHint() const +QSize PythonQtShell_QTableView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6191,7 +6319,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6199,9 +6327,9 @@ if (_wrapper) { } } } - return QTableWidget::viewportSizeHint(); + return QTableView::viewportSizeHint(); } -QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const +QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6224,7 +6352,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6232,9 +6360,9 @@ if (_wrapper) { } } } - return QTableWidget::visualRect(index0); + return QTableView::visualRect(index0); } -QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const +QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6257,7 +6385,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6265,9 +6393,9 @@ if (_wrapper) { } } } - return QTableWidget::visualRegionForSelection(selection0); + return QTableView::visualRegionForSelection(selection0); } -void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6279,7 +6407,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6287,369 +6415,326 @@ if (_wrapper) { } } } - QTableWidget::wheelEvent(arg__1); + QTableView::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) +QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) { -return new PythonQtShell_QTableWidget(rows, columns, parent); } +return new PythonQtShell_QTableView(parent); } -const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { +const QMetaObject* PythonQtShell_QTableView::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableView::staticMetaObject); } else { - return &QTableWidget::staticMetaObject; + return &QTableView::staticMetaObject; } } -int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTableWidget::qt_metacall(call, id, args); +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; } -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 +void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) { - return ( theWrappedObject->columnCount()); + ( theWrappedObject->clearSpans()); } -int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const { - return ( theWrappedObject->currentColumn()); + return ( theWrappedObject->columnAt(x)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const { - return ( theWrappedObject->currentItem()); + return ( theWrappedObject->columnSpan(row, column)); } -int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const { - return ( theWrappedObject->currentRow()); + return ( theWrappedObject->columnViewportPosition(column)); } -bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) +int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); + return ( theWrappedObject->columnWidth(column)); } -void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const { - ( theWrappedObject->editItem(item)); + return ( theWrappedObject->gridStyle()); } -QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const { - return ( theWrappedObject->findItems(text, flags)); + return ( theWrappedObject->horizontalHeader()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const +bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const { - return ( theWrappedObject->horizontalHeaderItem(column)); + return ( theWrappedObject->isColumnHidden(column)); } -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); + return ( theWrappedObject->isCornerButtonEnabled()); } -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); + return ( theWrappedObject->isRowHidden(row)); } -bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const { - return ( theWrappedObject->isPersistentEditorOpen(item)); + return ( theWrappedObject->isSortingEnabled()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const +int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const { - return ( theWrappedObject->item(row, column)); + return ( theWrappedObject->rowAt(y)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const +int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const { - return ( theWrappedObject->itemAt(p)); + return ( theWrappedObject->rowHeight(row)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const +int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const { - return ( theWrappedObject->itemAt(x, y)); + return ( theWrappedObject->rowSpan(row, column)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const +int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); + return ( theWrappedObject->rowViewportPosition(row)); } -const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) { - return ( theWrappedObject->itemPrototype()); + ( theWrappedObject->setColumnHidden(column, hide)); } -QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const +void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); + ( theWrappedObject->setColumnWidth(column, width)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const +void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); + ( theWrappedObject->setCornerButtonEnabled(enable)); } -QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); + ( theWrappedObject->setGridStyle(style)); } -void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) { - ( theWrappedObject->openPersistentEditor(item)); + ( theWrappedObject->setHorizontalHeader(header)); } -void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) +void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) { - ( theWrappedObject->removeCellWidget(row, column)); + ( theWrappedObject->setRowHeight(row, height)); } -int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) { - return ( theWrappedObject->row(item)); + ( theWrappedObject->setRowHidden(row, hide)); } -int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) { - return ( theWrappedObject->rowCount()); + ( theWrappedObject->setSortingEnabled(enable)); } -QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) { - return ( theWrappedObject->selectedItems()); + ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); } -QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const +void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) { - return ( theWrappedObject->selectedRanges()); + ( theWrappedObject->setVerticalHeader(header)); } -void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) +void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) { - ( theWrappedObject->setCellWidget(row, column, widget)); + ( theWrappedObject->setWordWrap(on)); } -void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) +bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const { - ( theWrappedObject->setColumnCount(columns)); + return ( theWrappedObject->showGrid()); } -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) +void PythonQtWrapper_QTableView::sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order) { - ( theWrappedObject->setCurrentCell(row, column)); + ( theWrappedObject->sortByColumn(column, order)); } -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) +QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const { - ( theWrappedObject->setCurrentCell(row, column, command)); + return ( theWrappedObject->verticalHeader()); } -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item)); + return ( theWrappedObject->wordWrap()); } -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)); +PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) { - ( 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)); +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(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) -{ - return ( theWrappedObject->takeItem(row, column)); + QTableWidget::actionEvent(event0); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->takeVerticalHeaderItem(row)); +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(); + } + } } - -QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const -{ - return ( theWrappedObject->verticalHeaderItem(row)); + QTableWidget::changeEvent(arg__1); } - -int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const +void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) { - return ( theWrappedObject->visualColumn(logicalColumn)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->visualItemRect(item)); + QTableWidget::childEvent(event0); } - -int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { - return ( theWrappedObject->visualRow(logicalRow)); +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(); + } + } } - - - -PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTableWidget::closeEditor(editor0, hint1); } -QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("closeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidgetItem::clone(); + QTableWidget::closeEvent(event0); } -QVariant PythonQtShell_QTableWidgetItem::data(int role0) const +void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&role0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidgetItem::data(role0); + QTableWidget::commitData(editor0); } -void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) +void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&in0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6657,21 +6742,21 @@ if (_wrapper) { } } } - QTableWidgetItem::read(in0); + QTableWidget::contextMenuEvent(arg__1); } -void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) +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("setData"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6679,21 +6764,21 @@ if (_wrapper) { } } } - QTableWidgetItem::setData(role0, value1); + QTableWidget::currentChanged(current0, previous1); } -void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const +void PythonQtShell_QTableWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&out0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6701,409 +6786,505 @@ if (_wrapper) { } } } - QTableWidgetItem::write(out0); + QTableWidget::customEvent(event0); } -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 +void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { - return ( theWrappedObject->background()); +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(); + } + } } - -Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); + QTableWidget::dataChanged(topLeft0, bottomRight1, roles2); } - -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +int PythonQtShell_QTableWidget::devType() const { - return ( theWrappedObject->clone()); +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(); + } + } } - -int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->column()); + return QTableWidget::devType(); } - -QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +void PythonQtShell_QTableWidget::doItemsLayout() { - return ( theWrappedObject->data(role)); +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(); + } + } } - -Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); + QTableWidget::doItemsLayout(); } - -QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->font()); +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(); + } + } } - -QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); + QTableWidget::dragEnterEvent(event0); } - -QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->icon()); +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(); + } + } } - -bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); + QTableWidget::dragLeaveEvent(event0); } - -void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { - out << (*theWrappedObject); +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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); + QTableWidget::dragMoveEvent(event0); } - -void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { - ( theWrappedObject->read(in)); +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(); + } + } } - -int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->row()); + QTableWidget::dropEvent(event0); } - -void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) { - ( theWrappedObject->setBackground(brush)); +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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(state)); + return QTableWidget::dropMimeData(row0, column1, data2, action3); } - -void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { - ( theWrappedObject->setData(role, value)); +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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); + return QTableWidget::edit(index0, trigger1, event2); } - -void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { - ( theWrappedObject->setFont(font)); +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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); + QTableWidget::editorDestroyed(editor0); } - -void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) { - ( theWrappedObject->setIcon(icon)); +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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) -{ - ( theWrappedObject->setSelected(select)); + QTableWidget::enterEvent(event0); } - -void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +bool PythonQtShell_QTableWidget::event(QEvent* e0) { - ( theWrappedObject->setSizeHint(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(statusTip)); + return QTableWidget::event(e0); } - -void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1) { - ( theWrappedObject->setText(text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) -{ - ( theWrappedObject->setTextAlignment(alignment)); + return QTableWidget::eventFilter(object0, event1); } - -void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->setToolTip(toolTip)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(whatsThis)); + QTableWidget::focusInEvent(event0); } - -QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { - return ( theWrappedObject->sizeHint()); +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(); + } + } } - -QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); + return QTableWidget::focusNextPrevChild(next0); } - -QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->tableWidget()); +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(); + } + } } - -QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); + QTableWidget::focusOutEvent(event0); } - -int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +bool PythonQtShell_QTableWidget::hasHeightForWidth() const { - return ( theWrappedObject->textAlignment()); +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(); + } + } } - -QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); + return QTableWidget::hasHeightForWidth(); } - -int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { - return ( theWrappedObject->type()); +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(); + } + } } - -QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); + return QTableWidget::heightForWidth(arg__1); } - -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()); -} - -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()); -} - -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) +void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7111,32 +7292,32 @@ if (_wrapper) { } } } - QTapAndHoldGesture::customEvent(event0); + QTableWidget::hideEvent(event0); } -bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) +int PythonQtShell_QTableWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7144,54 +7325,43 @@ if (_wrapper) { } } } - return QTapAndHoldGesture::event(event0); + return QTableWidget::horizontalOffset(); } -bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTapAndHoldGesture::eventFilter(watched0, event1); + QTableWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7199,64 +7369,54 @@ if (_wrapper) { } } } - QTapAndHoldGesture::timerEvent(event0); + QTableWidget::horizontalScrollbarValueChanged(value0); } -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() +QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { - return (QTapAndHoldGesture::timeout()); +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(); + } + } } - - - -PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTableWidget::indexAt(p0); } -void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) +void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7264,21 +7424,21 @@ if (_wrapper) { } } } - QTapGesture::childEvent(event0); + QTableWidget::initPainter(painter0); } -void PythonQtShell_QTapGesture::customEvent(QEvent* event0) +void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7286,32 +7446,32 @@ if (_wrapper) { } } } - QTapGesture::customEvent(event0); + QTableWidget::inputMethodEvent(event0); } -bool PythonQtShell_QTapGesture::event(QEvent* 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("event"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7319,32 +7479,32 @@ if (_wrapper) { } } } - return QTapGesture::event(event0); + return QTableWidget::inputMethodQuery(query0); } -bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7352,21 +7512,21 @@ if (_wrapper) { } } } - return QTapGesture::eventFilter(watched0, event1); + return QTableWidget::isIndexHidden(index0); } -void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7374,388 +7534,340 @@ if (_wrapper) { } } } - QTapGesture::timerEvent(event0); + QTableWidget::keyPressEvent(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; +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(); + } } } -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; + QTableWidget::keyReleaseEvent(event0); } -QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const +void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { - return ( theWrappedObject->position()); +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(); + } + } } - -void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPosition(pos)); + QTableWidget::keyboardSearch(search0); } - - - -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 +void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) { - return ( theWrappedObject->begin()); +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(); + } + } } - -QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockFormat()); + QTableWidget::leaveEvent(event0); } - -int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const +int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->blockFormatIndex()); +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(); + } + } } - -int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockNumber()); + return QTableWidget::metric(arg__1); } - -QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const +QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) 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)); +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(); + } + } } - -const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->document()); + return QTableWidget::mimeData(items0); } - -QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const +QStringList PythonQtShell_QTableWidget::mimeTypes() const { - return ( theWrappedObject->end()); +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(); + } + } } - -int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->firstLineNumber()); + return QTableWidget::mimeTypes(); } - -int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const +QSize PythonQtShell_QTableWidget::minimumSizeHint() const { - return ( theWrappedObject->fragmentIndex()); +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(); + } + } } - -bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + return QTableWidget::minimumSizeHint(); } - -bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const +void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->isVisible()); +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(); + } + } } - -QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->layout()); + QTableWidget::mouseDoubleClickEvent(event0); } - -int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const +void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->length()); +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(); + } + } } - -int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); + QTableWidget::mouseMoveEvent(event0); } - -QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const +void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->next()); +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(); + } + } } - -bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)!= o); + QTableWidget::mousePressEvent(event0); } - -bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const +void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { - return ( (*theWrappedObject)< o); +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(); + } + } } - -bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)== o); + QTableWidget::mouseReleaseEvent(event0); } - -int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const +QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { - return ( theWrappedObject->position()); +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(); + } + } } - -QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->previous()); + return QTableWidget::moveCursor(cursorAction0, modifiers1); } - -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()); -} - -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::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) +void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockFormatChanged"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7763,87 +7875,87 @@ if (_wrapper) { } } } - QTextBlockGroup::blockFormatChanged(block0); + QTableWidget::moveEvent(event0); } -void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) +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("blockInserted"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBlockGroup::blockInserted(block0); + return QTableWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) +QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockRemoved"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBlockGroup::childEvent(event0); + return QTableWidget::paintEngine(); } -void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) +void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7851,32 +7963,32 @@ if (_wrapper) { } } } - QTextBlockGroup::customEvent(event0); + QTableWidget::paintEvent(e0); } -bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) +QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7884,54 +7996,43 @@ if (_wrapper) { } } } - return QTextBlockGroup::event(event0); + return QTableWidget::redirected(offset0); } -bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QTableWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBlockGroup::eventFilter(watched0, event1); + QTableWidget::reset(); } -void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7939,74 +8040,21 @@ if (_wrapper) { } } } - 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); } + QTableWidget::resizeEvent(event0); } -void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* 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("actionEvent"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8014,21 +8062,21 @@ if (_wrapper) { } } } - QTextBrowser::actionEvent(event0); + QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QTextBrowser::backward() +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("backward"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8036,54 +8084,43 @@ if (_wrapper) { } } } - QTextBrowser::backward(); + QTableWidget::rowsInserted(parent0, start1, end2); } -bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const +void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canInsertFromMimeData"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::canInsertFromMimeData(source0); + QTableWidget::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) +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("changeEvent"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8091,21 +8128,21 @@ if (_wrapper) { } } } - QTextBrowser::changeEvent(e0); + QTableWidget::scrollTo(index0, hint1); } -void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) +void PythonQtShell_QTableWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8113,43 +8150,54 @@ if (_wrapper) { } } } - QTextBrowser::childEvent(event0); + QTableWidget::selectAll(); } -void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) +QList PythonQtShell_QTableWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("selectedIndexes"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::closeEvent(event0); + return QTableWidget::selectedIndexes(); } -void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); 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); } + 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 { @@ -8157,32 +8205,32 @@ if (_wrapper) { } } } - QTextBrowser::contextMenuEvent(e0); + QTableWidget::selectionChanged(selected0, deselected1); } -QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +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("createMimeDataFromSelection"); + static PyObject* name = PyString_FromString("selectionCommand"); 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}; + 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("createMimeDataFromSelection", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8190,21 +8238,21 @@ if (_wrapper) { } } } - return QTextBrowser::createMimeDataFromSelection(); + return QTableWidget::selectionCommand(index0, event1); } -void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) +void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8212,54 +8260,43 @@ if (_wrapper) { } } } - QTextBrowser::customEvent(event0); + QTableWidget::setRootIndex(index0); } -int PythonQtShell_QTextBrowser::devType() const +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("devType"); + static PyObject* name = PyString_FromString("setSelection"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::devType(); + QTableWidget::setSelection(rect0, command1); } -void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) +void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doSetTextCursor"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8267,21 +8304,21 @@ if (_wrapper) { } } } - QTextBrowser::doSetTextCursor(cursor0); + QTableWidget::setSelectionModel(selectionModel0); } -void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) +void PythonQtShell_QTableWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8289,21 +8326,21 @@ if (_wrapper) { } } } - QTextBrowser::dragEnterEvent(e0); + QTableWidget::setVisible(visible0); } -void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8311,43 +8348,54 @@ if (_wrapper) { } } } - QTextBrowser::dragLeaveEvent(e0); + QTableWidget::setupViewport(viewport0); } -void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) +QPainter* PythonQtShell_QTableWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::dragMoveEvent(e0); + return QTableWidget::sharedPainter(); } -void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) +void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8355,54 +8403,65 @@ if (_wrapper) { } } } - QTextBrowser::dropEvent(e0); + QTableWidget::showEvent(event0); } -void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) +QSize PythonQtShell_QTableWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::enterEvent(event0); + return QTableWidget::sizeHint(); } -bool PythonQtShell_QTextBrowser::event(QEvent* e0) +int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8410,32 +8469,32 @@ if (_wrapper) { } } } - return QTextBrowser::event(e0); + return QTableWidget::sizeHintForColumn(column0); } -bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8443,21 +8502,21 @@ if (_wrapper) { } } } - return QTextBrowser::eventFilter(arg__1, arg__2); + return QTableWidget::sizeHintForRow(row0); } -void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8465,32 +8524,32 @@ if (_wrapper) { } } } - QTextBrowser::focusInEvent(e0); + QTableWidget::startDrag(supportedActions0); } -bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) +Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("supportedDropActions"); 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}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8498,21 +8557,21 @@ if (_wrapper) { } } } - return QTextBrowser::focusNextPrevChild(next0); + return QTableWidget::supportedDropActions(); } -void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) +void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8520,21 +8579,21 @@ if (_wrapper) { } } } - QTextBrowser::focusOutEvent(ev0); + QTableWidget::tabletEvent(event0); } -void PythonQtShell_QTextBrowser::forward() +void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("forward"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8542,131 +8601,43 @@ if (_wrapper) { } } } - QTextBrowser::forward(); + QTableWidget::timerEvent(event0); } -bool PythonQtShell_QTextBrowser::hasHeightForWidth() const +void PythonQtShell_QTableWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::hasHeightForWidth(); + QTableWidget::updateEditorData(); } -int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const +void PythonQtShell_QTableWidget::updateEditorGeometries() { 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"); + 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(); - } - } -} - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8674,21 +8645,21 @@ if (_wrapper) { } } } - QTextBrowser::initPainter(painter0); + QTableWidget::updateEditorGeometries(); } -void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTableWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("updateGeometries"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8696,32 +8667,32 @@ if (_wrapper) { } } } - QTextBrowser::inputMethodEvent(arg__1); + QTableWidget::updateGeometries(); } -QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const +int PythonQtShell_QTableWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("verticalOffset"); 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}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8729,21 +8700,21 @@ if (_wrapper) { } } } - return QTextBrowser::inputMethodQuery(property0); + return QTableWidget::verticalOffset(); } -void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertFromMimeData"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&source0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8751,21 +8722,21 @@ if (_wrapper) { } } } - QTextBrowser::insertFromMimeData(source0); + QTableWidget::verticalScrollbarAction(action0); } -void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8773,76 +8744,98 @@ if (_wrapper) { } } } - QTextBrowser::keyPressEvent(ev0); + QTableWidget::verticalScrollbarValueChanged(value0); } -void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) +QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("viewOptions"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::keyReleaseEvent(e0); + return QTableWidget::viewOptions(); } -void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) +bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::leaveEvent(event0); + return QTableWidget::viewportEvent(event0); } -QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) +QSize PythonQtShell_QTableWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); + static PyObject* name = PyString_FromString("viewportSizeHint"); 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}; + 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("loadResource", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8850,32 +8843,32 @@ if (_wrapper) { } } } - return QTextBrowser::loadResource(type0, name1); + return QTableWidget::viewportSizeHint(); } -int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8883,32 +8876,32 @@ if (_wrapper) { } } } - return QTextBrowser::metric(arg__1); + return QTableWidget::visualRect(index0); } -QSize PythonQtShell_QTextBrowser::minimumSizeHint() const +QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8916,21 +8909,21 @@ if (_wrapper) { } } } - return QTextBrowser::minimumSizeHint(); + return QTableWidget::visualRegionForSelection(selection0); } -void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8938,296 +8931,369 @@ if (_wrapper) { } } } - 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(); - } - } + QTableWidget::wheelEvent(arg__1); } - QTextBrowser::mouseMoveEvent(ev0); +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; + } } -void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) +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 { -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(); - } - } + return ( theWrappedObject->cellWidget(row, column)); } - QTextBrowser::mousePressEvent(ev0); + +void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->closePersistentEditor(item)); } -void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) + +int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const { -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(); - } - } + return ( theWrappedObject->column(item)); } - QTextBrowser::mouseReleaseEvent(ev0); + +int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); } -void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) + +int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->currentColumn()); } - QTextBrowser::moveEvent(event0); + +QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); } -bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const { -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 ( theWrappedObject->currentRow()); } - return QTextBrowser::nativeEvent(eventType0, message1, result2); + +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)); } -QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const + +void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) { -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(); - } - } + ( theWrappedObject->editItem(item)); } - return QTextBrowser::paintEngine(); + +QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +{ + return ( theWrappedObject->findItems(text, flags)); } -void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) + +QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const { -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(); - } - } + return ( theWrappedObject->horizontalHeaderItem(column)); } - QTextBrowser::paintEvent(e0); + +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +{ + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); } -QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const + +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) 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 ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); } - return QTextBrowser::redirected(offset0); + +bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item)); } -void PythonQtShell_QTextBrowser::reload() + +QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const { -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(); - } - } + return ( theWrappedObject->item(row, column)); } - QTextBrowser::reload(); + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); } -void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) + +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const { -if (_wrapper) { + 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("resizeEvent"); + static PyObject* name = PyString_FromString("clone"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTableWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::resizeEvent(e0); + return QTableWidgetItem::clone(); } -void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) +QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("data"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::scrollContentsBy(dx0, dy1); + return QTableWidgetItem::data(role0); } -void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) +void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSource"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QUrl&"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&name0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9235,21 +9301,21 @@ if (_wrapper) { } } } - QTextBrowser::setSource(name0); + QTableWidgetItem::read(in0); } -void PythonQtShell_QTextBrowser::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("setData"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9257,21 +9323,21 @@ if (_wrapper) { } } } - QTextBrowser::setVisible(visible0); + QTableWidgetItem::setData(role0, value1); } -void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) +void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9279,1020 +9345,1061 @@ if (_wrapper) { } } } - QTextBrowser::setupViewport(viewport0); + QTableWidgetItem::write(out0); } -QPainter* PythonQtShell_QTextBrowser::sharedPainter() const +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 { -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 ( theWrappedObject->background()); } - return QTextBrowser::sharedPainter(); + +Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); } -void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->clone()); } - QTextBrowser::showEvent(arg__1); + +int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); } -QSize PythonQtShell_QTextBrowser::sizeHint() const + +QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) 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 ( theWrappedObject->data(role)); } - return QTextBrowser::sizeHint(); + +Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); } -void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) + +QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->font()); } - QTextBrowser::tabletEvent(event0); + +QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); } -void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) + +QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_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(); - } - } + return ( theWrappedObject->icon()); } - QTextBrowser::timerEvent(e0); + +bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); } -bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) + +void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) { -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(); - } - } + out << (*theWrappedObject); } - return QTextBrowser::viewportEvent(arg__1); + +void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); } -QSize PythonQtShell_QTextBrowser::viewportSizeHint() const + +void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) { -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(); - } - } + ( theWrappedObject->read(in)); } - return QTextBrowser::viewportSizeHint(); + +int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->row()); } -void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) + +void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) { -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(); - } - } + ( theWrappedObject->setBackground(brush)); } - 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 +void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) { - return ( theWrappedObject->backwardHistoryCount()); + ( theWrappedObject->setCheckState(state)); } -void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) +void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) { - ( theWrappedObject->clearHistory()); + ( theWrappedObject->setData(role, value)); } -int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) { - return ( theWrappedObject->forwardHistoryCount()); + ( theWrappedObject->setFlags(flags)); } -QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const +void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) { - return ( theWrappedObject->historyTitle(arg__1)); + ( theWrappedObject->setFont(font)); } -QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const +void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->historyUrl(arg__1)); + ( theWrappedObject->setForeground(brush)); } -bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) { - return ( theWrappedObject->isBackwardAvailable()); + ( theWrappedObject->setIcon(icon)); } -bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) { - return ( theWrappedObject->isForwardAvailable()); + ( theWrappedObject->setSelected(select)); } -bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) { - return ( theWrappedObject->openExternalLinks()); + ( theWrappedObject->setSizeHint(size)); } -bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) { - return ( theWrappedObject->openLinks()); + ( theWrappedObject->setStatusTip(statusTip)); } -QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) { - return ( theWrappedObject->searchPaths()); + ( theWrappedObject->setText(text)); } -void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) +void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) { - ( theWrappedObject->setOpenExternalLinks(open)); + ( theWrappedObject->setTextAlignment(alignment)); } -void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) +void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) { - ( theWrappedObject->setOpenLinks(open)); + ( theWrappedObject->setToolTip(toolTip)); } -void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) +void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) { - ( theWrappedObject->setSearchPaths(paths)); + ( theWrappedObject->setWhatsThis(whatsThis)); } -QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const +QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->source()); + return ( theWrappedObject->sizeHint()); } - - -PythonQtShell_QTextCharFormat::~PythonQtShell_QTextCharFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); } -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 +QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->anchorHref()); + return ( theWrappedObject->tableWidget()); } -QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const +QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->anchorNames()); + return ( theWrappedObject->text()); } -QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->textAlignment()); } -QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const +QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->fontCapitalization()); + return ( theWrappedObject->toolTip()); } -QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->fontFamily()); + return ( theWrappedObject->type()); } -bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const +QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const { - return ( theWrappedObject->fontFixedPitch()); + return ( theWrappedObject->whatsThis()); } -QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const +void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const { - return ( theWrappedObject->fontHintingPreference()); + ( theWrappedObject->write(out)); } -bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const + + +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->fontItalic()); + return ( theWrappedObject->bottomRow()); } -bool PythonQtWrapper_QTextCharFormat::fontKerning(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const { - return ( theWrappedObject->fontKerning()); + return ( theWrappedObject->columnCount()); } -qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const { - return ( theWrappedObject->fontLetterSpacing()); + return ( theWrappedObject->leftColumn()); } -QFont::SpacingType PythonQtWrapper_QTextCharFormat::fontLetterSpacingType(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const { - return ( theWrappedObject->fontLetterSpacingType()); + return ( theWrappedObject->rightColumn()); } -bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const { - return ( theWrappedObject->fontOverline()); + return ( theWrappedObject->rowCount()); } -qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const { - return ( theWrappedObject->fontPointSize()); + return ( theWrappedObject->topRow()); } -int PythonQtWrapper_QTextCharFormat::fontStretch(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStretch()); + + +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); } -bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const +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->fontStrikeOut()); + return ( theWrappedObject->button()); } -QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const +Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->fontStyleHint()); + return ( theWrappedObject->buttons()); } -QFont::StyleStrategy PythonQtWrapper_QTextCharFormat::fontStyleStrategy(QTextCharFormat* theWrappedObject) const +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->fontStyleStrategy()); + return ( theWrappedObject->device()); } -bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const +QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->fontUnderline()); + return ( theWrappedObject->globalPos()); } -int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const +const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->fontWeight()); + return &( theWrappedObject->globalPosF()); } -qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->fontWordSpacing()); + return ( theWrappedObject->globalX()); } -bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->isAnchor()); + return ( theWrappedObject->globalY()); } -bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const +qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->hiResGlobalX()); } -void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor) +qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setAnchor(anchor)); + return ( theWrappedObject->hiResGlobalY()); } -void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value) +QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setAnchorHref(value)); + return ( theWrappedObject->pointerType()); } -void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names) +QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setAnchorNames(names)); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font) +const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFont(font)); + return &( theWrappedObject->posF()); } -void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior) +qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFont(font, behavior)); + return ( theWrappedObject->pressure()); } -void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) +qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontCapitalization(capitalization)); + return ( theWrappedObject->rotation()); } -void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family) +qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontFamily(family)); + return ( theWrappedObject->tangentialPressure()); } -void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch) +qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontFixedPitch(fixedPitch)); + return ( theWrappedObject->uniqueId()); } -void PythonQtWrapper_QTextCharFormat::setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference) +int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontHintingPreference(hintingPreference)); + return ( theWrappedObject->x()); } -void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) +int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontItalic(italic)); + return ( theWrappedObject->xTilt()); } -void PythonQtWrapper_QTextCharFormat::setFontKerning(QTextCharFormat* theWrappedObject, bool enable) +int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontKerning(enable)); + return ( theWrappedObject->y()); } -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) +int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontLetterSpacing(spacing)); + return ( theWrappedObject->yTilt()); } -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType) +int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const { - ( theWrappedObject->setFontLetterSpacingType(letterSpacingType)); + return ( theWrappedObject->z()); } -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)); +PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) +void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) { - ( theWrappedObject->setFontStrikeOut(strikeOut)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy) -{ - ( theWrappedObject->setFontStyleHint(hint, strategy)); + QTapAndHoldGesture::childEvent(event0); } - -void PythonQtWrapper_QTextCharFormat::setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy) +void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) { - ( theWrappedObject->setFontStyleStrategy(strategy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline) -{ - ( theWrappedObject->setFontUnderline(underline)); + QTapAndHoldGesture::customEvent(event0); } - -void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight) +bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) { - ( theWrappedObject->setFontWeight(weight)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setFontWordSpacing(spacing)); + return QTapAndHoldGesture::event(event0); } - -void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan) +bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) -{ - ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); + return QTapAndHoldGesture::eventFilter(watched0, event1); } - -void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) +void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setTextOutline(pen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) -{ - ( theWrappedObject->setToolTip(tip)); + QTapAndHoldGesture::timerEvent(event0); } +QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) +{ +return new PythonQtShell_QTapAndHoldGesture(parent); } -void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setUnderlineColor(color)); +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; + } } - -void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) -{ - ( theWrappedObject->setUnderlineStyle(style)); +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; } - -void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) +QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const { - ( theWrappedObject->setVerticalAlignment(alignment)); + return ( theWrappedObject->position()); } -int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const +void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) { - return ( theWrappedObject->tableCellColumnSpan()); + ( theWrappedObject->setPosition(pos)); } -int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const +void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) { - return ( theWrappedObject->tableCellRowSpan()); + (QTapAndHoldGesture::setTimeout(msecs)); } -QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const +int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() { - return ( theWrappedObject->textOutline()); + return (QTapAndHoldGesture::timeout()); } -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 +PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) { - return ( theWrappedObject->underlineStyle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const + QTapGesture::childEvent(event0); +} +void PythonQtShell_QTapGesture::customEvent(QEvent* event0) { - return ( theWrappedObject->verticalAlignment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -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()); + QTapGesture::customEvent(event0); } - -bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const +bool PythonQtShell_QTapGesture::event(QEvent* event0) { - return ( theWrappedObject->atBlockEnd()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const + return QTapGesture::event(event0); +} +bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->atBlockStart()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const + return QTapGesture::eventFilter(watched0, event1); +} +void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->atEnd()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const +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->atStart()); + return ( theWrappedObject->position()); } -void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) +void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->beginEditBlock()); + ( theWrappedObject->setPosition(pos)); } -QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const + + +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->block()); + return ( theWrappedObject->begin()); } -QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const +QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->blockCharFormat()); + return ( theWrappedObject->blockFormat()); } -QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const +int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->blockFormat()); + return ( theWrappedObject->blockFormatIndex()); } -int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const +int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const { return ( theWrappedObject->blockNumber()); } -QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const { return ( theWrappedObject->charFormat()); } -void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) +int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const { - ( theWrappedObject->clearSelection()); + return ( theWrappedObject->charFormatIndex()); } -int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const +void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) { - return ( theWrappedObject->columnNumber()); + ( theWrappedObject->clearLayout()); } -QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const { - return ( theWrappedObject->createList(style)); + return ( theWrappedObject->contains(position)); } -QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) +const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->createList(format)); + return ( theWrappedObject->document()); } -QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const +QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->currentFrame()); + return ( theWrappedObject->end()); } -QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const +int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->currentList()); + return ( theWrappedObject->firstLineNumber()); } -QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const +int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->currentTable()); + return ( theWrappedObject->fragmentIndex()); } -void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) +bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const { - ( theWrappedObject->deleteChar()); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) +bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const { - ( theWrappedObject->deletePreviousChar()); + return ( theWrappedObject->isVisible()); } -QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) const +QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->document()); + return ( theWrappedObject->layout()); } -void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) +int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const { - ( theWrappedObject->endEditBlock()); + return ( theWrappedObject->length()); } -bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const +int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->hasComplexSelection()); + return ( theWrappedObject->lineCount()); } -bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->hasSelection()); + return ( theWrappedObject->next()); } -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) +bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const { - ( theWrappedObject->insertBlock()); + return ( (*theWrappedObject)!= o); } -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const { - ( theWrappedObject->insertBlock(format)); + return ( (*theWrappedObject)< o); } -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) +bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const { - ( theWrappedObject->insertBlock(format, charFormat)); + return ( (*theWrappedObject)== o); } -void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) +int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const { - ( theWrappedObject->insertFragment(fragment)); + return ( theWrappedObject->position()); } -QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) +QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->insertFrame(format)); + return ( theWrappedObject->previous()); } -void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) +int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const { - ( theWrappedObject->insertHtml(html)); + return ( theWrappedObject->revision()); } -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) +void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) { - ( theWrappedObject->insertImage(image, name)); + ( theWrappedObject->setLineCount(count)); } -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) +void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) { - ( theWrappedObject->insertImage(name)); + ( theWrappedObject->setRevision(rev)); } -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) +void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) { - ( theWrappedObject->insertImage(format)); + ( theWrappedObject->setUserData(data)); } -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) +void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) { - ( theWrappedObject->insertImage(format, alignment)); + ( theWrappedObject->setUserState(state)); } -QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) { - return ( theWrappedObject->insertList(style)); + ( theWrappedObject->setVisible(visible)); } -QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) +QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->insertList(format)); + return ( theWrappedObject->text()); } -QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) +Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->insertTable(rows, cols)); + return ( theWrappedObject->textDirection()); } -QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) +QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->insertTable(rows, cols, format)); + return ( theWrappedObject->textFormats()); } -void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) +QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const { - ( theWrappedObject->insertText(text)); + return ( theWrappedObject->textList()); } -void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) +QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const { - ( theWrappedObject->insertText(text, format)); + return ( theWrappedObject->userData()); } -bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const +int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->isCopyOf(other)); + return ( theWrappedObject->userState()); } -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()); +PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() +{ +return new PythonQtShell_QTextBlockFormat(); } -void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeBlockCharFormat(modifier)); -} +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextBlockFormat(fmt); } -void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) +Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->mergeBlockFormat(modifier)); + return ( theWrappedObject->alignment()); } -void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->mergeCharFormat(modifier)); + return ( theWrappedObject->bottomMargin()); } -bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) +int PythonQtWrapper_QTextBlockFormat::headingLevel(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->movePosition(op, arg__2, n)); + return ( theWrappedObject->headingLevel()); } -bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const { - return ( (*theWrappedObject)!= rhs); + return ( theWrappedObject->indent()); } -bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const { - return ( (*theWrappedObject)< rhs); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const { - return ( (*theWrappedObject)<= rhs); + return ( theWrappedObject->leftMargin()); } -bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const { - return ( (*theWrappedObject)== rhs); + return ( theWrappedObject->lineHeight()); } -bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const { - return ( (*theWrappedObject)> rhs); + return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); } -bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const { - return ( (*theWrappedObject)>= rhs); + return ( theWrappedObject->lineHeightType()); } -int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const +bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->nonBreakableLines()); } -int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const +QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->positionInBlock()); + return ( theWrappedObject->pageBreakPolicy()); } -void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) +qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->removeSelectedText()); + return ( theWrappedObject->rightMargin()); } -void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) +void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) { - ( theWrappedObject->select(selection)); + ( theWrappedObject->setAlignment(alignment)); } -QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->selectedText()); + ( theWrappedObject->setBottomMargin(margin)); } -QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel) { - return ( theWrappedObject->selection()); + ( theWrappedObject->setHeadingLevel(alevel)); } -int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) { - return ( theWrappedObject->selectionEnd()); + ( theWrappedObject->setIndent(indent)); } -int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->selectionStart()); + ( theWrappedObject->setLeftMargin(margin)); } -void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) { - ( theWrappedObject->setBlockCharFormat(format)); + ( theWrappedObject->setLineHeight(height, heightType)); } -void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) { - ( theWrappedObject->setBlockFormat(format)); + ( theWrappedObject->setNonBreakableLines(b)); } -void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) { - ( theWrappedObject->setCharFormat(format)); + ( theWrappedObject->setPageBreakPolicy(flags)); } -void PythonQtWrapper_QTextCursor::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) +void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - ( theWrappedObject->setKeepPositionOnInsert(b)); + ( theWrappedObject->setRightMargin(margin)); } -void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) +void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) { - ( theWrappedObject->setPosition(pos, mode)); + ( theWrappedObject->setTabPositions(tabs)); } -void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) +void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) { - ( theWrappedObject->setVerticalMovementX(x)); + ( theWrappedObject->setTextIndent(aindent)); } -void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) +void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - ( theWrappedObject->setVisualNavigation(b)); + ( theWrappedObject->setTopMargin(margin)); } -void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) +QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->tabPositions()); } -int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->verticalMovementX()); + return ( theWrappedObject->textIndent()); } -bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->visualNavigation()); + return ( theWrappedObject->topMargin()); } -PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { +PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) +void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10300,21 +10407,21 @@ if (_wrapper) { } } } - QTextDocument::childEvent(event0); + QTextBlockGroup::blockFormatChanged(block0); } -void PythonQtShell_QTextDocument::clear() +void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10322,42 +10429,53 @@ if (_wrapper) { } } } - QTextDocument::clear(); + QTextBlockGroup::blockInserted(block0); } -QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) +void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createObject"); + static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextObject* returnValue{}; - void* args[2] = {nullptr, (void*)&f0}; + 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("createObject", methodInfo, result); - } else { - returnValue = *((QTextObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextDocument::createObject(f0); + QTextBlockGroup::blockRemoved(block0); } -void PythonQtShell_QTextDocument::customEvent(QEvent* event0) +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 @@ -10369,7 +10487,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10377,9 +10495,9 @@ if (_wrapper) { } } } - QTextDocument::customEvent(event0); + QTextBlockGroup::customEvent(event0); } -bool PythonQtShell_QTextDocument::event(QEvent* event0) +bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10402,7 +10520,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10410,9 +10528,9 @@ if (_wrapper) { } } } - return QTextDocument::event(event0); + return QTextBlockGroup::event(event0); } -bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10435,7 +10553,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10443,54 +10561,21 @@ if (_wrapper) { } } } - return QTextDocument::eventFilter(watched0, event1); + return QTextBlockGroup::eventFilter(watched0, event1); } -QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) +void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10498,588 +10583,668 @@ if (_wrapper) { } } } - QTextDocument::timerEvent(event0); + QTextBlockGroup::timerEvent(event0); } -QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) -{ -return new PythonQtShell_QTextDocument(parent); } - -QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) +QTextBlockGroup* PythonQtWrapper_QTextBlockGroup::new_QTextBlockGroup(QTextDocument* doc) { -return new PythonQtShell_QTextDocument(text, parent); } +return new PythonQtShell_QTextBlockGroup(doc); } -const QMetaObject* PythonQtShell_QTextDocument::metaObject() const { +const QMetaObject* PythonQtShell_QTextBlockGroup::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextDocument::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBlockGroup::staticMetaObject); } else { - return &QTextDocument::staticMetaObject; + return &QTextBlockGroup::staticMetaObject; } } -int PythonQtShell_QTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextDocument::qt_metacall(call, id, args); +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_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) +void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { - ( theWrappedObject->addResource(type, name, resource)); + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); } -void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) +void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { - ( theWrappedObject->adjustSize()); + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); } -QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const +QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const { - return ( theWrappedObject->allFormats()); + return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); } -int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { - return ( theWrappedObject->availableRedoSteps()); + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); } -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()); +PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() +{ +return new PythonQtShell_QTextBlockUserData(); } -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()); +PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) +void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) { - ( theWrappedObject->clear()); +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(); + } + } } - -void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) -{ - ( theWrappedObject->clearUndoRedoStacks(historyToClear)); + QTextBrowser::actionEvent(event0); } - -QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const +void PythonQtShell_QTextBrowser::backward() { - return ( theWrappedObject->clone(parent)); +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(); + } + } } - -QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); + QTextBrowser::backward(); } - -Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const +bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { - return ( theWrappedObject->defaultCursorMoveStyle()); +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(); + } + } } - -QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultFont()); + return QTextBrowser::canInsertFromMimeData(source0); } - -QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { - return ( theWrappedObject->defaultStyleSheet()); +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(); + } + } } - -QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextOption()); + QTextBrowser::changeEvent(e0); } - -QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { - return ( theWrappedObject->documentLayout()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->documentMargin()); + QTextBrowser::childEvent(event0); } - -void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->drawContents(painter, rect)); +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(); + } + } } - -QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->end()); + QTextBrowser::closeEvent(event0); } - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { - 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)); +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(); + } + } } - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, from, options)); + QTextBrowser::contextMenuEvent(e0); } - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const +QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { - return ( theWrappedObject->find(subString, cursor, options)); +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(); + } + } } - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(subString, from, options)); + return QTextBrowser::createMimeDataFromSelection(); } - -QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const +void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { - return ( theWrappedObject->findBlock(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const -{ - return ( theWrappedObject->findBlockByLineNumber(blockNumber)); + QTextBrowser::customEvent(event0); } - -QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const +int PythonQtShell_QTextBrowser::devType() const { - return ( theWrappedObject->findBlockByNumber(blockNumber)); +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(); + } + } } - -QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->firstBlock()); + return QTextBrowser::devType(); } - -QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const +void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { - return ( theWrappedObject->frameAt(pos)); +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(); + } + } } - -qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->idealWidth()); + QTextBrowser::doSetTextCursor(cursor0); } - -qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { - return ( theWrappedObject->indentWidth()); +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(); + } + } } - -bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); + QTextBrowser::dragEnterEvent(e0); } - -bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { - return ( theWrappedObject->isModified()); +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(); + } + } } - -bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isRedoAvailable()); + QTextBrowser::dragLeaveEvent(e0); } - -bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { - return ( theWrappedObject->isUndoAvailable()); +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(); + } + } } - -bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); + QTextBrowser::dragMoveEvent(e0); } - -QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const +void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { - return ( theWrappedObject->lastBlock()); +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(); + } + } } - -int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); + QTextBrowser::dropEvent(e0); } - -QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) +void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { - 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)); +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(); + } + } } - -QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const -{ - return ( theWrappedObject->object(objectIndex)); + QTextBrowser::enterEvent(event0); } - -QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const +bool PythonQtShell_QTextBrowser::event(QEvent* e0) { - return ( theWrappedObject->objectForFormat(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*)&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(); + } + } } - -int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->pageCount()); + return QTextBrowser::event(e0); } - -QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const +bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { - return ( theWrappedObject->pageSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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(); + } + } } - -void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const -{ - ( theWrappedObject->print(printer)); + return QTextBrowser::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) +void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { - ( theWrappedObject->redo(cursor)); +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(); + } + } } - -QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const -{ - return ( theWrappedObject->resource(type, name)); + QTextBrowser::focusInEvent(e0); } - -int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const +bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { - return ( theWrappedObject->revision()); +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(); + } + } } - -QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->rootFrame()); + return QTextBrowser::focusNextPrevChild(next0); } - -void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) +void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { - ( theWrappedObject->setBaseUrl(url)); +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(); + } + } } - -void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) -{ - ( theWrappedObject->setDefaultCursorMoveStyle(style)); + QTextBrowser::focusOutEvent(ev0); } - -void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) +void PythonQtShell_QTextBrowser::forward() { - ( theWrappedObject->setDefaultFont(font)); +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(); + } + } } - -void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) -{ - ( theWrappedObject->setDefaultStyleSheet(sheet)); + QTextBrowser::forward(); } - -void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) +bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { - ( theWrappedObject->setDefaultTextOption(option)); +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(); + } + } } - -void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) -{ - ( theWrappedObject->setDocumentLayout(layout)); + return QTextBrowser::hasHeightForWidth(); } - -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::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::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 +int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canInsertFromMimeData"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&source0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11087,21 +11252,21 @@ if (_wrapper) { } } } - return QTextEdit::canInsertFromMimeData(source0); + return QTextBrowser::heightForWidth(arg__1); } -void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) +void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11109,21 +11274,21 @@ if (_wrapper) { } } } - QTextEdit::changeEvent(e0); + QTextBrowser::hideEvent(event0); } -void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) +void PythonQtShell_QTextBrowser::home() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("home"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11131,21 +11296,21 @@ if (_wrapper) { } } } - QTextEdit::childEvent(event0); + QTextBrowser::home(); } -void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11153,21 +11318,21 @@ if (_wrapper) { } } } - QTextEdit::closeEvent(event0); + QTextBrowser::initPainter(painter0); } -void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11175,87 +11340,32 @@ if (_wrapper) { } } } - 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(); + QTextBrowser::inputMethodEvent(arg__1); } -void PythonQtShell_QTextEdit::customEvent(QEvent* event0) +QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11263,43 +11373,21 @@ if (_wrapper) { } } } - 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); + return QTextBrowser::inputMethodQuery(property0); } -void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) +void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11307,21 +11395,21 @@ if (_wrapper) { } } } - QTextEdit::dragEnterEvent(e0); + QTextBrowser::insertFromMimeData(source0); } -void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11329,21 +11417,21 @@ if (_wrapper) { } } } - QTextEdit::dragLeaveEvent(e0); + QTextBrowser::keyPressEvent(ev0); } -void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11351,21 +11439,21 @@ if (_wrapper) { } } } - QTextEdit::dragMoveEvent(e0); + QTextBrowser::keyReleaseEvent(e0); } -void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) +void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11373,54 +11461,65 @@ if (_wrapper) { } } } - QTextEdit::dropEvent(e0); + QTextBrowser::leaveEvent(event0); } -void PythonQtShell_QTextEdit::enterEvent(QEvent* 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("enterEvent"); + static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextEdit::enterEvent(event0); + return QTextBrowser::loadResource(type0, name1); } -bool PythonQtShell_QTextEdit::event(QEvent* e0) +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("event"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11428,32 +11527,32 @@ if (_wrapper) { } } } - return QTextEdit::event(e0); + return QTextBrowser::metric(arg__1); } -bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11461,21 +11560,21 @@ if (_wrapper) { } } } - return QTextEdit::eventFilter(arg__1, arg__2); + return QTextBrowser::minimumSizeHint(); } -void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11483,54 +11582,43 @@ if (_wrapper) { } } } - QTextEdit::focusInEvent(e0); + QTextBrowser::mouseDoubleClickEvent(e0); } -bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) +void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + 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("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::focusNextPrevChild(next0); + QTextBrowser::mouseMoveEvent(ev0); } -void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11538,32 +11626,76 @@ if (_wrapper) { } } } - QTextEdit::focusOutEvent(e0); + QTextBrowser::mousePressEvent(ev0); } -bool PythonQtShell_QTextEdit::hasHeightForWidth() const +void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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[1] = {nullptr}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11571,32 +11703,87 @@ if (_wrapper) { } } } - return QTextEdit::hasHeightForWidth(); + return QTextBrowser::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const +QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + 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); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11604,604 +11791,1906 @@ if (_wrapper) { } } } - return QTextEdit::heightForWidth(arg__1); + 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()); +} + +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()); +} + + + +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()); +} + +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()); +} + +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::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::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()); } -void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) + +QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->pageSize()); } - QTextEdit::hideEvent(event0); + +void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); } -void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) { -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(); - } - } + ( theWrappedObject->redo(cursor)); } - QTextEdit::initPainter(painter0); + +QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const +{ + return ( theWrappedObject->resource(type, name)); } -void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) + +int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->revision()); } - QTextEdit::inputMethodEvent(arg__1); + +QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->rootFrame()); } -QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const + +void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) { -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(); - } - } + ( theWrappedObject->setBaseUrl(url)); } - return QTextEdit::inputMethodQuery(property0); + +void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) +{ + ( theWrappedObject->setDefaultCursorMoveStyle(style)); } -void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) + +void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) { -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(); - } - } + ( theWrappedObject->setDefaultFont(font)); } - QTextEdit::insertFromMimeData(source0); + +void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) +{ + ( theWrappedObject->setDefaultStyleSheet(sheet)); } -void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) + +void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) { -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(); - } - } + ( theWrappedObject->setDefaultTextOption(option)); } - QTextEdit::keyPressEvent(e0); + +void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) +{ + ( theWrappedObject->setDocumentLayout(layout)); } -void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) + +void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) { -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(); - } - } + ( theWrappedObject->setDocumentMargin(margin)); } - QTextEdit::keyReleaseEvent(e0); + +void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) +{ + ( theWrappedObject->setHtml(html)); } -void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) { -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(); - } - } + ( theWrappedObject->setIndentWidth(width)); } - QTextEdit::leaveEvent(event0); + +void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) +{ + ( theWrappedObject->setMaximumBlockCount(maximum)); } -QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) + +void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) { -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(); - } - } + ( theWrappedObject->setMetaInformation(info, arg__2)); } - return QTextEdit::loadResource(type0, name1); + +void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setPageSize(size)); +} + +void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setPlainText(text)); } -int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) { -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(); - } - } + ( theWrappedObject->setTextWidth(width)); } - return QTextEdit::metric(arg__1); + +void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); } -QSize PythonQtShell_QTextEdit::minimumSizeHint() const + +void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) { -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(); - } - } + ( theWrappedObject->setUseDesignMetrics(b)); } - return QTextEdit::minimumSizeHint(); + +QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->size()); } -void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) + +qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->textWidth()); } - QTextEdit::mouseDoubleClickEvent(e0); + +QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const +{ + return ( theWrappedObject->toHtml(encoding)); } -void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) + +QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->toPlainText()); } - QTextEdit::mouseMoveEvent(e0); + +QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->toRawText()); } -void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) + +void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) { -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(); - } - } + ( theWrappedObject->undo(cursor)); } - QTextEdit::mousePressEvent(e0); + +bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const +{ + return ( theWrappedObject->useDesignMetrics()); } -void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) + + + +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) { -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(); - } - } + return (QTextDocumentFragment::fromHtml(html)); } - QTextEdit::mouseReleaseEvent(e0); + +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) +{ + return (QTextDocumentFragment::fromHtml(html, resourceProvider)); } -void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) + +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) { -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(); - } - } + return (QTextDocumentFragment::fromPlainText(plainText)); } - QTextEdit::moveEvent(event0); + +bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); } -bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const { -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 ( theWrappedObject->toHtml(encoding)); } - return QTextEdit::nativeEvent(eventType0, message1, result2); + +QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); } -QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const + + + +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 { -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 ( theWrappedObject->codec()); } - return QTextEdit::paintEngine(); + +QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->device()); } -void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) + +QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->fileName()); } - QTextEdit::paintEvent(e0); + +QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const + +void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) { -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(); - } - } + ( theWrappedObject->setCodec(codec)); } - return QTextEdit::redirected(offset0); + +void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); } -void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) + +void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) { -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(); - } - } + ( theWrappedObject->setFileName(fileName)); } - QTextEdit::resizeEvent(e0); + +void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); } -void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) + +QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() { -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(); - } - } + return (QTextDocumentWriter::supportedDocumentFormats()); } - QTextEdit::scrollContentsBy(dx0, dy1); + +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) +{ + return ( theWrappedObject->write(document)); } -void PythonQtShell_QTextEdit::setVisible(bool visible0) + +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) { -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(); - } - } + return ( theWrappedObject->write(fragment)); } - QTextEdit::setVisible(visible0); + + + +PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) +void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12209,32 +13698,32 @@ if (_wrapper) { } } } - QTextEdit::setupViewport(viewport0); + QTextEdit::actionEvent(event0); } -QPainter* PythonQtShell_QTextEdit::sharedPainter() const +bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("canInsertFromMimeData"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12242,76 +13731,43 @@ if (_wrapper) { } } } - 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); + return QTextEdit::canInsertFromMimeData(source0); } -QSize PythonQtShell_QTextEdit::sizeHint() const +void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { 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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::sizeHint(); + QTextEdit::changeEvent(e0); } -void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12319,21 +13775,21 @@ if (_wrapper) { } } } - QTextEdit::tabletEvent(event0); + QTextEdit::childEvent(event0); } -void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) +void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12341,65 +13797,54 @@ if (_wrapper) { } } } - QTextEdit::timerEvent(e0); + QTextEdit::closeEvent(event0); } -bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) +void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::viewportEvent(arg__1); + QTextEdit::contextMenuEvent(e0); } -QSize PythonQtShell_QTextEdit::viewportSizeHint() const +QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12407,490 +13852,703 @@ if (_wrapper) { } } } - return QTextEdit::viewportSizeHint(); + return QTextEdit::createMimeDataFromSelection(); } -void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + 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 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()); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->lineWrapColumnOrWidth()); + QTextEdit::customEvent(event0); } - -QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const +int PythonQtShell_QTextEdit::devType() const { - return ( theWrappedObject->lineWrapMode()); +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(); + } + } } - -QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) -{ - return ( theWrappedObject->loadResource(type, name)); + return QTextEdit::devType(); } - -void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { - ( theWrappedObject->mergeCurrentCharFormat(modifier)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->moveCursor(operation, mode)); + QTextEdit::doSetTextCursor(cursor0); } - -bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const +void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { - return ( theWrappedObject->overwriteMode()); +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(); + } + } } - -QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->placeholderText()); + QTextEdit::dragEnterEvent(e0); } - -void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { - ( theWrappedObject->print(printer)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) -{ - ( theWrappedObject->setAcceptRichText(accept)); + QTextEdit::dragLeaveEvent(e0); } - -void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) +void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { - ( theWrappedObject->setAutoFormatting(features)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCurrentCharFormat(format)); + QTextEdit::dragMoveEvent(e0); } - -void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) +void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { - ( theWrappedObject->setCursorWidth(width)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); + QTextEdit::dropEvent(e0); } - -void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) +void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { - ( theWrappedObject->setDocumentTitle(title)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) -{ - ( theWrappedObject->setExtraSelections(selections)); + QTextEdit::enterEvent(event0); } - -void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) +bool PythonQtShell_QTextEdit::event(QEvent* e0) { - ( theWrappedObject->setLineWrapColumnOrWidth(w)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) -{ - ( theWrappedObject->setLineWrapMode(mode)); + return QTextEdit::event(e0); } - -void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) +bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { - ( theWrappedObject->setOverwriteMode(overwrite)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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(); + } + } } - -void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) -{ - ( theWrappedObject->setPlaceholderText(placeholderText)); + return QTextEdit::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) +void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { - ( theWrappedObject->setReadOnly(ro)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); + QTextEdit::focusInEvent(e0); } - -void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) +bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { - ( theWrappedObject->setTabStopDistance(distance)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setTabStopWidth(width)); + return QTextEdit::focusNextPrevChild(next0); } - -void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { - ( theWrappedObject->setTextCursor(cursor)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) -{ - ( theWrappedObject->setTextInteractionFlags(flags)); + QTextEdit::focusOutEvent(e0); } - -void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) +bool PythonQtShell_QTextEdit::hasHeightForWidth() const { - ( theWrappedObject->setUndoRedoEnabled(enable)); +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(); + } + } } - -void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) -{ - ( theWrappedObject->setWordWrapMode(policy)); + return QTextEdit::hasHeightForWidth(); } - -bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { - return ( theWrappedObject->tabChangesFocus()); +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(); + } + } } - -qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabStopDistance()); + return QTextEdit::heightForWidth(arg__1); } - -int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->tabStopWidth()); +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(); + } + } } - -QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textBackgroundColor()); + QTextEdit::hideEvent(event0); } - -QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { - return ( theWrappedObject->textColor()); +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(); + } + } } - -QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textCursor()); + QTextEdit::initPainter(painter0); } - -Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const +void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->textInteractionFlags()); +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(); + } + } } - -QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->toHtml()); + QTextEdit::inputMethodEvent(arg__1); } - -QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const +QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { - return ( theWrappedObject->toPlainText()); +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(); + } + } } - -QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->wordWrapMode()); + return QTextEdit::inputMethodQuery(property0); } - -void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) +void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); +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(); + } + } } - - - -PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTextEdit::insertFromMimeData(source0); } -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 +void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { - return ( theWrappedObject->charFormat()); +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(); + } + } } - -int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->charFormatIndex()); + QTextEdit::keyPressEvent(e0); } - -bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const +void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { - return ( theWrappedObject->contains(position)); +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(); + } + } } - -QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); + QTextEdit::keyReleaseEvent(e0); } - -bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const +void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { - return ( theWrappedObject->isValid()); +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(); + } + } } - -int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->length()); + QTextEdit::leaveEvent(event0); } - -bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const +QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { - return ( (*theWrappedObject)!= o); +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(); + } + } } - -bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const -{ - return ( (*theWrappedObject)< o); + return QTextEdit::loadResource(type0, name1); } - -bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const +int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( (*theWrappedObject)== o); +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(); + } + } } - -int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const -{ - return ( theWrappedObject->position()); + return QTextEdit::metric(arg__1); } - -QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +QSize PythonQtShell_QTextEdit::minimumSizeHint() const { - return ( theWrappedObject->text()); +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(); + } + } } - - - -PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTextEdit::minimumSizeHint(); } -void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) +void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12898,21 +14556,21 @@ if (_wrapper) { } } } - QTextFrame::childEvent(event0); + QTextEdit::mouseDoubleClickEvent(e0); } -void PythonQtShell_QTextFrame::customEvent(QEvent* event0) +void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12920,87 +14578,65 @@ if (_wrapper) { } } } - QTextFrame::customEvent(event0); + QTextEdit::mouseMoveEvent(e0); } -bool PythonQtShell_QTextFrame::event(QEvent* event0) +void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextFrame::event(event0); + QTextEdit::mousePressEvent(e0); } -bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextFrame::eventFilter(watched0, event1); + QTextEdit::mouseReleaseEvent(e0); } -void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13008,851 +14644,885 @@ if (_wrapper) { } } } - 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)); -} - - - -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)); + QTextEdit::moveEvent(event0); } - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setHeight(height)); +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(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); + return QTextEdit::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) +QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { - ( theWrappedObject->setLeftMargin(margin)); +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(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setMargin(margin)); + return QTextEdit::paintEngine(); } - -void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) +void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { - ( theWrappedObject->setPadding(padding)); +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(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) -{ - ( theWrappedObject->setPageBreakPolicy(flags)); + QTextEdit::paintEvent(e0); } - -void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) +QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { - ( theWrappedObject->setPosition(f)); +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(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setRightMargin(margin)); + return QTextEdit::redirected(offset0); } - -void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) +void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { - ( theWrappedObject->setTopMargin(margin)); +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(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) -{ - ( theWrappedObject->setWidth(length)); + QTextEdit::resizeEvent(e0); } - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { - ( theWrappedObject->setWidth(width)); +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(); + } + } } - -qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->topMargin()); + QTextEdit::scrollContentsBy(dx0, dy1); } - -QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const +void PythonQtShell_QTextEdit::setVisible(bool visible0) { - return ( theWrappedObject->width()); -} - - - -PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -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()); + QTextEdit::setVisible(visible0); } - -bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const +void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { - return ( theWrappedObject->isValid()); +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(); + } + } } - -QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->name()); + QTextEdit::setupViewport(viewport0); } - -int PythonQtWrapper_QTextImageFormat::quality(QTextImageFormat* theWrappedObject) const +QPainter* PythonQtShell_QTextEdit::sharedPainter() const { - return ( theWrappedObject->quality()); +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(); + } + } } - -void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); + return QTextEdit::sharedPainter(); } - -void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) +void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { - ( theWrappedObject->setName(name)); +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(); + } + } } - -void PythonQtWrapper_QTextImageFormat::setQuality(QTextImageFormat* theWrappedObject, int quality) -{ - ( theWrappedObject->setQuality(quality)); + QTextEdit::showEvent(arg__1); } - -void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) +QSize PythonQtShell_QTextEdit::sizeHint() const { - ( theWrappedObject->setWidth(width)); +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(); + } + } } - -qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->width()); + return QTextEdit::sizeHint(); } - - - -QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() -{ -return new QTextInlineObject(); } - -qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->ascent()); +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(); + } + } } - -qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->descent()); + QTextEdit::tabletEvent(event0); } - -QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { - return ( theWrappedObject->format()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_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(); + } + } } - -int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); + QTextEdit::timerEvent(e0); } - -qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { - return ( theWrappedObject->height()); +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(); + } + } } - -bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + return QTextEdit::viewportEvent(arg__1); } - -QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +QSize PythonQtShell_QTextEdit::viewportSizeHint() const { - return ( theWrappedObject->rect()); +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(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) -{ - ( theWrappedObject->setAscent(a)); + return QTextEdit::viewportSizeHint(); } - -void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { - ( theWrappedObject->setDescent(d)); +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(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); + QTextEdit::wheelEvent(e0); } +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) +{ +return new PythonQtShell_QTextEdit(parent); } -Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QTextEdit(text, parent); } -int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textPosition()); +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; + } } - -qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->width()); +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; } - - - -PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->acceptRichText()); } -QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() -{ -return new PythonQtShell_QTextItem(); } -qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->ascent()); + return ( theWrappedObject->alignment()); } -qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->descent()); + return ( theWrappedObject->anchorAt(pos)); } -QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const +QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->autoFormatting()); } -QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const { - return ( theWrappedObject->renderFlags()); + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); } -QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->canPaste()); } -qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const +QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->width()); + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); } +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} - -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 +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) { - return ( theWrappedObject->additionalFormats()); + return ( theWrappedObject->createStandardContextMenu(position)); } -void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) +QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const { - ( theWrappedObject->beginLayout()); + return ( theWrappedObject->currentCharFormat()); } -QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const +QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->boundingRect()); + return ( theWrappedObject->currentFont()); } -bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->cacheEnabled()); + return ( theWrappedObject->cursorForPosition(pos)); } -void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const { - ( theWrappedObject->clearAdditionalFormats()); + return ( theWrappedObject->cursorRect()); } -void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const { - ( theWrappedObject->clearFormats()); + return ( theWrappedObject->cursorRect(cursor)); } -void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) +int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const { - ( theWrappedObject->clearLayout()); + return ( theWrappedObject->cursorWidth()); } -QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) +void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->createLine()); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); } -Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const +QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->cursorMoveStyle()); + return ( theWrappedObject->document()); } -void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const +QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const { - ( theWrappedObject->draw(p, pos, selections, clip)); + return ( theWrappedObject->documentTitle()); } -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const +void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) { - ( theWrappedObject->drawCursor(p, pos, cursorPosition)); + ( theWrappedObject->ensureCursorVisible()); } -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const +QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const { - ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); + return ( theWrappedObject->extraSelections()); } -void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) { - ( theWrappedObject->endLayout()); + return ( theWrappedObject->find(exp, options)); } -QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->font()); + return ( theWrappedObject->find(exp, options)); } -QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->formats()); + return ( theWrappedObject->fontFamily()); } -QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const +bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->glyphRuns(from, length)); + return ( theWrappedObject->fontItalic()); } -bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const +qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isValidCursorPosition(pos)); + return ( theWrappedObject->fontPointSize()); } -int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->leftCursorPosition(oldPos)); + return ( theWrappedObject->fontUnderline()); } -QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const +int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->lineAt(i)); + return ( theWrappedObject->fontWeight()); } -int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const +QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const { - return ( theWrappedObject->lineCount()); + return ( theWrappedObject->inputMethodQuery(query, argument)); } -QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) { - return ( theWrappedObject->lineForTextPosition(pos)); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); } -qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->maximumWidth()); + return ( theWrappedObject->isReadOnly()); } -qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->minimumWidth()); + return ( theWrappedObject->isUndoRedoEnabled()); } -int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->nextCursorPosition(oldPos, mode)); + return ( theWrappedObject->lineWrapColumnOrWidth()); } -QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const +QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->lineWrapMode()); } -int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const +QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) { - return ( theWrappedObject->preeditAreaPosition()); + return ( theWrappedObject->loadResource(type, name)); } -QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) { - return ( theWrappedObject->preeditAreaText()); + ( theWrappedObject->mergeCurrentCharFormat(modifier)); } -int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { - return ( theWrappedObject->previousCursorPosition(oldPos, mode)); + ( theWrappedObject->moveCursor(operation, mode)); } -int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->rightCursorPosition(oldPos)); + return ( theWrappedObject->overwriteMode()); } -void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) +QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setAdditionalFormats(overrides)); + return ( theWrappedObject->placeholderText()); } -void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) +void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const { - ( theWrappedObject->setCacheEnabled(enable)); + ( theWrappedObject->print(printer)); } -void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) +void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) { - ( theWrappedObject->setCursorMoveStyle(style)); + ( theWrappedObject->setAcceptRichText(accept)); } -void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) +void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) { - ( theWrappedObject->setFlags(flags)); + ( theWrappedObject->setAutoFormatting(features)); } -void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) +void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) { - ( theWrappedObject->setFont(f)); + ( theWrappedObject->setCurrentCharFormat(format)); } -void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) +void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) { - ( theWrappedObject->setFormats(overrides)); + ( theWrappedObject->setCursorWidth(width)); } -void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) +void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) { - ( theWrappedObject->setPosition(p)); + ( theWrappedObject->setDocument(document)); } -void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) +void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) { - ( theWrappedObject->setPreeditArea(position, text)); + ( theWrappedObject->setDocumentTitle(title)); } -void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) +void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) { - ( theWrappedObject->setRawFont(rawFont)); + ( theWrappedObject->setExtraSelections(selections)); } -void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) +void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) { - ( theWrappedObject->setText(string)); + ( theWrappedObject->setLineWrapColumnOrWidth(w)); } -void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) +void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) { - ( theWrappedObject->setTextOption(option)); + ( theWrappedObject->setLineWrapMode(mode)); } -QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) { - return ( theWrappedObject->text()); + ( theWrappedObject->setOverwriteMode(overwrite)); } -const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) { - return &( theWrappedObject->textOption()); + ( theWrappedObject->setPlaceholderText(placeholderText)); } - - -PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); } -QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() -{ -return new PythonQtShell_QTextLayout__FormatRange(); } +void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) +{ + ( theWrappedObject->setTabChangesFocus(b)); +} +void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) +{ + ( theWrappedObject->setTabStopDistance(distance)); +} -QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() -{ -return new QTextLine(); } +void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setTabStopWidth(width)); +} -qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->ascent()); + ( theWrappedObject->setTextCursor(cursor)); } -qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const +void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) { - return ( theWrappedObject->cursorToX(cursorPos, edge)); + ( theWrappedObject->setTextInteractionFlags(flags)); } -qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) { - return ( theWrappedObject->descent()); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const +void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) { - ( theWrappedObject->draw(p, point, selection)); + ( theWrappedObject->setWordWrapMode(policy)); } -QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const +bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->glyphRuns(from, length)); + return ( theWrappedObject->tabChangesFocus()); } -qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const +qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->height()); + return ( theWrappedObject->tabStopDistance()); } -qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const +int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->horizontalAdvance()); + return ( theWrappedObject->tabStopWidth()); } -bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const +QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->textBackgroundColor()); } -qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const +QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->leading()); + return ( theWrappedObject->textColor()); } -bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->leadingIncluded()); + return ( theWrappedObject->textCursor()); } -int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const +Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->lineNumber()); + return ( theWrappedObject->textInteractionFlags()); } -QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->naturalTextRect()); + return ( theWrappedObject->toHtml()); } -qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->naturalTextWidth()); + return ( theWrappedObject->toPlainText()); } -QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const +QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->wordWrapMode()); } -QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) { - return ( theWrappedObject->rect()); + ( ((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); } -void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) +QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setLeadingIncluded(included)); + return ( theWrappedObject->charFormat()); } -void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) +int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setLineWidth(width)); + return ( theWrappedObject->charFormatIndex()); } -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) +bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const { - ( theWrappedObject->setNumColumns(columns)); + return ( theWrappedObject->contains(position)); } -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) +QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const { - ( theWrappedObject->setNumColumns(columns, alignmentWidth)); + return ( theWrappedObject->glyphRuns(from, length)); } -void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) +bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setPosition(pos)); + return ( theWrappedObject->isValid()); } -int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const +int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->textLength()); + return ( theWrappedObject->length()); } -int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - return ( theWrappedObject->textStart()); + return ( (*theWrappedObject)!= o); } -qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - return ( theWrappedObject->width()); + return ( (*theWrappedObject)< o); } -qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - return ( theWrappedObject->x()); + return ( (*theWrappedObject)== o); } -int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const +int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->xToCursor(x, arg__2)); + return ( theWrappedObject->position()); } -qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const +QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->y()); + return ( theWrappedObject->text()); } -PythonQtShell_QTextList::~PythonQtShell_QTextList() { +PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { 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) +void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13864,7 +15534,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13872,9 +15542,9 @@ if (_wrapper) { } } } - QTextList::childEvent(event0); + QTextFrame::childEvent(event0); } -void PythonQtShell_QTextList::customEvent(QEvent* event0) +void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13886,7 +15556,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13894,9 +15564,9 @@ if (_wrapper) { } } } - QTextList::customEvent(event0); + QTextFrame::customEvent(event0); } -bool PythonQtShell_QTextList::event(QEvent* event0) +bool PythonQtShell_QTextFrame::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13919,7 +15589,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13927,9 +15597,9 @@ if (_wrapper) { } } } - return QTextList::event(event0); + return QTextFrame::event(event0); } -bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13952,7 +15622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13960,9 +15630,9 @@ if (_wrapper) { } } } - return QTextList::eventFilter(watched0, event1); + return QTextFrame::eventFilter(watched0, event1); } -void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13974,7 +15644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13982,68 +15652,291 @@ if (_wrapper) { } } } - QTextList::timerEvent(event0); + QTextFrame::timerEvent(event0); } -QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) { -return new PythonQtShell_QTextList(doc); } +return new PythonQtShell_QTextFrame(doc); } -const QMetaObject* PythonQtShell_QTextList::metaObject() const { +const QMetaObject* PythonQtShell_QTextFrame::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextFrame::staticMetaObject); } else { - return &QTextList::staticMetaObject; + return &QTextFrame::staticMetaObject; } } -int PythonQtShell_QTextList::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextList::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) +QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const { - ( theWrappedObject->add(block)); + return ( theWrappedObject->begin()); } -int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const +QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->childFrames()); } -QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const +QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->end()); } -QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const +QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->item(i)); + return ( theWrappedObject->firstCursorPosition()); } -int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const +int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->itemNumber(arg__1)); + return ( theWrappedObject->firstPosition()); } -QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const +QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->itemText(arg__1)); + return ( theWrappedObject->frameFormat()); } -void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) +QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const { - ( theWrappedObject->remove(arg__1)); + return ( theWrappedObject->lastCursorPosition()); } -void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) +int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const { - ( theWrappedObject->removeItem(i)); + return ( theWrappedObject->lastPosition()); } -void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const { - ( theWrappedObject->setFormat(format)); + return ( theWrappedObject->parentFrame()); +} + +void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) +{ + ( theWrappedObject->setFrameFormat(format)); +} + + + +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()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.h index 8ac506ff..19c1e040 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -1,13 +1,11 @@ #include +#include #include #include #include #include -#include #include #include -#include -#include #include #include #include @@ -35,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -46,11 +45,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -61,6 +60,10 @@ #include #include #include +#include +#include +#include +#include #include #include #include @@ -86,6 +89,479 @@ +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; + 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 arg__1); + 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 arg__2); + 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 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: @@ -143,7 +619,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabWidget : public QTabWidget @@ -341,7 +817,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableView : public QTableView @@ -568,7 +1044,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidget : public QTableWidget @@ -676,7 +1152,7 @@ void read(QDataStream& in) override; void setData(int role, const QVariant& value) override; void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem @@ -776,7 +1252,7 @@ class PythonQtShell_QTabletEvent : public QTabletEvent ~PythonQtShell_QTabletEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTabletEvent : public QObject @@ -833,7 +1309,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTapAndHoldGesture : public QObject @@ -867,7 +1343,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTapGesture : public QObject @@ -942,7 +1418,7 @@ class PythonQtShell_QTextBlockFormat : public QTextBlockFormat ~PythonQtShell_QTextBlockFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockFormat : public QObject @@ -1011,7 +1487,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup @@ -1051,7 +1527,7 @@ class PythonQtShell_QTextBlockUserData : public QTextBlockUserData ~PythonQtShell_QTextBlockUserData() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockUserData : public QObject @@ -1135,7 +1611,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser @@ -1213,7 +1689,7 @@ class PythonQtShell_QTextCharFormat : public QTextCharFormat ~PythonQtShell_QTextCharFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextCharFormat : public QObject @@ -1414,7 +1890,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextDocument : public QTextDocument @@ -1644,7 +2120,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextEdit : public QTextEdit @@ -1832,7 +2308,7 @@ class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection ~PythonQtShell_QTextEdit__ExtraSelection(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject @@ -1895,7 +2371,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrame : public QObject @@ -1929,7 +2405,7 @@ class PythonQtShell_QTextFrameFormat : public QTextFrameFormat ~PythonQtShell_QTextFrameFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrameFormat : public QObject @@ -1993,7 +2469,7 @@ class PythonQtShell_QTextImageFormat : public QTextImageFormat ~PythonQtShell_QTextImageFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextImageFormat : public QObject @@ -2020,251 +2496,3 @@ void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } }; - - - -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(); } -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index 95b6b296..1f7a0b97 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -4,13 +4,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include #include @@ -25,20 +25,18 @@ #include #include #include +#include #include #include #include #include #include #include -#include -#include +#include #include #include #include #include -#include -#include #include #include #include @@ -46,12 +44,11 @@ #include #include #include -#include #include #include #include #include -#include +#include #include #include #include @@ -63,6 +60,8 @@ #include #include #include +#include +#include #include #include #include @@ -71,392 +70,571 @@ #include #include #include -#include #include #include #include #include -#include -#include #include #include -#include -#include #include #include -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) +QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() { -return new PythonQtShell_QTextListFormat(fmt); } +return new QTextInlineObject(); } -int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const +qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->indent()); + return ( theWrappedObject->ascent()); } -bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->descent()); } -QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const +QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->numberPrefix()); + return ( theWrappedObject->format()); } -QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const +int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->numberSuffix()); + return ( theWrappedObject->formatIndex()); } -void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) +qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setIndent(indent)); + return ( theWrappedObject->height()); } -void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) +bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setNumberPrefix(numberPrefix)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) +QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setNumberSuffix(numberSuffix)); + return ( theWrappedObject->rect()); } -void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) { - ( theWrappedObject->setStyle(style)); + ( theWrappedObject->setAscent(a)); } -QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) { - return ( theWrappedObject->style()); + ( theWrappedObject->setDescent(d)); } - - -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) +void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWidth(w)); } - QTextObject::customEvent(event0); -} -bool PythonQtShell_QTextObject::event(QEvent* event0) + +Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( theWrappedObject->textDirection()); } -bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1) + +int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( theWrappedObject->textPosition()); } -void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) + +qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); } - QTextObject::timerEvent(event0); + + + +PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) +QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() { -return new PythonQtShell_QTextObject(doc); } +return new PythonQtShell_QTextItem(); } -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; +qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); } -QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const + +qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const { - return ( theWrappedObject->document()); + return ( theWrappedObject->descent()); } -QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const +QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->font()); } -int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const +QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const { - return ( theWrappedObject->formatIndex()); + return ( theWrappedObject->renderFlags()); } -int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const +QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const { - return ( theWrappedObject->objectIndex()); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) +qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); + return ( theWrappedObject->width()); } -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() { -return new QTextOption(); } +return new QTextLayout(); } -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) { -return new QTextOption(alignment); } +return new QTextLayout(text); } -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) { -return new QTextOption(o); } +return new QTextLayout(text, font, paintdevice); } -Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) +{ +return new QTextLayout(b); } + +QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->alignment()); + return ( theWrappedObject->additionalFormats()); } -QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const +void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) { - return ( theWrappedObject->flags()); + ( theWrappedObject->beginLayout()); } -void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) +QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const { - ( theWrappedObject->setAlignment(alignment)); + return ( theWrappedObject->boundingRect()); } -void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) +bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const { - ( theWrappedObject->setFlags(flags)); + return ( theWrappedObject->cacheEnabled()); } -void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) +void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) { - ( theWrappedObject->setTabArray(tabStops)); + ( theWrappedObject->clearAdditionalFormats()); } -void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) +void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) { - ( theWrappedObject->setTabStop(tabStop)); + ( theWrappedObject->clearFormats()); } -void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) +void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) { - ( theWrappedObject->setTabStopDistance(tabStopDistance)); + ( theWrappedObject->clearLayout()); } -void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) +QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) { - ( theWrappedObject->setTabs(tabStops)); + return ( theWrappedObject->createLine()); } -void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) +Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const { - ( theWrappedObject->setTextDirection(aDirection)); + return ( theWrappedObject->cursorMoveStyle()); } -void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) +void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const { - ( theWrappedObject->setUseDesignMetrics(b)); + ( theWrappedObject->draw(p, pos, selections, clip)); } -void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const { - ( theWrappedObject->setWrapMode(wrap)); + ( theWrappedObject->drawCursor(p, pos, cursorPosition)); } -QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const { - return ( theWrappedObject->tabArray()); + ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); } -qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const +void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) { - return ( theWrappedObject->tabStop()); + ( theWrappedObject->endLayout()); } -qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const +QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->tabStopDistance()); + return ( theWrappedObject->font()); } -QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const +QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->tabs()); + return ( theWrappedObject->formats()); } -Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const +QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const { - return ( theWrappedObject->textDirection()); + return ( theWrappedObject->glyphRuns(from, length)); } -bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const +bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const { - return ( theWrappedObject->useDesignMetrics()); + return ( theWrappedObject->isValidCursorPosition(pos)); } -QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const +int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const { - return ( theWrappedObject->wrapMode()); + 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()); +} -PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +{ + return ( theWrappedObject->lineForTextPosition(pos)); } -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); } +qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} -bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->minimumWidth()); } -bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const { - return ( (*theWrappedObject)== other); + 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()); +} -PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { +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); } } -void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) +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 @@ -468,7 +646,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -476,9 +654,9 @@ if (_wrapper) { } } } - QTextTable::childEvent(event0); + QTextList::childEvent(event0); } -void PythonQtShell_QTextTable::customEvent(QEvent* event0) +void PythonQtShell_QTextList::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -490,7 +668,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -498,9 +676,9 @@ if (_wrapper) { } } } - QTextTable::customEvent(event0); + QTextList::customEvent(event0); } -bool PythonQtShell_QTextTable::event(QEvent* event0) +bool PythonQtShell_QTextList::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -523,7 +701,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -531,9 +709,9 @@ if (_wrapper) { } } } - return QTextTable::event(event0); + return QTextList::event(event0); } -bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -556,7 +734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -564,9 +742,9 @@ if (_wrapper) { } } } - return QTextTable::eventFilter(watched0, event1); + return QTextList::eventFilter(watched0, event1); } -void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -578,7 +756,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -586,391 +764,456 @@ if (_wrapper) { } } } - QTextTable::timerEvent(event0); + QTextList::timerEvent(event0); } -QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) +QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) { -return new PythonQtShell_QTextTable(doc); } +return new PythonQtShell_QTextList(doc); } -const QMetaObject* PythonQtShell_QTextTable::metaObject() const { +const QMetaObject* PythonQtShell_QTextList::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextTable::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); } else { - return &QTextTable::staticMetaObject; + return &QTextList::staticMetaObject; } } -int PythonQtShell_QTextTable::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextTable::qt_metacall(call, id, args); +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_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) +void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) { - ( theWrappedObject->appendColumns(count)); + ( theWrappedObject->add(block)); } -void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) +int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const { - ( theWrappedObject->appendRows(count)); + return ( theWrappedObject->count()); } -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const +QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const { - return ( theWrappedObject->cellAt(c)); + return ( theWrappedObject->format()); } -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const +QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const { - return ( theWrappedObject->cellAt(position)); + return ( theWrappedObject->item(i)); } -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const +int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const { - return ( theWrappedObject->cellAt(row, col)); + return ( theWrappedObject->itemNumber(arg__1)); } -int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const +QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const { - return ( theWrappedObject->columns()); + return ( theWrappedObject->itemText(arg__1)); } -QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const +void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) { - return ( theWrappedObject->format()); + ( theWrappedObject->remove(arg__1)); } -void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) +void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) { - ( theWrappedObject->insertColumns(pos, num)); + ( theWrappedObject->removeItem(i)); } -void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) +void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) { - ( theWrappedObject->insertRows(pos, num)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->mergeCells(cursor)); + + +PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() +{ +return new PythonQtShell_QTextListFormat(); } -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextListFormat(fmt); } + +int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const { - ( theWrappedObject->mergeCells(row, col, numRows, numCols)); + return ( theWrappedObject->indent()); } -void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) +bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const { - ( theWrappedObject->removeColumns(pos, num)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) +QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const { - ( theWrappedObject->removeRows(pos, num)); + return ( theWrappedObject->numberPrefix()); } -void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) +QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const { - ( theWrappedObject->resize(rows, cols)); + return ( theWrappedObject->numberSuffix()); } -QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const +void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) { - return ( theWrappedObject->rowEnd(c)); + ( theWrappedObject->setIndent(indent)); } -QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const +void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) { - return ( theWrappedObject->rowStart(c)); + ( theWrappedObject->setNumberPrefix(numberPrefix)); } -int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const +void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) { - return ( theWrappedObject->rows()); + ( theWrappedObject->setNumberSuffix(numberSuffix)); } -void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) +void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->setStyle(style)); } -void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const { - ( theWrappedObject->splitCell(row, col, numRows, numCols)); + return ( theWrappedObject->style()); } -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()); +PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { - return ( theWrappedObject->column()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->columnSpan()); + QTextObject::childEvent(event0); } - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTextObject::customEvent(QEvent* event0) { - return ( theWrappedObject->end()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstCursorPosition()); + QTextObject::customEvent(event0); } - -int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const +bool PythonQtShell_QTextObject::event(QEvent* event0) { - return ( theWrappedObject->firstPosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->format()); + return QTextObject::event(event0); } - -bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const +bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->isValid()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); + return QTextObject::eventFilter(watched0, event1); } - -int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->lastPosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const -{ - return ( (*theWrappedObject)!= other); + QTextObject::timerEvent(event0); } +QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) +{ +return new PythonQtShell_QTextObject(doc); } -bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +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)== other); + return ( theWrappedObject->document()); } -int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const +QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const { - return ( theWrappedObject->row()); + return ( theWrappedObject->format()); } -int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const +int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const { - return ( theWrappedObject->rowSpan()); + return ( theWrappedObject->formatIndex()); } -void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) +int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const { - ( theWrappedObject->setFormat(format)); + return ( theWrappedObject->objectIndex()); } -int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const +void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) { - return ( theWrappedObject->tableCellFormatIndex()); + ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); } -PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() { -return new PythonQtShell_QTextTableCellFormat(); } +return new QTextOption(); } -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) { -return new PythonQtShell_QTextTableCellFormat(fmt); } +return new QTextOption(alignment); } -qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) +{ +return new QTextOption(o); } + +Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const { - return ( theWrappedObject->bottomPadding()); + return ( theWrappedObject->alignment()); } -bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const +QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->flags()); } -qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const +void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->leftPadding()); + ( theWrappedObject->setAlignment(alignment)); } -qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const +void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) { - return ( theWrappedObject->rightPadding()); + ( theWrappedObject->setFlags(flags)); } -void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) { - ( theWrappedObject->setBottomPadding(padding)); + ( theWrappedObject->setTabArray(tabStops)); } -void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) { - ( theWrappedObject->setLeftPadding(padding)); + ( theWrappedObject->setTabStop(tabStop)); } -void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) { - ( theWrappedObject->setPadding(padding)); + ( theWrappedObject->setTabStopDistance(tabStopDistance)); } -void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) { - ( theWrappedObject->setRightPadding(padding)); + ( theWrappedObject->setTabs(tabStops)); } -void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) { - ( theWrappedObject->setTopPadding(padding)); + ( theWrappedObject->setTextDirection(aDirection)); } -qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const +void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) { - return ( theWrappedObject->topPadding()); -} - - - -PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + ( theWrappedObject->setUseDesignMetrics(b)); } -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 +void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->setWrapMode(wrap)); } -qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const +QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const { - return ( theWrappedObject->cellPadding()); + return ( theWrappedObject->tabArray()); } -qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const +qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const { - return ( theWrappedObject->cellSpacing()); + return ( theWrappedObject->tabStop()); } -void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) +qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const { - ( theWrappedObject->clearColumnWidthConstraints()); + return ( theWrappedObject->tabStopDistance()); } -QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const +QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const { - return ( theWrappedObject->columnWidthConstraints()); + return ( theWrappedObject->tabs()); } -int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const +Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const { - return ( theWrappedObject->columns()); + return ( theWrappedObject->textDirection()); } -int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const +bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const { - return ( theWrappedObject->headerRowCount()); + return ( theWrappedObject->useDesignMetrics()); } -bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const +QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->wrapMode()); } -void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} -void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setCellPadding(padding)); -} -void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setCellSpacing(spacing)); +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(); } -void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) -{ - ( theWrappedObject->setColumnWidthConstraints(constraints)); -} +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +{ +return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } -void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) +bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const { - ( theWrappedObject->setColumns(columns)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) +bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const { - ( theWrappedObject->setHeaderRowCount(count)); -} - - - -PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( (*theWrappedObject)== other); } -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() { +PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -978,21 +1221,21 @@ if (_wrapper) { } } } - QTimeEdit::actionEvent(event0); + QTextTable::childEvent(event0); } -void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) +void PythonQtShell_QTextTable::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1000,65 +1243,87 @@ if (_wrapper) { } } } - QTimeEdit::changeEvent(event0); + QTextTable::customEvent(event0); } -void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) +bool PythonQtShell_QTextTable::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::childEvent(event0); + return QTextTable::event(event0); } -void PythonQtShell_QTimeEdit::clear() +bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::clear(); + return QTextTable::eventFilter(watched0, event1); } -void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1066,3896 +1331,379 @@ if (_wrapper) { } } } - QTimeEdit::closeEvent(event0); + QTextTable::timerEvent(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(); - } +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; } } - QTimeEdit::contextMenuEvent(event0); +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 PythonQtShell_QTimeEdit::customEvent(QEvent* event0) +void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->appendColumns(count)); } - QTimeEdit::customEvent(event0); + +void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) +{ + ( theWrappedObject->appendRows(count)); } -QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) 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); + return ( theWrappedObject->cellAt(c)); } -int PythonQtShell_QTimeEdit::devType() const + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) 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(); + return ( theWrappedObject->cellAt(position)); } -void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) + +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const { -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(); - } - } + return ( theWrappedObject->cellAt(row, col)); } - QTimeEdit::dragEnterEvent(event0); + +int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const +{ + return ( theWrappedObject->columns()); } -void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) + +QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "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(); - } - } + return ( theWrappedObject->format()); } - QTimeEdit::dragLeaveEvent(event0); + +void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->insertColumns(pos, num)); } -void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) { -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(); - } - } + ( theWrappedObject->insertRows(pos, num)); } - QTimeEdit::dragMoveEvent(event0); + +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->mergeCells(cursor)); } -void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { -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(); - } - } + ( theWrappedObject->mergeCells(row, col, numRows, numCols)); } - QTimeEdit::dropEvent(event0); + +void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) +{ + ( theWrappedObject->removeColumns(pos, num)); } -void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) + +void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) { -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(); - } - } + ( theWrappedObject->removeRows(pos, num)); } - QTimeEdit::enterEvent(event0); + +void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) +{ + ( theWrappedObject->resize(rows, cols)); } -bool PythonQtShell_QTimeEdit::event(QEvent* event0) + +QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rowEnd(c)); } - return QTimeEdit::event(event0); + +QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const +{ + return ( theWrappedObject->rowStart(c)); } -bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) + +int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rows()); } - return QTimeEdit::eventFilter(watched0, event1); + +void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) +{ + ( theWrappedObject->setFormat(format)); } -void PythonQtShell_QTimeEdit::fixup(QString& input0) const + +void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { -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); + ( theWrappedObject->splitCell(row, col, numRows, numCols)); } -QPaintEngine* PythonQtShell_QToolBox::paintEngine() const + + + +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 { -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(); + return ( theWrappedObject->begin()); } -void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) + +int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const { -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); + return ( theWrappedObject->column()); } -QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const + +int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) 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); + return ( theWrappedObject->columnSpan()); } -void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) + +QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const { -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); + return ( theWrappedObject->end()); } -void PythonQtShell_QToolBox::setVisible(bool visible0) + +QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const { -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); + return ( theWrappedObject->firstCursorPosition()); } -QPainter* PythonQtShell_QToolBox::sharedPainter() const + +int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) 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 ( theWrappedObject->firstPosition()); } - return QToolBox::sharedPainter(); + +QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) + +bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isValid()); } - QToolBox::showEvent(e0); + +QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->lastCursorPosition()); } -QSize PythonQtShell_QToolBox::sizeHint() const + +int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) 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 ( theWrappedObject->lastPosition()); } - return QToolBox::sizeHint(); + +bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +{ + return ( (*theWrappedObject)!= other); } -void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) + +bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { -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(); - } - } + return ( (*theWrappedObject)== other); } - QToolBox::tabletEvent(event0); + +int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->row()); } -void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) + +int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rowSpan()); } - QToolBox::timerEvent(event0); + +void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setFormat(format)); } -void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) + +int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->tableCellFormatIndex()); } - QToolBox::wheelEvent(event0); + + + +PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() { -return new PythonQtShell_QToolBox(parent, f); } +return new PythonQtShell_QTextTableCellFormat(); } -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; - } +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableCellFormat(fmt); } + +qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomPadding()); } -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; + +bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) + +qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->addItem(widget, icon, text)); + return ( theWrappedObject->leftPadding()); } -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) +qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->addItem(widget, text)); + return ( theWrappedObject->rightPadding()); } -int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->count()); + ( theWrappedObject->setBottomPadding(padding)); } -int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->currentIndex()); + ( theWrappedObject->setLeftPadding(padding)); } -QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->currentWidget()); + ( theWrappedObject->setPadding(padding)); } -int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const +void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->indexOf(widget)); + ( theWrappedObject->setRightPadding(padding)); } -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->insertItem(index, widget, icon, text)); + ( theWrappedObject->setTopPadding(padding)); } -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) +qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->insertItem(index, widget, text)); + return ( theWrappedObject->topPadding()); } -bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const + + +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->isItemEnabled(index)); + return ( theWrappedObject->alignment()); } -QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const +qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->itemIcon(index)); + return ( theWrappedObject->cellPadding()); } -void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) +qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); + return ( theWrappedObject->cellSpacing()); } -void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) +void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) { - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); + ( theWrappedObject->clearColumnWidthConstraints()); } -QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const +QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->itemText(index)); + return ( theWrappedObject->columnWidthConstraints()); } -QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const +int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->itemToolTip(index)); + return ( theWrappedObject->columns()); } -void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) +int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->removeItem(index)); + return ( theWrappedObject->headerRowCount()); } -void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) +bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->setItemEnabled(index, enabled)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) +void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) { - ( theWrappedObject->setItemIcon(index, icon)); + ( theWrappedObject->setAlignment(alignment)); } -void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) +void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setItemText(index, text)); + ( theWrappedObject->setCellPadding(padding)); } -void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) +void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) { - ( theWrappedObject->setItemToolTip(index, toolTip)); + ( theWrappedObject->setCellSpacing(spacing)); } -QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const +void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) { - return ( theWrappedObject->widget(index)); + ( 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_QToolButton::~PythonQtShell_QToolButton() { +PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) +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 @@ -4965,9 +1713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4975,9 +1723,9 @@ if (_wrapper) { } } } - QToolButton::actionEvent(arg__1); + QTimeEdit::actionEvent(event0); } -void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) +void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4985,11 +1733,33 @@ if (_wrapper) { static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4997,21 +1767,21 @@ if (_wrapper) { } } } - QToolButton::changeEvent(arg__1); + QTimeEdit::childEvent(event0); } -void PythonQtShell_QToolButton::checkStateSet() +void PythonQtShell_QTimeEdit::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("checkStateSet"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5019,21 +1789,21 @@ if (_wrapper) { } } } - QToolButton::checkStateSet(); + QTimeEdit::clear(); } -void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) +void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5041,21 +1811,21 @@ if (_wrapper) { } } } - QToolButton::childEvent(event0); + QTimeEdit::closeEvent(event0); } -void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5063,21 +1833,21 @@ if (_wrapper) { } } } - QToolButton::closeEvent(event0); + QTimeEdit::contextMenuEvent(event0); } -void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5085,31 +1855,42 @@ if (_wrapper) { } } } - QToolButton::contextMenuEvent(event0); + QTimeEdit::customEvent(event0); } -void PythonQtShell_QToolButton::customEvent(QEvent* 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("customEvent"); + static PyObject* name = PyString_FromString("dateTimeFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QDateTime" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QDateTime returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::customEvent(event0); + return QTimeEdit::dateTimeFromText(text0); } -int PythonQtShell_QToolButton::devType() const +int PythonQtShell_QTimeEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5132,7 +1913,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5140,9 +1921,9 @@ if (_wrapper) { } } } - return QToolButton::devType(); + return QTimeEdit::devType(); } -void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5154,7 +1935,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5162,9 +1943,9 @@ if (_wrapper) { } } } - QToolButton::dragEnterEvent(event0); + QTimeEdit::dragEnterEvent(event0); } -void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5176,7 +1957,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5184,9 +1965,9 @@ if (_wrapper) { } } } - QToolButton::dragLeaveEvent(event0); + QTimeEdit::dragLeaveEvent(event0); } -void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5198,7 +1979,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5206,9 +1987,9 @@ if (_wrapper) { } } } - QToolButton::dragMoveEvent(event0); + QTimeEdit::dragMoveEvent(event0); } -void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5220,7 +2001,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5228,9 +2009,9 @@ if (_wrapper) { } } } - QToolButton::dropEvent(event0); + QTimeEdit::dropEvent(event0); } -void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) +void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5240,9 +2021,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5250,9 +2031,9 @@ if (_wrapper) { } } } - QToolButton::enterEvent(arg__1); + QTimeEdit::enterEvent(event0); } -bool PythonQtShell_QToolButton::event(QEvent* e0) +bool PythonQtShell_QTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5263,7 +2044,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -5275,7 +2056,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5283,9 +2064,9 @@ if (_wrapper) { } } } - return QToolButton::event(e0); + return QTimeEdit::event(event0); } -bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5308,7 +2089,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5316,9 +2097,31 @@ if (_wrapper) { } } } - return QToolButton::eventFilter(watched0, event1); + return QTimeEdit::eventFilter(watched0, event1); } -void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) +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 @@ -5328,9 +2131,152 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5338,54 +2284,43 @@ if (_wrapper) { } } } - QToolButton::focusInEvent(e0); + QTimeEdit::hideEvent(event0); } -bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) +void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::focusNextPrevChild(next0); + QTimeEdit::initPainter(painter0); } -void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5393,32 +2328,32 @@ if (_wrapper) { } } } - QToolButton::focusOutEvent(e0); + QTimeEdit::inputMethodEvent(arg__1); } -bool PythonQtShell_QToolButton::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5426,54 +2361,43 @@ if (_wrapper) { } } } - return QToolButton::hasHeightForWidth(); + return QTimeEdit::inputMethodQuery(arg__1); } -int PythonQtShell_QToolButton::heightForWidth(int arg__1) const +void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::heightForWidth(arg__1); + QTimeEdit::keyPressEvent(event0); } -void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5481,32 +2405,54 @@ if (_wrapper) { } } } - QToolButton::hideEvent(event0); + QTimeEdit::keyReleaseEvent(event0); } -bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const +void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitButton"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&pos0}; + void* args[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("hitButton", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5514,43 +2460,54 @@ if (_wrapper) { } } } - return QToolButton::hitButton(pos0); + return QTimeEdit::metric(arg__1); } -void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const +QSize PythonQtShell_QTimeEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::initPainter(painter0); + return QTimeEdit::minimumSizeHint(); } -void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5558,54 +2515,43 @@ if (_wrapper) { } } } - QToolButton::inputMethodEvent(arg__1); + QTimeEdit::mouseDoubleClickEvent(event0); } -QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::inputMethodQuery(arg__1); + QTimeEdit::mouseMoveEvent(event0); } -void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5613,21 +2559,21 @@ if (_wrapper) { } } } - QToolButton::keyPressEvent(e0); + QTimeEdit::mousePressEvent(event0); } -void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5635,21 +2581,21 @@ if (_wrapper) { } } } - QToolButton::keyReleaseEvent(e0); + QTimeEdit::mouseReleaseEvent(event0); } -void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) +void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5657,32 +2603,32 @@ if (_wrapper) { } } } - QToolButton::leaveEvent(arg__1); + QTimeEdit::moveEvent(event0); } -int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5690,76 +2636,109 @@ if (_wrapper) { } } } - return QToolButton::metric(arg__1); + return QTimeEdit::nativeEvent(eventType0, message1, result2); } -QSize PythonQtShell_QToolButton::minimumSizeHint() const +QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::minimumSizeHint(); + QTimeEdit::paintEvent(event0); } -void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) +QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::mouseDoubleClickEvent(event0); + return QTimeEdit::redirected(offset0); } -void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5767,21 +2746,21 @@ if (_wrapper) { } } } - QToolButton::mouseMoveEvent(e0); + QTimeEdit::resizeEvent(event0); } -void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5789,43 +2768,54 @@ if (_wrapper) { } } } - QToolButton::mousePressEvent(arg__1); + QTimeEdit::setVisible(visible0); } -void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) +QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::mouseReleaseEvent(arg__1); + return QTimeEdit::sharedPainter(); } -void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5833,32 +2823,32 @@ if (_wrapper) { } } } - QToolButton::moveEvent(event0); + QTimeEdit::showEvent(event0); } -bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSize PythonQtShell_QTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5866,21 +2856,21 @@ if (_wrapper) { } } } - return QToolButton::nativeEvent(eventType0, message1, result2); + return QTimeEdit::sizeHint(); } -void PythonQtShell_QToolButton::nextCheckState() +void PythonQtShell_QTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextCheckState"); + static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5888,32 +2878,32 @@ if (_wrapper) { } } } - QToolButton::nextCheckState(); + QTimeEdit::stepBy(steps0); } -QPaintEngine* PythonQtShell_QToolButton::paintEngine() const +QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5921,21 +2911,21 @@ if (_wrapper) { } } } - return QToolButton::paintEngine(); + return QTimeEdit::stepEnabled(); } -void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5943,32 +2933,32 @@ if (_wrapper) { } } } - QToolButton::paintEvent(arg__1); + QTimeEdit::tabletEvent(event0); } -QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const +QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5976,21 +2966,21 @@ if (_wrapper) { } } } - return QToolButton::redirected(offset0); + return QTimeEdit::textFromDateTime(dt0); } -void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5998,21 +2988,54 @@ if (_wrapper) { } } } - QToolButton::resizeEvent(event0); + QTimeEdit::timerEvent(event0); } -void PythonQtShell_QToolButton::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + 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*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6020,54 +3043,70 @@ if (_wrapper) { } } } - QToolButton::setVisible(visible0); + QTimeEdit::wheelEvent(event0); } -QPainter* PythonQtShell_QToolButton::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("actionEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::sharedPainter(); + QToolBar::actionEvent(event0); } -void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) +void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6075,54 +3114,43 @@ if (_wrapper) { } } } - QToolButton::showEvent(event0); + QToolBar::changeEvent(event0); } -QSize PythonQtShell_QToolButton::sizeHint() const +void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolButton::sizeHint(); + QToolBar::childEvent(event0); } -void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6130,21 +3158,21 @@ if (_wrapper) { } } } - QToolButton::tabletEvent(event0); + QToolBar::closeEvent(event0); } -void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6152,21 +3180,21 @@ if (_wrapper) { } } } - QToolButton::timerEvent(arg__1); + QToolBar::contextMenuEvent(event0); } -void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QToolBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6174,875 +3202,1371 @@ if (_wrapper) { } } } - 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()); + QToolBar::customEvent(event0); } - -int PythonQtWrapper_QTouchDevice::maximumTouchPoints(QTouchDevice* theWrappedObject) const +int PythonQtShell_QToolBar::devType() const { - return ( theWrappedObject->maximumTouchPoints()); +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(); + } + } } - -QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->name()); + return QToolBar::devType(); } - -void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) +void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setCapabilities(caps)); +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(); + } + } } - -void PythonQtWrapper_QTouchDevice::setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max) -{ - ( theWrappedObject->setMaximumTouchPoints(max)); + QToolBar::dragEnterEvent(event0); } - -void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) +void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setName(name)); +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(); + } + } } - -void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) -{ - ( theWrappedObject->setType(devType)); + QToolBar::dragLeaveEvent(event0); } - -QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const +void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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(); + } + } } - - - -PythonQtShell_QTouchEvent::~PythonQtShell_QTouchEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBar::dragMoveEvent(event0); } -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 +void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->device()); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) -{ - ( theWrappedObject->setDevice(adevice)); + QToolBar::dropEvent(event0); } - -void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) +void PythonQtShell_QToolBar::enterEvent(QEvent* event0) { - ( theWrappedObject->setTarget(atarget)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) -{ - ( theWrappedObject->setTouchPointStates(aTouchPointStates)); + QToolBar::enterEvent(event0); } - -void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) +bool PythonQtShell_QToolBar::event(QEvent* event0) { - ( theWrappedObject->setTouchPoints(atouchPoints)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) -{ - ( theWrappedObject->setWindow(awindow)); + return QToolBar::event(event0); } - -QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const +bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->target()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const -{ - return ( theWrappedObject->touchPointStates()); + return QToolBar::eventFilter(watched0, event1); } - -const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const +void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) { - return &( theWrappedObject->touchPoints()); +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(); + } + } } - -QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const -{ - return ( theWrappedObject->window()); + QToolBar::focusInEvent(event0); } - - - -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 +bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { - return ( theWrappedObject->ellipseDiameters()); +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(); + } + } } - -QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->flags()); + return QToolBar::focusNextPrevChild(next0); } - -int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->id()); +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(); + } + } } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->lastNormalizedPos()); + QToolBar::focusOutEvent(event0); } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const +bool PythonQtShell_QToolBar::hasHeightForWidth() const { - return ( theWrappedObject->lastPos()); +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(); + } + } } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); + return QToolBar::hasHeightForWidth(); } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { - return ( theWrappedObject->lastScreenPos()); +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(); + } + } } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->normalizedPos()); + return QToolBar::heightForWidth(arg__1); } - -QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) +void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) { - return &( (*theWrappedObject)= other); +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(); + } + } } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->pos()); + QToolBar::hideEvent(event0); } - -qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { - return ( theWrappedObject->pressure()); +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(); + } + } } - -QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->rawScreenPositions()); + QToolBar::initPainter(painter0); } - -QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->rect()); +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(); + } + } } - -qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->rotation()); + QToolBar::inputMethodEvent(arg__1); } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const +QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->scenePos()); +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(); + } + } } - -QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->sceneRect()); + return QToolBar::inputMethodQuery(arg__1); } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->screenPos()); +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(); + } + } } - -QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->screenRect()); + QToolBar::keyPressEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) +void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->setEllipseDiameters(dia)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) -{ - ( theWrappedObject->setFlags(flags)); + QToolBar::keyReleaseEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) { - ( theWrappedObject->setId(id)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) -{ - ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); + QToolBar::leaveEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->setLastPos(lastPos)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) -{ - ( theWrappedObject->setLastScenePos(lastScenePos)); + return QToolBar::metric(arg__1); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +QSize PythonQtShell_QToolBar::minimumSizeHint() const { - ( theWrappedObject->setLastScreenPos(lastScreenPos)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) -{ - ( theWrappedObject->setNormalizedPos(normalizedPos)); + return QToolBar::minimumSizeHint(); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) { - ( theWrappedObject->setPos(pos)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) -{ - ( theWrappedObject->setPressure(pressure)); + QToolBar::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) +void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) { - ( theWrappedObject->setRawScreenPositions(positions)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); + QToolBar::mouseMoveEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) +void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) { - ( theWrappedObject->setRotation(angle)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) -{ - ( theWrappedObject->setScenePos(scenePos)); + QToolBar::mousePressEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) +void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->setSceneRect(sceneRect)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) -{ - ( theWrappedObject->setScreenPos(screenPos)); + QToolBar::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) +void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->setScreenRect(screenRect)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) -{ - ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); + QToolBar::moveEvent(event0); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) +bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setStartPos(startPos)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) -{ - ( theWrappedObject->setStartScenePos(startScenePos)); + return QToolBar::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) +QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { - ( theWrappedObject->setStartScreenPos(startScreenPos)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) -{ - ( theWrappedObject->setState(state)); + return QToolBar::paintEngine(); } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) +void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { - ( theWrappedObject->setUniqueId(uid)); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) -{ - ( theWrappedObject->setVelocity(v)); + QToolBar::paintEvent(event0); } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { - return ( theWrappedObject->startNormalizedPos()); +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(); + } + } } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->startPos()); + return QToolBar::redirected(offset0); } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) { - return ( theWrappedObject->startScenePos()); +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(); + } + } } - -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const -{ - return ( theWrappedObject->startScreenPos()); + QToolBar::resizeEvent(event0); } - -Qt::TouchPointState PythonQtWrapper_QTouchEvent__TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtShell_QToolBar::setVisible(bool visible0) { - return ( theWrappedObject->state()); +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(); + } + } } - -void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) -{ - ( theWrappedObject->swap(other)); + QToolBar::setVisible(visible0); } - -QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const +QPainter* PythonQtShell_QToolBar::sharedPainter() const { - return ( theWrappedObject->velocity()); -} - -QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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(); + } + } } - - - -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()); + return QToolBar::sharedPainter(); } - -qreal PythonQtWrapper_QTransform::det(QTransform* theWrappedObject) const +void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) { - return ( theWrappedObject->det()); +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(); + } + } } - -qreal PythonQtWrapper_QTransform::determinant(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->determinant()); + QToolBar::showEvent(event0); } - -qreal PythonQtWrapper_QTransform::dx(QTransform* theWrappedObject) const +QSize PythonQtShell_QToolBar::sizeHint() const { - return ( theWrappedObject->dx()); +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(); + } + } } - -qreal PythonQtWrapper_QTransform::dy(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->dy()); + return QToolBar::sizeHint(); } - -QTransform PythonQtWrapper_QTransform::static_QTransform_fromScale(qreal dx, qreal dy) +void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) { - return (QTransform::fromScale(dx, dy)); +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(); + } + } } - -QTransform PythonQtWrapper_QTransform::static_QTransform_fromTranslate(qreal dx, qreal dy) -{ - return (QTransform::fromTranslate(dx, dy)); + QToolBar::tabletEvent(event0); } - -QTransform PythonQtWrapper_QTransform::inverted(QTransform* theWrappedObject, bool* invertible) const +void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->inverted(invertible)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTransform::isAffine(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isAffine()); + QToolBar::timerEvent(event0); } - -bool PythonQtWrapper_QTransform::isIdentity(QTransform* theWrappedObject) const +void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->isIdentity()); +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(); + } + } } - -bool PythonQtWrapper_QTransform::isInvertible(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isInvertible()); + QToolBar::wheelEvent(event0); } +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) +{ +return new PythonQtShell_QToolBar(parent); } -bool PythonQtWrapper_QTransform::isRotating(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isRotating()); -} +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) +{ +return new PythonQtShell_QToolBar(title, parent); } -bool PythonQtWrapper_QTransform::isScaling(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isScaling()); +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; + } } - -bool PythonQtWrapper_QTransform::isTranslating(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->isTranslating()); +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; } - -qreal PythonQtWrapper_QTransform::m11(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const { - return ( theWrappedObject->m11()); + return ( theWrappedObject->actionAt(p)); } -qreal PythonQtWrapper_QTransform::m12(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const { - return ( theWrappedObject->m12()); + return ( theWrappedObject->actionAt(x, y)); } -qreal PythonQtWrapper_QTransform::m13(QTransform* theWrappedObject) const +QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const { - return ( theWrappedObject->m13()); + return ( theWrappedObject->actionGeometry(action)); } -qreal PythonQtWrapper_QTransform::m21(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) { - return ( theWrappedObject->m21()); + return ( theWrappedObject->addAction(icon, text)); } -qreal PythonQtWrapper_QTransform::m22(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member) { - return ( theWrappedObject->m22()); + return ( theWrappedObject->addAction(icon, text, receiver, member)); } -qreal PythonQtWrapper_QTransform::m23(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) { - return ( theWrappedObject->m23()); + return ( theWrappedObject->addAction(text)); } -qreal PythonQtWrapper_QTransform::m31(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) { - return ( theWrappedObject->m31()); + return ( theWrappedObject->addAction(text, receiver, member)); } -qreal PythonQtWrapper_QTransform::m32(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) { - return ( theWrappedObject->m32()); + return ( theWrappedObject->addSeparator()); } -qreal PythonQtWrapper_QTransform::m33(QTransform* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->m33()); + return ( theWrappedObject->addWidget(widget)); } -QLine PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLine& l) const +Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const { - return ( theWrappedObject->map(l)); + return ( theWrappedObject->allowedAreas()); } -QLineF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLineF& l) const +void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) { - return ( theWrappedObject->map(l)); + ( theWrappedObject->clear()); } -QPainterPath PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPainterPath& p) const +QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const { - return ( theWrappedObject->map(p)); + return ( theWrappedObject->iconSize()); } -QPoint PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPoint& p) const +void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const { - return ( theWrappedObject->map(p)); + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); } -QPointF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPointF& p) const +QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) { - return ( theWrappedObject->map(p)); + return ( theWrappedObject->insertSeparator(before)); } -QPolygon PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygon& a) const +QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) { - return ( theWrappedObject->map(a)); + return ( theWrappedObject->insertWidget(before, widget)); } -QPolygonF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygonF& a) const +bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const { - return ( theWrappedObject->map(a)); + return ( theWrappedObject->isAreaAllowed(area)); } -QRegion PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QRegion& r) const +bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const { - return ( theWrappedObject->map(r)); + return ( theWrappedObject->isFloatable()); } -QRect PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRect& arg__1) const +bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const { - return ( theWrappedObject->mapRect(arg__1)); + return ( theWrappedObject->isFloating()); } -QRectF PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const +bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const { - return ( theWrappedObject->mapRect(arg__1)); + return ( theWrappedObject->isMovable()); } -QPolygon PythonQtWrapper_QTransform::mapToPolygon(QTransform* theWrappedObject, const QRect& r) const +Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const { - return ( theWrappedObject->mapToPolygon(r)); + return ( theWrappedObject->orientation()); } -bool PythonQtWrapper_QTransform::__ne__(QTransform* theWrappedObject, const QTransform& arg__1) const +void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) { - return ( (*theWrappedObject)!= arg__1); + ( theWrappedObject->setAllowedAreas(areas)); } -QTransform PythonQtWrapper_QTransform::multiplied(QTransform* theWrappedObject, const QTransform& o) const +void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) { - return ( (*theWrappedObject)* o); + ( theWrappedObject->setFloatable(floatable)); } -QTransform PythonQtWrapper_QTransform::__mul__(QTransform* theWrappedObject, qreal n) +void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) { - return ( (*theWrappedObject)* n); + ( theWrappedObject->setMovable(movable)); } -QTransform* PythonQtWrapper_QTransform::__imul__(QTransform* theWrappedObject, const QTransform& arg__1) +void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) { - return &( (*theWrappedObject)*= arg__1); + ( theWrappedObject->setOrientation(orientation)); } -QTransform* PythonQtWrapper_QTransform::__imul__(QTransform* theWrappedObject, qreal div) +QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const { - return &( (*theWrappedObject)*= div); + return ( theWrappedObject->toggleViewAction()); } -QTransform PythonQtWrapper_QTransform::__add__(QTransform* theWrappedObject, qreal n) +Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const { - return ( (*theWrappedObject)+ n); + return ( theWrappedObject->toolButtonStyle()); } -QTransform* PythonQtWrapper_QTransform::__iadd__(QTransform* theWrappedObject, qreal div) +QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const { - return &( (*theWrappedObject)+= div); + return ( theWrappedObject->widgetForAction(action)); } -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); -} +QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) +{ +return new QToolBarChangeEvent(t); } -QTransform* PythonQtWrapper_QTransform::__idiv__(QTransform* theWrappedObject, qreal div) +bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const { - return &( (*theWrappedObject)/= div); + return ( theWrappedObject->toggle()); } -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); +PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -bool PythonQtWrapper_QTransform::static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result) +void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) { - return (QTransform::quadToQuad(one, two, result)); +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(); + } + } } - -bool PythonQtWrapper_QTransform::static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result) -{ - return (QTransform::quadToSquare(quad, result)); + QToolBox::actionEvent(event0); } - -void PythonQtWrapper_QTransform::reset(QTransform* theWrappedObject) +void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { - ( theWrappedObject->reset()); +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(); + } + } } - -QTransform* PythonQtWrapper_QTransform::rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis) -{ - return &( theWrappedObject->rotate(a, axis)); + QToolBox::changeEvent(arg__1); } - -QTransform* PythonQtWrapper_QTransform::rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis) +void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) { - return &( theWrappedObject->rotateRadians(a, axis)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTransform* PythonQtWrapper_QTransform::scale(QTransform* theWrappedObject, qreal sx, qreal sy) -{ - return &( theWrappedObject->scale(sx, sy)); + QToolBox::childEvent(event0); } - -void PythonQtWrapper_QTransform::setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33) +void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setMatrix(m11, m12, m13, m21, m22, m23, m31, m32, m33)); +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(); + } + } } - -QTransform* PythonQtWrapper_QTransform::shear(QTransform* theWrappedObject, qreal sh, qreal sv) -{ - return &( theWrappedObject->shear(sh, sv)); + QToolBox::closeEvent(event0); } - -bool PythonQtWrapper_QTransform::static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result) +void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) { - return (QTransform::squareToQuad(square, result)); +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(); + } + } } - -const QMatrix* PythonQtWrapper_QTransform::toAffine(QTransform* theWrappedObject) const -{ - return &( theWrappedObject->toAffine()); + QToolBox::contextMenuEvent(event0); } - -QTransform* PythonQtWrapper_QTransform::translate(QTransform* theWrappedObject, qreal dx, qreal dy) +void PythonQtShell_QToolBox::customEvent(QEvent* event0) { - return &( theWrappedObject->translate(dx, dy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTransform PythonQtWrapper_QTransform::transposed(QTransform* theWrappedObject) const -{ - return ( theWrappedObject->transposed()); + QToolBox::customEvent(event0); } - -QTransform::TransformationType PythonQtWrapper_QTransform::type(QTransform* theWrappedObject) const +int PythonQtShell_QToolBox::devType() const { - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QTransform::py_toString(QTransform* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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(); + } + } } - - - -PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QToolBox::devType(); } -void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) +void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7050,21 +4574,21 @@ if (_wrapper) { } } } - QTreeView::actionEvent(event0); + QToolBox::dragEnterEvent(event0); } -void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) +void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7072,21 +4596,21 @@ if (_wrapper) { } } } - QTreeView::changeEvent(arg__1); + QToolBox::dragLeaveEvent(event0); } -void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) +void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7094,21 +4618,21 @@ if (_wrapper) { } } } - QTreeView::childEvent(event0); + QToolBox::dragMoveEvent(event0); } -void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7116,21 +4640,21 @@ if (_wrapper) { } } } - QTreeView::closeEditor(editor0, hint1); + QToolBox::dropEvent(event0); } -void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7138,65 +4662,87 @@ if (_wrapper) { } } } - QTreeView::closeEvent(event0); + QToolBox::enterEvent(event0); } -void PythonQtShell_QTreeView::commitData(QWidget* editor0) +bool PythonQtShell_QToolBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::commitData(editor0); + return QToolBox::event(e0); } -void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) +bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::contextMenuEvent(arg__1); + return QToolBox::eventFilter(watched0, event1); } -void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7204,43 +4750,54 @@ if (_wrapper) { } } } - QTreeView::currentChanged(current0, previous1); + QToolBox::focusInEvent(event0); } -void PythonQtShell_QTreeView::customEvent(QEvent* event0) +bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::customEvent(event0); + return QToolBox::focusNextPrevChild(next0); } -void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7248,32 +4805,32 @@ if (_wrapper) { } } } - QTreeView::dataChanged(topLeft0, bottomRight1, roles2); + QToolBox::focusOutEvent(event0); } -int PythonQtShell_QTreeView::devType() const +bool PythonQtShell_QToolBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7281,43 +4838,54 @@ if (_wrapper) { } } } - return QTreeView::devType(); + return QToolBox::hasHeightForWidth(); } -void PythonQtShell_QTreeView::doItemsLayout() +int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::doItemsLayout(); + return QToolBox::heightForWidth(arg__1); } -void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7325,21 +4893,21 @@ if (_wrapper) { } } } - QTreeView::dragEnterEvent(event0); + QToolBox::hideEvent(event0); } -void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7347,21 +4915,21 @@ if (_wrapper) { } } } - QTreeView::dragLeaveEvent(event0); + QToolBox::initPainter(painter0); } -void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7369,43 +4937,54 @@ if (_wrapper) { } } } - QTreeView::dragMoveEvent(event0); + QToolBox::inputMethodEvent(arg__1); } -void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +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("drawBranches"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::drawBranches(painter0, rect1, index2); + return QToolBox::inputMethodQuery(arg__1); } -void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +void PythonQtShell_QToolBox::itemInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRow"); + static PyObject* name = PyString_FromString("itemInserted"); 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}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7413,21 +4992,21 @@ if (_wrapper) { } } } - QTreeView::drawRow(painter0, options1, index2); + QToolBox::itemInserted(index0); } -void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolBox::itemRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7435,54 +5014,43 @@ if (_wrapper) { } } } - QTreeView::dropEvent(event0); + QToolBox::itemRemoved(index0); } -bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::edit(index0, trigger1, event2); + QToolBox::keyPressEvent(event0); } -void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) +void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7490,21 +5058,21 @@ if (_wrapper) { } } } - QTreeView::editorDestroyed(editor0); + QToolBox::keyReleaseEvent(event0); } -void PythonQtShell_QTreeView::enterEvent(QEvent* event0) +void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7512,32 +5080,32 @@ if (_wrapper) { } } } - QTreeView::enterEvent(event0); + QToolBox::leaveEvent(event0); } -bool PythonQtShell_QTreeView::event(QEvent* 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("event"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7545,32 +5113,32 @@ if (_wrapper) { } } } - return QTreeView::event(event0); + return QToolBox::metric(arg__1); } -bool PythonQtShell_QTreeView::eventFilter(QObject* object0, QEvent* event1) +QSize PythonQtShell_QToolBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7578,21 +5146,21 @@ if (_wrapper) { } } } - return QTreeView::eventFilter(object0, event1); + return QToolBox::minimumSizeHint(); } -void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7600,54 +5168,43 @@ if (_wrapper) { } } } - QTreeView::focusInEvent(event0); + QToolBox::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) +void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::focusNextPrevChild(next0); + QToolBox::mouseMoveEvent(event0); } -void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7655,32 +5212,76 @@ if (_wrapper) { } } } - QTreeView::focusOutEvent(event0); + QToolBox::mousePressEvent(event0); } -bool PythonQtShell_QTreeView::hasHeightForWidth() const +void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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[1] = {nullptr}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7688,32 +5289,32 @@ if (_wrapper) { } } } - return QTreeView::hasHeightForWidth(); + return QToolBox::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QTreeView::heightForWidth(int arg__1) const +QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7721,21 +5322,21 @@ if (_wrapper) { } } } - return QTreeView::heightForWidth(arg__1); + return QToolBox::paintEngine(); } -void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) +void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7743,32 +5344,32 @@ if (_wrapper) { } } } - QTreeView::hideEvent(event0); + QToolBox::paintEvent(arg__1); } -int PythonQtShell_QTreeView::horizontalOffset() const +QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("horizontalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7776,21 +5377,21 @@ if (_wrapper) { } } } - return QTreeView::horizontalOffset(); + return QToolBox::redirected(offset0); } -void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) +void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7798,21 +5399,21 @@ if (_wrapper) { } } } - QTreeView::horizontalScrollbarAction(action0); + QToolBox::resizeEvent(event0); } -void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QToolBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7820,32 +5421,32 @@ if (_wrapper) { } } } - QTreeView::horizontalScrollbarValueChanged(value0); + QToolBox::setVisible(visible0); } -QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const +QPainter* PythonQtShell_QToolBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("indexAt", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7853,21 +5454,21 @@ if (_wrapper) { } } } - return QTreeView::indexAt(p0); + return QToolBox::sharedPainter(); } -void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const +void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7875,21 +5476,54 @@ if (_wrapper) { } } } - QTreeView::initPainter(painter0); + QToolBox::showEvent(e0); } -void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) +QSize PythonQtShell_QToolBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7897,153 +5531,188 @@ if (_wrapper) { } } } - QTreeView::inputMethodEvent(event0); + QToolBox::tabletEvent(event0); } -QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::inputMethodQuery(query0); + QToolBox::timerEvent(event0); } -bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const +void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::isIndexHidden(index0); + 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)); } -void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) + +QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const { -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(); - } - } + return ( theWrappedObject->itemToolTip(index)); } - QTreeView::keyPressEvent(event0); + +void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) +{ + ( theWrappedObject->removeItem(index)); } -void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) { -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(); - } - } + ( theWrappedObject->setItemEnabled(index, enabled)); } - QTreeView::keyReleaseEvent(event0); + +void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setItemIcon(index, icon)); } -void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) + +void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) { -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(); - } - } + ( theWrappedObject->setItemText(index, text)); } - QTreeView::keyboardSearch(search0); + +void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) +{ + ( theWrappedObject->setItemToolTip(index, toolTip)); } -void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) + +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("leaveEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8051,87 +5720,65 @@ if (_wrapper) { } } } - QTreeView::leaveEvent(event0); + QToolButton::actionEvent(arg__1); } -int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::metric(arg__1); + QToolButton::changeEvent(arg__1); } -QSize PythonQtShell_QTreeView::minimumSizeHint() const +void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::minimumSizeHint(); + QToolButton::checkStateSet(); } -void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8139,21 +5786,21 @@ if (_wrapper) { } } } - QTreeView::mouseDoubleClickEvent(event0); + QToolButton::childEvent(event0); } -void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8161,21 +5808,21 @@ if (_wrapper) { } } } - QTreeView::mouseMoveEvent(event0); + QToolButton::closeEvent(event0); } -void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8183,21 +5830,21 @@ if (_wrapper) { } } } - QTreeView::mousePressEvent(event0); + QToolButton::contextMenuEvent(event0); } -void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8205,32 +5852,32 @@ if (_wrapper) { } } } - QTreeView::mouseReleaseEvent(event0); + QToolButton::customEvent(event0); } -QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +int PythonQtShell_QToolButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("moveCursor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8238,21 +5885,21 @@ if (_wrapper) { } } } - return QTreeView::moveCursor(cursorAction0, modifiers1); + return QToolButton::devType(); } -void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8260,87 +5907,43 @@ if (_wrapper) { } } } - 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); + QToolButton::dragEnterEvent(event0); } -QPaintEngine* PythonQtShell_QTreeView::paintEngine() const +void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { 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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::paintEngine(); + QToolButton::dragLeaveEvent(event0); } -void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) +void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8348,54 +5951,43 @@ if (_wrapper) { } } } - QTreeView::paintEvent(event0); + QToolButton::dragMoveEvent(event0); } -QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const +void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::redirected(offset0); + QToolButton::dropEvent(event0); } -void PythonQtShell_QTreeView::reset() +void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8403,65 +5995,87 @@ if (_wrapper) { } } } - QTreeView::reset(); + QToolButton::enterEvent(arg__1); } -void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) +bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::resizeEvent(event0); + return QToolButton::event(e0); } -void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); + return QToolButton::eventFilter(watched0, event1); } -void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8469,43 +6083,54 @@ if (_wrapper) { } } } - QTreeView::rowsInserted(parent0, start1, end2); + QToolButton::focusInEvent(e0); } -void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) +bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::scrollContentsBy(dx0, dy1); + return QToolButton::focusNextPrevChild(next0); } -void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8513,54 +6138,65 @@ if (_wrapper) { } } } - QTreeView::scrollTo(index0, hint1); + QToolButton::focusOutEvent(e0); } -void PythonQtShell_QTreeView::selectAll() +bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::selectAll(); + return QToolButton::hasHeightForWidth(); } -QList PythonQtShell_QTreeView::selectedIndexes() const +int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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("selectedIndexes", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8568,21 +6204,21 @@ if (_wrapper) { } } } - return QTreeView::selectedIndexes(); + return QToolButton::heightForWidth(arg__1); } -void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("hideEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8590,32 +6226,32 @@ if (_wrapper) { } } } - QTreeView::selectionChanged(selected0, deselected1); + QToolButton::hideEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("hitButton"); 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}; + 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("selectionCommand", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8623,21 +6259,21 @@ if (_wrapper) { } } } - return QTreeView::selectionCommand(index0, event1); + return QToolButton::hitButton(pos0); } -void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&model0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8645,21 +6281,21 @@ if (_wrapper) { } } } - QTreeView::setModel(model0); + QToolButton::initPainter(painter0); } -void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8667,43 +6303,54 @@ if (_wrapper) { } } } - QTreeView::setRootIndex(index0); + QToolButton::inputMethodEvent(arg__1); } -void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +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("setSelection"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::setSelection(rect0, command1); + return QToolButton::inputMethodQuery(arg__1); } -void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8711,21 +6358,21 @@ if (_wrapper) { } } } - QTreeView::setSelectionModel(selectionModel0); + QToolButton::keyPressEvent(e0); } -void PythonQtShell_QTreeView::setVisible(bool visible0) +void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8733,21 +6380,21 @@ if (_wrapper) { } } } - QTreeView::setVisible(visible0); + QToolButton::keyReleaseEvent(e0); } -void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) +void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8755,32 +6402,32 @@ if (_wrapper) { } } } - QTreeView::setupViewport(viewport0); + QToolButton::leaveEvent(arg__1); } -QPainter* PythonQtShell_QTreeView::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8788,36 +6435,14 @@ if (_wrapper) { } } } - 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); + return QToolButton::metric(arg__1); } -QSize PythonQtShell_QTreeView::sizeHint() const +QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -8829,13 +6454,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8843,87 +6468,65 @@ if (_wrapper) { } } } - return QTreeView::sizeHint(); + return QToolButton::minimumSizeHint(); } -int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const +void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::sizeHintForColumn(column0); + QToolButton::mouseDoubleClickEvent(event0); } -int PythonQtShell_QTreeView::sizeHintForRow(int row0) const +void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; + 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("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::sizeHintForRow(row0); + QToolButton::mouseMoveEvent(e0); } -void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8931,21 +6534,21 @@ if (_wrapper) { } } } - QTreeView::startDrag(supportedActions0); + QToolButton::mousePressEvent(arg__1); } -void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8953,21 +6556,21 @@ if (_wrapper) { } } } - QTreeView::tabletEvent(event0); + QToolButton::mouseReleaseEvent(arg__1); } -void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) +void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8975,43 +6578,54 @@ if (_wrapper) { } } } - QTreeView::timerEvent(event0); + QToolButton::moveEvent(event0); } -void PythonQtShell_QTreeView::updateEditorData() +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("updateEditorData"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::updateEditorData(); + return QToolButton::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTreeView::updateEditorGeometries() +void PythonQtShell_QToolButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9019,21 +6633,54 @@ if (_wrapper) { } } } - QTreeView::updateEditorGeometries(); + QToolButton::nextCheckState(); } -void PythonQtShell_QTreeView::updateGeometries() +QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("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 { @@ -9041,32 +6688,32 @@ if (_wrapper) { } } } - QTreeView::updateGeometries(); + QToolButton::paintEvent(arg__1); } -int PythonQtShell_QTreeView::verticalOffset() const +QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("verticalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9074,21 +6721,21 @@ if (_wrapper) { } } } - return QTreeView::verticalOffset(); + return QToolButton::redirected(offset0); } -void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) +void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9096,21 +6743,21 @@ if (_wrapper) { } } } - QTreeView::verticalScrollbarAction(action0); + QToolButton::resizeEvent(event0); } -void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9118,32 +6765,32 @@ if (_wrapper) { } } } - QTreeView::verticalScrollbarValueChanged(value0); + QToolButton::setVisible(visible0); } -QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const +QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; + 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("viewOptions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9151,47 +6798,36 @@ if (_wrapper) { } } } - return QTreeView::viewOptions(); + return QToolButton::sharedPainter(); } -bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) +void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::viewportEvent(event0); + QToolButton::showEvent(event0); } -QSize PythonQtShell_QTreeView::viewportSizeHint() const +QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -9203,13 +6839,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9217,75 +6853,53 @@ if (_wrapper) { } } } - return QTreeView::viewportSizeHint(); + return QToolButton::sizeHint(); } -QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::visualRect(index0); + QToolButton::tabletEvent(event0); } -QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::visualRegionForSelection(selection0); + QToolButton::timerEvent(arg__1); } -void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9295,9 +6909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9305,752 +6919,541 @@ if (_wrapper) { } } } - QTreeView::wheelEvent(arg__1); + QToolButton::wheelEvent(event0); } -QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) +QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) { -return new PythonQtShell_QTreeView(parent); } +return new PythonQtShell_QToolButton(parent); } -const QMetaObject* PythonQtShell_QTreeView::metaObject() const { +const QMetaObject* PythonQtShell_QToolButton::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeView::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolButton::staticMetaObject); } else { - return &QTreeView::staticMetaObject; + return &QToolButton::staticMetaObject; } } -int PythonQtShell_QTreeView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTreeView::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const +Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const { - return ( theWrappedObject->allColumnsShowFocus()); + return ( theWrappedObject->arrowType()); } -int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const +bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const { - return ( theWrappedObject->autoExpandDelay()); + return ( theWrappedObject->autoRaise()); } -int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const +QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const { - return ( theWrappedObject->columnAt(x)); + return ( theWrappedObject->defaultAction()); } -int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const +void PythonQtWrapper_QToolButton::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const { - return ( theWrappedObject->columnViewportPosition(column)); + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); } -int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const +QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const { - return ( theWrappedObject->columnWidth(column)); + return ( theWrappedObject->menu()); } -void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const +QSize PythonQtWrapper_QToolButton::minimumSizeHint(QToolButton* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); + return ( theWrappedObject->minimumSizeHint()); } -void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const +QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); + return ( theWrappedObject->popupMode()); } -void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const +void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) { - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); + ( theWrappedObject->setArrowType(type)); } -bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const +void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) { - return ( theWrappedObject->expandsOnDoubleClick()); + ( theWrappedObject->setAutoRaise(enable)); } -QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const +void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) { - return ( theWrappedObject->header()); + ( theWrappedObject->setMenu(menu)); } -int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const +void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) { - return ( theWrappedObject->indentation()); + ( theWrappedObject->setPopupMode(mode)); } -QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const +QSize PythonQtWrapper_QToolButton::sizeHint(QToolButton* theWrappedObject) const { - return ( theWrappedObject->indexAbove(index)); + return ( theWrappedObject->sizeHint()); } -QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const +Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const { - return ( theWrappedObject->indexBelow(index)); + return ( theWrappedObject->toolButtonStyle()); } -int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const + + +QFont PythonQtWrapper_QToolTip::static_QToolTip_font() { - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); + return (QToolTip::font()); } -bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const +void PythonQtWrapper_QToolTip::static_QToolTip_hideText() { - return ( theWrappedObject->isAnimated()); + (QToolTip::hideText()); } -bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const +bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() { - return ( theWrappedObject->isColumnHidden(column)); + return (QToolTip::isVisible()); } -bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const +QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() { - return ( theWrappedObject->isExpanded(index)); + return (QToolTip::palette()); } -bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +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) { - return ( theWrappedObject->isFirstColumnSpanned(row, parent)); + ( theWrappedObject->setMaximumTouchPoints(max)); } -bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const +void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) { - return ( theWrappedObject->isHeaderHidden()); + ( theWrappedObject->setName(name)); } -bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) { - return ( theWrappedObject->isRowHidden(row, parent)); + ( theWrappedObject->setType(devType)); } -bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const +QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const { - return ( theWrappedObject->isSortingEnabled()); + return ( theWrappedObject->type()); } -bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->itemsExpandable()); +QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) -{ - ( theWrappedObject->resetIndentation()); + + +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); } -bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +QTouchDevice* PythonQtWrapper_QTouchEvent::device(QTouchEvent* theWrappedObject) const { - return ( theWrappedObject->rootIsDecorated()); + return ( theWrappedObject->device()); } -int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) { - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); + ( theWrappedObject->setDevice(adevice)); } -void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) +void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) { - ( theWrappedObject->setAllColumnsShowFocus(enable)); + ( theWrappedObject->setTarget(atarget)); } -void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) +void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) { - ( theWrappedObject->setAnimated(enable)); + ( theWrappedObject->setTouchPointStates(aTouchPointStates)); } -void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) +void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) { - ( theWrappedObject->setAutoExpandDelay(delay)); + ( theWrappedObject->setTouchPoints(atouchPoints)); } -void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) +void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) { - ( theWrappedObject->setColumnHidden(column, hide)); + ( theWrappedObject->setWindow(awindow)); } -void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) +QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const { - ( theWrappedObject->setColumnWidth(column, width)); + return ( theWrappedObject->target()); } -void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) +Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const { - ( theWrappedObject->setExpanded(index, expand)); + return ( theWrappedObject->touchPointStates()); } -void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) +const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const { - ( theWrappedObject->setExpandsOnDoubleClick(enable)); + return &( theWrappedObject->touchPoints()); } -void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) +QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const { - ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); + return ( theWrappedObject->window()); } -void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) + + +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 { - ( theWrappedObject->setHeader(header)); + return ( theWrappedObject->ellipseDiameters()); } -void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) +QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setHeaderHidden(hide)); + return ( theWrappedObject->flags()); } -void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) +int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setIndentation(i)); + return ( theWrappedObject->id()); } -void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setItemsExpandable(enable)); + return ( theWrappedObject->lastNormalizedPos()); } -void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setRootIsDecorated(show)); + return ( theWrappedObject->lastPos()); } -void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setRowHidden(row, parent, hide)); + return ( theWrappedObject->lastScenePos()); } -void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setSortingEnabled(enable)); + return ( theWrappedObject->lastScreenPos()); } -void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setTreePosition(logicalIndex)); + return ( theWrappedObject->normalizedPos()); } -void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) { - ( theWrappedObject->setUniformRowHeights(uniform)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setWordWrap(on)); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QTreeView::sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order) +qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->sortByColumn(column, order)); + return ( theWrappedObject->pressure()); } -int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const { - return ( theWrappedObject->treePosition()); + return ( theWrappedObject->rawScreenPositions()); } -bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const { - return ( theWrappedObject->uniformRowHeights()); + return ( theWrappedObject->rect()); } -bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const { - return ( theWrappedObject->wordWrap()); + return ( theWrappedObject->rotation()); } - - -PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const { -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); + return ( theWrappedObject->scenePos()); } -void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const { -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); + return ( theWrappedObject->sceneRect()); } -void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->screenPos()); } -void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const { -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); + return ( theWrappedObject->screenRect()); } -void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) { -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); + ( theWrappedObject->setEllipseDiameters(dia)); } -void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) { -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(); - } - } + ( theWrappedObject->setFlags(flags)); } - QTreeWidget::commitData(editor0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +{ + ( theWrappedObject->setId(id)); } -void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) { -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(); - } - } + ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); } - QTreeWidget::contextMenuEvent(arg__1); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +{ + ( theWrappedObject->setLastPos(lastPos)); } -void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) { -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(); - } - } + ( theWrappedObject->setLastScenePos(lastScenePos)); } - QTreeWidget::currentChanged(current0, previous1); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +{ + ( theWrappedObject->setLastScreenPos(lastScreenPos)); } -void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setNormalizedPos(normalizedPos)); } - QTreeWidget::customEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); } -void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) { -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(); - } - } + ( theWrappedObject->setPressure(pressure)); } - QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) +{ + ( theWrappedObject->setRawScreenPositions(positions)); } -int PythonQtShell_QTreeWidget::devType() const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) { -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(); - } - } + ( theWrappedObject->setRect(rect)); } - return QTreeWidget::devType(); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setRotation(angle)); } -void PythonQtShell_QTreeWidget::doItemsLayout() + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) { -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(); - } - } + ( theWrappedObject->setScenePos(scenePos)); } - QTreeWidget::doItemsLayout(); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) +{ + ( theWrappedObject->setSceneRect(sceneRect)); } -void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "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(); - } - } + ( theWrappedObject->setScreenPos(screenPos)); } - QTreeWidget::dragEnterEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) +{ + ( theWrappedObject->setScreenRect(screenRect)); } -void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) { -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(); - } - } + ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); } - QTreeWidget::dragLeaveEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) +{ + ( theWrappedObject->setStartPos(startPos)); } -void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) { -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(); - } - } + ( theWrappedObject->setStartScenePos(startScenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) +{ + ( theWrappedObject->setStartScreenPos(startScreenPos)); } - QTreeWidget::dragMoveEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) +{ + ( theWrappedObject->setState(state)); } -void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) { -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(); - } - } + ( theWrappedObject->setUniqueId(uid)); } - QTreeWidget::drawBranches(painter0, rect1, index2); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) +{ + ( theWrappedObject->setVelocity(v)); } -void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) 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(); - } - } + return ( theWrappedObject->startNormalizedPos()); } - QTreeWidget::drawRow(painter0, options1, index2); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); } -void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->startScenePos()); } - QTreeWidget::dropEvent(event0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScreenPos()); } -bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) + +Qt::TouchPointState PythonQtWrapper_QTouchEvent__TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const { -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 ( theWrappedObject->state()); } - return QTreeWidget::dropMimeData(parent0, index1, data2, action3); + +void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) +{ + ( theWrappedObject->swap(other)); } -bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) + +QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const { -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 ( theWrappedObject->velocity()); } - return QTreeWidget::edit(index0, trigger1, event2); + +QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) + + + +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("editorDestroyed"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10058,21 +7461,21 @@ if (_wrapper) { } } } - QTreeWidget::editorDestroyed(editor0); + QTreeView::actionEvent(event0); } -void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) +void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + 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}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10080,87 +7483,65 @@ if (_wrapper) { } } } - QTreeWidget::enterEvent(event0); + QTreeView::changeEvent(arg__1); } -bool PythonQtShell_QTreeWidget::event(QEvent* e0) +void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::event(e0); + QTreeView::childEvent(event0); } -bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::eventFilter(object0, event1); + QTreeView::closeEditor(editor0, hint1); } -void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10168,54 +7549,43 @@ if (_wrapper) { } } } - QTreeWidget::focusInEvent(event0); + QTreeView::closeEvent(event0); } -bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QTreeView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("commitData"); 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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::focusNextPrevChild(next0); + QTreeView::commitData(editor0); } -void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10223,87 +7593,65 @@ if (_wrapper) { } } } - QTreeWidget::focusOutEvent(event0); + QTreeView::contextMenuEvent(arg__1); } -bool PythonQtShell_QTreeWidget::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("currentChanged"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::hasHeightForWidth(); + QTreeView::currentChanged(current0, previous1); } -int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const +void PythonQtShell_QTreeView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::heightForWidth(arg__1); + QTreeView::customEvent(event0); } -void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* 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("hideEvent"); + static PyObject* name = PyString_FromString("dataChanged"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10311,14 +7659,14 @@ if (_wrapper) { } } } - QTreeWidget::hideEvent(event0); + QTreeView::dataChanged(topLeft0, bottomRight1, roles2); } -int PythonQtShell_QTreeWidget::horizontalOffset() const +int PythonQtShell_QTreeView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int"}; @@ -10330,13 +7678,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10344,21 +7692,21 @@ if (_wrapper) { } } } - return QTreeWidget::horizontalOffset(); + return QTreeView::devType(); } -void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) +void PythonQtShell_QTreeView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("doItemsLayout"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10366,21 +7714,21 @@ if (_wrapper) { } } } - QTreeWidget::horizontalScrollbarAction(action0); + QTreeView::doItemsLayout(); } -void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10388,54 +7736,21 @@ if (_wrapper) { } } } - 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); + QTreeView::dragEnterEvent(event0); } -void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10443,21 +7758,21 @@ if (_wrapper) { } } } - QTreeWidget::initPainter(painter0); + QTreeView::dragLeaveEvent(event0); } -void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10465,87 +7780,65 @@ if (_wrapper) { } } } - QTreeWidget::inputMethodEvent(event0); + QTreeView::dragMoveEvent(event0); } -QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("drawBranches"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::inputMethodQuery(query0); + QTreeView::drawBranches(painter0, rect1, index2); } -bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const +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("isIndexHidden"); + static PyObject* name = PyString_FromString("drawRow"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::isIndexHidden(index0); + QTreeView::drawRow(painter0, options1, index2); } -void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10553,43 +7846,54 @@ if (_wrapper) { } } } - QTreeWidget::keyPressEvent(event0); + QTreeView::dropEvent(event0); } -void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* 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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("edit"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::keyReleaseEvent(event0); + return QTreeView::edit(index0, trigger1, event2); } -void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) +void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10597,21 +7901,21 @@ if (_wrapper) { } } } - QTreeWidget::keyboardSearch(search0); + QTreeView::editorDestroyed(editor0); } -void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QTreeView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10619,32 +7923,32 @@ if (_wrapper) { } } } - QTreeWidget::leaveEvent(event0); + QTreeView::enterEvent(event0); } -int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QTreeView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10652,32 +7956,32 @@ if (_wrapper) { } } } - return QTreeWidget::metric(arg__1); + return QTreeView::event(event0); } -QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const +bool PythonQtShell_QTreeView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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("mimeData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10685,65 +7989,54 @@ if (_wrapper) { } } } - return QTreeWidget::mimeData(items0); + return QTreeView::eventFilter(object0, event1); } -QStringList PythonQtShell_QTreeWidget::mimeTypes() const +void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::mimeTypes(); + QTreeView::focusInEvent(event0); } -QSize PythonQtShell_QTreeWidget::minimumSizeHint() const +bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10751,21 +8044,21 @@ if (_wrapper) { } } } - return QTreeWidget::minimumSizeHint(); + return QTreeView::focusNextPrevChild(next0); } -void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10773,65 +8066,87 @@ if (_wrapper) { } } } - QTreeWidget::mouseDoubleClickEvent(event0); + QTreeView::focusOutEvent(event0); } -void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QTreeView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::mouseMoveEvent(event0); + return QTreeView::hasHeightForWidth(); } -void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) +int PythonQtShell_QTreeView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::mousePressEvent(event0); + return QTreeView::heightForWidth(arg__1); } -void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10839,32 +8154,32 @@ if (_wrapper) { } } } - QTreeWidget::mouseReleaseEvent(event0); + QTreeView::hideEvent(event0); } -QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +int PythonQtShell_QTreeView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("horizontalOffset"); 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}; + 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("moveCursor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10872,21 +8187,21 @@ if (_wrapper) { } } } - return QTreeWidget::moveCursor(cursorAction0, modifiers1); + return QTreeView::horizontalOffset(); } -void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10894,65 +8209,54 @@ if (_wrapper) { } } } - QTreeWidget::moveEvent(event0); + QTreeView::horizontalScrollbarAction(action0); } -bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::nativeEvent(eventType0, message1, result2); + QTreeView::horizontalScrollbarValueChanged(value0); } -QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("indexAt"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10960,21 +8264,43 @@ if (_wrapper) { } } } - return QTreeWidget::paintEngine(); + return QTreeView::indexAt(p0); } -void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10982,32 +8308,32 @@ if (_wrapper) { } } } - QTreeWidget::paintEvent(event0); + QTreeView::inputMethodEvent(event0); } -QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const +QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11015,65 +8341,54 @@ if (_wrapper) { } } } - return QTreeWidget::redirected(offset0); + return QTreeView::inputMethodQuery(query0); } -void PythonQtShell_QTreeWidget::reset() +bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::reset(); + return QTreeView::isIndexHidden(index0); } -void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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::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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11081,21 +8396,21 @@ if (_wrapper) { } } } - QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QTreeView::keyPressEvent(event0); } -void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11103,21 +8418,21 @@ if (_wrapper) { } } } - QTreeWidget::rowsInserted(parent0, start1, end2); + QTreeView::keyReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("keyboardSearch"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11125,21 +8440,21 @@ if (_wrapper) { } } } - QTreeWidget::scrollContentsBy(dx0, dy1); + QTreeView::keyboardSearch(search0); } -void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("leaveEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11147,54 +8462,65 @@ if (_wrapper) { } } } - QTreeWidget::scrollTo(index0, hint1); + QTreeView::leaveEvent(event0); } -void PythonQtShell_QTreeWidget::selectAll() +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("selectAll"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::selectAll(); + return QTreeView::metric(arg__1); } -QList PythonQtShell_QTreeWidget::selectedIndexes() const +QSize PythonQtShell_QTreeView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11202,21 +8528,21 @@ if (_wrapper) { } } } - return QTreeWidget::selectedIndexes(); + return QTreeView::minimumSizeHint(); } -void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11224,54 +8550,43 @@ if (_wrapper) { } } } - QTreeWidget::selectionChanged(selected0, deselected1); + QTreeView::mouseDoubleClickEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::selectionCommand(index0, event1); + QTreeView::mouseMoveEvent(event0); } -void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11279,21 +8594,21 @@ if (_wrapper) { } } } - QTreeWidget::setRootIndex(index0); + QTreeView::mousePressEvent(event0); } -void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11301,43 +8616,54 @@ if (_wrapper) { } } } - QTreeWidget::setSelection(rect0, command1); + QTreeView::mouseReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +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("setSelectionModel"); + static PyObject* name = PyString_FromString("moveCursor"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setSelectionModel(selectionModel0); + return QTreeView::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QTreeWidget::setVisible(bool visible0) +void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11345,54 +8671,65 @@ if (_wrapper) { } } } - QTreeWidget::setVisible(visible0); + QTreeView::moveEvent(event0); } -void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) +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("setupViewport"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setupViewport(viewport0); + return QTreeView::nativeEvent(eventType0, message1, result2); } -QPainter* PythonQtShell_QTreeWidget::sharedPainter() const +QPaintEngine* PythonQtShell_QTreeView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11400,21 +8737,21 @@ if (_wrapper) { } } } - return QTreeWidget::sharedPainter(); + return QTreeView::paintEngine(); } -void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11422,32 +8759,32 @@ if (_wrapper) { } } } - QTreeWidget::showEvent(event0); + QTreeView::paintEvent(event0); } -QSize PythonQtShell_QTreeWidget::sizeHint() const +QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11455,87 +8792,65 @@ if (_wrapper) { } } } - return QTreeWidget::sizeHint(); + return QTreeView::redirected(offset0); } -int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const +void PythonQtShell_QTreeView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("reset"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForColumn(column0); + QTreeView::reset(); } -int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const +void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForRow(row0); + QTreeView::resizeEvent(event0); } -void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) +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("startDrag"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11543,54 +8858,43 @@ if (_wrapper) { } } } - QTreeWidget::startDrag(supportedActions0); + QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); } -Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +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("supportedDropActions"); + static PyObject* name = PyString_FromString("rowsInserted"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::supportedDropActions(); + QTreeView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11598,21 +8902,21 @@ if (_wrapper) { } } } - QTreeWidget::tabletEvent(event0); + QTreeView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11620,21 +8924,21 @@ if (_wrapper) { } } } - QTreeWidget::timerEvent(event0); + QTreeView::scrollTo(index0, hint1); } -void PythonQtShell_QTreeWidget::updateEditorData() +void PythonQtShell_QTreeView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11642,43 +8946,54 @@ if (_wrapper) { } } } - QTreeWidget::updateEditorData(); + QTreeView::selectAll(); } -void PythonQtShell_QTreeWidget::updateEditorGeometries() +QList PythonQtShell_QTreeView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::updateEditorGeometries(); + return QTreeView::selectedIndexes(); } -void PythonQtShell_QTreeWidget::updateGeometries() +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("updateGeometries"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11686,32 +9001,32 @@ if (_wrapper) { } } } - QTreeWidget::updateGeometries(); + QTreeView::selectionChanged(selected0, deselected1); } -int PythonQtShell_QTreeWidget::verticalOffset() const +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("verticalOffset"); + static PyObject* name = PyString_FromString("selectionCommand"); 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}; + 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("verticalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11719,21 +9034,21 @@ if (_wrapper) { } } } - return QTreeWidget::verticalOffset(); + return QTreeView::selectionCommand(index0, event1); } -void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) +void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("setModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11741,21 +9056,65 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarAction(action0); + QTreeView::setModel(model0); } -void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + 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[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11763,98 +9122,76 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarValueChanged(value0); + QTreeView::setSelectionModel(selectionModel0); } -QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +void PythonQtShell_QTreeView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("setVisible"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewOptions(); + QTreeView::setVisible(visible0); } -bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewportEvent(event0); + QTreeView::setupViewport(viewport0); } -QSize PythonQtShell_QTreeWidget::viewportSizeHint() const +QPainter* PythonQtShell_QTreeView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11862,368 +9199,395 @@ if (_wrapper) { } } } - return QTreeWidget::viewportSizeHint(); + return QTreeView::sharedPainter(); } -QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const +void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::visualRect(index0); + QTreeView::showEvent(event0); } -QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const +QSize PythonQtShell_QTreeView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("visualRegionForSelection", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + 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)); + } else { + PyErr_Clear(); + } + } } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const -{ - return ( theWrappedObject->itemBelow(item)); + return QTreeView::sizeHint(); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const +int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +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(); + } + } } - -QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const -{ - return ( theWrappedObject->itemWidget(item, column)); + return QTreeView::sizeHintForColumn(column0); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const +int PythonQtShell_QTreeView::sizeHintForRow(int row0) const { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); +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(); + } + } } - -QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); + return QTreeView::sizeHintForRow(row0); } - -void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) { - ( theWrappedObject->openPersistentEditor(item, column)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->removeItemWidget(item, column)); + QTreeView::startDrag(supportedActions0); } - -QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const +void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->selectedItems()); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); + QTreeView::tabletEvent(event0); } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setCurrentItem(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->setCurrentItem(item, column)); + QTreeView::timerEvent(event0); } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) +void PythonQtShell_QTreeView::updateEditorData() { - ( theWrappedObject->setCurrentItem(item, column, command)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) -{ - ( theWrappedObject->setFirstItemColumnSpanned(item, span)); + QTreeView::updateEditorData(); } - -void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +void PythonQtShell_QTreeView::updateEditorGeometries() { - ( theWrappedObject->setHeaderItem(item)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setHeaderLabel(label)); + QTreeView::updateEditorGeometries(); } - -void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) +void PythonQtShell_QTreeView::updateGeometries() { - ( theWrappedObject->setHeaderLabels(labels)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) -{ - ( theWrappedObject->setItemWidget(item, column, widget)); + QTreeView::updateGeometries(); } - -int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const +int PythonQtShell_QTreeView::verticalOffset() const { - return ( theWrappedObject->sortColumn()); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortItems(column, order)); + return QTreeView::verticalOffset(); } - -Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const +void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); +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(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) -{ - return ( theWrappedObject->takeTopLevelItem(index)); + QTreeView::verticalScrollbarAction(action0); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const +void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) { - return ( theWrappedObject->topLevelItem(index)); +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(); + } + } } - -int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->topLevelItemCount()); + QTreeView::verticalScrollbarValueChanged(value0); } - -QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const { - return ( theWrappedObject->visualItemRect(item)); +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(); + } + } } - - - -PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTreeView::viewOptions(); } -QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("viewportEvent"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QTreeWidgetItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12231,32 +9595,32 @@ if (_wrapper) { } } } - return QTreeWidgetItem::clone(); + return QTreeView::viewportEvent(event0); } -QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const +QSize PythonQtShell_QTreeView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("viewportSizeHint"); 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}; + 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("data", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12264,65 +9628,87 @@ if (_wrapper) { } } } - return QTreeWidgetItem::data(column0, role1); + return QTreeView::viewportSizeHint(); } -void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) +QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&in0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidgetItem::read(in0); + return QTreeView::visualRect(index0); } -void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) +QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidgetItem::setData(column0, role1, value2); + return QTreeView::visualRegionForSelection(selection0); } -void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const +void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&out0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12330,398 +9716,510 @@ if (_wrapper) { } } } - QTreeWidgetItem::write(out0); + QTreeView::wheelEvent(arg__1); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, 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) +QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) { -return new PythonQtShell_QTreeWidgetItem(parent, type); } +return new PythonQtShell_QTreeView(parent); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(strings, type); } +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()); +} -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) -{ -return new PythonQtShell_QTreeWidgetItem(type); } +int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->autoExpandDelay()); +} -void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) +int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const { - ( theWrappedObject->addChild(child)); + return ( theWrappedObject->columnAt(x)); } -void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) +int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const { - ( theWrappedObject->addChildren(children)); + return ( theWrappedObject->columnViewportPosition(column)); } -QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const +int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const { - return ( theWrappedObject->background(column)); + return ( theWrappedObject->columnWidth(column)); } -Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const { - return ( theWrappedObject->checkState(column)); + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const +void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { - return ( theWrappedObject->child(index)); + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); } -int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const { - return ( theWrappedObject->childCount()); + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); } -QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const { - return ( theWrappedObject->childIndicatorPolicy()); + return ( theWrappedObject->expandsOnDoubleClick()); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const +QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const { - return ( theWrappedObject->clone()); + return ( theWrappedObject->header()); } -int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const { - return ( theWrappedObject->columnCount()); + return ( theWrappedObject->indentation()); } -QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const +QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->data(column, role)); + return ( theWrappedObject->indexAbove(index)); } -void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) +QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const { - ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); + return ( theWrappedObject->indexBelow(index)); } -Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->flags()); + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); } -QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const +bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const { - return ( theWrappedObject->font(column)); + return ( theWrappedObject->isAnimated()); } -QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const +bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const { - return ( theWrappedObject->foreground(column)); + return ( theWrappedObject->isColumnHidden(column)); } -QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const +bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->icon(column)); + return ( theWrappedObject->isExpanded(index)); } -int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const +bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const { - return ( theWrappedObject->indexOfChild(child)); + return ( theWrappedObject->isFirstColumnSpanned(row, parent)); } -void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) +bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const { - ( theWrappedObject->insertChild(index, child)); + return ( theWrappedObject->isHeaderHidden()); } -void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) +bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const { - ( theWrappedObject->insertChildren(index, children)); + return ( theWrappedObject->isRowHidden(row, parent)); } -bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const { - return ( theWrappedObject->isDisabled()); + return ( theWrappedObject->isSortingEnabled()); } -bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const { - return ( theWrappedObject->isExpanded()); + return ( theWrappedObject->itemsExpandable()); } -bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) { - return ( theWrappedObject->isFirstColumnSpanned()); + ( theWrappedObject->resetIndentation()); } -bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const { - return ( theWrappedObject->isHidden()); + return ( theWrappedObject->rootIsDecorated()); } -bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->isSelected()); + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); } -void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) +void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) { - out << (*theWrappedObject); + ( theWrappedObject->setAllColumnsShowFocus(enable)); } -void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) { - in >> (*theWrappedObject); + ( theWrappedObject->setAnimated(enable)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) { - return ( theWrappedObject->parent()); + ( theWrappedObject->setAutoExpandDelay(delay)); } -void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) { - ( theWrappedObject->read(in)); + ( theWrappedObject->setColumnHidden(column, hide)); } -void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) +void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) { - ( theWrappedObject->removeChild(child)); + ( theWrappedObject->setColumnWidth(column, width)); } -void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) { - ( theWrappedObject->setBackground(column, brush)); + ( theWrappedObject->setExpanded(index, expand)); } -void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) +void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) { - ( theWrappedObject->setCheckState(column, state)); + ( theWrappedObject->setExpandsOnDoubleClick(enable)); } -void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) +void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) { - ( theWrappedObject->setChildIndicatorPolicy(policy)); + ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); } -void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) +void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) { - ( theWrappedObject->setData(column, role, value)); + ( theWrappedObject->setHeader(header)); } -void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) +void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) { - ( theWrappedObject->setDisabled(disabled)); + ( theWrappedObject->setHeaderHidden(hide)); } -void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) +void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) { - ( theWrappedObject->setExpanded(expand)); + ( theWrappedObject->setIndentation(i)); } -void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) +void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) { - ( theWrappedObject->setFirstColumnSpanned(span)); + ( theWrappedObject->setItemsExpandable(enable)); } -void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) { - ( theWrappedObject->setFlags(flags)); + ( theWrappedObject->setRootIsDecorated(show)); } -void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) +void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) { - ( theWrappedObject->setFont(column, font)); + ( theWrappedObject->setRowHidden(row, parent, hide)); } -void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) { - ( theWrappedObject->setForeground(column, brush)); + ( theWrappedObject->setSortingEnabled(enable)); } -void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) +void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) { - ( theWrappedObject->setHidden(hide)); + ( theWrappedObject->setTreePosition(logicalIndex)); } -void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) { - ( theWrappedObject->setIcon(column, icon)); + ( theWrappedObject->setUniformRowHeights(uniform)); } -void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) +void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) { - ( theWrappedObject->setSelected(select)); + ( theWrappedObject->setWordWrap(on)); } -void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) +void PythonQtWrapper_QTreeView::sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order) { - ( theWrappedObject->setSizeHint(column, size)); + ( theWrappedObject->sortByColumn(column, order)); } -void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) +int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const { - ( theWrappedObject->setStatusTip(column, statusTip)); + return ( theWrappedObject->treePosition()); } -void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const { - ( theWrappedObject->setText(column, text)); + return ( theWrappedObject->uniformRowHeights()); } -void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) +bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const { - ( theWrappedObject->setTextAlignment(column, alignment)); + return ( theWrappedObject->wordWrap()); } -void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) + + +PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) { - ( theWrappedObject->setToolTip(column, toolTip)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) + QTreeWidget::actionEvent(event0); +} +void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { - ( theWrappedObject->setWhatsThis(column, whatsThis)); +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(); + } + } } - -QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const + QTreeWidget::changeEvent(arg__1); +} +void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) { - return ( theWrappedObject->sizeHint(column)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) + QTreeWidget::childEvent(event0); +} +void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { - ( theWrappedObject->sortChildren(column, order)); +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(); + } + } } - -QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->statusTip(column)); + QTreeWidget::closeEditor(editor0, hint1); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->takeChild(index)); +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(); + } + } } - -PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) -{ - return ( theWrappedObject->takeChildren()); + QTreeWidget::closeEvent(event0); } - -QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { - return ( theWrappedObject->text(column)); +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(); + } + } } - -int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->textAlignment(column)); + QTreeWidget::commitData(editor0); } - -QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { - return ( theWrappedObject->toolTip(column)); +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* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->treeWidget()); + QTreeWidget::contextMenuEvent(arg__1); } - -int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { - return ( theWrappedObject->type()); +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(); + } + } } - -QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->whatsThis(column)); + QTreeWidget::currentChanged(current0, previous1); } - -void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const +void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) { - ( theWrappedObject->write(out)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTreeWidget::customEvent(event0); } -int PythonQtShell_QUndoCommand::id() const +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("id"); + static PyObject* name = PyString_FromString("dataChanged"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoCommand::id(); + QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); } -bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) +int PythonQtShell_QTreeWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mergeWith"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("mergeWith", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12729,21 +10227,21 @@ if (_wrapper) { } } } - return QUndoCommand::mergeWith(other0); + return QTreeWidget::devType(); } -void PythonQtShell_QUndoCommand::redo() +void PythonQtShell_QTreeWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redo"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12751,21 +10249,21 @@ if (_wrapper) { } } } - QUndoCommand::redo(); + QTreeWidget::doItemsLayout(); } -void PythonQtShell_QUndoCommand::undo() +void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("undo"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12773,90 +10271,87 @@ if (_wrapper) { } } } - 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()); + QTreeWidget::dragEnterEvent(event0); } - -void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) +void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setObsolete(obsolete)); +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(); + } + } } - -void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); + QTreeWidget::dragLeaveEvent(event0); } - -QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const +void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->text()); +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(); + } + } } - -void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) + QTreeWidget::dragMoveEvent(event0); +} +void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const { - ( theWrappedObject->undo()); +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(); + } + } } - - - -PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTreeWidget::drawBranches(painter0, rect1, index2); } -void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("drawRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12864,21 +10359,21 @@ if (_wrapper) { } } } - QUndoGroup::childEvent(event0); + QTreeWidget::drawRow(painter0, options1, index2); } -void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) +void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12886,32 +10381,32 @@ if (_wrapper) { } } } - QUndoGroup::customEvent(event0); + QTreeWidget::dropEvent(event0); } -bool PythonQtShell_QUndoGroup::event(QEvent* 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("event"); + static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12919,32 +10414,32 @@ if (_wrapper) { } } } - return QUndoGroup::event(event0); + return QTreeWidget::dropMimeData(parent0, index1, data2, action3); } -bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12952,21 +10447,21 @@ if (_wrapper) { } } } - return QUndoGroup::eventFilter(watched0, event1); + return QTreeWidget::edit(index0, trigger1, event2); } -void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12974,99 +10469,21 @@ if (_wrapper) { } } } - 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); } + QTreeWidget::editorDestroyed(editor0); } -void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) +void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13074,87 +10491,120 @@ if (_wrapper) { } } } - QUndoStack::childEvent(event0); + QTreeWidget::enterEvent(event0); } -void PythonQtShell_QUndoStack::customEvent(QEvent* event0) +bool PythonQtShell_QTreeWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoStack::customEvent(event0); + return QTreeWidget::event(e0); } -bool PythonQtShell_QUndoStack::event(QEvent* event0) +bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoStack::event(event0); + QTreeWidget::focusInEvent(event0); } -bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13162,21 +10612,21 @@ if (_wrapper) { } } } - return QUndoStack::eventFilter(watched0, event1); + return QTreeWidget::focusNextPrevChild(next0); } -void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13184,205 +10634,87 @@ if (_wrapper) { } } } - 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); } + QTreeWidget::focusOutEvent(event0); } -void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) +bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::actionEvent(event0); + return QTreeWidget::hasHeightForWidth(); } -void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) +int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::changeEvent(arg__1); + return QTreeWidget::heightForWidth(arg__1); } -void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) +void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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::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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13390,43 +10722,54 @@ if (_wrapper) { } } } - QUndoView::closeEditor(editor0, hint1); + QTreeWidget::hideEvent(event0); } -void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) +int PythonQtShell_QTreeWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("horizontalOffset"); 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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::closeEvent(event0); + return QTreeWidget::horizontalOffset(); } -void PythonQtShell_QUndoView::commitData(QWidget* editor0) +void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13434,21 +10777,21 @@ if (_wrapper) { } } } - QUndoView::commitData(editor0); + QTreeWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13456,43 +10799,54 @@ if (_wrapper) { } } } - QUndoView::contextMenuEvent(arg__1); + QTreeWidget::horizontalScrollbarValueChanged(value0); } -void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("indexAt"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::currentChanged(current0, previous1); + return QTreeWidget::indexAt(p0); } -void PythonQtShell_QUndoView::customEvent(QEvent* event0) +void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13500,21 +10854,21 @@ if (_wrapper) { } } } - QUndoView::customEvent(event0); + QTreeWidget::initPainter(painter0); } -void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13522,32 +10876,32 @@ if (_wrapper) { } } } - QUndoView::dataChanged(topLeft0, bottomRight1, roles2); + QTreeWidget::inputMethodEvent(event0); } -int PythonQtShell_QUndoView::devType() const +QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13555,43 +10909,54 @@ if (_wrapper) { } } } - return QUndoView::devType(); + return QTreeWidget::inputMethodQuery(query0); } -void PythonQtShell_QUndoView::doItemsLayout() +bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::doItemsLayout(); + return QTreeWidget::isIndexHidden(index0); } -void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13599,21 +10964,21 @@ if (_wrapper) { } } } - QUndoView::dragEnterEvent(event0); + QTreeWidget::keyPressEvent(event0); } -void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13621,21 +10986,21 @@ if (_wrapper) { } } } - QUndoView::dragLeaveEvent(e0); + QTreeWidget::keyReleaseEvent(event0); } -void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13643,21 +11008,21 @@ if (_wrapper) { } } } - QUndoView::dragMoveEvent(e0); + QTreeWidget::keyboardSearch(search0); } -void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) +void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13665,32 +11030,32 @@ if (_wrapper) { } } } - QUndoView::dropEvent(e0); + QTreeWidget::leaveEvent(event0); } -bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +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("edit"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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("edit", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13698,76 +11063,65 @@ if (_wrapper) { } } } - 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); + return QTreeWidget::metric(arg__1); } -void PythonQtShell_QUndoView::enterEvent(QEvent* event0) +QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::enterEvent(event0); + return QTreeWidget::mimeData(items0); } -bool PythonQtShell_QUndoView::event(QEvent* e0) +QStringList PythonQtShell_QTreeWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13775,32 +11129,32 @@ if (_wrapper) { } } } - return QUndoView::event(e0); + return QTreeWidget::mimeTypes(); } -bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) +QSize PythonQtShell_QTreeWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13808,21 +11162,21 @@ if (_wrapper) { } } } - return QUndoView::eventFilter(object0, event1); + return QTreeWidget::minimumSizeHint(); } -void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13830,54 +11184,43 @@ if (_wrapper) { } } } - QUndoView::focusInEvent(event0); + QTreeWidget::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) +void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::focusNextPrevChild(next0); + QTreeWidget::mouseMoveEvent(event0); } -void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13885,65 +11228,54 @@ if (_wrapper) { } } } - QUndoView::focusOutEvent(event0); + QTreeWidget::mousePressEvent(event0); } -bool PythonQtShell_QUndoView::hasHeightForWidth() const +void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::hasHeightForWidth(); + QTreeWidget::mouseReleaseEvent(event0); } -int PythonQtShell_QUndoView::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("moveCursor"); 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}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13951,21 +11283,21 @@ if (_wrapper) { } } } - return QUndoView::heightForWidth(arg__1); + return QTreeWidget::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) +void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13973,32 +11305,32 @@ if (_wrapper) { } } } - QUndoView::hideEvent(event0); + QTreeWidget::moveEvent(event0); } -int PythonQtShell_QUndoView::horizontalOffset() const +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("horizontalOffset"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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("horizontalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14006,43 +11338,54 @@ if (_wrapper) { } } } - return QUndoView::horizontalOffset(); + return QTreeWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) +QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::horizontalScrollbarAction(action0); + return QTreeWidget::paintEngine(); } -void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14050,32 +11393,32 @@ if (_wrapper) { } } } - QUndoView::horizontalScrollbarValueChanged(value0); + QTreeWidget::paintEvent(event0); } -QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const +QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; + 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("indexAt", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14083,21 +11426,21 @@ if (_wrapper) { } } } - return QUndoView::indexAt(p0); + return QTreeWidget::redirected(offset0); } -void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const +void PythonQtShell_QTreeWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("reset"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14105,21 +11448,21 @@ if (_wrapper) { } } } - QUndoView::initPainter(painter0); + QTreeWidget::reset(); } -void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14127,87 +11470,65 @@ if (_wrapper) { } } } - QUndoView::inputMethodEvent(event0); + QTreeWidget::resizeEvent(event0); } -QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::inputMethodQuery(query0); + QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const +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("isIndexHidden"); + static PyObject* name = PyString_FromString("rowsInserted"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::isIndexHidden(index0); + QTreeWidget::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14215,21 +11536,21 @@ if (_wrapper) { } } } - QUndoView::keyPressEvent(event0); + QTreeWidget::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("scrollTo"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14237,21 +11558,21 @@ if (_wrapper) { } } } - QUndoView::keyReleaseEvent(event0); + QTreeWidget::scrollTo(index0, hint1); } -void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) +void PythonQtShell_QTreeWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("selectAll"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14259,87 +11580,87 @@ if (_wrapper) { } } } - QUndoView::keyboardSearch(search0); + QTreeWidget::selectAll(); } -void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) +QList PythonQtShell_QTreeWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::leaveEvent(event0); + return QTreeWidget::selectedIndexes(); } -int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("selectionChanged"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::metric(arg__1); + QTreeWidget::selectionChanged(selected0, deselected1); } -QSize PythonQtShell_QUndoView::minimumSizeHint() const +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("minimumSizeHint"); + static PyObject* name = PyString_FromString("selectionCommand"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14347,21 +11668,43 @@ if (_wrapper) { } } } - return QUndoView::minimumSizeHint(); + return QTreeWidget::selectionCommand(index0, event1); } -void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14369,21 +11712,21 @@ if (_wrapper) { } } } - QUndoView::mouseDoubleClickEvent(event0); + QTreeWidget::setSelection(rect0, command1); } -void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14391,21 +11734,21 @@ if (_wrapper) { } } } - QUndoView::mouseMoveEvent(e0); + QTreeWidget::setSelectionModel(selectionModel0); } -void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14413,21 +11756,21 @@ if (_wrapper) { } } } - QUndoView::mousePressEvent(event0); + QTreeWidget::setVisible(visible0); } -void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14435,32 +11778,32 @@ if (_wrapper) { } } } - QUndoView::mouseReleaseEvent(e0); + QTreeWidget::setupViewport(viewport0); } -QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("moveCursor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14468,21 +11811,21 @@ if (_wrapper) { } } } - return QUndoView::moveCursor(cursorAction0, modifiers1); + return QTreeWidget::sharedPainter(); } -void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14490,32 +11833,32 @@ if (_wrapper) { } } } - QUndoView::moveEvent(event0); + QTreeWidget::showEvent(event0); } -bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSize PythonQtShell_QTreeWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14523,32 +11866,32 @@ if (_wrapper) { } } } - return QUndoView::nativeEvent(eventType0, message1, result2); + return QTreeWidget::sizeHint(); } -QPaintEngine* PythonQtShell_QUndoView::paintEngine() const +int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14556,54 +11899,32 @@ if (_wrapper) { } } } - 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); + return QTreeWidget::sizeHintForColumn(column0); } -QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const +int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14611,21 +11932,21 @@ if (_wrapper) { } } } - return QUndoView::redirected(offset0); + return QTreeWidget::sizeHintForRow(row0); } -void PythonQtShell_QUndoView::reset() +void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14633,43 +11954,54 @@ if (_wrapper) { } } } - QUndoView::reset(); + QTreeWidget::startDrag(supportedActions0); } -void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) +Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("supportedDropActions"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::resizeEvent(e0); + return QTreeWidget::supportedDropActions(); } -void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("tabletEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14677,21 +12009,21 @@ if (_wrapper) { } } } - QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); + QTreeWidget::tabletEvent(event0); } -void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14699,21 +12031,21 @@ if (_wrapper) { } } } - QUndoView::rowsInserted(parent0, start1, end2); + QTreeWidget::timerEvent(event0); } -void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTreeWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("updateEditorData"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14721,21 +12053,21 @@ if (_wrapper) { } } } - QUndoView::scrollContentsBy(dx0, dy1); + QTreeWidget::updateEditorData(); } -void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTreeWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14743,21 +12075,21 @@ if (_wrapper) { } } } - QUndoView::scrollTo(index0, hint1); + QTreeWidget::updateEditorGeometries(); } -void PythonQtShell_QUndoView::selectAll() +void PythonQtShell_QTreeWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14765,32 +12097,32 @@ if (_wrapper) { } } } - QUndoView::selectAll(); + QTreeWidget::updateGeometries(); } -QList PythonQtShell_QUndoView::selectedIndexes() const +int PythonQtShell_QTreeWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14798,21 +12130,21 @@ if (_wrapper) { } } } - return QUndoView::selectedIndexes(); + return QTreeWidget::verticalOffset(); } -void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14820,164 +12152,208 @@ if (_wrapper) { } } } - QUndoView::selectionChanged(selected0, deselected1); + QTreeWidget::verticalScrollbarAction(action0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::selectionCommand(index0, event1); + QTreeWidget::verticalScrollbarValueChanged(value0); } -void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) +QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("viewOptions"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::setModel(model0); + return QTreeWidget::viewOptions(); } -void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) +bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::setRootIndex(index0); + return QTreeWidget::viewportEvent(event0); } -void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("viewportSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::setSelection(rect0, command1); + return QTreeWidget::viewportSizeHint(); } -void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) +QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::setSelectionModel(selectionModel0); + return QTreeWidget::visualRect(index0); } -void PythonQtShell_QUndoView::setVisible(bool visible0) +QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::setVisible(visible0); + return QTreeWidget::visualRegionForSelection(selection0); } -void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) +void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14985,285 +12361,335 @@ if (_wrapper) { } } } - QUndoView::setupViewport(viewport0); + 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)); } -QPainter* PythonQtShell_QUndoView::sharedPainter() const + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) { -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(); - } - } + ( theWrappedObject->setCurrentItem(item)); } - return QUndoView::sharedPainter(); + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->setCurrentItem(item, column)); } -void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) { -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(); - } - } + ( theWrappedObject->setCurrentItem(item, column, command)); } - QUndoView::showEvent(event0); + +void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +{ + ( theWrappedObject->setFirstItemColumnSpanned(item, span)); } -QSize PythonQtShell_QUndoView::sizeHint() const + +void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { -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(); - } - } + ( theWrappedObject->setHeaderItem(item)); } - return QUndoView::sizeHint(); + +void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setHeaderLabel(label)); } -int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const + +void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) { -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(); - } - } + ( theWrappedObject->setHeaderLabels(labels)); } - return QUndoView::sizeHintForColumn(column0); + +void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) +{ + ( theWrappedObject->setItemWidget(item, column, widget)); } -int PythonQtShell_QUndoView::sizeHintForRow(int row0) const + +int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) 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 ( theWrappedObject->sortColumn()); } - return QUndoView::sizeHintForRow(row0); + +void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); } -void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) + +Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const { -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(); - } - } + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); } - QUndoView::startDrag(supportedActions0); + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) +{ + return ( theWrappedObject->takeTopLevelItem(index)); } -void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const { -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(); - } - } + return ( theWrappedObject->topLevelItem(index)); } - QUndoView::tabletEvent(event0); + +int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItemCount()); } -void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) + +QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_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(); - } - } + return ( theWrappedObject->visualItemRect(item)); } - QUndoView::timerEvent(e0); + + + +PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QUndoView::updateEditorData() +QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTreeWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::updateEditorData(); + return QTreeWidgetItem::clone(); } -void PythonQtShell_QUndoView::updateEditorGeometries() +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("updateEditorGeometries"); + static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::updateEditorGeometries(); + return QTreeWidgetItem::data(column0, role1); } -void PythonQtShell_QUndoView::updateGeometries() +void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15271,54 +12697,43 @@ if (_wrapper) { } } } - QUndoView::updateGeometries(); + QTreeWidgetItem::read(in0); } -int PythonQtShell_QUndoView::verticalOffset() const +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("verticalOffset"); + static PyObject* name = PyString_FromString("setData"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::verticalOffset(); + QTreeWidgetItem::setData(column0, role1, value2); } -void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) +void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15326,306 +12741,347 @@ if (_wrapper) { } } } - QUndoView::verticalScrollbarAction(action0); + QTreeWidgetItem::write(out0); +} +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, 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 PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) + +void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) { -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(); - } - } + ( theWrappedObject->setFirstColumnSpanned(span)); } - QUndoView::verticalScrollbarValueChanged(value0); + +void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); } -QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const + +void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) { -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(); - } - } + ( theWrappedObject->setFont(column, font)); } - return QUndoView::viewOptions(); + +void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +{ + ( theWrappedObject->setForeground(column, brush)); } -bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) + +void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) { -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(); - } - } + ( theWrappedObject->setHidden(hide)); } - return QUndoView::viewportEvent(event0); + +void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +{ + ( theWrappedObject->setIcon(column, icon)); } -QSize PythonQtShell_QUndoView::viewportSizeHint() const + +void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) { -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(); - } - } + ( theWrappedObject->setSelected(select)); } - return QUndoView::viewportSizeHint(); + +void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) +{ + ( theWrappedObject->setSizeHint(column, size)); } -QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const + +void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) { -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(); - } - } + ( theWrappedObject->setStatusTip(column, statusTip)); } - return QUndoView::visualRect(index0); + +void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +{ + ( theWrappedObject->setText(column, text)); } -QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const + +void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) { -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(); - } - } + ( theWrappedObject->setTextAlignment(column, alignment)); } - return QUndoView::visualRegionForSelection(selection0); + +void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(column, toolTip)); } -void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) + +void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) { -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(); - } - } + ( theWrappedObject->setWhatsThis(column, whatsThis)); } - QUndoView::wheelEvent(e0); + +QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->sizeHint(column)); } -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); } +void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortChildren(column, order)); +} -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) -{ -return new PythonQtShell_QUndoView(parent); } +QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->statusTip(column)); +} -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; - } +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +{ + return ( theWrappedObject->takeChild(index)); } -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; + +PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) +{ + return ( theWrappedObject->takeChildren()); +} + +QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->text(column)); } -QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const + +int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->cleanIcon()); + return ( theWrappedObject->textAlignment(column)); } -QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const +QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->emptyLabel()); + return ( theWrappedObject->toolTip(column)); } -QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const +QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->group()); + return ( theWrappedObject->treeWidget()); } -void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) +int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const { - ( theWrappedObject->setCleanIcon(icon)); + return ( theWrappedObject->type()); } -void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) +QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const { - ( theWrappedObject->setEmptyLabel(label)); + return ( theWrappedObject->whatsThis(column)); } -QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const { - return ( theWrappedObject->stack()); + ( theWrappedObject->write(out)); } -PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { +PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { 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); -} -int PythonQtShell_QVBoxLayout::count() const +int PythonQtShell_QUndoCommand::id() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("id"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int"}; @@ -15637,46 +13093,13 @@ if (_wrapper) { 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); + 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 QVBoxLayout::count(); -} -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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15684,65 +13107,32 @@ if (_wrapper) { } } } - return QVBoxLayout::expandingDirections(); + return QUndoCommand::id(); } -bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const +bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + 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("hasHeightForWidth", methodInfo, result); + 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 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15750,21 +13140,21 @@ if (_wrapper) { } } } - return QVBoxLayout::heightForWidth(arg__1); + return QUndoCommand::mergeWith(other0); } -void PythonQtShell_QVBoxLayout::invalidate() +void PythonQtShell_QUndoCommand::redo() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15772,256 +13162,100 @@ if (_wrapper) { } } } - QVBoxLayout::invalidate(); -} -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); + QUndoCommand::redo(); } -QSize PythonQtShell_QVBoxLayout::maximumSize() const +void PythonQtShell_QUndoCommand::undo() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("undo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QVBoxLayout::maximumSize(); + QUndoCommand::undo(); } -int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const +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 { -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); + return ( theWrappedObject->actionText()); } -QSize PythonQtShell_QVBoxLayout::minimumSize() const + +const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) 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(); + return ( theWrappedObject->child(index)); } -void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) + +int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const { -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); + return ( theWrappedObject->childCount()); } -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(); - } - } + +int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->id()); } - return QVBoxLayout::sizeHint(); + +bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->isObsolete()); } -QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) + +bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) { -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 ( theWrappedObject->mergeWith(other)); +} + +void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) +{ + ( theWrappedObject->redo()); } - return QVBoxLayout::takeAt(arg__1); + +void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) +{ + ( theWrappedObject->setObsolete(obsolete)); } -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() -{ -return new PythonQtShell_QVBoxLayout(); } -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) -{ -return new PythonQtShell_QVBoxLayout(parent); } +void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} -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; - } +QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -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; + +void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) +{ + ( theWrappedObject->undo()); } -PythonQtShell_QValidator::~PythonQtShell_QValidator() { + +PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QValidator::childEvent(QChildEvent* event0) +void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16033,7 +13267,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16041,9 +13275,9 @@ if (_wrapper) { } } } - QValidator::childEvent(event0); + QUndoGroup::childEvent(event0); } -void PythonQtShell_QValidator::customEvent(QEvent* event0) +void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16055,7 +13289,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16063,9 +13297,9 @@ if (_wrapper) { } } } - QValidator::customEvent(event0); + QUndoGroup::customEvent(event0); } -bool PythonQtShell_QValidator::event(QEvent* event0) +bool PythonQtShell_QUndoGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16088,7 +13322,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16096,9 +13330,9 @@ if (_wrapper) { } } } - return QValidator::event(event0); + return QUndoGroup::event(event0); } -bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16121,7 +13355,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16129,31 +13363,9 @@ if (_wrapper) { } } } - 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); + return QUndoGroup::eventFilter(watched0, event1); } -void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) +void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16165,534 +13377,336 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { 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, 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; + QUndoGroup::timerEvent(event0); } - - - -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) +QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) { -return new QVector3D(xpos, ypos, zpos); } +return new PythonQtShell_QUndoGroup(parent); } -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2) -{ - return (QVector3D::crossProduct(v1, v2)); +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; + } } - -float PythonQtWrapper_QVector3D::distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const -{ - return ( theWrappedObject->distanceToLine(point, direction)); +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; } - -float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const +QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const { - return ( theWrappedObject->distanceToPlane(plane, normal)); + return ( theWrappedObject->activeStack()); } -float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const +void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) { - return ( theWrappedObject->distanceToPlane(plane1, plane2, plane3)); + ( theWrappedObject->addStack(stack)); } -float PythonQtWrapper_QVector3D::distanceToPoint(QVector3D* theWrappedObject, const QVector3D& point) const +bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const { - return ( theWrappedObject->distanceToPoint(point)); + return ( theWrappedObject->canRedo()); } -float PythonQtWrapper_QVector3D::static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2) +bool PythonQtWrapper_QUndoGroup::canUndo(QUndoGroup* theWrappedObject) const { - return (QVector3D::dotProduct(v1, v2)); + return ( theWrappedObject->canUndo()); } -bool PythonQtWrapper_QVector3D::isNull(QVector3D* theWrappedObject) const +QAction* PythonQtWrapper_QUndoGroup::createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const { - return ( theWrappedObject->isNull()); + return ( theWrappedObject->createRedoAction(parent, prefix)); } -float PythonQtWrapper_QVector3D::length(QVector3D* theWrappedObject) const +QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->createUndoAction(parent, prefix)); } -float PythonQtWrapper_QVector3D::lengthSquared(QVector3D* theWrappedObject) const +bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const { - return ( theWrappedObject->lengthSquared()); + return ( theWrappedObject->isClean()); } -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2) +QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const { - return (QVector3D::normal(v1, v2)); + return ( theWrappedObject->redoText()); } -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3) +void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) { - return (QVector3D::normal(v1, v2, v3)); + ( theWrappedObject->removeStack(stack)); } -void PythonQtWrapper_QVector3D::normalize(QVector3D* theWrappedObject) +QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const { - ( theWrappedObject->normalize()); + return ( theWrappedObject->stacks()); } -QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) const +QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const { - return ( theWrappedObject->normalized()); + return ( theWrappedObject->undoText()); } -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); +PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, float factor) +void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) { - return ( (*theWrappedObject)* factor); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, const QVector3D& vector) -{ - return &( (*theWrappedObject)*= vector); + QUndoStack::childEvent(event0); } - -QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, float factor) +void PythonQtShell_QUndoStack::customEvent(QEvent* event0) { - return &( (*theWrappedObject)*= factor); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QVector3D PythonQtWrapper_QVector3D::__add__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)+ v2); + QUndoStack::customEvent(event0); } - -QVector3D* PythonQtWrapper_QVector3D::__iadd__(QVector3D* theWrappedObject, const QVector3D& vector) +bool PythonQtShell_QUndoStack::event(QEvent* event0) { - return &( (*theWrappedObject)+= vector); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)- v2); + return QUndoStack::event(event0); } - -QVector3D* PythonQtWrapper_QVector3D::__isub__(QVector3D* theWrappedObject, const QVector3D& vector) +bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) { - return &( (*theWrappedObject)-= vector); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, const QVector3D& divisor) -{ - return ( (*theWrappedObject)/ divisor); + return QUndoStack::eventFilter(watched0, event1); } - -const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, float divisor) +void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) { - return ( (*theWrappedObject)/ divisor); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, const QVector3D& vector) +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) { - return &( (*theWrappedObject)/= vector); + ( theWrappedObject->beginMacro(text)); } -QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, float divisor) +bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const { - return &( (*theWrappedObject)/= divisor); + return ( theWrappedObject->canRedo()); } -void PythonQtWrapper_QVector3D::writeTo(QVector3D* theWrappedObject, QDataStream& arg__1) +bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const { - arg__1 << (*theWrappedObject); + return ( theWrappedObject->canUndo()); } -bool PythonQtWrapper_QVector3D::__eq__(QVector3D* theWrappedObject, const QVector3D& v2) +int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const { - return ( (*theWrappedObject)== v2); + return ( theWrappedObject->cleanIndex()); } -void PythonQtWrapper_QVector3D::readFrom(QVector3D* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) { - arg__1 >> (*theWrappedObject); + ( theWrappedObject->clear()); } -float PythonQtWrapper_QVector3D::operator_subscript(QVector3D* theWrappedObject, int i) const +const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const { - return ( (*theWrappedObject)[i]); + return ( theWrappedObject->command(index)); } -QVector3D PythonQtWrapper_QVector3D::project(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const +int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const { - return ( theWrappedObject->project(modelView, projection, viewport)); + return ( theWrappedObject->count()); } -void PythonQtWrapper_QVector3D::setX(QVector3D* theWrappedObject, float x) +QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const { - ( theWrappedObject->setX(x)); + return ( theWrappedObject->createRedoAction(parent, prefix)); } -void PythonQtWrapper_QVector3D::setY(QVector3D* theWrappedObject, float y) +QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const { - ( theWrappedObject->setY(y)); + return ( theWrappedObject->createUndoAction(parent, prefix)); } -void PythonQtWrapper_QVector3D::setZ(QVector3D* theWrappedObject, float z) +void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) { - ( theWrappedObject->setZ(z)); + ( theWrappedObject->endMacro()); } -QPoint PythonQtWrapper_QVector3D::toPoint(QVector3D* theWrappedObject) const +int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const { - return ( theWrappedObject->toPoint()); + return ( theWrappedObject->index()); } -QPointF PythonQtWrapper_QVector3D::toPointF(QVector3D* theWrappedObject) const +bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const { - return ( theWrappedObject->toPointF()); + return ( theWrappedObject->isActive()); } -QVector2D PythonQtWrapper_QVector3D::toVector2D(QVector3D* theWrappedObject) const +bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const { - return ( theWrappedObject->toVector2D()); + return ( theWrappedObject->isClean()); } -QVector4D PythonQtWrapper_QVector3D::toVector4D(QVector3D* theWrappedObject) const +void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) { - return ( theWrappedObject->toVector4D()); + ( theWrappedObject->push(cmd)); } -QVector3D PythonQtWrapper_QVector3D::unproject(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const +QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const { - return ( theWrappedObject->unproject(modelView, projection, viewport)); + return ( theWrappedObject->redoText()); } -float PythonQtWrapper_QVector3D::x(QVector3D* theWrappedObject) const +void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) { - return ( theWrappedObject->x()); + ( theWrappedObject->setUndoLimit(limit)); } -float PythonQtWrapper_QVector3D::y(QVector3D* theWrappedObject) const +QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const { - return ( theWrappedObject->y()); + return ( theWrappedObject->text(idx)); } -float PythonQtWrapper_QVector3D::z(QVector3D* theWrappedObject) const +int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const { - return ( theWrappedObject->z()); + return ( theWrappedObject->undoLimit()); } -QString PythonQtWrapper_QVector3D::py_toString(QVector3D* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.h index ec7b2fee..c482eeb4 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui11.h @@ -2,13 +2,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include #include @@ -24,20 +24,18 @@ #include #include #include +#include #include #include #include #include #include #include -#include -#include +#include #include #include #include #include -#include -#include #include #include #include @@ -45,12 +43,11 @@ #include #include #include -#include #include #include #include #include -#include +#include #include #include #include @@ -62,6 +59,8 @@ #include #include #include +#include +#include #include #include #include @@ -71,22 +70,265 @@ #include #include #include -#include #include #include #include #include -#include -#include #include #include -#include -#include #include #include +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: @@ -96,7 +338,7 @@ class PythonQtShell_QTextListFormat : public QTextListFormat ~PythonQtShell_QTextListFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextListFormat : public QObject @@ -144,7 +386,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextObject : public QTextObject @@ -218,7 +460,7 @@ class PythonQtShell_QTextOption__Tab : public QTextOption::Tab ~PythonQtShell_QTextOption__Tab(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextOption__Tab : public QObject @@ -261,7 +503,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTable : public QObject @@ -334,7 +576,7 @@ class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat ~PythonQtShell_QTextTableCellFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableCellFormat : public QObject @@ -374,7 +616,7 @@ class PythonQtShell_QTextTableFormat : public QTextTableFormat ~PythonQtShell_QTextTableFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableFormat : public QObject @@ -418,7 +660,7 @@ class PythonQtShell_QTileRules : public QTileRules ~PythonQtShell_QTileRules(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTileRules : public QObject @@ -501,7 +743,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimeEdit : public QObject @@ -573,7 +815,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBar : public QToolBar @@ -719,7 +961,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBox : public QToolBox @@ -831,7 +1073,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolButton : public QToolButton @@ -959,7 +1201,7 @@ class PythonQtShell_QTouchEvent : public QTouchEvent ~PythonQtShell_QTouchEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTouchEvent : public QObject @@ -1052,87 +1294,6 @@ void delete_QTouchEvent__TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; -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*); -}; - - - - - class PythonQtShell_QTreeView : public QTreeView { public: @@ -1232,7 +1393,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeView : public QTreeView @@ -1514,7 +1675,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget @@ -1621,7 +1782,7 @@ void read(QDataStream& in) override; void setData(int column, int role, const QVariant& value) override; void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem @@ -1735,7 +1896,7 @@ bool mergeWith(const QUndoCommand* other) override; void redo() override; void undo() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand @@ -1789,7 +1950,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoGroup : public QObject @@ -1830,7 +1991,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoStack : public QObject @@ -1861,335 +2022,3 @@ void delete_QUndoStack(QUndoStack* obj) { delete obj; } }; - - - -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(); - -void addItem(QLayoutItem* arg__1) override; -int count() const override; -Qt::Orientations expandingDirections() const override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void invalidate() override; -QLayoutItem* itemAt(int arg__1) const 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; -QLayoutItem* takeAt(int arg__1) 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; } -}; - - - - - -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: -Q_ENUMS(State ) -enum State{ - Invalid = QValidator::Invalid, Intermediate = QValidator::Intermediate, Acceptable = QValidator::Acceptable}; -public slots: -QValidator* new_QValidator(QObject* parent = nullptr); -void delete_QValidator(QValidator* obj) { delete obj; } - void 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& 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& 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(); } -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index 9ba9e2b0..c98f0046 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -6,10 +6,13 @@ #include #include #include +#include +#include #include #include #include #include +#include #include #include #include @@ -22,7 +25,9 @@ #include #include #include +#include #include +#include #include #include #include @@ -39,11 +44,19 @@ #include #include #include +#include +#include #include #include #include +#include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -52,6 +65,3776 @@ #include #include +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(); } @@ -154,6 +3937,11 @@ QVector4D* PythonQtWrapper_QVector4D::__iadd__(QVector4D* theWrappedObject, con 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); @@ -456,7 +4244,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -478,7 +4266,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -500,7 +4288,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -522,7 +4310,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -544,7 +4332,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -566,7 +4354,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -599,7 +4387,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -621,7 +4409,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -643,7 +4431,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -665,7 +4453,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -687,7 +4475,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -709,7 +4497,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -742,7 +4530,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -775,7 +4563,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -797,7 +4585,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -830,7 +4618,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -852,7 +4640,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -885,7 +4673,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -918,7 +4706,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -940,7 +4728,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -962,7 +4750,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -984,7 +4772,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1017,7 +4805,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1039,7 +4827,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1061,7 +4849,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1083,7 +4871,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1116,7 +4904,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1149,7 +4937,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1171,7 +4959,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1193,7 +4981,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1215,7 +5003,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1237,7 +5025,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1259,7 +5047,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1292,7 +5080,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1325,7 +5113,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1347,7 +5135,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1380,7 +5168,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1402,7 +5190,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1424,7 +5212,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1457,7 +5245,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1479,7 +5267,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1512,7 +5300,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1534,7 +5322,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1556,7 +5344,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1578,7 +5366,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2050,6 +5838,11 @@ 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()); @@ -2440,6 +6233,11 @@ void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt: ( 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)); @@ -2870,7 +6668,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2903,7 +6701,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2925,7 +6723,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2947,7 +6745,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2980,7 +6778,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3013,7 +6811,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3035,7 +6833,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3126,7 +6924,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3159,7 +6957,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3192,7 +6990,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3225,7 +7023,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3258,7 +7056,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3280,7 +7078,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3313,7 +7111,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3323,6 +7121,39 @@ if (_wrapper) { } 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) { @@ -3346,7 +7177,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3379,7 +7210,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3412,7 +7243,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3434,7 +7265,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3467,7 +7298,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3500,7 +7331,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3533,7 +7364,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3565,7 +7396,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3587,7 +7418,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3620,7 +7451,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3653,7 +7484,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3675,7 +7506,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3697,7 +7528,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3730,7 +7561,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3752,7 +7583,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3785,7 +7616,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3807,7 +7638,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3829,7 +7660,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3851,7 +7682,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3873,7 +7704,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3895,7 +7726,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3917,7 +7748,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3939,7 +7770,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3961,7 +7792,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3994,7 +7825,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4016,7 +7847,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4038,7 +7869,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4071,7 +7902,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4104,7 +7935,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4126,7 +7957,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4148,7 +7979,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4170,7 +8001,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4192,7 +8023,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4202,6 +8033,10 @@ if (_wrapper) { } 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); } @@ -4484,6 +8319,11 @@ void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEven ( ((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)); @@ -4574,6 +8414,11 @@ void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, ( 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)); @@ -4725,7 +8570,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4747,7 +8592,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4769,7 +8614,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4791,7 +8636,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4813,7 +8658,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4835,7 +8680,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4857,7 +8702,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4879,7 +8724,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4912,7 +8757,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4934,7 +8779,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4956,7 +8801,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4978,7 +8823,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5000,7 +8845,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5022,7 +8867,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5044,7 +8889,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5077,7 +8922,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5110,7 +8955,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5143,7 +8988,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5165,7 +9010,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5198,7 +9043,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5220,7 +9065,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5253,7 +9098,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5286,7 +9131,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5308,7 +9153,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5330,7 +9175,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5352,7 +9197,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5374,7 +9219,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5407,7 +9252,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5429,7 +9274,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5451,7 +9296,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5473,7 +9318,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5506,7 +9351,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5539,7 +9384,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5561,7 +9406,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5583,7 +9428,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5605,7 +9450,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5627,7 +9472,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5649,7 +9494,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5682,7 +9527,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5715,7 +9560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5737,7 +9582,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5770,7 +9615,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5792,7 +9637,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5825,7 +9670,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5847,7 +9692,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5869,7 +9714,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5891,7 +9736,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5924,7 +9769,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5946,7 +9791,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5979,7 +9824,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6001,7 +9846,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6023,7 +9868,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6056,7 +9901,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6078,7 +9923,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6303,7 +10148,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6325,7 +10170,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6347,7 +10192,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6369,7 +10214,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6391,7 +10236,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6413,7 +10258,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6435,7 +10280,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6468,7 +10313,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6490,7 +10335,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6512,7 +10357,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6534,7 +10379,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6556,7 +10401,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6578,7 +10423,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6611,7 +10456,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6644,7 +10489,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6666,7 +10511,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6699,7 +10544,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6721,7 +10566,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6754,7 +10599,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6787,7 +10632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6809,7 +10654,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6831,7 +10676,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6853,7 +10698,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6875,7 +10720,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6908,7 +10753,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6941,7 +10786,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6963,7 +10808,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6985,7 +10830,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7007,7 +10852,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7040,7 +10885,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7073,7 +10918,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7095,7 +10940,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7117,7 +10962,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7139,7 +10984,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7161,7 +11006,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7183,7 +11028,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7216,7 +11061,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7249,7 +11094,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7282,7 +11127,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7304,7 +11149,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7337,7 +11182,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7359,7 +11204,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7381,7 +11226,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7414,7 +11259,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7436,7 +11281,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7469,7 +11314,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7491,7 +11336,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7513,7 +11358,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7546,7 +11391,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7568,7 +11413,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.h index 1f56c6e2..e9c91ec0 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui12.h @@ -4,10 +4,13 @@ #include #include #include +#include +#include #include #include #include #include +#include #include #include #include @@ -20,7 +23,9 @@ #include #include #include +#include #include +#include #include #include #include @@ -37,11 +42,19 @@ #include #include #include +#include +#include #include #include #include +#include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -53,6 +66,353 @@ +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: +Q_ENUMS(State ) +enum State{ + Invalid = QValidator::Invalid, Intermediate = QValidator::Intermediate, Acceptable = QValidator::Acceptable}; +public slots: +QValidator* new_QValidator(QObject* parent = nullptr); +void delete_QValidator(QValidator* obj) { delete obj; } + void 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: @@ -84,6 +444,7 @@ void delete_QVector4D(QVector4D* obj) { delete obj; } 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); @@ -160,7 +521,7 @@ class PythonQtShell_QWheelEvent : public QWheelEvent ~PythonQtShell_QWheelEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QWheelEvent : public QObject @@ -252,7 +613,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidget : public QWidget @@ -459,6 +820,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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));} @@ -550,6 +912,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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); @@ -661,7 +1024,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction @@ -714,6 +1077,7 @@ 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; @@ -722,7 +1086,7 @@ QSize sizeHint() const override; QSpacerItem* spacerItem() override; QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem @@ -767,6 +1131,7 @@ void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } 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; @@ -800,7 +1165,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWindow : public QWindow @@ -851,6 +1216,7 @@ 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; @@ -922,6 +1288,7 @@ void delete_QWindow(QWindow* obj) { delete obj; } 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); @@ -940,6 +1307,7 @@ void delete_QWindow(QWindow* obj) { delete obj; } 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); @@ -1053,7 +1421,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizard : public QWizard @@ -1203,7 +1571,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizardPage : public QWizardPage diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 0e12ffab..a3f853a1 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -17,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -59,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -68,6 +72,152 @@ #include #include +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); } @@ -84,7 +234,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -106,7 +256,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -128,7 +278,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -150,7 +300,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -172,7 +322,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -194,7 +344,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -216,7 +366,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -249,7 +399,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -271,7 +421,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -293,7 +443,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -315,7 +465,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -337,7 +487,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -359,7 +509,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -381,7 +531,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -414,7 +564,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -447,7 +597,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -480,7 +630,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -502,7 +652,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -535,7 +685,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -557,7 +707,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -590,7 +740,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -623,7 +773,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -645,7 +795,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -667,7 +817,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -689,7 +839,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -722,7 +872,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -744,7 +894,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -766,7 +916,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -788,7 +938,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -821,7 +971,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -854,7 +1004,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -876,7 +1026,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -898,7 +1048,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -920,7 +1070,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -942,7 +1092,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -964,7 +1114,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -997,7 +1147,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1030,7 +1180,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1052,7 +1202,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1085,7 +1235,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1107,7 +1257,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1129,7 +1279,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1151,7 +1301,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1184,7 +1334,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1206,7 +1356,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1239,7 +1389,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1261,7 +1411,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1283,7 +1433,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1305,7 +1455,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1838,7 +1988,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1848,63 +1998,52 @@ if (_wrapper) { } QFormLayout::addItem(item0); } -int PythonQtShell_QFormLayout::count() const +void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::count(); + QFormLayout::childEvent(e0); } -Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const +QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; + 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("expandingDirections", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1912,32 +2051,32 @@ if (_wrapper) { } } } - return QFormLayout::expandingDirections(); + return QFormLayout::controlTypes(); } -bool PythonQtShell_QFormLayout::hasHeightForWidth() const +int PythonQtShell_QFormLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1945,87 +2084,87 @@ if (_wrapper) { } } } - return QFormLayout::hasHeightForWidth(); + return QFormLayout::count(); } -int PythonQtShell_QFormLayout::heightForWidth(int width0) const +void PythonQtShell_QFormLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&width0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::heightForWidth(width0); + QFormLayout::customEvent(event0); } -void PythonQtShell_QFormLayout::invalidate() +bool PythonQtShell_QFormLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFormLayout::invalidate(); + return QFormLayout::event(event0); } -QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const +bool PythonQtShell_QFormLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2033,32 +2172,32 @@ if (_wrapper) { } } } - return QFormLayout::itemAt(index0); + return QFormLayout::eventFilter(watched0, event1); } -QSize PythonQtShell_QFormLayout::minimumSize() const +Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("minimumSize", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2066,54 +2205,65 @@ if (_wrapper) { } } } - return QFormLayout::minimumSize(); + return QFormLayout::expandingDirections(); } -void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) +QRect PythonQtShell_QFormLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("geometry"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFormLayout::setGeometry(rect0); + return QFormLayout::geometry(); } -QSize PythonQtShell_QFormLayout::sizeHint() const +bool PythonQtShell_QFormLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2121,32 +2271,32 @@ if (_wrapper) { } } } - return QFormLayout::sizeHint(); + return QFormLayout::hasHeightForWidth(); } -QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) +int PythonQtShell_QFormLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + 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("takeAt", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2154,266 +2304,54 @@ if (_wrapper) { } } } - return QFormLayout::takeAt(index0); + return QFormLayout::heightForWidth(width0); } -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::addItem(QFormLayout* theWrappedObject, QLayoutItem* item) -{ - ( theWrappedObject->addItem(item)); -} - -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)); -} - -int PythonQtWrapper_QFormLayout::count(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -Qt::Orientations PythonQtWrapper_QFormLayout::expandingDirections(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -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::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const -{ - ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); -} - -bool PythonQtWrapper_QFormLayout::hasHeightForWidth(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QFormLayout::heightForWidth(QFormLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - -int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -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::invalidate(QFormLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemAt(index)); -} - -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, QWidget* field) const -{ - return ( theWrappedObject->labelForField(field)); -} - -QSize PythonQtWrapper_QFormLayout::minimumSize(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -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::setGeometry(QFormLayout* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -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::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)); -} - -QSize PythonQtWrapper_QFormLayout::sizeHint(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::takeAt(QFormLayout* theWrappedObject, int index) -{ - return ( theWrappedObject->takeAt(index)); -} - -int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - - - -PythonQtShell_QFrame::~PythonQtShell_QFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) +int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::actionEvent(event0); + return QFormLayout::indexOf(arg__1); } -void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) +void PythonQtShell_QFormLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2421,120 +2359,98 @@ if (_wrapper) { } } } - QFrame::changeEvent(arg__1); + QFormLayout::invalidate(); } -void PythonQtShell_QFrame::childEvent(QChildEvent* event0) +bool PythonQtShell_QFormLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::childEvent(event0); + return QFormLayout::isEmpty(); } -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) +QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::customEvent(event0); + return QFormLayout::itemAt(index0); } -int PythonQtShell_QFrame::devType() const +QLayout* PythonQtShell_QFormLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2542,109 +2458,120 @@ if (_wrapper) { } } } - 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); + return QFormLayout::layout(); } -void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) +QSize PythonQtShell_QFormLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("maximumSize"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::dragLeaveEvent(event0); + return QFormLayout::maximumSize(); } -void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) +int PythonQtShell_QFormLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::dragMoveEvent(event0); + return QFormLayout::minimumHeightForWidth(arg__1); } -void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) +QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("minimumSize"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::dropEvent(event0); + return QFormLayout::minimumSize(); } -void PythonQtShell_QFrame::enterEvent(QEvent* event0) +void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2652,32 +2579,32 @@ if (_wrapper) { } } } - QFrame::enterEvent(event0); + QFormLayout::setGeometry(rect0); } -bool PythonQtShell_QFrame::event(QEvent* e0) +QSize PythonQtShell_QFormLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2685,32 +2612,32 @@ if (_wrapper) { } } } - return QFrame::event(e0); + return QFormLayout::sizeHint(); } -bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) +QSpacerItem* PythonQtShell_QFormLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2718,54 +2645,32 @@ if (_wrapper) { } } } - 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); + return QFormLayout::spacerItem(); } -bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) +QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2773,21 +2678,21 @@ if (_wrapper) { } } } - return QFrame::focusNextPrevChild(next0); + return QFormLayout::takeAt(index0); } -void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2795,32 +2700,32 @@ if (_wrapper) { } } } - QFrame::focusOutEvent(event0); + QFormLayout::timerEvent(event0); } -bool PythonQtShell_QFrame::hasHeightForWidth() const +QWidget* PythonQtShell_QFormLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2828,54 +2733,264 @@ if (_wrapper) { } } } - return QFrame::hasHeightForWidth(); + return QFormLayout::widget(); } -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(); - } +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; } } - return QFrame::heightForWidth(arg__1); +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 PythonQtShell_QFrame::hideEvent(QHideEvent* event0) +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("hideEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2883,21 +2998,21 @@ if (_wrapper) { } } } - QFrame::hideEvent(event0); + QFrame::actionEvent(event0); } -void PythonQtShell_QFrame::initPainter(QPainter* painter0) const +void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2905,21 +3020,21 @@ if (_wrapper) { } } } - QFrame::initPainter(painter0); + QFrame::changeEvent(arg__1); } -void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2927,54 +3042,21 @@ if (_wrapper) { } } } - 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); + QFrame::childEvent(event0); } -void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2982,21 +3064,21 @@ if (_wrapper) { } } } - QFrame::keyPressEvent(event0); + QFrame::closeEvent(event0); } -void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3004,21 +3086,21 @@ if (_wrapper) { } } } - QFrame::keyReleaseEvent(event0); + QFrame::contextMenuEvent(event0); } -void PythonQtShell_QFrame::leaveEvent(QEvent* event0) +void PythonQtShell_QFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3026,65 +3108,32 @@ if (_wrapper) { } } } - 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); + QFrame::customEvent(event0); } -QSize PythonQtShell_QFrame::minimumSizeHint() const +int PythonQtShell_QFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3092,21 +3141,21 @@ if (_wrapper) { } } } - return QFrame::minimumSizeHint(); + return QFrame::devType(); } -void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3114,21 +3163,21 @@ if (_wrapper) { } } } - QFrame::mouseDoubleClickEvent(event0); + QFrame::dragEnterEvent(event0); } -void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3136,21 +3185,21 @@ if (_wrapper) { } } } - QFrame::mouseMoveEvent(event0); + QFrame::dragLeaveEvent(event0); } -void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3158,21 +3207,21 @@ if (_wrapper) { } } } - QFrame::mousePressEvent(event0); + QFrame::dragMoveEvent(event0); } -void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3180,21 +3229,21 @@ if (_wrapper) { } } } - QFrame::mouseReleaseEvent(event0); + QFrame::dropEvent(event0); } -void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) +void PythonQtShell_QFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3202,32 +3251,32 @@ if (_wrapper) { } } } - QFrame::moveEvent(event0); + QFrame::enterEvent(event0); } -bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3235,32 +3284,32 @@ if (_wrapper) { } } } - return QFrame::nativeEvent(eventType0, message1, result2); + return QFrame::event(e0); } -QPaintEngine* PythonQtShell_QFrame::paintEngine() const +bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3268,21 +3317,21 @@ if (_wrapper) { } } } - return QFrame::paintEngine(); + return QFrame::eventFilter(watched0, event1); } -void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3290,32 +3339,32 @@ if (_wrapper) { } } } - QFrame::paintEvent(arg__1); + QFrame::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const +bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3323,21 +3372,21 @@ if (_wrapper) { } } } - return QFrame::redirected(offset0); + return QFrame::focusNextPrevChild(next0); } -void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3345,54 +3394,65 @@ if (_wrapper) { } } } - QFrame::resizeEvent(event0); + QFrame::focusOutEvent(event0); } -void PythonQtShell_QFrame::setVisible(bool visible0) +bool PythonQtShell_QFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + 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(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::setVisible(visible0); + return QFrame::hasHeightForWidth(); } -QPainter* PythonQtShell_QFrame::sharedPainter() const +int PythonQtShell_QFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3400,21 +3460,21 @@ if (_wrapper) { } } } - return QFrame::sharedPainter(); + return QFrame::heightForWidth(arg__1); } -void PythonQtShell_QFrame::showEvent(QShowEvent* event0) +void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3422,54 +3482,43 @@ if (_wrapper) { } } } - QFrame::showEvent(event0); + QFrame::hideEvent(event0); } -QSize PythonQtShell_QFrame::sizeHint() const +void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("initPainter"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFrame::sizeHint(); + QFrame::initPainter(painter0); } -void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3477,43 +3526,54 @@ if (_wrapper) { } } } - QFrame::tabletEvent(event0); + QFrame::inputMethodEvent(arg__1); } -void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::timerEvent(event0); + return QFrame::inputMethodQuery(arg__1); } -void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3521,124 +3581,21 @@ if (_wrapper) { } } } - 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); } + QFrame::keyPressEvent(event0); } -void PythonQtShell_QGesture::childEvent(QChildEvent* event0) +void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3646,21 +3603,21 @@ if (_wrapper) { } } } - QGesture::childEvent(event0); + QFrame::keyReleaseEvent(event0); } -void PythonQtShell_QGesture::customEvent(QEvent* event0) +void PythonQtShell_QFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3668,32 +3625,32 @@ if (_wrapper) { } } } - QGesture::customEvent(event0); + QFrame::leaveEvent(event0); } -bool PythonQtShell_QGesture::event(QEvent* 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("event"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3701,32 +3658,32 @@ if (_wrapper) { } } } - return QGesture::event(event0); + return QFrame::metric(arg__1); } -bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) +QSize PythonQtShell_QFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3734,21 +3691,21 @@ if (_wrapper) { } } } - return QGesture::eventFilter(watched0, event1); + return QFrame::minimumSizeHint(); } -void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) +void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3756,190 +3713,120 @@ if (_wrapper) { } } } - 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; + QFrame::mouseDoubleClickEvent(event0); } -QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const +void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) { - 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)); +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(); + } + } } - -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const -{ - return ( theWrappedObject->isAccepted(arg__1)); + QFrame::mouseMoveEvent(event0); } - -QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const +void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); +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(); + } + } } - -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) -{ - ( theWrappedObject->setAccepted(arg__1, arg__2)); + QFrame::mousePressEvent(event0); } - -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) +void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->setAccepted(arg__1, arg__2)); +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(); + } + } } - -void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); + QFrame::mouseReleaseEvent(event0); } - -QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const +void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->widget()); -} - -QString PythonQtWrapper_QGestureEvent::py_toString(QGestureEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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(); + } + } } - - - -PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFrame::moveEvent(event0); } -QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) +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("create"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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("create", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QGesture**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3947,32 +3834,32 @@ if (_wrapper) { } } } - return QGestureRecognizer::create(target0); + return QFrame::nativeEvent(eventType0, message1, result2); } -QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) +QPaintEngine* PythonQtShell_QFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("recognize"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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("recognize", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QGestureRecognizer::Result*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3980,21 +3867,21 @@ if (_wrapper) { } } } - return QGestureRecognizer::Result(); + return QFrame::paintEngine(); } -void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) +void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGesture*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&state0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4002,3279 +3889,32 @@ if (_wrapper) { } } } - QGestureRecognizer::reset(state0); -} -QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() -{ -return new PythonQtShell_QGestureRecognizer(); } - -QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) -{ - return ( theWrappedObject->create(target)); + QFrame::paintEvent(arg__1); } - -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::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 +QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&variant0}; + 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("extension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7282,255 +3922,98 @@ if (_wrapper) { } } } - 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); + return QFrame::redirected(offset0); } -QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("resizeEvent"); 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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::inputMethodQuery(query0); + QFrame::resizeEvent(event0); } -bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&item0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::isObscuredBy(item0); + QFrame::setVisible(visible0); } -QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QPainter* PythonQtShell_QFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("itemChange", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsItem::itemChange(change0, value1); + return QFrame::sharedPainter(); } -void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7538,43 +4021,54 @@ if (_wrapper) { } } } - QGraphicsItem::keyPressEvent(event0); + QFrame::showEvent(event0); } -void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) +QSize PythonQtShell_QFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::keyReleaseEvent(event0); + return QFrame::sizeHint(); } -void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7582,21 +4076,21 @@ if (_wrapper) { } } } - QGraphicsItem::mouseDoubleClickEvent(event0); + QFrame::tabletEvent(event0); } -void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7604,21 +4098,21 @@ if (_wrapper) { } } } - QGraphicsItem::mouseMoveEvent(event0); + QFrame::timerEvent(event0); } -void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7626,76 +4120,146 @@ if (_wrapper) { } } } - QGraphicsItem::mousePressEvent(event0); + QFrame::wheelEvent(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(); - } +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; } } - QGraphicsItem::mouseReleaseEvent(event0); +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; } -QPainterPath PythonQtShell_QGraphicsItem::opaqueArea() const +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("opaqueArea"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::opaqueArea(); + QGesture::childEvent(event0); } -void PythonQtShell_QGraphicsItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7703,14 +4267,14 @@ if (_wrapper) { } } } - + QGesture::customEvent(event0); } -bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) +bool PythonQtShell_QGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; @@ -7722,13 +4286,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7736,17 +4300,17 @@ if (_wrapper) { } } } - return QGraphicsItem::sceneEvent(event0); + return QGesture::event(event0); } -bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; @@ -7755,13 +4319,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7769,21 +4333,21 @@ if (_wrapper) { } } } - return QGraphicsItem::sceneEventFilter(watched0, event1); + return QGesture::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7791,65 +4355,190 @@ if (_wrapper) { } } } - QGraphicsItem::setExtension(extension0, variant1); + QGesture::timerEvent(event0); } -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(); - } +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; } } - return QGraphicsItem::shape(); +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; } -bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const +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("supportsExtension"); + static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"QGesture*" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&extension0}; + 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("supportsExtension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QGesture**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7857,32 +4546,32 @@ if (_wrapper) { } } } - return QGraphicsItem::supportsExtension(extension0); + return QGestureRecognizer::create(target0); } -int PythonQtShell_QGraphicsItem::type() const +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("type"); + static PyObject* name = PyString_FromString("recognize"); 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}; + 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("type", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QGestureRecognizer::Result*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7890,21 +4579,21 @@ if (_wrapper) { } } } - return QGraphicsItem::type(); + return QGestureRecognizer::Result(); } -void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGesture*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7912,1063 +4601,2627 @@ if (_wrapper) { } } } - QGraphicsItem::wheelEvent(event0); + QGestureRecognizer::reset(state0); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent) +QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() { -return new PythonQtShell_QGraphicsItem(parent); } +return new PythonQtShell_QGestureRecognizer(); } -bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const +QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) { - return ( theWrappedObject->acceptDrops()); + return ( theWrappedObject->create(target)); } -bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const +QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) { - return ( theWrappedObject->acceptHoverEvents()); + return ( theWrappedObject->recognize(state, watched, event)); } -bool PythonQtWrapper_QGraphicsItem::acceptTouchEvents(QGraphicsItem* theWrappedObject) const +Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) { - return ( theWrappedObject->acceptTouchEvents()); + return (QGestureRecognizer::registerRecognizer(recognizer)); } -Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) { - return ( theWrappedObject->acceptedMouseButtons()); + ( theWrappedObject->reset(state)); } -void PythonQtWrapper_QGraphicsItem::addToIndex(QGraphicsItem* theWrappedObject) +void PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_addToIndex()); + (QGestureRecognizer::unregisterRecognizer(type)); } -void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) + + +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 { - ( theWrappedObject->advance(phase)); + return ( theWrappedObject->boundingRect()); } -QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGlyphRun::clear(QGlyphRun* theWrappedObject) { - return ( theWrappedObject->boundingRect()); + ( theWrappedObject->clear()); } -QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const +QGlyphRun::GlyphRunFlags PythonQtWrapper_QGlyphRun::flags(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); + return ( theWrappedObject->flags()); } -qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const +QVector PythonQtWrapper_QGlyphRun::glyphIndexes(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->boundingRegionGranularity()); + return ( theWrappedObject->glyphIndexes()); } -QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::isEmpty(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->cacheMode()); + return ( theWrappedObject->isEmpty()); } -QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::isRightToLeft(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->childItems()); + return ( theWrappedObject->isRightToLeft()); } -QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::__ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const { - return ( theWrappedObject->childrenBoundingRect()); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) +QGlyphRun* PythonQtWrapper_QGlyphRun::operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other) { - ( theWrappedObject->clearFocus()); + return &( (*theWrappedObject)= other); } -QPainterPath PythonQtWrapper_QGraphicsItem::clipPath(QGraphicsItem* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::__eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const { - return ( theWrappedObject->clipPath()); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +bool PythonQtWrapper_QGlyphRun::overline(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->collidesWithItem(other, mode)); + return ( theWrappedObject->overline()); } -bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +QVector PythonQtWrapper_QGlyphRun::positions(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->collidesWithPath(path, mode)); + return ( theWrappedObject->positions()); } -QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const +QRawFont PythonQtWrapper_QGlyphRun::rawFont(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->collidingItems(mode)); + return ( theWrappedObject->rawFont()); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const +void PythonQtWrapper_QGlyphRun::setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect) { - return ( theWrappedObject->commonAncestorItem(other)); + ( theWrappedObject->setBoundingRect(boundingRect)); } -bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QGlyphRun::setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled) { - return ( theWrappedObject->contains(point)); + ( theWrappedObject->setFlag(flag, enabled)); } -void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +void PythonQtWrapper_QGlyphRun::setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); + ( theWrappedObject->setFlags(flags)); } -QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGlyphRun::setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes) { - return ( theWrappedObject->cursor()); + ( theWrappedObject->setGlyphIndexes(glyphIndexes)); } -QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const +void PythonQtWrapper_QGlyphRun::setOverline(QGlyphRun* theWrappedObject, bool overline) { - return ( theWrappedObject->data(key)); + ( theWrappedObject->setOverline(overline)); } -QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const +void PythonQtWrapper_QGlyphRun::setPositions(QGlyphRun* theWrappedObject, const QVector& positions) { - return ( theWrappedObject->deviceTransform(viewportTransform)); + ( theWrappedObject->setPositions(positions)); } -void PythonQtWrapper_QGraphicsItem::dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGlyphRun::setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragEnterEvent(event)); + ( theWrappedObject->setRawData(glyphIndexArray, glyphPositionArray, size)); } -void PythonQtWrapper_QGraphicsItem::dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGlyphRun::setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); + ( theWrappedObject->setRawFont(rawFont)); } -void PythonQtWrapper_QGraphicsItem::dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGlyphRun::setRightToLeft(QGlyphRun* theWrappedObject, bool on) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragMoveEvent(event)); + ( theWrappedObject->setRightToLeft(on)); } -void PythonQtWrapper_QGraphicsItem::dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QGlyphRun::setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dropEvent(event)); + ( theWrappedObject->setStrikeOut(strikeOut)); } -qreal PythonQtWrapper_QGraphicsItem::effectiveOpacity(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGlyphRun::setUnderline(QGlyphRun* theWrappedObject, bool underline) { - return ( theWrappedObject->effectiveOpacity()); + ( theWrappedObject->setUnderline(underline)); } -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +bool PythonQtWrapper_QGlyphRun::strikeOut(QGlyphRun* theWrappedObject) const { - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); + return ( theWrappedObject->strikeOut()); } -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +void PythonQtWrapper_QGlyphRun::swap(QGlyphRun* theWrappedObject, QGlyphRun& other) { - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); + ( theWrappedObject->swap(other)); } -QVariant PythonQtWrapper_QGraphicsItem::extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const +bool PythonQtWrapper_QGlyphRun::underline(QGlyphRun* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_extension(variant)); + 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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::filtersChildEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->filtersChildEvents()); + return QGraphicsAnchorLayout::count(); } - -QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { - return ( theWrappedObject->flags()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusInEvent(event)); + QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusItem(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsAnchorLayout::invalidate() { - return ( theWrappedObject->focusItem()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusOutEvent(event)); + QGraphicsAnchorLayout::invalidate(); } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusProxy(QGraphicsItem* theWrappedObject) const +QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const { - return ( theWrappedObject->focusProxy()); +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(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusScopeItem(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->focusScopeItem()); + return QGraphicsAnchorLayout::itemAt(index0); } - -void PythonQtWrapper_QGraphicsItem::grabKeyboard(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { - ( theWrappedObject->grabKeyboard()); +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 PythonQtWrapper_QGraphicsItem::grabMouse(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->grabMouse()); + QGraphicsAnchorLayout::removeAt(index0); } - -QGraphicsEffect* PythonQtWrapper_QGraphicsItem::graphicsEffect(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) { - return ( theWrappedObject->graphicsEffect()); +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(); + } + } } - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->group()); + QGraphicsAnchorLayout::setGeometry(rect0); } - -bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const +QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { - return ( theWrappedObject->handlesChildEvents()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->hasCursor()); + return QGraphicsAnchorLayout::sizeHint(which0, constraint1); } - -bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { - return ( theWrappedObject->hasFocus()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->hide()); + QGraphicsAnchorLayout::updateGeometry(); } - -void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); + QGraphicsAnchorLayout::widgetEvent(e0); } +QGraphicsAnchorLayout* PythonQtWrapper_QGraphicsAnchorLayout::new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent) +{ +return new PythonQtShell_QGraphicsAnchorLayout(parent); } -void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); + return ( theWrappedObject->addAnchor(firstItem, firstEdge, secondItem, secondEdge)); } -void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) +void PythonQtWrapper_QGraphicsAnchorLayout::addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); + ( theWrappedObject->addAnchors(firstItem, secondItem, orientations)); } -Qt::InputMethodHints PythonQtWrapper_QGraphicsItem::inputMethodHints(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsAnchorLayout::addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner) { - return ( theWrappedObject->inputMethodHints()); + ( theWrappedObject->addCornerAnchors(firstItem, firstCorner, secondItem, secondCorner)); } -QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const +QGraphicsAnchor* PythonQtWrapper_QGraphicsAnchorLayout::anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge) { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); + return ( theWrappedObject->anchor(firstItem, firstEdge, secondItem, secondEdge)); } -void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +qreal PythonQtWrapper_QGraphicsAnchorLayout::horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const { - ( theWrappedObject->installSceneEventFilter(filterItem)); + return ( theWrappedObject->horizontalSpacing()); } -bool PythonQtWrapper_QGraphicsItem::isActive(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsAnchorLayout::setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) { - return ( theWrappedObject->isActive()); + ( theWrappedObject->setHorizontalSpacing(spacing)); } -bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const +void PythonQtWrapper_QGraphicsAnchorLayout::setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) { - return ( theWrappedObject->isAncestorOf(child)); + ( theWrappedObject->setSpacing(spacing)); } -bool PythonQtWrapper_QGraphicsItem::isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel) const +void PythonQtWrapper_QGraphicsAnchorLayout::setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing) { - return ( theWrappedObject->isBlockedByModalPanel(blockingPanel)); + ( theWrappedObject->setVerticalSpacing(spacing)); } -bool PythonQtWrapper_QGraphicsItem::isClipped(QGraphicsItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const { - return ( theWrappedObject->isClipped()); + return ( theWrappedObject->verticalSpacing()); } -bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const + + +PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const { - return ( theWrappedObject->isEnabled()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const + return QGraphicsBlurEffect::boundingRectFor(rect0); +} +void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* event0) { - return ( theWrappedObject->isObscured(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const + QGraphicsBlurEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* event0) { - return ( theWrappedObject->isObscured(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const + QGraphicsBlurEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { - return ( theWrappedObject->isObscuredBy(item)); +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 PythonQtWrapper_QGraphicsItem::isPanel(QGraphicsItem* theWrappedObject) const + QGraphicsBlurEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* event0) { - return ( theWrappedObject->isPanel()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const + return QGraphicsBlurEffect::event(event0); +} +bool PythonQtShell_QGraphicsBlurEffect::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->isSelected()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const + return QGraphicsBlurEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { - return ( theWrappedObject->isUnderMouse()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const + QGraphicsBlurEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->isVisible()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const -{ - return ( theWrappedObject->isVisibleTo(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; } - -bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const +QGraphicsBlurEffect::BlurHints PythonQtWrapper_QGraphicsBlurEffect::blurHints(QGraphicsBlurEffect* theWrappedObject) const { - return ( theWrappedObject->isWidget()); + return ( theWrappedObject->blurHints()); } -bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsBlurEffect::blurRadius(QGraphicsBlurEffect* theWrappedObject) const { - return ( theWrappedObject->isWindow()); + return ( theWrappedObject->blurRadius()); } -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)); +PythonQtShell_QGraphicsColorizeEffect::~PythonQtShell_QGraphicsColorizeEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromItem(item, path)); + return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const +void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* event0) { - return ( theWrappedObject->mapFromItem(item, point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromItem(item, polygon)); + QGraphicsColorizeEffect::childEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* event0) { - return ( theWrappedObject->mapFromItem(item, rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const + QGraphicsColorizeEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { - return ( theWrappedObject->mapFromItem(item, x, y)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const + QGraphicsColorizeEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* event0) { - return ( theWrappedObject->mapFromItem(item, x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const + return QGraphicsColorizeEffect::event(event0); +} +bool PythonQtShell_QGraphicsColorizeEffect::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->mapFromParent(path)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const + return QGraphicsColorizeEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { - return ( theWrappedObject->mapFromParent(point)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const + QGraphicsColorizeEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->mapFromParent(polygon)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromParent(rect)); +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; } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +QColor PythonQtWrapper_QGraphicsColorizeEffect::color(QGraphicsColorizeEffect* theWrappedObject) const { - return ( theWrappedObject->mapFromParent(x, y)); + return ( theWrappedObject->color()); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +qreal PythonQtWrapper_QGraphicsColorizeEffect::strength(QGraphicsColorizeEffect* theWrappedObject) const { - return ( theWrappedObject->mapFromParent(x, y, w, h)); + return ( theWrappedObject->strength()); } -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)); +PythonQtShell_QGraphicsDropShadowEffect::~PythonQtShell_QGraphicsDropShadowEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const { - return ( theWrappedObject->mapFromScene(rect)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromScene(x, y)); + return QGraphicsDropShadowEffect::boundingRectFor(rect0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* event0) { - return ( theWrappedObject->mapFromScene(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectFromItem(item, rect)); + QGraphicsDropShadowEffect::childEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* event0) { - return ( theWrappedObject->mapRectFromItem(item, x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const + QGraphicsDropShadowEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) { - return ( theWrappedObject->mapRectFromParent(rect)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const + QGraphicsDropShadowEffect::draw(painter0); +} +bool PythonQtShell_QGraphicsDropShadowEffect::event(QEvent* event0) { - return ( theWrappedObject->mapRectFromParent(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const + return QGraphicsDropShadowEffect::event(event0); +} +bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->mapRectFromScene(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const + return QGraphicsDropShadowEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { - return ( theWrappedObject->mapRectFromScene(x, y, w, h)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const + QGraphicsDropShadowEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->mapRectToItem(item, rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -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)); +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; } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const +qreal PythonQtWrapper_QGraphicsDropShadowEffect::blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const { - return ( theWrappedObject->mapRectToParent(rect)); + return ( theWrappedObject->blurRadius()); } -QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +QColor PythonQtWrapper_QGraphicsDropShadowEffect::color(QGraphicsDropShadowEffect* theWrappedObject) const { - return ( theWrappedObject->mapRectToParent(x, y, w, h)); + return ( theWrappedObject->color()); } -QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +QPointF PythonQtWrapper_QGraphicsDropShadowEffect::offset(QGraphicsDropShadowEffect* theWrappedObject) const { - return ( theWrappedObject->mapRectToScene(rect)); + return ( theWrappedObject->offset()); } -QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +qreal PythonQtWrapper_QGraphicsDropShadowEffect::xOffset(QGraphicsDropShadowEffect* theWrappedObject) const { - return ( theWrappedObject->mapRectToScene(x, y, w, h)); + return ( theWrappedObject->xOffset()); } -QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +qreal PythonQtWrapper_QGraphicsDropShadowEffect::yOffset(QGraphicsDropShadowEffect* theWrappedObject) const { - return ( theWrappedObject->mapToItem(item, path)); + return ( theWrappedObject->yOffset()); } -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 + +PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const { - return ( theWrappedObject->mapToItem(item, polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const + return QGraphicsEffect::boundingRectFor(sourceRect0); +} +void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* event0) { - return ( theWrappedObject->mapToItem(item, rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const + QGraphicsEffect::childEvent(event0); +} +void PythonQtShell_QGraphicsEffect::customEvent(QEvent* event0) { - return ( theWrappedObject->mapToItem(item, x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const + QGraphicsEffect::customEvent(event0); +} +void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { - return ( theWrappedObject->mapToItem(item, x, y, w, h)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const + +} +bool PythonQtShell_QGraphicsEffect::event(QEvent* event0) { - return ( theWrappedObject->mapToParent(path)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const + return QGraphicsEffect::event(event0); +} +bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->mapToParent(point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const + return QGraphicsEffect::eventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { - return ( theWrappedObject->mapToParent(polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const + QGraphicsEffect::sourceChanged(flags0); +} +void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->mapToParent(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapToParent(x, y)); +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; } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +QRectF PythonQtWrapper_QGraphicsEffect::boundingRect(QGraphicsEffect* theWrappedObject) const { - return ( theWrappedObject->mapToParent(x, y, w, h)); + return ( theWrappedObject->boundingRect()); } -QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +QRectF PythonQtWrapper_QGraphicsEffect::boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const { - return ( theWrappedObject->mapToScene(path)); + return ( theWrappedObject->boundingRectFor(sourceRect)); } -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QGraphicsEffect::draw(QGraphicsEffect* theWrappedObject, QPainter* painter) { - return ( theWrappedObject->mapToScene(point)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_draw(painter)); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +void PythonQtWrapper_QGraphicsEffect::drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter) { - return ( theWrappedObject->mapToScene(polygon)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_drawSource(painter)); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const { - return ( theWrappedObject->mapToScene(rect)); + return ( theWrappedObject->isEnabled()); } -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +QRectF PythonQtWrapper_QGraphicsEffect::sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system) const { - return ( theWrappedObject->mapToScene(x, y)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceBoundingRect(system)); } -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) { - return ( theWrappedObject->mapToScene(x, y, w, h)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); } -void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +bool PythonQtWrapper_QGraphicsEffect::sourceIsPixmap(QGraphicsEffect* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceIsPixmap()); } -void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +QPixmap PythonQtWrapper_QGraphicsEffect::sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system, QPoint* offset, QGraphicsEffect::PixmapPadMode mode) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourcePixmap(system, offset, mode)); } -void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtWrapper_QGraphicsEffect::updateBoundingRect(QGraphicsEffect* theWrappedObject) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_updateBoundingRect()); } -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()); +PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::advance(int phase0) { - return ( theWrappedObject->opaqueArea()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); + QGraphicsEllipseItem::advance(phase0); } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::panel(QGraphicsItem* theWrappedObject) const +QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { - return ( theWrappedObject->panel()); +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(); + } + } } - -QGraphicsItem::PanelModality PythonQtWrapper_QGraphicsItem::panelModality(QGraphicsItem* theWrappedObject) const + return QGraphicsEllipseItem::boundingRect(); +} +bool PythonQtShell_QGraphicsEllipseItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->panelModality()); +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(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const + return QGraphicsEllipseItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsEllipseItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->parentItem()); +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(); + } + } } - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const + return QGraphicsEllipseItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { - return ( theWrappedObject->parentWidget()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const + return QGraphicsEllipseItem::contains(point0); +} +void PythonQtShell_QGraphicsEllipseItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - return ( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) + QGraphicsEllipseItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); +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 PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) -{ - ( theWrappedObject->removeSceneEventFilter(filterItem)); + QGraphicsEllipseItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) +void PythonQtShell_QGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->resetTransform()); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->rotation()); + QGraphicsEllipseItem::dragMoveEvent(event0); } - -qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->scale()); +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* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scene()); + QGraphicsEllipseItem::dropEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const +QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const { - return ( theWrappedObject->sceneBoundingRect()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); + return QGraphicsEllipseItem::extension(variant0); } - -bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) +void PythonQtShell_QGraphicsEllipseItem::focusInEvent(QFocusEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsEllipseItem::focusInEvent(event0); } - -QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->sceneTransform()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) -{ - ( theWrappedObject->scroll(dx, dy, rect)); + QGraphicsEllipseItem::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) +void PythonQtShell_QGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setAcceptDrops(on)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAcceptHoverEvents(enabled)); + QGraphicsEllipseItem::hoverEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtShell_QGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setAcceptTouchEvents(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setAcceptedMouseButtons(buttons)); + QGraphicsEllipseItem::hoverLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) +void PythonQtShell_QGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setActive(active)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) -{ - ( theWrappedObject->setBoundingRegionGranularity(granularity)); + QGraphicsEllipseItem::hoverMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) +void PythonQtShell_QGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent* event0) { - ( theWrappedObject->setCacheMode(mode, cacheSize)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) -{ - ( theWrappedObject->setCursor(cursor)); + QGraphicsEllipseItem::inputMethodEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) +QVariant PythonQtShell_QGraphicsEllipseItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - ( theWrappedObject->setData(key, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setEnabled(enabled)); + return QGraphicsEllipseItem::inputMethodQuery(query0); } - -void PythonQtWrapper_QGraphicsItem::setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant) +bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setFiltersChildEvents(enabled)); + return QGraphicsEllipseItem::isObscuredBy(item0); } - -void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) +QVariant PythonQtShell_QGraphicsEllipseItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - ( theWrappedObject->setFlag(flag, enabled)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); + return QGraphicsEllipseItem::itemChange(change0, value1); } - -void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) +void PythonQtShell_QGraphicsEllipseItem::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->setFocus(focusReason)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->setFocusProxy(item)); + QGraphicsEllipseItem::keyPressEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) +void PythonQtShell_QGraphicsEllipseItem::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->setGraphicsEffect(effect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) -{ - ( theWrappedObject->setGroup(group)); + QGraphicsEllipseItem::keyReleaseEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtShell_QGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setHandlesChildEvents(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) -{ - ( theWrappedObject->setInputMethodHints(hints)); + QGraphicsEllipseItem::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) +void PythonQtShell_QGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setOpacity(opacity)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) -{ - ( theWrappedObject->setPanelModality(panelModality)); + QGraphicsEllipseItem::mouseMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent) +void PythonQtShell_QGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setParentItem(parent)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); + QGraphicsEllipseItem::mousePressEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) +void PythonQtShell_QGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setPos(x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) -{ - ( theWrappedObject->setRotation(angle)); + QGraphicsEllipseItem::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) +QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { - ( theWrappedObject->setScale(scale)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) -{ - ( theWrappedObject->setSelected(selected)); + return QGraphicsEllipseItem::opaqueArea(); } - -void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) +void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( theWrappedObject->setToolTip(toolTip)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) -{ - ( theWrappedObject->setTransform(matrix, combine)); + QGraphicsEllipseItem::paint(painter0, option1, widget2); } - -void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) +bool PythonQtShell_QGraphicsEllipseItem::sceneEvent(QEvent* event0) { - ( theWrappedObject->setTransformOriginPoint(origin)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) -{ - ( theWrappedObject->setTransformOriginPoint(ax, ay)); + return QGraphicsEllipseItem::sceneEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) +bool PythonQtShell_QGraphicsEllipseItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - ( theWrappedObject->setTransformations(transformations)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) -{ - ( theWrappedObject->setVisible(visible)); + return QGraphicsEllipseItem::sceneEventFilter(watched0, event1); } - -void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) +void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - ( theWrappedObject->setX(x)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) -{ - ( theWrappedObject->setY(y)); + QGraphicsEllipseItem::setExtension(extension0, variant1); } - -void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) +QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const { - ( theWrappedObject->setZValue(z)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); + return QGraphicsEllipseItem::shape(); } - -void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const { - ( theWrappedObject->show()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) -{ - ( theWrappedObject->stackBefore(sibling)); + return QGraphicsEllipseItem::supportsExtension(extension0); } - -bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const +int PythonQtShell_QGraphicsEllipseItem::type() const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); +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(); + } + } } - -QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); + return QGraphicsEllipseItem::type(); } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return ( theWrappedObject->topLevelItem()); +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* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->topLevelWidget()); + QGraphicsEllipseItem::wheelEvent(event0); } +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(parent); } -QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->transform()); -} +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } -QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->transformOriginPoint()); -} +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } -QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const { - return ( theWrappedObject->transformations()); + return ( theWrappedObject->rect()); } -int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->type()); + ( theWrappedObject->setRect(rect)); } -void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) +void PythonQtWrapper_QGraphicsEllipseItem::setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - ( theWrappedObject->ungrabKeyboard()); + ( theWrappedObject->setRect(x, y, w, h)); } -void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) +void PythonQtWrapper_QGraphicsEllipseItem::setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle) { - ( theWrappedObject->ungrabMouse()); + ( theWrappedObject->setSpanAngle(angle)); } -void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) +void PythonQtWrapper_QGraphicsEllipseItem::setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle) { - ( theWrappedObject->unsetCursor()); + ( theWrappedObject->setStartAngle(angle)); } -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) +int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const { - ( theWrappedObject->update(rect)); + return ( theWrappedObject->spanAngle()); } -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) +int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const { - ( theWrappedObject->update(x, y, width, height)); + return ( theWrappedObject->startAngle()); } -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()); +PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const +int PythonQtShell_QGraphicsGridLayout::count() const { - return ( theWrappedObject->x()); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->y()); + return QGraphicsGridLayout::count(); } - -qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const { - return ( theWrappedObject->zValue()); -} - -QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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(); + } + } } - - - -PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) +void PythonQtShell_QGraphicsGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("afterAnimationStep"); + static PyObject* name = PyString_FromString("invalidate"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8976,43 +7229,54 @@ if (_wrapper) { } } } - QGraphicsItemAnimation::afterAnimationStep(step0); + QGraphicsGridLayout::invalidate(); } -void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) +QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beforeAnimationStep"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal"}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&step0}; + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemAnimation::beforeAnimationStep(step0); + return QGraphicsGridLayout::itemAt(index0); } -void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9020,21 +7284,21 @@ if (_wrapper) { } } } - QGraphicsItemAnimation::childEvent(event0); + QGraphicsGridLayout::removeAt(index0); } -void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9042,32 +7306,32 @@ if (_wrapper) { } } } - QGraphicsItemAnimation::customEvent(event0); + QGraphicsGridLayout::setGeometry(rect0); } -bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) +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("event"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9075,54 +7339,43 @@ if (_wrapper) { } } } - return QGraphicsItemAnimation::event(event0); + return QGraphicsGridLayout::sizeHint(which0, constraint1); } -bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QGraphicsGridLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemAnimation::eventFilter(watched0, event1); + QGraphicsGridLayout::updateGeometry(); } -void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9130,162 +7383,214 @@ if (_wrapper) { } } } - QGraphicsItemAnimation::timerEvent(event0); + QGraphicsGridLayout::widgetEvent(e0); } -QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) +QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) { -return new PythonQtShell_QGraphicsItemAnimation(parent); } +return new PythonQtShell_QGraphicsGridLayout(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; - } +void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment) +{ + ( theWrappedObject->addItem(item, row, column, alignment)); } -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_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)); } -void PythonQtWrapper_QGraphicsItemAnimation::afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) + +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const { - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_afterAnimationStep(step)); + return ( theWrappedObject->alignment(item)); } -void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const { - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); + return ( theWrappedObject->columnAlignment(column)); } -void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) +int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->columnCount()); } -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->horizontalScaleAt(step)); + return ( theWrappedObject->columnMaximumWidth(column)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->horizontalShearAt(step)); + return ( theWrappedObject->columnMinimumWidth(column)); } -QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->item()); + return ( theWrappedObject->columnPreferredWidth(column)); } -QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->matrixAt(step)); + return ( theWrappedObject->columnSpacing(column)); } -QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const { - return ( theWrappedObject->posAt(step)); + return ( theWrappedObject->columnStretchFactor(column)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const { - return ( theWrappedObject->posList()); + return ( theWrappedObject->horizontalSpacing()); } -qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const { - return ( theWrappedObject->rotationAt(step)); + return ( theWrappedObject->itemAt(row, column)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) { - return ( theWrappedObject->rotationList()); + ( theWrappedObject->removeItem(item)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const { - return ( theWrappedObject->scaleList()); + return ( theWrappedObject->rowAlignment(row)); } -void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) +int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const { - ( theWrappedObject->setItem(item)); + return ( theWrappedObject->rowCount()); } -void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) +qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setPosAt(step, pos)); + return ( theWrappedObject->rowMaximumHeight(row)); } -void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) +qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setRotationAt(step, angle)); + return ( theWrappedObject->rowMinimumHeight(row)); } -void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) +qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setScaleAt(step, sx, sy)); + return ( theWrappedObject->rowPreferredHeight(row)); } -void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) +qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setShearAt(step, sh, sv)); + return ( theWrappedObject->rowSpacing(row)); } -void PythonQtWrapper_QGraphicsItemAnimation::setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine) +int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const { - ( theWrappedObject->setTimeLine(timeLine)); + return ( theWrappedObject->rowStretchFactor(row)); } -void PythonQtWrapper_QGraphicsItemAnimation::setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy) +void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) { - ( theWrappedObject->setTranslationAt(step, dx, dy)); + ( theWrappedObject->setAlignment(item, alignment)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::shearList(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) { - return ( theWrappedObject->shearList()); + ( theWrappedObject->setColumnAlignment(column, alignment)); } -QTimeLine* PythonQtWrapper_QGraphicsItemAnimation::timeLine(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - return ( theWrappedObject->timeLine()); + ( theWrappedObject->setColumnFixedWidth(column, width)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::translationList(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - return ( theWrappedObject->translationList()); + ( theWrappedObject->setColumnMaximumWidth(column, width)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - return ( theWrappedObject->verticalScaleAt(step)); + ( theWrappedObject->setColumnMinimumWidth(column, width)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) { - return ( theWrappedObject->verticalShearAt(step)); + ( theWrappedObject->setColumnPreferredWidth(column, width)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) { - return ( theWrappedObject->xTranslationAt(step)); + ( theWrappedObject->setColumnSpacing(column, spacing)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) { - return ( theWrappedObject->yTranslationAt(step)); + ( 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)); +} -PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { +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_QGraphicsItemGroup::advance(int phase0) +void PythonQtShell_QGraphicsItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9297,7 +7602,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9305,9 +7610,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::advance(phase0); + QGraphicsItem::advance(phase0); } -QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const +QRectF PythonQtShell_QGraphicsItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9330,7 +7635,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9338,9 +7643,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::boundingRect(); + return QRectF(); } -bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9363,7 +7668,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9371,9 +7676,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::collidesWithItem(other0, mode1); + return QGraphicsItem::collidesWithItem(other0, mode1); } -bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9396,7 +7701,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9404,9 +7709,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::collidesWithPath(path0, mode1); + return QGraphicsItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9429,7 +7734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9437,9 +7742,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::contains(point0); + return QGraphicsItem::contains(point0); } -void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9451,7 +7756,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9459,9 +7764,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::contextMenuEvent(event0); + QGraphicsItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9473,7 +7778,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9481,9 +7786,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragEnterEvent(event0); + QGraphicsItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9495,7 +7800,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9503,9 +7808,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragLeaveEvent(event0); + QGraphicsItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9517,7 +7822,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9525,9 +7830,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragMoveEvent(event0); + QGraphicsItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9539,7 +7844,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9547,9 +7852,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dropEvent(event0); + QGraphicsItem::dropEvent(event0); } -QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const +QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9572,7 +7877,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9580,9 +7885,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::extension(variant0); + return QGraphicsItem::extension(variant0); } -void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9594,7 +7899,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9602,9 +7907,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::focusInEvent(event0); + QGraphicsItem::focusInEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9616,7 +7921,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9624,9 +7929,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::focusOutEvent(event0); + QGraphicsItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9638,7 +7943,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9646,9 +7951,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::hoverEnterEvent(event0); + QGraphicsItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9660,7 +7965,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9668,9 +7973,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::hoverLeaveEvent(event0); + QGraphicsItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9682,7 +7987,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9690,9 +7995,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::hoverMoveEvent(event0); + QGraphicsItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9704,7 +8009,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9712,9 +8017,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::inputMethodEvent(event0); + QGraphicsItem::inputMethodEvent(event0); } -QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9737,7 +8042,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9745,9 +8050,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::inputMethodQuery(query0); + return QGraphicsItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9770,7 +8075,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9778,9 +8083,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::isObscuredBy(item0); + return QGraphicsItem::isObscuredBy(item0); } -QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9803,7 +8108,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -9814,9 +8119,9 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::itemChange(change0, value1); + return QGraphicsItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9828,7 +8133,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9836,9 +8141,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::keyPressEvent(event0); + QGraphicsItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9850,7 +8155,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9858,9 +8163,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::keyReleaseEvent(event0); + QGraphicsItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9872,7 +8177,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9880,9 +8185,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::mouseDoubleClickEvent(event0); + QGraphicsItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9894,7 +8199,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9902,9 +8207,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::mouseMoveEvent(event0); + QGraphicsItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9916,7 +8221,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9924,9 +8229,9 @@ if (_wrapper) { } } } - QGraphicsItemGroup::mousePressEvent(event0); + QGraphicsItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9938,40 +8243,249 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + 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; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::mouseReleaseEvent(event0); + return QGraphicsItem::supportsExtension(extension0); } -QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const +int PythonQtShell_QGraphicsItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9979,1870 +8493,1095 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::opaqueArea(); + return QGraphicsItem::type(); } -void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +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 { -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(); - } - } + return ( theWrappedObject->handlesChildEvents()); } - QGraphicsItemGroup::paint(painter0, option1, widget2); + +bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->hasCursor()); } -bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) + +bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const { -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 ( theWrappedObject->hasFocus()); } - return QGraphicsItemGroup::sceneEvent(event0); + +void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->hide()); } -bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) + +void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); } - return QGraphicsItemGroup::sceneEventFilter(watched0, event1); + +void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); } -void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) + +void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); } - QGraphicsItemGroup::setExtension(extension0, variant1); + +void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); } -QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const + +Qt::InputMethodHints PythonQtWrapper_QGraphicsItem::inputMethodHints(QGraphicsItem* theWrappedObject) 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 ( theWrappedObject->inputMethodHints()); } - return QGraphicsItemGroup::shape(); + +QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); } -bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const + +void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) { -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(); - } - } + ( theWrappedObject->installSceneEventFilter(filterItem)); } - return QGraphicsItemGroup::supportsExtension(extension0); + +bool PythonQtWrapper_QGraphicsItem::isActive(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); } -int PythonQtShell_QGraphicsItemGroup::type() const + +bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) 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 ( theWrappedObject->isAncestorOf(child)); } - return QGraphicsItemGroup::type(); + +bool PythonQtWrapper_QGraphicsItem::isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel) const +{ + return ( theWrappedObject->isBlockedByModalPanel(blockingPanel)); } -void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) + +bool PythonQtWrapper_QGraphicsItem::isClipped(QGraphicsItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isClipped()); } - QGraphicsItemGroup::wheelEvent(event0); + +bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); } -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItemGroup(parent); } -void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - ( theWrappedObject->addToGroup(item)); + return ( theWrappedObject->isObscured(rect)); } -void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - ( theWrappedObject->removeFromGroup(item)); + return ( theWrappedObject->isObscured(x, y, w, h)); } - - -PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGraphicsLayout::count() const +bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) 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(); + return ( theWrappedObject->isObscuredBy(item)); } -void PythonQtShell_QGraphicsLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const + +bool PythonQtWrapper_QGraphicsItem::isPanel(QGraphicsItem* theWrappedObject) 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); + return ( theWrappedObject->isPanel()); } -void PythonQtShell_QGraphicsLayout::invalidate() + +bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const { -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(); + return ( theWrappedObject->isSelected()); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const + +bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) 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; + return ( theWrappedObject->isUnderMouse()); } -void PythonQtShell_QGraphicsLayout::removeAt(int index0) + +bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const { -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(); - } - } -} - + return ( theWrappedObject->isVisible()); } -void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) + +bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const { -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); + return ( theWrappedObject->isVisibleTo(parent)); } -QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const + +bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) 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 ( theWrappedObject->isWidget()); } - return QSizeF(); + +bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->isWindow()); } -void PythonQtShell_QGraphicsLayout::updateGeometry() + +QVariant PythonQtWrapper_QGraphicsItem::itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) { -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(); - } - } + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_itemChange(change, value)); } - QGraphicsLayout::updateGeometry(); + +QTransform PythonQtWrapper_QGraphicsItem::itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok) const +{ + return ( theWrappedObject->itemTransform(other, ok)); } -void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) + +void PythonQtWrapper_QGraphicsItem::keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyPressEvent(event)); } - QGraphicsLayout::widgetEvent(e0); + +void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); } -QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) -{ -return new PythonQtShell_QGraphicsLayout(parent); } -void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const { - ( theWrappedObject->activate()); + return ( theWrappedObject->mapFromItem(item, path)); } -void PythonQtWrapper_QGraphicsLayout::addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem) +QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const { - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_addChildLayoutItem(layoutItem)); + return ( theWrappedObject->mapFromItem(item, point)); } -int PythonQtWrapper_QGraphicsLayout::count(QGraphicsLayout* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->mapFromItem(item, polygon)); } -bool PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_instantInvalidatePropagation() +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const { - return (QGraphicsLayout::instantInvalidatePropagation()); + return ( theWrappedObject->mapFromItem(item, rect)); } -void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) +QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const { - ( theWrappedObject->invalidate()); + return ( theWrappedObject->mapFromItem(item, x, y)); } -bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const { - return ( theWrappedObject->isActivated()); + return ( theWrappedObject->mapFromItem(item, x, y, w, h)); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayout::itemAt(QGraphicsLayout* theWrappedObject, int i) const +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const { - return ( theWrappedObject->itemAt(i)); + return ( theWrappedObject->mapFromParent(path)); } -void PythonQtWrapper_QGraphicsLayout::removeAt(QGraphicsLayout* theWrappedObject, int index) +QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const { - ( theWrappedObject->removeAt(index)); + return ( theWrappedObject->mapFromParent(point)); } -void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const { - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); + return ( theWrappedObject->mapFromParent(polygon)); } -void PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable) +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - (QGraphicsLayout::setInstantInvalidatePropagation(enable)); + return ( theWrappedObject->mapFromParent(rect)); } -void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) +QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const { - ( theWrappedObject->widgetEvent(e)); + return ( theWrappedObject->mapFromParent(x, y)); } - - -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 +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) 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); + return ( theWrappedObject->mapFromParent(x, y, w, h)); } -void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) + +QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const { -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(); - } - } + return ( theWrappedObject->mapFromScene(path)); } - QGraphicsLayoutItem::setGeometry(rect0); + +QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const +{ + return ( theWrappedObject->mapFromScene(point)); } -QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) 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 ( theWrappedObject->mapFromScene(polygon)); } - return QSizeF(); + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->mapFromScene(rect)); } -void PythonQtShell_QGraphicsLayoutItem::updateGeometry() + +QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const { -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(); - } - } + return ( theWrappedObject->mapFromScene(x, y)); } - QGraphicsLayoutItem::updateGeometry(); + +QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +{ + return ( theWrappedObject->mapFromScene(x, y, w, h)); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) -{ -return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } -QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const { - return ( theWrappedObject->contentsRect()); + return ( theWrappedObject->mapRectFromItem(item, rect)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const { - return ( theWrappedObject->effectiveSizeHint(which, constraint)); + return ( theWrappedObject->mapRectFromItem(item, x, y, w, h)); } -QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - return ( theWrappedObject->geometry()); + return ( theWrappedObject->mapRectFromParent(rect)); } -void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); + return ( theWrappedObject->mapRectFromParent(x, y, w, h)); } -QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - return ( theWrappedObject->graphicsItem()); + return ( theWrappedObject->mapRectFromScene(rect)); } -bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - return ( theWrappedObject->isLayout()); + return ( theWrappedObject->mapRectFromScene(x, y, w, h)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const { - return ( theWrappedObject->maximumHeight()); + return ( theWrappedObject->mapRectToItem(item, rect)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const { - return ( theWrappedObject->maximumSize()); + return ( theWrappedObject->mapRectToItem(item, x, y, w, h)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - return ( theWrappedObject->maximumWidth()); + return ( theWrappedObject->mapRectToParent(rect)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - return ( theWrappedObject->minimumHeight()); + return ( theWrappedObject->mapRectToParent(x, y, w, h)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - return ( theWrappedObject->minimumSize()); + return ( theWrappedObject->mapRectToScene(rect)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const +QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - return ( theWrappedObject->minimumWidth()); + return ( theWrappedObject->mapRectToScene(x, y, w, h)); } -bool PythonQtWrapper_QGraphicsLayoutItem::ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const +QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const { - return ( theWrappedObject->ownedByLayout()); + return ( theWrappedObject->mapToItem(item, path)); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const +QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const { - return ( theWrappedObject->parentLayoutItem()); + return ( theWrappedObject->mapToItem(item, point)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const { - return ( theWrappedObject->preferredHeight()); + return ( theWrappedObject->mapToItem(item, polygon)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const { - return ( theWrappedObject->preferredSize()); + return ( theWrappedObject->mapToItem(item, rect)); } -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredWidth(QGraphicsLayoutItem* theWrappedObject) const +QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const { - return ( theWrappedObject->preferredWidth()); + return ( theWrappedObject->mapToItem(item, x, y)); } -void PythonQtWrapper_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->mapToItem(item, x, y, w, h)); } -void PythonQtWrapper_QGraphicsLayoutItem::setGraphicsItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsItem* item) +QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const { - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setGraphicsItem(item)); + return ( theWrappedObject->mapToParent(path)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const { - ( theWrappedObject->setMaximumHeight(height)); + return ( theWrappedObject->mapToParent(point)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const { - ( theWrappedObject->setMaximumSize(size)); + return ( theWrappedObject->mapToParent(polygon)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - ( theWrappedObject->setMaximumSize(w, h)); + return ( theWrappedObject->mapToParent(rect)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const { - ( theWrappedObject->setMaximumWidth(width)); + return ( theWrappedObject->mapToParent(x, y)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - ( theWrappedObject->setMinimumHeight(height)); + return ( theWrappedObject->mapToParent(x, y, w, h)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const { - ( theWrappedObject->setMinimumSize(size)); + return ( theWrappedObject->mapToScene(path)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const { - ( theWrappedObject->setMinimumSize(w, h)); + return ( theWrappedObject->mapToScene(point)); } -void PythonQtWrapper_QGraphicsLayoutItem::setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const { - ( theWrappedObject->setMinimumWidth(width)); + return ( theWrappedObject->mapToScene(polygon)); } -void PythonQtWrapper_QGraphicsLayoutItem::setOwnedByLayout(QGraphicsLayoutItem* theWrappedObject, bool ownedByLayout) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const { - ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_setOwnedByLayout(ownedByLayout)); + return ( theWrappedObject->mapToScene(rect)); } -void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent) +QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const { - ( theWrappedObject->setParentLayoutItem(parent)); + return ( theWrappedObject->mapToScene(x, y)); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height) +QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - ( theWrappedObject->setPreferredHeight(height)); + return ( theWrappedObject->mapToScene(x, y, w, h)); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size) +void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setPreferredSize(size)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setPreferredSize(w, h)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); } -void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) +void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setPreferredWidth(width)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); } -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) +void PythonQtWrapper_QGraphicsItem::mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); } -void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) +void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) { - ( theWrappedObject->setSizePolicy(policy)); + ( theWrappedObject->moveBy(dx, dy)); } -QSizeF PythonQtWrapper_QGraphicsLayoutItem::sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +qreal PythonQtWrapper_QGraphicsItem::opacity(QGraphicsItem* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_sizeHint(which, constraint)); + return ( theWrappedObject->opacity()); } -QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const +QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const { - return ( theWrappedObject->sizePolicy()); + return ( theWrappedObject->opaqueArea()); } -void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) +void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { - ( theWrappedObject->updateGeometry()); + ( theWrappedObject->paint(painter, option, widget)); } - - -PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsLineItem::advance(int phase0) +QGraphicsItem* PythonQtWrapper_QGraphicsItem::panel(QGraphicsItem* theWrappedObject) const { -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); + return ( theWrappedObject->panel()); } -QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const + +QGraphicsItem::PanelModality PythonQtWrapper_QGraphicsItem::panelModality(QGraphicsItem* theWrappedObject) 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(); + return ( theWrappedObject->panelModality()); } -bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) 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); + return ( theWrappedObject->parentItem()); } -bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::parentObject(QGraphicsItem* theWrappedObject) 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); + return ( theWrappedObject->parentObject()); } -bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) 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); + return ( theWrappedObject->parentWidget()); } -void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) + +QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const { -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); + return ( theWrappedObject->pos()); } -void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) + +void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); +} + +void PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); } - QGraphicsLineItem::dragEnterEvent(event0); + +void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +{ + ( theWrappedObject->removeSceneEventFilter(filterItem)); } -void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) + +void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) { -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(); - } - } + ( theWrappedObject->resetTransform()); } - QGraphicsLineItem::dragLeaveEvent(event0); + +qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); } -void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) + +qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->scale()); } - QGraphicsLineItem::dragMoveEvent(event0); + +QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scene()); } -void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) + +QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->sceneBoundingRect()); } - QGraphicsLineItem::dropEvent(event0); + +bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); } -QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const + +bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) { -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 ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); } - return QGraphicsLineItem::extension(variant0); + +QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); } -void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) + +QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->sceneTransform()); } - QGraphicsLineItem::focusInEvent(event0); + +void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) +{ + ( theWrappedObject->scroll(dx, dy, rect)); } -void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) { -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(); - } - } + ( theWrappedObject->setAcceptDrops(on)); } - QGraphicsLineItem::focusOutEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptHoverEvents(enabled)); } -void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) { -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(); - } - } + ( theWrappedObject->setAcceptTouchEvents(enabled)); } - QGraphicsLineItem::hoverEnterEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setAcceptedMouseButtons(buttons)); } -void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) { -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(); - } - } + ( theWrappedObject->setActive(active)); } - QGraphicsLineItem::hoverLeaveEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) +{ + ( theWrappedObject->setBoundingRegionGranularity(granularity)); } -void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) { -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(); - } - } + ( theWrappedObject->setCacheMode(mode, cacheSize)); } - QGraphicsLineItem::hoverMoveEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) +{ + ( theWrappedObject->setCursor(cursor)); } -void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) + +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) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); } - QGraphicsLineItem::inputMethodEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setFiltersChildEvents(enabled)); } -QVariant PythonQtShell_QGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery query0) const + +void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) { -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(); - } - } + ( theWrappedObject->setFlag(flag, enabled)); } - return QGraphicsLineItem::inputMethodQuery(query0); + +void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); } -bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const + +void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) { -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(); - } - } + ( theWrappedObject->setFocus(focusReason)); } - return QGraphicsLineItem::isObscuredBy(item0); + +void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setFocusProxy(item)); } -QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) + +void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) { -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(); - } - } + ( theWrappedObject->setGraphicsEffect(effect)); } - return QGraphicsLineItem::itemChange(change0, value1); + +void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->setGroup(group)); } -void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) { -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(); - } - } + ( theWrappedObject->setHandlesChildEvents(enabled)); } - QGraphicsLineItem::keyPressEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) +{ + ( theWrappedObject->setInputMethodHints(hints)); } -void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) { -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(); - } - } + ( theWrappedObject->setOpacity(opacity)); } - QGraphicsLineItem::keyReleaseEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) +{ + ( theWrappedObject->setPanelModality(panelModality)); } -void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent) { -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(); - } - } + ( theWrappedObject->setParentItem(parent)); } - QGraphicsLineItem::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); } -void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) { -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(); - } - } + ( theWrappedObject->setPos(x, y)); } - QGraphicsLineItem::mouseMoveEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setRotation(angle)); } -void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) { -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(); - } - } + ( theWrappedObject->setScale(scale)); +} + +void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) +{ + ( theWrappedObject->setSelected(selected)); } - QGraphicsLineItem::mousePressEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); } -void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) { -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(); - } - } + ( theWrappedObject->setTransform(matrix, combine)); } - QGraphicsLineItem::mouseReleaseEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) +{ + ( theWrappedObject->setTransformOriginPoint(origin)); } -QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const + +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) { -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(); - } - } + ( theWrappedObject->setTransformOriginPoint(ax, ay)); } - return QGraphicsLineItem::opaqueArea(); + +void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) +{ + ( theWrappedObject->setTransformations(transformations)); } -void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) { -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(); - } - } + ( theWrappedObject->setVisible(visible)); } - QGraphicsLineItem::paint(painter0, option1, widget2); + +void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) +{ + ( theWrappedObject->setX(x)); } -bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) + +void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) { -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(); - } - } + ( theWrappedObject->setY(y)); } - return QGraphicsLineItem::sceneEvent(event0); + +void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) +{ + ( theWrappedObject->setZValue(z)); } -bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) + +QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const { -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 ( theWrappedObject->shape()); } - return QGraphicsLineItem::sceneEventFilter(watched0, event1); + +void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->show()); } -void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) + +void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) { -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(); - } - } + ( theWrappedObject->stackBefore(sibling)); } - QGraphicsLineItem::setExtension(extension0, variant1); + +bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); } -QPainterPath PythonQtShell_QGraphicsLineItem::shape() const + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::toGraphicsObject(QGraphicsItem* theWrappedObject) { -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 ( theWrappedObject->toGraphicsObject()); } - return QGraphicsLineItem::shape(); + +QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); } -bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) 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 ( theWrappedObject->topLevelItem()); } - return QGraphicsLineItem::supportsExtension(extension0); + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->topLevelWidget()); } -int PythonQtShell_QGraphicsLineItem::type() const + +QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) 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 ( theWrappedObject->transform()); } - return QGraphicsLineItem::type(); + +QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOriginPoint()); } -void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) + +QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->transformations()); } - QGraphicsLineItem::wheelEvent(event0); + +int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); } -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); } +void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabKeyboard()); +} -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } +void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabMouse()); +} -QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) { - return ( theWrappedObject->line()); + ( theWrappedObject->unsetCursor()); } -QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->pen()); + ( theWrappedObject->update(rect)); } -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) { - ( theWrappedObject->setLine(line)); + ( theWrappedObject->update(x, y, width, height)); } -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +void PythonQtWrapper_QGraphicsItem::updateMicroFocus(QGraphicsItem* theWrappedObject) { - ( theWrappedObject->setLine(x1, y1, x2, y2)); + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); } -void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) +void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) { - ( theWrappedObject->setPen(pen)); + ( ((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()); +} -PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->y()); } -int PythonQtShell_QGraphicsLinearLayout::count() const + +qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) 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 ( theWrappedObject->zValue()); } - return QGraphicsLinearLayout::count(); + +QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const + + + +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("getContentsMargins"); + static PyObject* name = PyString_FromString("afterAnimationStep"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11850,21 +9589,21 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsItemAnimation::afterAnimationStep(step0); } -void PythonQtShell_QGraphicsLinearLayout::invalidate() +void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11872,54 +9611,43 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::invalidate(); + QGraphicsItemAnimation::beforeAnimationStep(step0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const +void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLinearLayout::itemAt(index0); + QGraphicsItemAnimation::childEvent(event0); } -void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) +void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11927,54 +9655,65 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::removeAt(index0); + QGraphicsItemAnimation::customEvent(event0); } -void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) +bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&rect0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLinearLayout::setGeometry(rect0); + return QGraphicsItemAnimation::event(event0); } -QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11982,21 +9721,21 @@ if (_wrapper) { } } } - return QGraphicsLinearLayout::sizeHint(which0, constraint1); + return QGraphicsItemAnimation::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsLinearLayout::updateGeometry() +void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12004,148 +9743,306 @@ if (_wrapper) { } } } - QGraphicsLinearLayout::updateGeometry(); + QGraphicsItemAnimation::timerEvent(event0); } -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(); - } +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; } } - QGraphicsLinearLayout::widgetEvent(e0); +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)); } -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_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) +{ + ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); +} -void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) +void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) { - ( theWrappedObject->addItem(item)); + ( theWrappedObject->clear()); } -void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->addStretch(stretch)); + return ( theWrappedObject->horizontalScaleAt(step)); } -Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( theWrappedObject->alignment(item)); + return ( theWrappedObject->horizontalShearAt(step)); } -void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const +QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->dump(indent)); + return ( theWrappedObject->item()); } -void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->insertItem(index, item)); + return ( theWrappedObject->matrixAt(step)); } -void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) +QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->insertStretch(index, stretch)); + return ( theWrappedObject->posAt(step)); } -qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const +QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const { - return ( theWrappedObject->itemSpacing(index)); + return ( theWrappedObject->posList()); } -Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( theWrappedObject->orientation()); + return ( theWrappedObject->rotationAt(step)); } -void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) +QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->removeItem(item)); + return ( theWrappedObject->rotationList()); } -void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const { - ( theWrappedObject->setAlignment(item, alignment)); + return ( theWrappedObject->scaleList()); } -void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) +void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) { - ( theWrappedObject->setItemSpacing(index, spacing)); + ( theWrappedObject->setItem(item)); } -void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) +void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) { - ( theWrappedObject->setOrientation(orientation)); + ( theWrappedObject->setPosAt(step, pos)); } -void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) +void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) { - ( theWrappedObject->setSpacing(spacing)); + ( theWrappedObject->setRotationAt(step, angle)); } -void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) +void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) { - ( theWrappedObject->setStretchFactor(item, stretch)); + ( theWrappedObject->setScaleAt(step, sx, sy)); } -qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const +void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) { - return ( theWrappedObject->spacing()); + ( 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()); +} + +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(); + } + } } - -int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const + return QGraphicsItemGroup::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->stretchFactor(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsItemGroup::collidesWithPath(path0, mode1); } -QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const +bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {nullptr, (void*)&sourceRect0}; + 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("boundingRectFor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12153,21 +10050,21 @@ if (_wrapper) { } } } - return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); + return QGraphicsItemGroup::contains(point0); } -void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12175,21 +10072,21 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::childEvent(event0); + QGraphicsItemGroup::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12197,21 +10094,21 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::customEvent(event0); + QGraphicsItemGroup::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) +void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12219,65 +10116,76 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::draw(painter0); + QGraphicsItemGroup::dragLeaveEvent(event0); } -bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsOpacityEffect::event(event0); + QGraphicsItemGroup::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12285,21 +10193,21 @@ if (_wrapper) { } } } - return QGraphicsOpacityEffect::eventFilter(watched0, event1); + return QGraphicsItemGroup::extension(variant0); } -void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12307,21 +10215,21 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::sourceChanged(flags0); + QGraphicsItemGroup::focusInEvent(event0); } -void PythonQtShell_QGraphicsOpacityEffect::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12329,54 +10237,87 @@ if (_wrapper) { } } } - QGraphicsOpacityEffect::timerEvent(event0); + QGraphicsItemGroup::focusOutEvent(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; +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(); + } } } -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; + QGraphicsItemGroup::hoverEnterEvent(event0); } -qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const +void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->opacity()); +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(); + } + } } - -QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const + QGraphicsItemGroup::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->opacityMask()); +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(); + } + } } - - - -PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsItemGroup::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsPathItem::advance(int phase0) +void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12384,32 +10325,32 @@ if (_wrapper) { } } } - QGraphicsPathItem::advance(phase0); + QGraphicsItemGroup::inputMethodEvent(event0); } -QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const +QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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("boundingRect", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12417,32 +10358,32 @@ if (_wrapper) { } } } - return QGraphicsPathItem::boundingRect(); + return QGraphicsItemGroup::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("isObscuredBy"); 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); + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + 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("collidesWithItem", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12450,87 +10391,79 @@ if (_wrapper) { } } } - return QGraphicsPathItem::collidesWithItem(other0, mode1); + return QGraphicsItemGroup::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +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("collidesWithPath"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + 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("collidesWithPath", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::collidesWithPath(path0, mode1); + return QGraphicsItemGroup::itemChange(change0, value1); } -bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::contains(point0); + QGraphicsItemGroup::keyPressEvent(event0); } -void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12538,21 +10471,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::contextMenuEvent(event0); + QGraphicsItemGroup::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12560,21 +10493,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::dragEnterEvent(event0); + QGraphicsItemGroup::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12582,21 +10515,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::dragLeaveEvent(event0); + QGraphicsItemGroup::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12604,21 +10537,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::dragMoveEvent(event0); + QGraphicsItemGroup::mousePressEvent(event0); } -void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12626,32 +10559,32 @@ if (_wrapper) { } } } - QGraphicsPathItem::dropEvent(event0); + QGraphicsItemGroup::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const +QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&variant0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12659,21 +10592,21 @@ if (_wrapper) { } } } - return QGraphicsPathItem::extension(variant0); + return QGraphicsItemGroup::opaqueArea(); } -void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) +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("focusInEvent"); + static PyObject* name = PyString_FromString("paint"); 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}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12681,21 +10614,87 @@ if (_wrapper) { } } } - QGraphicsPathItem::focusInEvent(event0); + QGraphicsItemGroup::paint(painter0, option1, widget2); } -void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return 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 { @@ -12703,43 +10702,120 @@ if (_wrapper) { } } } - QGraphicsPathItem::focusOutEvent(event0); + QGraphicsItemGroup::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + 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); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPathItem::hoverEnterEvent(event0); + return QGraphicsItemGroup::type(); } -void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12747,43 +10823,74 @@ if (_wrapper) { } } } - QGraphicsPathItem::hoverLeaveEvent(event0); + 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); } } -void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +int PythonQtShell_QGraphicsLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("count"); 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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPathItem::hoverMoveEvent(event0); + return int(); } -void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event0) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("getContentsMargins"); 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}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12791,65 +10898,54 @@ if (_wrapper) { } } } - QGraphicsPathItem::inputMethodEvent(event0); + QGraphicsLayout::getContentsMargins(left0, top1, right2, bottom3); } -QVariant PythonQtShell_QGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("invalidate"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::inputMethodQuery(query0); + QGraphicsLayout::invalidate(); } -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const +QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&item0}; + 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("isObscuredBy", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12857,57 +10953,43 @@ if (_wrapper) { } } } - return QGraphicsPathItem::isObscuredBy(item0); + return nullptr; } -QVariant PythonQtShell_QGraphicsPathItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("removeAt"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::itemChange(change0, value1); + } -void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12915,43 +10997,54 @@ if (_wrapper) { } } } - QGraphicsPathItem::keyPressEvent(event0); + QGraphicsLayout::setGeometry(rect0); } -void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPathItem::keyReleaseEvent(event0); + return QSizeF(); } -void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12959,21 +11052,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::mouseDoubleClickEvent(event0); + QGraphicsLayout::updateGeometry(); } -void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12981,21 +11074,86 @@ if (_wrapper) { } } } - QGraphicsPathItem::mouseMoveEvent(event0); + 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_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +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("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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13003,21 +11161,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::mousePressEvent(event0); + QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13025,32 +11183,32 @@ if (_wrapper) { } } } - QGraphicsPathItem::mouseReleaseEvent(event0); + QGraphicsLayoutItem::setGeometry(rect0); } -QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const +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("opaqueArea"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("opaqueArea", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13058,21 +11216,243 @@ if (_wrapper) { } } } - return QGraphicsPathItem::opaqueArea(); + return QSizeF(); } -void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("updateGeometry"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13080,32 +11460,32 @@ if (_wrapper) { } } } - QGraphicsPathItem::paint(painter0, option1, widget2); + QGraphicsLineItem::advance(phase0); } -bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) +QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13113,32 +11493,32 @@ if (_wrapper) { } } } - return QGraphicsPathItem::sceneEvent(event0); + return QGraphicsLineItem::boundingRect(); } -bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +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("sceneEventFilter"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("sceneEventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13146,54 +11526,65 @@ if (_wrapper) { } } } - return QGraphicsPathItem::sceneEventFilter(watched0, event1); + return QGraphicsLineItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +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("setExtension"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPathItem::setExtension(extension0, variant1); + return QGraphicsLineItem::collidesWithPath(path0, mode1); } -QPainterPath PythonQtShell_QGraphicsPathItem::shape() const +bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {nullptr}; + 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("shape", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13201,87 +11592,65 @@ if (_wrapper) { } } } - return QGraphicsPathItem::shape(); + return QGraphicsLineItem::contains(point0); } -bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::supportsExtension(extension0); + QGraphicsLineItem::contextMenuEvent(event0); } -int PythonQtShell_QGraphicsPathItem::type() const +void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::type(); + QGraphicsLineItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13289,45 +11658,43 @@ if (_wrapper) { } } } - 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()); + QGraphicsLineItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) +void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setPath(path)); +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(); + } + } } - - - -PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsLineItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) +void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13335,32 +11702,32 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::advance(phase0); + QGraphicsLineItem::dropEvent(event0); } -QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const +QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("extension"); 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}; + 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("boundingRect", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13368,120 +11735,87 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::boundingRect(); + return QGraphicsLineItem::extension(variant0); } -bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::collidesWithItem(other0, mode1); + QGraphicsLineItem::focusInEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::collidesWithPath(path0, mode1); + QGraphicsLineItem::focusOutEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::contains(point0); + QGraphicsLineItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13489,21 +11823,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::contextMenuEvent(event0); + QGraphicsLineItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13511,21 +11845,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragEnterEvent(event0); + QGraphicsLineItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13533,98 +11867,123 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragLeaveEvent(event0); + QGraphicsLineItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::dragMoveEvent(event0); + return QGraphicsLineItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::dropEvent(event0); + return QGraphicsLineItem::isObscuredBy(item0); } -QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const +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("extension"); + static PyObject* name = PyString_FromString("itemChange"); 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); + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&variant0}; + 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("extension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::extension(variant0); + return QGraphicsLineItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13632,21 +11991,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::focusInEvent(event0); + QGraphicsLineItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13654,21 +12013,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::focusOutEvent(event0); + QGraphicsLineItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13676,21 +12035,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::hoverEnterEvent(event0); + QGraphicsLineItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13698,21 +12057,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::hoverLeaveEvent(event0); + QGraphicsLineItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13720,21 +12079,21 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::hoverMoveEvent(event0); + QGraphicsLineItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13742,32 +12101,32 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::inputMethodEvent(event0); + QGraphicsLineItem::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const +QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("opaqueArea"); 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}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13775,32 +12134,54 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::inputMethodQuery(query0); + return QGraphicsLineItem::opaqueArea(); } -bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const +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("isObscuredBy"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const 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*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13808,57 +12189,54 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::isObscuredBy(item0); + return QGraphicsLineItem::sceneEvent(event0); } -QVariant PythonQtShell_QGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::itemChange(change0, value1); + return QGraphicsLineItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) +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("keyPressEvent"); + static PyObject* name = PyString_FromString("setExtension"); 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}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13866,87 +12244,120 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::keyPressEvent(event0); + QGraphicsLineItem::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) +QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("shape"); 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}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::keyReleaseEvent(event0); + return QGraphicsLineItem::shape(); } -void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::mouseDoubleClickEvent(event0); + return QGraphicsLineItem::supportsExtension(extension0); } -void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("type"); 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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::mouseMoveEvent(event0); + return QGraphicsLineItem::type(); } -void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13954,54 +12365,75 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::mousePressEvent(event0); + 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 PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) { -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(); - } - } + ( 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)); } - QGraphicsPixmapItem::mouseReleaseEvent(event0); + + + +PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const +int PythonQtShell_QGraphicsLinearLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14009,21 +12441,21 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::opaqueArea(); + return QGraphicsLinearLayout::count(); } -void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +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("paint"); + static PyObject* name = PyString_FromString("getContentsMargins"); 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}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14031,65 +12463,54 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::paint(painter0, option1, widget2); + QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); } -bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::sceneEvent(event0); + QGraphicsLinearLayout::invalidate(); } -bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("itemAt"); 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}; + 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("sceneEventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14097,21 +12518,21 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::sceneEventFilter(watched0, event1); + return QGraphicsLinearLayout::itemAt(index0); } -void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("removeAt"); 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}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14119,65 +12540,54 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::setExtension(extension0, variant1); + QGraphicsLinearLayout::removeAt(index0); } -QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const +void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("setGeometry"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::shape(); + QGraphicsLinearLayout::setGeometry(rect0); } -bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const +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("supportsExtension"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("supportsExtension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14185,54 +12595,43 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::supportsExtension(extension0); + return QGraphicsLinearLayout::sizeHint(which0, constraint1); } -int PythonQtShell_QGraphicsPixmapItem::type() const +void PythonQtShell_QGraphicsLinearLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::type(); + QGraphicsLinearLayout::updateGeometry(); } -void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14240,68 +12639,103 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::wheelEvent(event0); + QGraphicsLinearLayout::widgetEvent(e0); } -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(QGraphicsItem* parent) +QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(QGraphicsLayoutItem* parent) { -return new PythonQtShell_QGraphicsPixmapItem(parent); } +return new PythonQtShell_QGraphicsLinearLayout(parent); } -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsPixmapItem::new_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent) +QGraphicsLinearLayout* PythonQtWrapper_QGraphicsLinearLayout::new_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent) { -return new PythonQtShell_QGraphicsPixmapItem(pixmap, parent); } +return new PythonQtShell_QGraphicsLinearLayout(orientation, parent); } -QPointF PythonQtWrapper_QGraphicsPixmapItem::offset(QGraphicsPixmapItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) { - return ( theWrappedObject->offset()); + ( 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()); } -QPixmap PythonQtWrapper_QGraphicsPixmapItem::pixmap(QGraphicsPixmapItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) { - return ( theWrappedObject->pixmap()); + ( theWrappedObject->removeItem(item)); } -void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, const QPointF& offset) +void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) { - ( theWrappedObject->setOffset(offset)); + ( theWrappedObject->setAlignment(item, alignment)); } -void PythonQtWrapper_QGraphicsPixmapItem::setOffset(QGraphicsPixmapItem* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) { - ( theWrappedObject->setOffset(x, y)); + ( theWrappedObject->setItemSpacing(index, spacing)); } -void PythonQtWrapper_QGraphicsPixmapItem::setPixmap(QGraphicsPixmapItem* theWrappedObject, const QPixmap& pixmap) +void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) { - ( theWrappedObject->setPixmap(pixmap)); + ( theWrappedObject->setOrientation(orientation)); } -void PythonQtWrapper_QGraphicsPixmapItem::setShapeMode(QGraphicsPixmapItem* theWrappedObject, QGraphicsPixmapItem::ShapeMode mode) +void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) { - ( theWrappedObject->setShapeMode(mode)); + ( theWrappedObject->setSpacing(spacing)); } -void PythonQtWrapper_QGraphicsPixmapItem::setTransformationMode(QGraphicsPixmapItem* theWrappedObject, Qt::TransformationMode mode) +void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) { - ( theWrappedObject->setTransformationMode(mode)); + ( theWrappedObject->setStretchFactor(item, stretch)); } -QGraphicsPixmapItem::ShapeMode PythonQtWrapper_QGraphicsPixmapItem::shapeMode(QGraphicsPixmapItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const { - return ( theWrappedObject->shapeMode()); + return ( theWrappedObject->spacing()); } -Qt::TransformationMode PythonQtWrapper_QGraphicsPixmapItem::transformationMode(QGraphicsPixmapItem* theWrappedObject) const +int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const { - return ( theWrappedObject->transformationMode()); + return ( theWrappedObject->stretchFactor(item)); } -PythonQtShell_QGraphicsPolygonItem::~PythonQtShell_QGraphicsPolygonItem() { +PythonQtShell_QGraphicsObject::~PythonQtShell_QGraphicsObject() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsPolygonItem::advance(int phase0) +void PythonQtShell_QGraphicsObject::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14313,7 +12747,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14321,9 +12755,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::advance(phase0); + QGraphicsObject::advance(phase0); } -QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const +QRectF PythonQtShell_QGraphicsObject::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14346,17 +12780,39 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::boundingRect(); + QGraphicsObject::childEvent(event0); } -bool PythonQtShell_QGraphicsPolygonItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsObject::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14379,7 +12835,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14387,9 +12843,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::collidesWithItem(other0, mode1); + return QGraphicsObject::collidesWithItem(other0, mode1); } -bool PythonQtShell_QGraphicsPolygonItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsObject::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14412,7 +12868,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14420,9 +12876,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::collidesWithPath(path0, mode1); + return QGraphicsObject::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsObject::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14445,7 +12901,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14453,9 +12909,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::contains(point0); + return QGraphicsObject::contains(point0); } -void PythonQtShell_QGraphicsPolygonItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14467,7 +12923,29 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + 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 { @@ -14475,9 +12953,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::contextMenuEvent(event0); + QGraphicsObject::customEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14489,7 +12967,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14497,9 +12975,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::dragEnterEvent(event0); + QGraphicsObject::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14511,7 +12989,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14519,9 +12997,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::dragLeaveEvent(event0); + QGraphicsObject::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14533,7 +13011,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14541,9 +13019,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::dragMoveEvent(event0); + QGraphicsObject::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14555,7 +13033,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14563,9 +13041,75 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::dropEvent(event0); + 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_QGraphicsPolygonItem::extension(const QVariant& variant0) const +QVariant PythonQtShell_QGraphicsObject::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14588,7 +13132,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14596,9 +13140,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::extension(variant0); + return QGraphicsObject::extension(variant0); } -void PythonQtShell_QGraphicsPolygonItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsObject::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14610,7 +13154,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14618,9 +13162,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::focusInEvent(event0); + QGraphicsObject::focusInEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsObject::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14632,7 +13176,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14640,9 +13184,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::focusOutEvent(event0); + QGraphicsObject::focusOutEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14654,7 +13198,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14662,9 +13206,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::hoverEnterEvent(event0); + QGraphicsObject::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14676,7 +13220,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14684,9 +13228,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::hoverLeaveEvent(event0); + QGraphicsObject::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14698,7 +13242,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14706,9 +13250,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::hoverMoveEvent(event0); + QGraphicsObject::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsObject::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14720,7 +13264,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14728,9 +13272,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::inputMethodEvent(event0); + QGraphicsObject::inputMethodEvent(event0); } -QVariant PythonQtShell_QGraphicsPolygonItem::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QGraphicsObject::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14753,7 +13297,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14761,9 +13305,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::inputMethodQuery(query0); + return QGraphicsObject::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsObject::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14786,7 +13330,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14794,9 +13338,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::isObscuredBy(item0); + return QGraphicsObject::isObscuredBy(item0); } -QVariant PythonQtShell_QGraphicsPolygonItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QVariant PythonQtShell_QGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14819,7 +13363,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -14830,9 +13374,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::itemChange(change0, value1); + return QGraphicsObject::itemChange(change0, value1); } -void PythonQtShell_QGraphicsPolygonItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsObject::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14844,7 +13388,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14852,9 +13396,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::keyPressEvent(event0); + QGraphicsObject::keyPressEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsObject::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14866,29 +13410,238 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + 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; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPolygonItem::keyReleaseEvent(event0); + return QGraphicsObject::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsPolygonItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("setExtension"); 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}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14896,65 +13649,87 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::mouseDoubleClickEvent(event0); + QGraphicsObject::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsPolygonItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +QPainterPath PythonQtShell_QGraphicsObject::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("shape"); 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}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPolygonItem::mouseMoveEvent(event0); + return QGraphicsObject::shape(); } -void PythonQtShell_QGraphicsPolygonItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsObject::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPolygonItem::mousePressEvent(event0); + return QGraphicsObject::supportsExtension(extension0); } -void PythonQtShell_QGraphicsPolygonItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14962,32 +13737,32 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::mouseReleaseEvent(event0); + QGraphicsObject::timerEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const +int PythonQtShell_QGraphicsObject::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14995,21 +13770,21 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::opaqueArea(); + return QGraphicsObject::type(); } -void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("wheelEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15017,32 +13792,72 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::paint(painter0, option1, widget2); + 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); } } -bool PythonQtShell_QGraphicsPolygonItem::sceneEvent(QEvent* event0) +QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("sceneEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15050,54 +13865,43 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::sceneEvent(event0); + return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); } -bool PythonQtShell_QGraphicsPolygonItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +void PythonQtShell_QGraphicsOpacityEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::sceneEventFilter(watched0, event1); + QGraphicsOpacityEffect::childEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsOpacityEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15105,65 +13909,54 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::setExtension(extension0, variant1); + QGraphicsOpacityEffect::customEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const +void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("draw"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::shape(); + QGraphicsOpacityEffect::draw(painter0); } -bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsOpacityEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15171,32 +13964,32 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::supportsExtension(extension0); + return QGraphicsOpacityEffect::event(event0); } -int PythonQtShell_QGraphicsPolygonItem::type() const +bool PythonQtShell_QGraphicsOpacityEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15204,21 +13997,43 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::type(); + return QGraphicsOpacityEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsPolygonItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15226,34 +14041,33 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::wheelEvent(event0); + QGraphicsOpacityEffect::timerEvent(event0); } -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(parent); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) +QGraphicsOpacityEffect* PythonQtWrapper_QGraphicsOpacityEffect::new_QGraphicsOpacityEffect(QObject* parent) { -return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } +return new PythonQtShell_QGraphicsOpacityEffect(parent); } -Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); +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; + } } - -QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->polygon()); +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; } - -void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) +qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const { - ( theWrappedObject->setFillRule(rule)); + return ( theWrappedObject->opacity()); } -void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) +QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const { - ( theWrappedObject->setPolygon(polygon)); + return ( theWrappedObject->opacityMask()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.h index c8e15b68..7038dc76 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include @@ -12,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -35,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -58,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +73,55 @@ +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: @@ -129,7 +182,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontDialog : public QFontDialog @@ -306,23 +359,37 @@ class PythonQtShell_QFormLayout : public QFormLayout public: PythonQtShell_QFormLayout(QWidget* parent = nullptr):QFormLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QFormLayout(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFormLayout : public QFormLayout @@ -346,57 +413,91 @@ class PythonQtWrapper_QFormLayout : public QObject public slots: QFormLayout* new_QFormLayout(QWidget* parent = nullptr); void delete_QFormLayout(QFormLayout* obj) { delete obj; } - void addItem(QFormLayout* theWrappedObject, QLayoutItem* item); 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 count(QFormLayout* theWrappedObject) const; int py_q_count(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_count());} - Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const; 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 hasHeightForWidth(QFormLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QFormLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QFormLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_heightForWidth(width));} int horizontalSpacing(QFormLayout* theWrappedObject) const; + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout); + 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 invalidate(QFormLayout* theWrappedObject); void py_q_invalidate(QFormLayout* theWrappedObject){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const; 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 minimumSize(QFormLayout* theWrappedObject) 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 setGeometry(QFormLayout* theWrappedObject, const QRect& rect); 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 sizeHint(QFormLayout* theWrappedObject) const; QSize py_q_sizeHint(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QFormLayout* theWrappedObject) const; - QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index); 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; } }; @@ -458,7 +559,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFrame : public QFrame @@ -524,7 +625,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QGesture : public QObject @@ -590,7 +691,7 @@ QGesture* create(QObject* target) override; QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event) override; void reset(QGesture* state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer @@ -673,15 +774,18 @@ void delete_QGlyphRun(QGlyphRun* obj) { delete obj; } class PythonQtWrapper_QGradient : public QObject { Q_OBJECT public: -Q_ENUMS(CoordinateMode Spread Type ) +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}; 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; @@ -736,7 +840,7 @@ QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) cons void updateGeometry() override; void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout @@ -795,7 +899,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsBlurEffect : public QGraphicsBlurEffect @@ -844,7 +948,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsColorizeEffect : public QGraphicsColorizeEffect @@ -886,7 +990,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect @@ -933,7 +1037,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect @@ -1027,7 +1131,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem @@ -1098,7 +1202,7 @@ QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) cons void updateGeometry() override; void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout @@ -1211,7 +1315,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem @@ -1464,6 +1568,7 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } 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); @@ -1525,6 +1630,7 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } 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; @@ -1569,7 +1675,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation @@ -1663,7 +1769,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemGroup : public QGraphicsItemGroup @@ -1714,7 +1820,7 @@ QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) cons void updateGeometry() override; void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout @@ -1771,7 +1877,7 @@ void setGeometry(const QRectF& rect) override; QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; void updateGeometry() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem @@ -1884,7 +1990,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLineItem : public QGraphicsLineItem @@ -1954,7 +2060,7 @@ QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) cons void updateGeometry() override; void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLinearLayout : public QGraphicsLinearLayout @@ -2002,66 +2108,27 @@ void delete_QGraphicsLinearLayout(QGraphicsLinearLayout* obj) { delete obj; } -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 +class PythonQtShell_QGraphicsObject : public QGraphicsObject { public: - PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(nullptr) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsObject(QGraphicsItem* parent = nullptr):QGraphicsObject(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsPathItem() override; + ~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; @@ -2085,246 +2152,74 @@ 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; - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem +class PythonQtPublicPromoter_QGraphicsObject : public QGraphicsObject { 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 +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: -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());} +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_QGraphicsPixmapItem : public QGraphicsPixmapItem +class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect { public: - PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(parent),_wrapper(nullptr) {}; - PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(pixmap, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsPixmapItem() override; + ~PythonQtShell_QGraphicsOpacityEffect() 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; +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; - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QGraphicsPixmapItem : public QGraphicsPixmapItem +class PythonQtPublicPromoter_QGraphicsOpacityEffect : public QGraphicsOpacityEffect { 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; +inline void promoted_draw(QPainter* painter) { this->draw(painter); } +inline void py_q_draw(QPainter* painter) { QGraphicsOpacityEffect::draw(painter); } }; -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 +class PythonQtWrapper_QGraphicsOpacityEffect : 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());} +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; }; diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index 9fb39e78..a4968cc0 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include @@ -15,11 +14,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -27,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -38,13 +38,10 @@ #include #include #include -#include -#include -#include #include -#include #include #include +#include #include #include #include @@ -66,6 +63,7 @@ #include #include #include +#include #include #include #include @@ -84,11 +82,33 @@ #include #include -PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { +PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const +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 @@ -111,7 +131,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -119,87 +139,120 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::boundingRect(); + return QGraphicsPathItem::boundingRect(); } -void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) +bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::changeEvent(event0); + return QGraphicsPathItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("collidesWithPath"); 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}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::closeEvent(event0); + return QGraphicsPathItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::contextMenuEvent(event0); + return QGraphicsPathItem::contains(point0); } -void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -207,21 +260,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragEnterEvent(event0); + QGraphicsPathItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -229,21 +282,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragLeaveEvent(event0); + QGraphicsPathItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -251,21 +304,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragMoveEvent(event0); + QGraphicsPathItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -273,65 +326,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dropEvent(event0); + QGraphicsPathItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::event(event0); + QGraphicsPathItem::dropEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) +QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -339,9 +381,9 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::eventFilter(object0, event1); + return QGraphicsPathItem::extension(variant0); } -void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -353,7 +395,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -361,42 +403,9 @@ if (_wrapper) { } } } - 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); + QGraphicsPathItem::focusInEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -408,7 +417,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -416,21 +425,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::focusOutEvent(event0); + QGraphicsPathItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -438,21 +447,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsPathItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -460,21 +469,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::grabKeyboardEvent(event0); + QGraphicsPathItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabMouseEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -482,21 +491,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::grabMouseEvent(event0); + QGraphicsPathItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -504,157 +513,80 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::hideEvent(event0); + QGraphicsPathItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* 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("hoverEnterEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::hoverEnterEvent(event0); + return QGraphicsPathItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::hoverLeaveEvent(event0); + return QGraphicsPathItem::isObscuredBy(item0); } -void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +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("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); -} -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"); + 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&"}; @@ -672,7 +604,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -683,9 +615,9 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::itemChange(change0, value1); + return QGraphicsPathItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -697,7 +629,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -705,9 +637,9 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::keyPressEvent(event0); + QGraphicsPathItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -719,7 +651,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -727,9 +659,9 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::keyReleaseEvent(event0); + QGraphicsPathItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -741,7 +673,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -749,9 +681,9 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mouseDoubleClickEvent(event0); + QGraphicsPathItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -763,7 +695,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -771,9 +703,9 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mouseMoveEvent(event0); + QGraphicsPathItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -785,7 +717,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -793,9 +725,9 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mousePressEvent(event0); + QGraphicsPathItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -807,7 +739,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -815,31 +747,42 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::mouseReleaseEvent(event0); + QGraphicsPathItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) +QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); 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}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::moveEvent(event0); + return QGraphicsPathItem::opaqueArea(); } -void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -851,29 +794,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -881,54 +802,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); + QGraphicsPathItem::paint(painter0, option1, widget2); } -void PythonQtShell_QGraphicsProxyWidget::polishEvent() +bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polishEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::polishEvent(); + return QGraphicsPathItem::sceneEvent(event0); } -QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) +bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("propertyChange"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -936,21 +868,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::propertyChange(propertyName0, value1); + return QGraphicsPathItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +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("resizeEvent"); + static PyObject* name = PyString_FromString("setExtension"); 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}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -958,32 +890,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::resizeEvent(event0); + QGraphicsPathItem::setExtension(extension0, variant1); } -bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) +QPainterPath PythonQtShell_QGraphicsPathItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -991,54 +923,65 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::sceneEvent(event0); + return QGraphicsPathItem::shape(); } -void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) +bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&rect0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::setGeometry(rect0); + return QGraphicsPathItem::supportsExtension(extension0); } -QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const +int PythonQtShell_QGraphicsPathItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1046,21 +989,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::shape(); + return QGraphicsPathItem::type(); } -void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1068,32 +1011,111 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::showEvent(event0); + QGraphicsPathItem::wheelEvent(event0); } -QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +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("sizeHint"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + 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); - QSizeF returnValue{}; - void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1101,32 +1123,32 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::sizeHint(which0, constraint1); + return QGraphicsPixmapItem::collidesWithItem(other0, mode1); } -int PythonQtShell_QGraphicsProxyWidget::type() const +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("type"); + static PyObject* name = PyString_FromString("collidesWithPath"); 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}; + 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("type", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1134,21 +1156,54 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::type(); + return QGraphicsPixmapItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) +bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1156,21 +1211,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabKeyboardEvent(event0); + QGraphicsPixmapItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabMouseEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1178,21 +1233,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabMouseEvent(event0); + QGraphicsPixmapItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::updateGeometry() +void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1200,21 +1255,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::updateGeometry(); + QGraphicsPixmapItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1222,65 +1277,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::wheelEvent(event0); + QGraphicsPixmapItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) +void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::windowFrameEvent(e0); + QGraphicsPixmapItem::dropEvent(event0); } -Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const +QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameSectionAt"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue{}; - void* args[2] = {nullptr, (void*)&pos0}; + 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("windowFrameSectionAt", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1288,144 +1332,131 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::windowFrameSectionAt(pos0); + return QGraphicsPixmapItem::extension(variant0); } -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; +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(); + } } } -int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsProxyWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsProxyWidget::contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); + QGraphicsPixmapItem::focusInEvent(event0); } - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) +void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->createProxyForChildWidget(child)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsProxyWidget::dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); + QGraphicsPixmapItem::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsProxyWidget::dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); + QGraphicsPixmapItem::hoverEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsProxyWidget::dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const -{ - return ( theWrappedObject->subWidgetRect(widget)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsProxyWidget::wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_wheelEvent(event)); + QGraphicsPixmapItem::hoverLeaveEvent(event0); } - -QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const +void PythonQtShell_QGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->widget()); +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(); + } + } } - - - -PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsPixmapItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsRectItem::advance(int phase0) +void PythonQtShell_QGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1433,32 +1464,32 @@ if (_wrapper) { } } } - QGraphicsRectItem::advance(phase0); + QGraphicsPixmapItem::inputMethodEvent(event0); } -QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const +QVariant PythonQtShell_QGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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("boundingRect", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1466,32 +1497,32 @@ if (_wrapper) { } } } - return QGraphicsRectItem::boundingRect(); + return QGraphicsPixmapItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsRectItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsPixmapItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("isObscuredBy"); 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); + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + 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("collidesWithItem", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1499,87 +1530,79 @@ if (_wrapper) { } } } - return QGraphicsRectItem::collidesWithItem(other0, mode1); + return QGraphicsPixmapItem::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsRectItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +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("collidesWithPath"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + 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("collidesWithPath", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::collidesWithPath(path0, mode1); + return QGraphicsPixmapItem::itemChange(change0, value1); } -bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsPixmapItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::contains(point0); + QGraphicsPixmapItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsRectItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1587,21 +1610,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::contextMenuEvent(event0); + QGraphicsPixmapItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsRectItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1609,21 +1632,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::dragEnterEvent(event0); + QGraphicsPixmapItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsRectItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1631,21 +1654,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::dragLeaveEvent(event0); + QGraphicsPixmapItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsRectItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1653,21 +1676,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::dragMoveEvent(event0); + QGraphicsPixmapItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsRectItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1675,32 +1698,32 @@ if (_wrapper) { } } } - QGraphicsRectItem::dropEvent(event0); + QGraphicsPixmapItem::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const +QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&variant0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1708,21 +1731,21 @@ if (_wrapper) { } } } - return QGraphicsRectItem::extension(variant0); + return QGraphicsPixmapItem::opaqueArea(); } -void PythonQtShell_QGraphicsRectItem::focusInEvent(QFocusEvent* event0) +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("focusInEvent"); + static PyObject* name = PyString_FromString("paint"); 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}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1730,65 +1753,87 @@ if (_wrapper) { } } } - QGraphicsRectItem::focusInEvent(event0); + QGraphicsPixmapItem::paint(painter0, option1, widget2); } -void PythonQtShell_QGraphicsRectItem::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsRectItem::focusOutEvent(event0); + return QGraphicsPixmapItem::sceneEvent(event0); } -void PythonQtShell_QGraphicsRectItem::hoverEnterEvent(QGraphicsSceneHoverEvent* 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("hoverEnterEvent"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsRectItem::hoverEnterEvent(event0); + return QGraphicsPixmapItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsRectItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +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("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("setExtension"); 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}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1796,43 +1841,120 @@ if (_wrapper) { } } } - QGraphicsRectItem::hoverLeaveEvent(event0); + QGraphicsPixmapItem::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsRectItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + 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); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsRectItem::hoverMoveEvent(event0); + return QGraphicsPixmapItem::supportsExtension(extension0); } -void PythonQtShell_QGraphicsRectItem::inputMethodEvent(QInputMethodEvent* event0) +int PythonQtShell_QGraphicsPixmapItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1840,32 +1962,113 @@ if (_wrapper) { } } } - QGraphicsRectItem::inputMethodEvent(event0); + QGraphicsPixmapItem::wheelEvent(event0); } -QVariant PythonQtShell_QGraphicsRectItem::inputMethodQuery(Qt::InputMethodQuery query0) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1873,32 +2076,32 @@ if (_wrapper) { } } } - return QGraphicsRectItem::inputMethodQuery(query0); + return QGraphicsPolygonItem::boundingRect(); } -bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const +bool PythonQtShell_QGraphicsPolygonItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("collidesWithItem"); 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); + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&item0}; + 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("isObscuredBy", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1906,79 +2109,87 @@ if (_wrapper) { } } } - return QGraphicsRectItem::isObscuredBy(item0); + return QGraphicsPolygonItem::collidesWithItem(other0, mode1); } -QVariant PythonQtShell_QGraphicsRectItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +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("itemChange"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + 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("itemChange", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::itemChange(change0, value1); + return QGraphicsPolygonItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsRectItem::keyPressEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsRectItem::keyPressEvent(event0); + return QGraphicsPolygonItem::contains(point0); } -void PythonQtShell_QGraphicsRectItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1986,21 +2197,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::keyReleaseEvent(event0); + QGraphicsPolygonItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsRectItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2008,21 +2219,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::mouseDoubleClickEvent(event0); + QGraphicsPolygonItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsRectItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2030,21 +2241,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::mouseMoveEvent(event0); + QGraphicsPolygonItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsRectItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2052,21 +2263,21 @@ if (_wrapper) { } } } - QGraphicsRectItem::mousePressEvent(event0); + QGraphicsPolygonItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsRectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2074,32 +2285,32 @@ if (_wrapper) { } } } - QGraphicsRectItem::mouseReleaseEvent(event0); + QGraphicsPolygonItem::dropEvent(event0); } -QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const +QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("extension"); 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}; + 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("opaqueArea", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2107,21 +2318,21 @@ if (_wrapper) { } } } - return QGraphicsRectItem::opaqueArea(); + return QGraphicsPolygonItem::extension(variant0); } -void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsPolygonItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2129,87 +2340,65 @@ if (_wrapper) { } } } - QGraphicsRectItem::paint(painter0, option1, widget2); + QGraphicsPolygonItem::focusInEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::sceneEvent(event0); + QGraphicsPolygonItem::focusOutEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +void PythonQtShell_QGraphicsPolygonItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::sceneEventFilter(watched0, event1); + QGraphicsPolygonItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsPolygonItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2217,32 +2406,76 @@ if (_wrapper) { } } } - QGraphicsRectItem::setExtension(extension0, variant1); + QGraphicsPolygonItem::hoverLeaveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsRectItem::shape() const +void PythonQtShell_QGraphicsPolygonItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); 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}; + 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("shape", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2250,32 +2483,32 @@ if (_wrapper) { } } } - return QGraphicsRectItem::shape(); + return QGraphicsPolygonItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&extension0}; + 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("supportsExtension", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2283,54 +2516,57 @@ if (_wrapper) { } } } - return QGraphicsRectItem::supportsExtension(extension0); + return QGraphicsPolygonItem::isObscuredBy(item0); } -int PythonQtShell_QGraphicsRectItem::type() const +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("type"); + static PyObject* name = PyString_FromString("itemChange"); 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}; + 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("type", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::type(); + return QGraphicsPolygonItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsRectItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2338,54 +2574,43 @@ if (_wrapper) { } } } - 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)); + QGraphicsPolygonItem::keyPressEvent(event0); } - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtShell_QGraphicsPolygonItem::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->setRect(x, y, w, h)); +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(); + } + } } - - - -PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsPolygonItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QGraphicsPolygonItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2393,21 +2618,21 @@ if (_wrapper) { } } } - QGraphicsRotation::applyTo(matrix0); + QGraphicsPolygonItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2415,21 +2640,21 @@ if (_wrapper) { } } } - QGraphicsRotation::childEvent(event0); + QGraphicsPolygonItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2437,65 +2662,54 @@ if (_wrapper) { } } } - QGraphicsRotation::customEvent(event0); + QGraphicsPolygonItem::mousePressEvent(event0); } -bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRotation::event(event0); + QGraphicsPolygonItem::mouseReleaseEvent(event0); } -bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* event1) +QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2503,21 +2717,21 @@ if (_wrapper) { } } } - return QGraphicsRotation::eventFilter(watched0, event1); + return QGraphicsPolygonItem::opaqueArea(); } -void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2525,101 +2739,87 @@ if (_wrapper) { } } } - 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)); + QGraphicsPolygonItem::paint(painter0, option1, widget2); } - -void PythonQtWrapper_QGraphicsRotation::setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point) +bool PythonQtShell_QGraphicsPolygonItem::sceneEvent(QEvent* event0) { - ( theWrappedObject->setOrigin(point)); +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(); + } + } } - - - -PythonQtShell_QGraphicsScale::~PythonQtShell_QGraphicsScale() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsPolygonItem::sceneEvent(event0); } -void PythonQtShell_QGraphicsScale::applyTo(QMatrix4x4* matrix0) const +bool PythonQtShell_QGraphicsPolygonItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("sceneEventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScale::applyTo(matrix0); + return QGraphicsPolygonItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("setExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2627,54 +2827,65 @@ if (_wrapper) { } } } - QGraphicsScale::childEvent(event0); + QGraphicsPolygonItem::setExtension(extension0, variant1); } -void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) +QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("shape"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScale::customEvent(event0); + return QGraphicsPolygonItem::shape(); } -bool PythonQtShell_QGraphicsScale::event(QEvent* event0) +bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2682,32 +2893,32 @@ if (_wrapper) { } } } - return QGraphicsScale::event(event0); + return QGraphicsPolygonItem::supportsExtension(extension0); } -bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* event1) +int PythonQtShell_QGraphicsPolygonItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2715,21 +2926,21 @@ if (_wrapper) { } } } - return QGraphicsScale::eventFilter(watched0, event1); + return QGraphicsPolygonItem::type(); } -void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsPolygonItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2737,84 +2948,55 @@ if (_wrapper) { } } } - QGraphicsScale::timerEvent(event0); + QGraphicsPolygonItem::wheelEvent(event0); } -QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* 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)); -} +return new PythonQtShell_QGraphicsPolygonItem(parent); } -void PythonQtWrapper_QGraphicsScale::setYScale(QGraphicsScale* theWrappedObject, qreal arg__1) -{ - ( theWrappedObject->setYScale(arg__1)); -} +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } -void PythonQtWrapper_QGraphicsScale::setZScale(QGraphicsScale* theWrappedObject, qreal arg__1) +Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const { - ( theWrappedObject->setZScale(arg__1)); + return ( theWrappedObject->fillRule()); } -qreal PythonQtWrapper_QGraphicsScale::xScale(QGraphicsScale* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const { - return ( theWrappedObject->xScale()); + return ( theWrappedObject->polygon()); } -qreal PythonQtWrapper_QGraphicsScale::yScale(QGraphicsScale* theWrappedObject) const +void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) { - return ( theWrappedObject->yScale()); + ( theWrappedObject->setFillRule(rule)); } -qreal PythonQtWrapper_QGraphicsScale::zScale(QGraphicsScale* theWrappedObject) const +void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) { - return ( theWrappedObject->zScale()); + ( theWrappedObject->setPolygon(polygon)); } -PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { +PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsScene::childEvent(QChildEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2822,43 +3004,54 @@ if (_wrapper) { } } } - QGraphicsScene::childEvent(event0); + QGraphicsProxyWidget::advance(phase0); } -void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("boundingRect"); 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}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::contextMenuEvent(event0); + return QGraphicsProxyWidget::boundingRect(); } -void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2866,21 +3059,21 @@ if (_wrapper) { } } } - QGraphicsScene::customEvent(event0); + QGraphicsProxyWidget::changeEvent(event0); } -void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2888,21 +3081,21 @@ if (_wrapper) { } } } - QGraphicsScene::dragEnterEvent(event0); + QGraphicsProxyWidget::childEvent(event0); } -void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2910,87 +3103,120 @@ if (_wrapper) { } } } - QGraphicsScene::dragLeaveEvent(event0); + QGraphicsProxyWidget::closeEvent(event0); } -void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("collidesWithItem"); 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}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragMoveEvent(event0); + return QGraphicsProxyWidget::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) +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("drawBackground"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::drawBackground(painter0, rect1); + return QGraphicsProxyWidget::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) +bool PythonQtShell_QGraphicsProxyWidget::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawForeground"); + static PyObject* name = PyString_FromString("contains"); 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}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::drawForeground(painter0, rect1); + return QGraphicsProxyWidget::contains(point0); } -void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) +void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItems"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2998,21 +3224,21 @@ if (_wrapper) { } } } - QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); + QGraphicsProxyWidget::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3020,87 +3246,65 @@ if (_wrapper) { } } } - QGraphicsScene::dropEvent(event0); + QGraphicsProxyWidget::customEvent(event0); } -bool PythonQtShell_QGraphicsScene::event(QEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsScene::event(event0); + QGraphicsProxyWidget::dragEnterEvent(event0); } -bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsScene::eventFilter(watched0, event1); + QGraphicsProxyWidget::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3108,21 +3312,21 @@ if (_wrapper) { } } } - QGraphicsScene::focusInEvent(event0); + QGraphicsProxyWidget::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3130,76 +3334,98 @@ if (_wrapper) { } } } - QGraphicsScene::focusOutEvent(event0); + QGraphicsProxyWidget::dropEvent(event0); } -void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHelpEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::helpEvent(event0); + return QGraphicsProxyWidget::event(event0); } -void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* 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("inputMethodEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::inputMethodEvent(event0); + return QGraphicsProxyWidget::eventFilter(object0, event1); } -QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QGraphicsProxyWidget::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3207,21 +3433,21 @@ if (_wrapper) { } } } - return QGraphicsScene::inputMethodQuery(query0); + return QGraphicsProxyWidget::extension(variant0); } -void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3229,43 +3455,54 @@ if (_wrapper) { } } } - QGraphicsScene::keyPressEvent(event0); + QGraphicsProxyWidget::focusInEvent(event0); } -void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::keyReleaseEvent(event0); + return QGraphicsProxyWidget::focusNextPrevChild(next0); } -void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3273,21 +3510,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseDoubleClickEvent(event0); + QGraphicsProxyWidget::focusOutEvent(event0); } -void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* 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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3295,21 +3532,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseMoveEvent(event0); + QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3317,21 +3554,21 @@ if (_wrapper) { } } } - QGraphicsScene::mousePressEvent(event0); + QGraphicsProxyWidget::grabKeyboardEvent(event0); } -void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3339,21 +3576,21 @@ if (_wrapper) { } } } - QGraphicsScene::mouseReleaseEvent(event0); + QGraphicsProxyWidget::grabMouseEvent(event0); } -void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3361,21 +3598,21 @@ if (_wrapper) { } } } - QGraphicsScene::timerEvent(event0); + QGraphicsProxyWidget::hideEvent(event0); } -void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3383,1073 +3620,1962 @@ if (_wrapper) { } } } - 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()); + QGraphicsProxyWidget::hoverEnterEvent(event0); } - -QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->activeWindow()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addEllipse(rect, pen, brush)); + QGraphicsProxyWidget::hoverLeaveEvent(event0); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - return ( theWrappedObject->addEllipse(x, y, w, h, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->addItem(item)); + QGraphicsProxyWidget::hoverMoveEvent(event0); } - -QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) +void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const { - return ( theWrappedObject->addLine(line, pen)); +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(); + } + } } - -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)); + QGraphicsProxyWidget::initStyleOption(option0); } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) +void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* event0) { - return ( theWrappedObject->addPath(path, pen, brush)); +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* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) -{ - return ( theWrappedObject->addPixmap(pixmap)); + QGraphicsProxyWidget::inputMethodEvent(event0); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) +QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->addPolygon(polygon, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addRect(rect, pen, brush)); + return QGraphicsProxyWidget::inputMethodQuery(query0); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, const QPen& pen, const QBrush& brush) +bool PythonQtShell_QGraphicsProxyWidget::isObscuredBy(const QGraphicsItem* item0) const { - return ( theWrappedObject->addRect(x, y, w, h, pen, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("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(); + } + } } - -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) -{ - return ( theWrappedObject->addSimpleText(text, font)); + return QGraphicsProxyWidget::isObscuredBy(item0); } - -QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - return ( theWrappedObject->addText(text, font)); -} - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) -{ - return ( theWrappedObject->addWidget(widget, wFlags)); +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(); + } + } } - -QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->backgroundBrush()); + return QGraphicsProxyWidget::itemChange(change0, value1); } - -int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->bspTreeDepth()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); + QGraphicsProxyWidget::keyPressEvent(event0); } - -QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const +void PythonQtShell_QGraphicsProxyWidget::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->collidingItems(item, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); + QGraphicsProxyWidget::keyReleaseEvent(event0); } - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) +void PythonQtShell_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->createItemGroup(items)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) -{ - ( theWrappedObject->destroyItemGroup(group)); + QGraphicsProxyWidget::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); + QGraphicsProxyWidget::mouseMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); + QGraphicsProxyWidget::mousePressEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtShell_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); + QGraphicsProxyWidget::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtShell_QGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); + QGraphicsProxyWidget::moveEvent(event0); } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const +QPainterPath PythonQtShell_QGraphicsProxyWidget::opaqueArea() const { - return ( theWrappedObject->focusItem()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::focusOnTouch(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->focusOnTouch()); + return QGraphicsProxyWidget::opaqueArea(); } - -void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->font()); +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(); + } + } } - -QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->foregroundBrush()); + QGraphicsProxyWidget::paint(painter0, option1, widget2); } - -bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return ( theWrappedObject->hasFocus()); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->height()); + QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); } - -void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) +void PythonQtShell_QGraphicsProxyWidget::polishEvent() { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); + QGraphicsProxyWidget::polishEvent(); } - -QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const +QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) { - return ( theWrappedObject->inputMethodQuery(query)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) -{ - ( theWrappedObject->invalidate(x, y, w, h, layers)); + return QGraphicsProxyWidget::propertyChange(propertyName0, value1); } - -bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { - return ( theWrappedObject->isActive()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->isSortCacheEnabled()); + QGraphicsProxyWidget::resizeEvent(event0); } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const +bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) { - return ( theWrappedObject->itemAt(pos, deviceTransform)); +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(); + } + } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const -{ - return ( theWrappedObject->itemAt(x, y, deviceTransform)); + return QGraphicsProxyWidget::sceneEvent(event0); } - -QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return ( theWrappedObject->itemIndexMethod()); +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(); + } + } } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const -{ - return ( theWrappedObject->items(order)); + return QGraphicsProxyWidget::sceneEventFilter(watched0, event1); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +void PythonQtShell_QGraphicsProxyWidget::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->items(path, mode, order, deviceTransform)); +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(); + } + } } - -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)); + QGraphicsProxyWidget::setExtension(extension0, variant1); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) { - return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); +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(); + } + } } - -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)); + QGraphicsProxyWidget::setGeometry(rect0); } - -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const { - return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->itemsBoundingRect()); + return QGraphicsProxyWidget::shape(); } - -void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); + QGraphicsProxyWidget::showEvent(event0); } - -qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const +QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const { - return ( theWrappedObject->minimumRenderSize()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); + return QGraphicsProxyWidget::sizeHint(which0, constraint1); } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsProxyWidget::supportsExtension(QGraphicsItem::Extension extension0) const { - return ( theWrappedObject->mouseGrabberItem()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); + return QGraphicsProxyWidget::supportsExtension(extension0); } - -void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QGraphicsProxyWidget::timerEvent(QTimerEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); + QGraphicsProxyWidget::timerEvent(event0); } - -QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const +int PythonQtShell_QGraphicsProxyWidget::type() const { - return ( theWrappedObject->palette()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) -{ - ( theWrappedObject->removeItem(item)); + return QGraphicsProxyWidget::type(); } - -void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) +void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) { - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->sceneRect()); + QGraphicsProxyWidget::ungrabKeyboardEvent(event0); } - -QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) { - return ( theWrappedObject->selectedItems()); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->selectionArea()); + QGraphicsProxyWidget::ungrabMouseEvent(event0); } - -bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) +void PythonQtShell_QGraphicsProxyWidget::updateGeometry() { - return ( theWrappedObject->sendEvent(item, event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) -{ - ( theWrappedObject->setActivePanel(item)); + QGraphicsProxyWidget::updateGeometry(); } - -void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) +void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) { - ( theWrappedObject->setActiveWindow(widget)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackgroundBrush(brush)); + QGraphicsProxyWidget::wheelEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) +bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) { - ( theWrappedObject->setBspTreeDepth(depth)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocus(focusReason)); + return QGraphicsProxyWidget::windowFrameEvent(e0); } - -void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) +Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const { - ( theWrappedObject->setFocusItem(item, focusReason)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setFocusOnTouch(enabled)); + return QGraphicsProxyWidget::windowFrameSectionAt(pos0); } +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) +{ +return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } -void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); +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; + } } - -void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForegroundBrush(brush)); +int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsProxyWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) { - ( theWrappedObject->setItemIndexMethod(method)); + return ( theWrappedObject->createProxyForChildWidget(child)); } -void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) +void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) { - ( theWrappedObject->setMinimumRenderSize(minSize)); + ( theWrappedObject->setWidget(widget)); } -void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) +QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const { - ( theWrappedObject->setPalette(palette)); + return ( theWrappedObject->subWidgetRect(widget)); } -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) +QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const { - ( theWrappedObject->setSceneRect(rect)); + return ( theWrappedObject->widget()); } -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)); +PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) +void PythonQtShell_QGraphicsRectItem::advance(int phase0) { - ( theWrappedObject->setSelectionArea(path, deviceTransform)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setSortCacheEnabled(enabled)); + QGraphicsRectItem::advance(phase0); } - -void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) +QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const { - ( theWrappedObject->setStickyFocus(enabled)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) -{ - ( theWrappedObject->setStyle(style)); + return QGraphicsRectItem::boundingRect(); } - -bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->stickyFocus()); +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(); + } + } } - -QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->style()); + return QGraphicsRectItem::collidesWithItem(other0, mode1); } - -void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +bool PythonQtShell_QGraphicsRectItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { - ( 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)); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->width()); + return QGraphicsRectItem::collidesWithPath(path0, mode1); } - - - -QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) -{ -return new QGraphicsSceneContextMenuEvent(type); } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const { - return ( theWrappedObject->modifiers()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); + return QGraphicsRectItem::contains(point0); } - -QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - return ( theWrappedObject->reason()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsRectItem::contextMenuEvent(event0); } - -QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); + QGraphicsRectItem::dragEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsRectItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) -{ - ( theWrappedObject->setReason(reason)); + QGraphicsRectItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsRectItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); + QGraphicsRectItem::dragMoveEvent(event0); } - - - -QGraphicsSceneDragDropEvent* PythonQtWrapper_QGraphicsSceneDragDropEvent::new_QGraphicsSceneDragDropEvent(QEvent::Type type) -{ -return new QGraphicsSceneDragDropEvent(type); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) +void PythonQtShell_QGraphicsRectItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->acceptProposedAction()); +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(); + } + } } - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); + QGraphicsRectItem::dropEvent(event0); } - -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const { - return ( theWrappedObject->dropAction()); +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(); + } + } } - -const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->mimeData()); + return QGraphicsRectItem::extension(variant0); } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::focusInEvent(QFocusEvent* event0) { - 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()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsRectItem::focusInEvent(event0); } - -QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) -{ - ( theWrappedObject->setButtons(buttons)); + QGraphicsRectItem::focusOutEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +void PythonQtShell_QGraphicsRectItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setDropAction(action)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) -{ - ( theWrappedObject->setModifiers(modifiers)); + QGraphicsRectItem::hoverEnterEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsRectItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions) -{ - ( theWrappedObject->setPossibleActions(actions)); + QGraphicsRectItem::hoverLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +void PythonQtShell_QGraphicsRectItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { - ( theWrappedObject->setProposedAction(action)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); + QGraphicsRectItem::hoverMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) +void PythonQtShell_QGraphicsRectItem::inputMethodEvent(QInputMethodEvent* event0) { - ( theWrappedObject->setScreenPos(pos)); +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(); + } + } } - -QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); + QGraphicsRectItem::inputMethodEvent(event0); } - - - -QGraphicsSceneEvent* PythonQtWrapper_QGraphicsSceneEvent::new_QGraphicsSceneEvent(QEvent::Type type) -{ -return new QGraphicsSceneEvent(type); } - -QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const +QVariant PythonQtShell_QGraphicsRectItem::inputMethodQuery(Qt::InputMethodQuery query0) const { - return ( theWrappedObject->widget()); -} - -QString PythonQtWrapper_QGraphicsSceneEvent::py_toString(QGraphicsSceneEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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(); + } + } } - - - -QGraphicsSceneHelpEvent* PythonQtWrapper_QGraphicsSceneHelpEvent::new_QGraphicsSceneHelpEvent(QEvent::Type type) -{ -return new QGraphicsSceneHelpEvent(type); } - -QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + return QGraphicsRectItem::inputMethodQuery(query0); } - -QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const { - return ( theWrappedObject->screenPos()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setScenePos(pos)); + return QGraphicsRectItem::isObscuredBy(item0); } - -void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) +QVariant PythonQtShell_QGraphicsRectItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - ( 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()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); + return QGraphicsRectItem::itemChange(change0, value1); } - -QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->lastScreenPos()); +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(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); + QGraphicsRectItem::keyPressEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->pos()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + QGraphicsRectItem::keyReleaseEvent(event0); } - -QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { - return ( theWrappedObject->screenPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setLastPos(pos)); + QGraphicsRectItem::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsRectItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setLastScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setLastScreenPos(pos)); + QGraphicsRectItem::mouseMoveEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtShell_QGraphicsRectItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setModifiers(modifiers)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPos(pos)); + QGraphicsRectItem::mousePressEvent(event0); } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QGraphicsRectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { - ( theWrappedObject->setScenePos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) -{ - ( theWrappedObject->setScreenPos(pos)); + QGraphicsRectItem::mouseReleaseEvent(event0); } - - - -QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) -{ -return new QGraphicsSceneMouseEvent(type); } - -Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const +QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const { - return ( theWrappedObject->button()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownPos(button)); + return QGraphicsRectItem::opaqueArea(); } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return ( theWrappedObject->buttonDownScenePos(button)); +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(); + } + } } - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const -{ - return ( theWrappedObject->buttonDownScreenPos(button)); + QGraphicsRectItem::paint(painter0, option1, widget2); } - -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::sceneEvent(QEvent* event0) { - return ( theWrappedObject->buttons()); +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(); + } + } } - -Qt::MouseEventFlags PythonQtWrapper_QGraphicsSceneMouseEvent::flags(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->flags()); + return QGraphicsRectItem::sceneEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return ( theWrappedObject->lastPos()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->lastScenePos()); + return QGraphicsRectItem::sceneEventFilter(watched0, event1); } - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +void PythonQtShell_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - return ( theWrappedObject->lastScreenPos()); +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(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); + QGraphicsRectItem::setExtension(extension0, variant1); } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) const +QPainterPath PythonQtShell_QGraphicsRectItem::shape() const { - return ( theWrappedObject->pos()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); + return QGraphicsRectItem::shape(); } - -QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) const +bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const { - return ( theWrappedObject->screenPos()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) -{ - ( theWrappedObject->setButton(button)); + return QGraphicsRectItem::supportsExtension(extension0); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +int PythonQtShell_QGraphicsRectItem::type() const { - ( theWrappedObject->setButtonDownPos(button, pos)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) -{ - ( theWrappedObject->setButtonDownScenePos(button, pos)); + return QGraphicsRectItem::type(); } - -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) +void PythonQtShell_QGraphicsRectItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - ( theWrappedObject->setButtonDownScreenPos(button, pos)); +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); } -void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) +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 { - ( theWrappedObject->setButtons(buttons)); + return ( theWrappedObject->rect()); } -void PythonQtWrapper_QGraphicsSceneMouseEvent::setFlags(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventFlags arg__1) +void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) { - ( theWrappedObject->setFlags(arg__1)); + ( theWrappedObject->setRect(rect)); } -void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - ( theWrappedObject->setLastPos(pos)); + ( theWrappedObject->setRect(x, y, w, h)); } -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() { +PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsSimpleTextItem::advance(int phase0) +void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4457,98 +5583,76 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::advance(phase0); + QGraphicsRotation::applyTo(matrix0); } -QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const +void PythonQtShell_QGraphicsRotation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::boundingRect(); + QGraphicsRotation::childEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsRotation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::collidesWithItem(other0, mode1); + QGraphicsRotation::customEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsRotation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4556,32 +5660,32 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::collidesWithPath(path0, mode1); + return QGraphicsRotation::event(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsRotation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&point0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4589,21 +5693,21 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::contains(point0); + return QGraphicsRotation::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsSimpleTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsRotation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4611,21 +5715,79 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::contextMenuEvent(event0); + QGraphicsRotation::timerEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* 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("dragEnterEvent"); + static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4633,21 +5795,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::dragEnterEvent(event0); + QGraphicsScale::applyTo(matrix0); } -void PythonQtShell_QGraphicsSimpleTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsScale::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4655,21 +5817,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::dragLeaveEvent(event0); + QGraphicsScale::childEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsScale::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4677,54 +5839,65 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::dragMoveEvent(event0); + QGraphicsScale::customEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsScale::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsSimpleTextItem::dropEvent(event0); + return QGraphicsScale::event(event0); } -QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& variant0) const +bool PythonQtShell_QGraphicsScale::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4732,21 +5905,21 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::extension(variant0); + return QGraphicsScale::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsSimpleTextItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsScale::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4754,21 +5927,84 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::focusInEvent(event0); + QGraphicsScale::timerEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::focusOutEvent(QFocusEvent* 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("focusOutEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4776,21 +6012,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::focusOutEvent(event0); + QGraphicsScene::childEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4798,21 +6034,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::hoverEnterEvent(event0); + QGraphicsScene::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsScene::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4820,21 +6056,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::hoverLeaveEvent(event0); + QGraphicsScene::customEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4842,21 +6078,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::hoverMoveEvent(event0); + QGraphicsScene::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4864,123 +6100,87 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::inputMethodEvent(event0); + QGraphicsScene::dragLeaveEvent(event0); } -QVariant PythonQtShell_QGraphicsSimpleTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::inputMethodQuery(query0); + QGraphicsScene::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const +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("isObscuredBy"); + static PyObject* name = PyString_FromString("drawBackground"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::isObscuredBy(item0); + QGraphicsScene::drawBackground(painter0, rect1); } -QVariant PythonQtShell_QGraphicsSimpleTextItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +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("itemChange"); + static PyObject* name = PyString_FromString("drawForeground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&painter0, (void*)&rect1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::itemChange(change0, value1); + QGraphicsScene::drawForeground(painter0, rect1); } -void PythonQtShell_QGraphicsSimpleTextItem::keyPressEvent(QKeyEvent* event0) +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("keyPressEvent"); + static PyObject* name = PyString_FromString("drawItems"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4988,21 +6188,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::keyPressEvent(event0); + QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); } -void PythonQtShell_QGraphicsSimpleTextItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5010,65 +6210,87 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::keyReleaseEvent(event0); + QGraphicsScene::dropEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsScene::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsSimpleTextItem::mouseDoubleClickEvent(event0); + return QGraphicsScene::event(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* 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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsSimpleTextItem::mouseMoveEvent(event0); + return QGraphicsScene::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsSimpleTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5076,21 +6298,21 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::mousePressEvent(event0); + QGraphicsScene::focusInEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5098,54 +6320,43 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::mouseReleaseEvent(event0); + QGraphicsScene::focusOutEvent(event0); } -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const +void PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("helpEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::opaqueArea(); + QGraphicsScene::helpEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5153,32 +6364,32 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::paint(painter0, option1, widget2); + QGraphicsScene::inputMethodEvent(event0); } -bool PythonQtShell_QGraphicsSimpleTextItem::sceneEvent(QEvent* 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("sceneEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("sceneEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5186,54 +6397,43 @@ if (_wrapper) { } } } - return QGraphicsSimpleTextItem::sceneEvent(event0); + return QGraphicsScene::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsSimpleTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsSimpleTextItem::sceneEventFilter(watched0, event1); + QGraphicsScene::keyPressEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5241,120 +6441,43 @@ if (_wrapper) { } } } - QGraphicsSimpleTextItem::setExtension(extension0, variant1); + QGraphicsScene::keyReleaseEvent(event0); } -QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const +void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } 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(); + QGraphicsScene::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsSimpleTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5362,121 +6485,43 @@ if (_wrapper) { } } } - 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); } -} -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(); + QGraphicsScene::mouseMoveEvent(event0); } -bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsTextItem::contains(point0); + QGraphicsScene::mousePressEvent(event0); } -void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5484,21 +6529,21 @@ if (_wrapper) { } } } - QGraphicsTextItem::contextMenuEvent(event0); + QGraphicsScene::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsScene::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5506,21 +6551,21 @@ if (_wrapper) { } } } - QGraphicsTextItem::dragEnterEvent(event0); + QGraphicsScene::timerEvent(event0); } -void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5528,1767 +6573,1073 @@ if (_wrapper) { } } } - QGraphicsTextItem::dragLeaveEvent(event0); + QGraphicsScene::wheelEvent(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(); - } +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; } } - QGraphicsTextItem::dragMoveEvent(event0); +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; } -void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +QGraphicsItem* PythonQtWrapper_QGraphicsScene::activePanel(QGraphicsScene* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->activePanel()); } - QGraphicsTextItem::dropEvent(event0); + +QGraphicsWidget* PythonQtWrapper_QGraphicsScene::activeWindow(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->activeWindow()); } -QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) const + +QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) { -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 ( theWrappedObject->addEllipse(rect, pen, brush)); } - return QGraphicsTextItem::extension(variant0); + +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 PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) + +void PythonQtWrapper_QGraphicsScene::addItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP item) { -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(); - } - } + ( theWrappedObject->addItem(item)); } - QGraphicsTextItem::focusInEvent(event0); + +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, const QLineF& line, const QPen& pen) +{ + return ( theWrappedObject->addLine(line, pen)); } -void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) + +QGraphicsLineItem* PythonQtWrapper_QGraphicsScene::addLine(QGraphicsScene* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2, const QPen& pen) { -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(); - } - } + return ( theWrappedObject->addLine(x1, y1, x2, y2, pen)); } - QGraphicsTextItem::focusOutEvent(event0); + +QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addPath(path, pen, brush)); } -void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) + +QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) { -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(); - } - } + return ( theWrappedObject->addPixmap(pixmap)); } - QGraphicsTextItem::hoverEnterEvent(event0); + +QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) +{ + return ( theWrappedObject->addPolygon(polygon, pen, brush)); } -void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) + +QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) { -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(); - } - } + return ( theWrappedObject->addRect(rect, pen, brush)); } - QGraphicsTextItem::hoverLeaveEvent(event0); + +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)); } -void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) + +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) { -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(); - } - } + return ( theWrappedObject->addSimpleText(text, font)); } - QGraphicsTextItem::hoverMoveEvent(event0); + +QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +{ + return ( theWrappedObject->addText(text, font)); } -void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event0) + +QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) { -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(); - } - } + return ( theWrappedObject->addWidget(widget, wFlags)); } - QGraphicsTextItem::inputMethodEvent(event0); + +QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->backgroundBrush()); } -QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const + +int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) 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 ( theWrappedObject->bspTreeDepth()); } - return QGraphicsTextItem::inputMethodQuery(query0); + +void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) +{ + ( theWrappedObject->clearFocus()); } -bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) const + +QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) 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 ( theWrappedObject->collidingItems(item, mode)); } - return QGraphicsTextItem::isObscuredBy(item0); + +void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); } -void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) + +QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) { -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(); - } - } + return ( theWrappedObject->createItemGroup(items)); } - QGraphicsTextItem::keyPressEvent(event0); + +void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->destroyItemGroup(group)); } -void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); } - QGraphicsTextItem::keyReleaseEvent(event0); + +void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); } -void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); } - QGraphicsTextItem::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); } -void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); } - QGraphicsTextItem::mouseMoveEvent(event0); + +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 PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) + +void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); } - QGraphicsTextItem::mousePressEvent(event0); + +void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); } -void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) + +QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->focusItem()); } - QGraphicsTextItem::mouseReleaseEvent(event0); + +bool PythonQtWrapper_QGraphicsScene::focusOnTouch(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->focusOnTouch()); } -QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const + +void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); } - return QGraphicsTextItem::opaqueArea(); + +QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->font()); } -void PythonQtShell_QGraphicsTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) 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 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(); - } - } + return ( theWrappedObject->foregroundBrush()); } - QGraphicsTextItem::paint(painter0, option1, widget2); + +bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); } -bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) + +qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const { -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 ( theWrappedObject->height()); } - return QGraphicsTextItem::sceneEvent(event0); + +void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); } -void PythonQtShell_QGraphicsTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) + +void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) { -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); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); } -QPainterPath PythonQtShell_QGraphicsTextItem::shape() const + +QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) 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(); + return ( theWrappedObject->inputMethodQuery(query)); } -bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extension extension0) const + +void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) { -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); + ( theWrappedObject->invalidate(x, y, w, h, layers)); } -int PythonQtShell_QGraphicsTextItem::type() const + +bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) 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(); + return ( theWrappedObject->isActive()); } -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) +bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const { - ( theWrappedObject->adjustSize()); + return ( theWrappedObject->isSortCacheEnabled()); } -QRectF PythonQtWrapper_QGraphicsTextItem::boundingRect(QGraphicsTextItem* theWrappedObject) const +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const { - return ( theWrappedObject->boundingRect()); + return ( theWrappedObject->itemAt(pos, deviceTransform)); } -bool PythonQtWrapper_QGraphicsTextItem::contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const +QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const { - return ( theWrappedObject->contains(point)); + return ( theWrappedObject->itemAt(x, y, deviceTransform)); } -void PythonQtWrapper_QGraphicsTextItem::contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contextMenuEvent(event)); + return ( theWrappedObject->itemIndexMethod()); } -QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const { - return ( theWrappedObject->defaultTextColor()); + return ( theWrappedObject->items(order)); } -QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - return ( theWrappedObject->document()); + return ( theWrappedObject->items(path, mode, order, deviceTransform)); } -void PythonQtWrapper_QGraphicsTextItem::dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragEnterEvent(event)); + return ( theWrappedObject->items(pos, mode, order, deviceTransform)); } -void PythonQtWrapper_QGraphicsTextItem::dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); + return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); } -void PythonQtWrapper_QGraphicsTextItem::dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragMoveEvent(event)); + return ( theWrappedObject->items(rect, mode, order, deviceTransform)); } -void PythonQtWrapper_QGraphicsTextItem::dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dropEvent(event)); + return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); } -QVariant PythonQtWrapper_QGraphicsTextItem::extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const +QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_extension(variant)); + return ( theWrappedObject->itemsBoundingRect()); } -void PythonQtWrapper_QGraphicsTextItem::focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) +void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusInEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); } -void PythonQtWrapper_QGraphicsTextItem::focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) +void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusOutEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); } -QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->minimumRenderSize()); } -void PythonQtWrapper_QGraphicsTextItem::hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); } -void PythonQtWrapper_QGraphicsTextItem::hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); + return ( theWrappedObject->mouseGrabberItem()); } -void PythonQtWrapper_QGraphicsTextItem::hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); } -void PythonQtWrapper_QGraphicsTextItem::inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event) +void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodEvent(event)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); } -QVariant PythonQtWrapper_QGraphicsTextItem::inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const +void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) { - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodQuery(query)); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); } -bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const +QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->isObscuredBy(item)); + return ( theWrappedObject->palette()); } -void PythonQtWrapper_QGraphicsTextItem::keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) +void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyPressEvent(event)); + ( theWrappedObject->removeItem(item)); } -void PythonQtWrapper_QGraphicsTextItem::keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) +void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); } -void PythonQtWrapper_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); + return ( theWrappedObject->sceneRect()); } -void PythonQtWrapper_QGraphicsTextItem::mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); + return ( theWrappedObject->selectedItems()); } -void PythonQtWrapper_QGraphicsTextItem::mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mousePressEvent(event)); + return ( theWrappedObject->selectionArea()); } -void PythonQtWrapper_QGraphicsTextItem::mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); + return ( theWrappedObject->sendEvent(item, event)); } -QPainterPath PythonQtWrapper_QGraphicsTextItem::opaqueArea(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) { - return ( theWrappedObject->opaqueArea()); + ( theWrappedObject->setActivePanel(item)); } -bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) { - return ( theWrappedObject->openExternalLinks()); + ( theWrappedObject->setActiveWindow(widget)); } -void PythonQtWrapper_QGraphicsTextItem::paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->paint(painter, option, widget)); + ( theWrappedObject->setBackgroundBrush(brush)); } -bool PythonQtWrapper_QGraphicsTextItem::sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event) +void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) { - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_sceneEvent(event)); + ( theWrappedObject->setBspTreeDepth(depth)); } -void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) +void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) { - ( theWrappedObject->setDefaultTextColor(c)); + ( theWrappedObject->setFocus(focusReason)); } -void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) +void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) { - ( theWrappedObject->setDocument(document)); + ( theWrappedObject->setFocusItem(item, focusReason)); } -void PythonQtWrapper_QGraphicsTextItem::setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant) +void PythonQtWrapper_QGraphicsScene::setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled) { - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); + ( theWrappedObject->setFocusOnTouch(enabled)); } -void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) +void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) { ( theWrappedObject->setFont(font)); } -void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) +void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setHtml(html)); + ( theWrappedObject->setForegroundBrush(brush)); } -void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) +void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) { - ( theWrappedObject->setOpenExternalLinks(open)); + ( theWrappedObject->setItemIndexMethod(method)); } -void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) +void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) { - ( theWrappedObject->setPlainText(text)); + ( theWrappedObject->setMinimumRenderSize(minSize)); } -void PythonQtWrapper_QGraphicsTextItem::setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b) +void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) { - ( theWrappedObject->setTabChangesFocus(b)); + ( theWrappedObject->setPalette(palette)); } -void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) { - ( theWrappedObject->setTextCursor(cursor)); + ( theWrappedObject->setSceneRect(rect)); } -void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) +void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - ( theWrappedObject->setTextInteractionFlags(flags)); + ( theWrappedObject->setSceneRect(x, y, w, h)); } -void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) { - ( theWrappedObject->setTextWidth(width)); + ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); } -QPainterPath PythonQtWrapper_QGraphicsTextItem::shape(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) { - return ( theWrappedObject->shape()); + ( theWrappedObject->setSelectionArea(path, selectionOperation, mode, deviceTransform)); } -bool PythonQtWrapper_QGraphicsTextItem::supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const +void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) { - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); + ( theWrappedObject->setSelectionArea(path, deviceTransform)); } -bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) { - return ( theWrappedObject->tabChangesFocus()); + ( theWrappedObject->setSortCacheEnabled(enabled)); } -QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) { - return ( theWrappedObject->textCursor()); + ( theWrappedObject->setStickyFocus(enabled)); } -Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) { - return ( theWrappedObject->textInteractionFlags()); + ( theWrappedObject->setStyle(style)); } -qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const +bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->textWidth()); + return ( theWrappedObject->stickyFocus()); } -QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const +QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const { - return ( theWrappedObject->toHtml()); + return ( theWrappedObject->style()); } -QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) { - return ( theWrappedObject->toPlainText()); + ( theWrappedObject->update(x, y, w, h)); +} + +QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->views()); } -int PythonQtWrapper_QGraphicsTextItem::type(QGraphicsTextItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) { - return ( theWrappedObject->type()); + ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); } +qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} -PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + +QGraphicsSceneContextMenuEvent* PythonQtWrapper_QGraphicsSceneContextMenuEvent::new_QGraphicsSceneContextMenuEvent(QEvent::Type type) +{ +return new QGraphicsSceneContextMenuEvent(type); } + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); } -void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) 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(); - } - } + return ( theWrappedObject->pos()); } - + +QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->reason()); } -void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* event0) + +QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->scenePos()); } - QGraphicsTransform::childEvent(event0); + +QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); } -void PythonQtShell_QGraphicsTransform::customEvent(QEvent* event0) + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setModifiers(modifiers)); } - QGraphicsTransform::customEvent(event0); + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); } -bool PythonQtShell_QGraphicsTransform::event(QEvent* event0) + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setReason(reason)); } - return QGraphicsTransform::event(event0); + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); } -bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setScreenPos(pos)); } - return QGraphicsTransform::eventFilter(watched0, event1); + + + +QGraphicsSceneDragDropEvent* PythonQtWrapper_QGraphicsSceneDragDropEvent::new_QGraphicsSceneDragDropEvent(QEvent::Type type) +{ +return new QGraphicsSceneDragDropEvent(type); } + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) +{ + ( theWrappedObject->acceptProposedAction()); } -void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* event0) + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->buttons()); } - QGraphicsTransform::timerEvent(event0); + +Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->dropAction()); } -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; - } +const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->mimeData()); } -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; + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); } -void PythonQtWrapper_QGraphicsTransform::applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const + +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const { - ( theWrappedObject->applyTo(matrix)); + 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()); +} -PythonQtShell_QGraphicsView::~PythonQtShell_QGraphicsView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); } -void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) + +QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->screenPos()); } - QGraphicsView::actionEvent(event0); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setButtons(buttons)); } -void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) { -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(); - } - } + ( theWrappedObject->setDropAction(action)); } - QGraphicsView::changeEvent(arg__1); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +{ + ( theWrappedObject->setModifiers(modifiers)); } -void PythonQtShell_QGraphicsView::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPos(pos)); } - QGraphicsView::childEvent(event0); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions) +{ + ( theWrappedObject->setPossibleActions(actions)); } -void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) { -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(); - } - } + ( theWrappedObject->setProposedAction(action)); } - QGraphicsView::closeEvent(event0); + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setScenePos(pos)); } -void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) + +void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "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(); - } - } + ( theWrappedObject->setScreenPos(pos)); } - QGraphicsView::contextMenuEvent(event0); + +QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->source()); } -void PythonQtShell_QGraphicsView::customEvent(QEvent* event0) + + + +QGraphicsSceneEvent* PythonQtWrapper_QGraphicsSceneEvent::new_QGraphicsSceneEvent(QEvent::Type type) +{ +return new QGraphicsSceneEvent(type); } + +QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->widget()); } - QGraphicsView::customEvent(event0); + +QString PythonQtWrapper_QGraphicsSceneEvent::py_toString(QGraphicsSceneEvent* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -int PythonQtShell_QGraphicsView::devType() const + + + +QGraphicsSceneHelpEvent* PythonQtWrapper_QGraphicsSceneHelpEvent::new_QGraphicsSceneHelpEvent(QEvent::Type type) +{ +return new QGraphicsSceneHelpEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) 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 ( theWrappedObject->scenePos()); } - return QGraphicsView::devType(); + +QPoint PythonQtWrapper_QGraphicsSceneHelpEvent::screenPos(QGraphicsSceneHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); } -void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScenePos(QGraphicsSceneHelpEvent* theWrappedObject, const QPointF& pos) { -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(); - } - } + ( theWrappedObject->setScenePos(pos)); } - QGraphicsView::dragEnterEvent(event0); + +void PythonQtWrapper_QGraphicsSceneHelpEvent::setScreenPos(QGraphicsSceneHelpEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); } -void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) + + + +QGraphicsSceneHoverEvent* PythonQtWrapper_QGraphicsSceneHoverEvent::new_QGraphicsSceneHoverEvent(QEvent::Type type) +{ +return new QGraphicsSceneHoverEvent(type); } + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastPos(QGraphicsSceneHoverEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "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(); - } - } + return ( theWrappedObject->lastPos()); } - QGraphicsView::dragLeaveEvent(event0); + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::lastScenePos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); } -void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::lastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->lastScreenPos()); } - QGraphicsView::dragMoveEvent(event0); + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneHoverEvent::modifiers(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); } -void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::pos(QGraphicsSceneHoverEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->pos()); } - QGraphicsView::drawBackground(painter0, rect1); + +QPointF PythonQtWrapper_QGraphicsSceneHoverEvent::scenePos(QGraphicsSceneHoverEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); } -void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) + +QPoint PythonQtWrapper_QGraphicsSceneHoverEvent::screenPos(QGraphicsSceneHoverEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->screenPos()); } - QGraphicsView::drawForeground(painter0, rect1); + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastPos(pos)); } -void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) { -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(); - } - } + ( theWrappedObject->setLastScenePos(pos)); } - QGraphicsView::drawItems(painter0, numItems1, items2, options3); + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setLastScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setLastScreenPos(pos)); } -void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setModifiers(QGraphicsSceneHoverEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { -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(); - } - } + ( theWrappedObject->setModifiers(modifiers)); } - QGraphicsView::dropEvent(event0); + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); } -void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScenePos(QGraphicsSceneHoverEvent* theWrappedObject, const QPointF& pos) { -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(); - } - } + ( theWrappedObject->setScenePos(pos)); } - QGraphicsView::enterEvent(event0); + +void PythonQtWrapper_QGraphicsSceneHoverEvent::setScreenPos(QGraphicsSceneHoverEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScreenPos(pos)); } -bool PythonQtShell_QGraphicsView::event(QEvent* event0) + + + +QGraphicsSceneMouseEvent* PythonQtWrapper_QGraphicsSceneMouseEvent::new_QGraphicsSceneMouseEvent(QEvent::Type type) +{ +return new QGraphicsSceneMouseEvent(type); } + +Qt::MouseButton PythonQtWrapper_QGraphicsSceneMouseEvent::button(QGraphicsSceneMouseEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->button()); } - return QGraphicsView::event(event0); + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownPos(button)); } -bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - 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 ( theWrappedObject->buttonDownScenePos(button)); } - return QGraphicsView::eventFilter(arg__1, arg__2); + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::buttonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) const +{ + return ( theWrappedObject->buttonDownScreenPos(button)); } -void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) + +Qt::MouseButtons PythonQtWrapper_QGraphicsSceneMouseEvent::buttons(QGraphicsSceneMouseEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->buttons()); } - QGraphicsView::focusInEvent(event0); + +Qt::MouseEventFlags PythonQtWrapper_QGraphicsSceneMouseEvent::flags(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->flags()); } -bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastPos(QGraphicsSceneMouseEvent* theWrappedObject) const { -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 ( theWrappedObject->lastPos()); } - return QGraphicsView::focusNextPrevChild(next0); + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::lastScenePos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); } -void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::lastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->lastScreenPos()); } - QGraphicsView::focusOutEvent(event0); + +Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneMouseEvent::modifiers(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); } -bool PythonQtShell_QGraphicsView::hasHeightForWidth() const + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::pos(QGraphicsSceneMouseEvent* theWrappedObject) 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 ( theWrappedObject->pos()); } - return QGraphicsView::hasHeightForWidth(); + +QPointF PythonQtWrapper_QGraphicsSceneMouseEvent::scenePos(QGraphicsSceneMouseEvent* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); } -int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const + +QPoint PythonQtWrapper_QGraphicsSceneMouseEvent::screenPos(QGraphicsSceneMouseEvent* theWrappedObject) 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 ( theWrappedObject->screenPos()); } - return QGraphicsView::heightForWidth(arg__1); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButton(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button) +{ + ( theWrappedObject->setButton(button)); } -void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) { -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(); - } - } + ( theWrappedObject->setButtonDownPos(button, pos)); } - QGraphicsView::hideEvent(event0); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScenePos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPointF& pos) +{ + ( theWrappedObject->setButtonDownScenePos(button, pos)); } -void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtonDownScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButton button, const QPoint& pos) { -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(); - } - } + ( theWrappedObject->setButtonDownScreenPos(button, pos)); } - QGraphicsView::initPainter(painter0); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setButtons(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setButtons(buttons)); } -void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setFlags(QGraphicsSceneMouseEvent* theWrappedObject, Qt::MouseEventFlags 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*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFlags(arg__1)); } - QGraphicsView::inputMethodEvent(event0); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setLastPos(pos)); } -QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScenePos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLastScenePos(pos)); } - return QGraphicsView::inputMethodQuery(query0); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setLastScreenPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setLastScreenPos(pos)); } -void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setModifiers(QGraphicsSceneMouseEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) { -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(); - } - } + ( theWrappedObject->setModifiers(modifiers)); } - QGraphicsView::keyPressEvent(event0); + +void PythonQtWrapper_QGraphicsSceneMouseEvent::setPos(QGraphicsSceneMouseEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); } -void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) + +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7296,54 +7647,65 @@ if (_wrapper) { } } } - QGraphicsView::keyReleaseEvent(event0); + QGraphicsSimpleTextItem::advance(phase0); } -void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) +QRectF PythonQtShell_QGraphicsSimpleTextItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::leaveEvent(event0); + return QGraphicsSimpleTextItem::boundingRect(); } -int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("collidesWithItem"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7351,32 +7713,32 @@ if (_wrapper) { } } } - return QGraphicsView::metric(arg__1); + return QGraphicsSimpleTextItem::collidesWithItem(other0, mode1); } -QSize PythonQtShell_QGraphicsView::minimumSizeHint() const +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("minimumSizeHint"); + static PyObject* name = PyString_FromString("collidesWithPath"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7384,43 +7746,54 @@ if (_wrapper) { } } } - return QGraphicsView::minimumSizeHint(); + return QGraphicsSimpleTextItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QGraphicsSimpleTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::mouseDoubleClickEvent(event0); + return QGraphicsSimpleTextItem::contains(point0); } -void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7428,21 +7801,21 @@ if (_wrapper) { } } } - QGraphicsView::mouseMoveEvent(event0); + QGraphicsSimpleTextItem::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7450,21 +7823,21 @@ if (_wrapper) { } } } - QGraphicsView::mousePressEvent(event0); + QGraphicsSimpleTextItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7472,21 +7845,21 @@ if (_wrapper) { } } } - QGraphicsView::mouseReleaseEvent(event0); + QGraphicsSimpleTextItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7494,65 +7867,54 @@ if (_wrapper) { } } } - QGraphicsView::moveEvent(event0); + QGraphicsSimpleTextItem::dragMoveEvent(event0); } -bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QGraphicsSimpleTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::nativeEvent(eventType0, message1, result2); + QGraphicsSimpleTextItem::dropEvent(event0); } -QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const +QVariant PythonQtShell_QGraphicsSimpleTextItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("extension"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7560,21 +7922,21 @@ if (_wrapper) { } } } - return QGraphicsView::paintEngine(); + return QGraphicsSimpleTextItem::extension(variant0); } -void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7582,54 +7944,43 @@ if (_wrapper) { } } } - QGraphicsView::paintEvent(event0); + QGraphicsSimpleTextItem::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const +void PythonQtShell_QGraphicsSimpleTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::redirected(offset0); + QGraphicsSimpleTextItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7637,21 +7988,21 @@ if (_wrapper) { } } } - QGraphicsView::resizeEvent(event0); + QGraphicsSimpleTextItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QGraphicsSimpleTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7659,21 +8010,21 @@ if (_wrapper) { } } } - QGraphicsView::scrollContentsBy(dx0, dy1); + QGraphicsSimpleTextItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsView::setVisible(bool visible0) +void PythonQtShell_QGraphicsSimpleTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7681,21 +8032,21 @@ if (_wrapper) { } } } - QGraphicsView::setVisible(visible0); + QGraphicsSimpleTextItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) +void PythonQtShell_QGraphicsSimpleTextItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7703,32 +8054,32 @@ if (_wrapper) { } } } - QGraphicsView::setupViewport(widget0); + QGraphicsSimpleTextItem::inputMethodEvent(event0); } -QPainter* PythonQtShell_QGraphicsView::sharedPainter() const +QVariant PythonQtShell_QGraphicsSimpleTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7736,76 +8087,90 @@ if (_wrapper) { } } } - return QGraphicsView::sharedPainter(); + return QGraphicsSimpleTextItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) +bool PythonQtShell_QGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::showEvent(event0); + return QGraphicsSimpleTextItem::isObscuredBy(item0); } -QSize PythonQtShell_QGraphicsView::sizeHint() const +QVariant PythonQtShell_QGraphicsSimpleTextItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("itemChange"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsView::sizeHint(); + return QGraphicsSimpleTextItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7813,21 +8178,21 @@ if (_wrapper) { } } } - QGraphicsView::tabletEvent(event0); + QGraphicsSimpleTextItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7835,87 +8200,65 @@ if (_wrapper) { } } } - QGraphicsView::timerEvent(event0); + QGraphicsSimpleTextItem::keyReleaseEvent(event0); } -bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::viewportEvent(event0); + QGraphicsSimpleTextItem::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QGraphicsView::viewportSizeHint() const +void PythonQtShell_QGraphicsSimpleTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::viewportSizeHint(); + QGraphicsSimpleTextItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QGraphicsSimpleTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7923,454 +8266,462 @@ if (_wrapper) { } } } - QGraphicsView::wheelEvent(event0); + QGraphicsSimpleTextItem::mousePressEvent(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; +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(); + } } } -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; + QGraphicsSimpleTextItem::mouseReleaseEvent(event0); } -Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::opaqueArea() const { - return ( theWrappedObject->alignment()); +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(); + } + } } - -QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->backgroundBrush()); + return QGraphicsSimpleTextItem::opaqueArea(); } - -QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const +void PythonQtShell_QGraphicsSimpleTextItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { - return ( theWrappedObject->cacheMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) -{ - ( theWrappedObject->centerOn(item)); + QGraphicsSimpleTextItem::paint(painter0, option1, widget2); } - -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) +bool PythonQtShell_QGraphicsSimpleTextItem::sceneEvent(QEvent* event0) { - ( theWrappedObject->centerOn(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->centerOn(x, y)); + return QGraphicsSimpleTextItem::sceneEvent(event0); } - -QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const +bool PythonQtShell_QGraphicsSimpleTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { - return ( theWrappedObject->dragMode()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); + return QGraphicsSimpleTextItem::sceneEventFilter(watched0, event1); } - -void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtShell_QGraphicsSimpleTextItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) -{ - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); + QGraphicsSimpleTextItem::setExtension(extension0, variant1); } - -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) +QPainterPath PythonQtShell_QGraphicsSimpleTextItem::shape() const { - ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); + return QGraphicsSimpleTextItem::shape(); } - -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +bool PythonQtShell_QGraphicsSimpleTextItem::supportsExtension(QGraphicsItem::Extension extension0) const { - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); -} - -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) -{ - ( theWrappedObject->fitInView(item, aspectRadioMode)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) -{ - ( theWrappedObject->fitInView(rect, aspectRadioMode)); + return QGraphicsSimpleTextItem::supportsExtension(extension0); } - -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) +int PythonQtShell_QGraphicsSimpleTextItem::type() const { - ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); +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(); + } + } } - -QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->foregroundBrush()); + return QGraphicsSimpleTextItem::type(); } - -bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const +void PythonQtShell_QGraphicsSimpleTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return ( theWrappedObject->isInteractive()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->isTransformed()); + QGraphicsSimpleTextItem::wheelEvent(event0); } +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(parent); } -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->itemAt(pos)); -} +QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsSimpleTextItem::new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsSimpleTextItem(text, parent); } -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const +QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const { - return ( theWrappedObject->itemAt(x, y)); + return ( theWrappedObject->font()); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) { - return ( theWrappedObject->items()); + ( theWrappedObject->setFont(font)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) { - return ( theWrappedObject->items(path, mode)); + ( theWrappedObject->setText(text)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const +QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const { - return ( theWrappedObject->items(pos)); + return ( theWrappedObject->text()); } -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)); +PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const +void PythonQtShell_QGraphicsTextItem::advance(int phase0) { - return ( theWrappedObject->items(x, y, w, h, mode)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapFromScene(path)); + QGraphicsTextItem::advance(phase0); } - -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const +QRectF PythonQtShell_QGraphicsTextItem::boundingRect() const { - return ( theWrappedObject->mapFromScene(point)); +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(); + } + } } - -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapFromScene(polygon)); + return QGraphicsTextItem::boundingRect(); } - -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const +void PythonQtShell_QGraphicsTextItem::childEvent(QChildEvent* event0) { - return ( theWrappedObject->mapFromScene(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const -{ - return ( theWrappedObject->mapFromScene(x, y)); + QGraphicsTextItem::childEvent(event0); } - -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +bool PythonQtShell_QGraphicsTextItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { - return ( theWrappedObject->mapFromScene(x, y, w, h)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToScene(path)); + return QGraphicsTextItem::collidesWithItem(other0, mode1); } - -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); } -} -QRectF PythonQtShell_QGraphicsWidget::boundingRect() const +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("boundingRect"); + static PyObject* name = PyString_FromString("collidesWithPath"); 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}; + 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("boundingRect", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8378,76 +8729,32 @@ if (_wrapper) { } } } - return QGraphicsWidget::boundingRect(); + return QGraphicsTextItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) +bool PythonQtShell_QGraphicsTextItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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::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::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}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8455,21 +8762,21 @@ if (_wrapper) { } } } - return QGraphicsWidget::event(event0); + return QGraphicsTextItem::contains(point0); } -void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8477,54 +8784,43 @@ if (_wrapper) { } } } - QGraphicsWidget::focusInEvent(event0); + QGraphicsTextItem::contextMenuEvent(event0); } -bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QGraphicsTextItem::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::focusNextPrevChild(next0); + QGraphicsTextItem::customEvent(event0); } -void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8532,21 +8828,21 @@ if (_wrapper) { } } } - QGraphicsWidget::focusOutEvent(event0); + QGraphicsTextItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8554,21 +8850,21 @@ if (_wrapper) { } } } - QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsTextItem::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8576,21 +8872,21 @@ if (_wrapper) { } } } - QGraphicsWidget::grabKeyboardEvent(event0); + QGraphicsTextItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabMouseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8598,87 +8894,120 @@ if (_wrapper) { } } } - QGraphicsWidget::grabMouseEvent(event0); + QGraphicsTextItem::dropEvent(event0); } -void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) +bool PythonQtShell_QGraphicsTextItem::event(QEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::hideEvent(event0); + return QGraphicsTextItem::event(ev0); } -void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsTextItem::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::hoverLeaveEvent(event0); + return QGraphicsTextItem::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +QVariant PythonQtShell_QGraphicsTextItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::hoverMoveEvent(event0); + return QGraphicsTextItem::extension(variant0); } -void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const +void PythonQtShell_QGraphicsTextItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&option0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8686,57 +9015,43 @@ if (_wrapper) { } } } - QGraphicsWidget::initStyleOption(option0); + QGraphicsTextItem::focusInEvent(event0); } -QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsTextItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::itemChange(change0, value1); + QGraphicsTextItem::focusOutEvent(event0); } -void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) +void PythonQtShell_QGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8744,21 +9059,21 @@ if (_wrapper) { } } } - QGraphicsWidget::moveEvent(event0); + QGraphicsTextItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8766,21 +9081,21 @@ if (_wrapper) { } } } - QGraphicsWidget::paint(painter0, option1, widget2); + QGraphicsTextItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintWindowFrame"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8788,21 +9103,21 @@ if (_wrapper) { } } } - QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); + QGraphicsTextItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsWidget::polishEvent() +void PythonQtShell_QGraphicsTextItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polishEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8810,32 +9125,32 @@ if (_wrapper) { } } } - QGraphicsWidget::polishEvent(); + QGraphicsTextItem::inputMethodEvent(event0); } -QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) +QVariant PythonQtShell_QGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("propertyChange"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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); + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; + 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("propertyChange", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8843,76 +9158,90 @@ if (_wrapper) { } } } - return QGraphicsWidget::propertyChange(propertyName0, value1); + return QGraphicsTextItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +bool PythonQtShell_QGraphicsTextItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::resizeEvent(event0); + return QGraphicsTextItem::isObscuredBy(item0); } -bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) +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("sceneEvent"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("sceneEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsWidget::sceneEvent(event0); + return QGraphicsTextItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsTextItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8920,54 +9249,43 @@ if (_wrapper) { } } } - QGraphicsWidget::setGeometry(rect0); + QGraphicsTextItem::keyPressEvent(event0); } -QPainterPath PythonQtShell_QGraphicsWidget::shape() const +void PythonQtShell_QGraphicsTextItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::shape(); + QGraphicsTextItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8975,87 +9293,65 @@ if (_wrapper) { } } } - QGraphicsWidget::showEvent(event0); + QGraphicsTextItem::mouseDoubleClickEvent(event0); } -QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::sizeHint(which0, constraint1); + QGraphicsTextItem::mouseMoveEvent(event0); } -int PythonQtShell_QGraphicsWidget::type() const +void PythonQtShell_QGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::type(); + QGraphicsTextItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9063,43 +9359,54 @@ if (_wrapper) { } } } - QGraphicsWidget::ungrabKeyboardEvent(event0); + QGraphicsTextItem::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) +QPainterPath PythonQtShell_QGraphicsTextItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabMouseEvent"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::ungrabMouseEvent(event0); + return QGraphicsTextItem::opaqueArea(); } -void PythonQtShell_QGraphicsWidget::updateGeometry() +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("updateGeometry"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9107,32 +9414,32 @@ if (_wrapper) { } } } - QGraphicsWidget::updateGeometry(); + QGraphicsTextItem::paint(painter0, option1, widget2); } -bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) +bool PythonQtShell_QGraphicsTextItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameEvent"); + 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*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9140,32 +9447,32 @@ if (_wrapper) { } } } - return QGraphicsWidget::windowFrameEvent(e0); + return QGraphicsTextItem::sceneEvent(event0); } -Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const +bool PythonQtShell_QGraphicsTextItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameSectionAt"); + static PyObject* name = PyString_FromString("sceneEventFilter"); 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}; + 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("windowFrameSectionAt", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9173,439 +9480,318 @@ if (_wrapper) { } } } - return QGraphicsWidget::windowFrameSectionAt(pos0); + return QGraphicsTextItem::sceneEventFilter(watched0, event1); } -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; +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(); + } } } -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()); + QGraphicsTextItem::setExtension(extension0, variant1); } - -void PythonQtWrapper_QGraphicsWidget::addAction(QGraphicsWidget* theWrappedObject, QAction* action) +QPainterPath PythonQtShell_QGraphicsTextItem::shape() const { - ( theWrappedObject->addAction(action)); -} - -void PythonQtWrapper_QGraphicsWidget::addActions(QGraphicsWidget* theWrappedObject, QList actions) -{ - ( theWrappedObject->addActions(actions)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::adjustSize(QGraphicsWidget* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); + return QGraphicsTextItem::shape(); } - -bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWrappedObject) const +bool PythonQtShell_QGraphicsTextItem::supportsExtension(QGraphicsItem::Extension extension0) const { - return ( theWrappedObject->autoFillBackground()); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsWidget::boundingRect(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); + return QGraphicsTextItem::supportsExtension(extension0); } - -void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +void PythonQtShell_QGraphicsTextItem::timerEvent(QTimerEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); + QGraphicsTextItem::timerEvent(event0); } - -bool PythonQtWrapper_QGraphicsWidget::event(QGraphicsWidget* theWrappedObject, QEvent* event) +int PythonQtShell_QGraphicsTextItem::type() const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_event(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusInEvent(event)); + return QGraphicsTextItem::type(); } - -bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) +void PythonQtShell_QGraphicsTextItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusOutEvent(event)); + QGraphicsTextItem::wheelEvent(event0); } +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsTextItem(parent); } -Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusPolicy()); -} +QGraphicsTextItem* PythonQtWrapper_QGraphicsTextItem::new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsTextItem(text, parent); } -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusWidget()); +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; + } } - -QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->font()); +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_QGraphicsWidget::getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +void PythonQtWrapper_QGraphicsTextItem::adjustSize(QGraphicsTextItem* theWrappedObject) { - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); + ( theWrappedObject->adjustSize()); } -void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const { - ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); + return ( theWrappedObject->defaultTextColor()); } -void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); + return ( theWrappedObject->document()); } -void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); + return ( theWrappedObject->font()); } -int PythonQtWrapper_QGraphicsWidget::grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context) +bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const { - return ( theWrappedObject->grabShortcut(sequence, context)); + return ( theWrappedObject->openExternalLinks()); } -void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) +void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); + ( theWrappedObject->setDefaultTextColor(c)); } -void PythonQtWrapper_QGraphicsWidget::hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); + ( theWrappedObject->setDocument(document)); } -void PythonQtWrapper_QGraphicsWidget::hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); + ( theWrappedObject->setFont(font)); } -void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const +void PythonQtWrapper_QGraphicsTextItem::setHtml(QGraphicsTextItem* theWrappedObject, const QString& html) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); + ( theWrappedObject->setHtml(html)); } -void PythonQtWrapper_QGraphicsWidget::insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action) +void PythonQtWrapper_QGraphicsTextItem::setOpenExternalLinks(QGraphicsTextItem* theWrappedObject, bool open) { - ( theWrappedObject->insertAction(before, action)); + ( theWrappedObject->setOpenExternalLinks(open)); } -void PythonQtWrapper_QGraphicsWidget::insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions) +void PythonQtWrapper_QGraphicsTextItem::setPlainText(QGraphicsTextItem* theWrappedObject, const QString& text) { - ( theWrappedObject->insertActions(before, actions)); + ( theWrappedObject->setPlainText(text)); } -bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsTextItem::setTabChangesFocus(QGraphicsTextItem* theWrappedObject, bool b) { - return ( theWrappedObject->isActiveWindow()); + ( theWrappedObject->setTabChangesFocus(b)); } -QVariant PythonQtWrapper_QGraphicsWidget::itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +void PythonQtWrapper_QGraphicsTextItem::setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor) { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_itemChange(change, value)); + ( theWrappedObject->setTextCursor(cursor)); } -QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsTextItem::setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags) { - return ( theWrappedObject->layout()); + ( theWrappedObject->setTextInteractionFlags(flags)); } -Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QGraphicsTextItem::setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width) { - return ( theWrappedObject->layoutDirection()); + ( theWrappedObject->setTextWidth(width)); } -void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) +bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); + return ( theWrappedObject->tabChangesFocus()); } -void PythonQtWrapper_QGraphicsWidget::paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +QTextCursor PythonQtWrapper_QGraphicsTextItem::textCursor(QGraphicsTextItem* theWrappedObject) const { - ( theWrappedObject->paint(painter, option, widget)); + return ( theWrappedObject->textCursor()); } -void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +Qt::TextInteractionFlags PythonQtWrapper_QGraphicsTextItem::textInteractionFlags(QGraphicsTextItem* theWrappedObject) const { - ( theWrappedObject->paintWindowFrame(painter, option, widget)); + return ( theWrappedObject->textInteractionFlags()); } -QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsTextItem::textWidth(QGraphicsTextItem* theWrappedObject) const { - return ( theWrappedObject->palette()); + return ( theWrappedObject->textWidth()); } -void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) +QString PythonQtWrapper_QGraphicsTextItem::toHtml(QGraphicsTextItem* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); + return ( theWrappedObject->toHtml()); } -QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) +QString PythonQtWrapper_QGraphicsTextItem::toPlainText(QGraphicsTextItem* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); + return ( theWrappedObject->toPlainText()); } -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)); -} - -bool PythonQtWrapper_QGraphicsWidget::sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sceneEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) -{ - ( theWrappedObject->setAttribute(attribute, on)); -} - -void PythonQtWrapper_QGraphicsWidget::setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAutoFillBackground(enabled)); -} - -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, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -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, 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)); -} - -QPainterPath PythonQtWrapper_QGraphicsWidget::shape(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); -} - -QSizeF PythonQtWrapper_QGraphicsWidget::size(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QSizeF PythonQtWrapper_QGraphicsWidget::sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sizeHint(which, constraint)); -} - -QStyle* PythonQtWrapper_QGraphicsWidget::style(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} -bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const -{ - return ( theWrappedObject->testAttribute(attribute)); -} - -int PythonQtWrapper_QGraphicsWidget::type(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); -} - -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()); -} - -void PythonQtWrapper_QGraphicsWidget::updateGeometry(QGraphicsWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_updateGeometry()); -} - -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() { +PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) +void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("applyTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "QMatrix4x4*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&matrix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9613,98 +9799,76 @@ if (_wrapper) { } } } - QGridLayout::addItem(arg__1); + } -int PythonQtShell_QGridLayout::count() const +void PythonQtShell_QGraphicsTransform::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::count(); + QGraphicsTransform::childEvent(event0); } -Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const +void PythonQtShell_QGraphicsTransform::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::expandingDirections(); + QGraphicsTransform::customEvent(event0); } -bool PythonQtShell_QGridLayout::hasHeightForWidth() const +bool PythonQtShell_QGraphicsTransform::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9712,32 +9876,32 @@ if (_wrapper) { } } } - return QGridLayout::hasHeightForWidth(); + return QGraphicsTransform::event(event0); } -int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const +bool PythonQtShell_QGraphicsTransform::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9745,21 +9909,21 @@ if (_wrapper) { } } } - return QGridLayout::heightForWidth(arg__1); + return QGraphicsTransform::eventFilter(watched0, event1); } -void PythonQtShell_QGridLayout::invalidate() +void PythonQtShell_QGraphicsTransform::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9767,153 +9931,137 @@ if (_wrapper) { } } } - QGridLayout::invalidate(); + QGraphicsTransform::timerEvent(event0); } -QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const +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("itemAt"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::itemAt(index0); + QGraphicsView::actionEvent(event0); } -QSize PythonQtShell_QGridLayout::maximumSize() const +void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("changeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::maximumSize(); + QGraphicsView::changeEvent(arg__1); } -int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QGraphicsView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::minimumHeightForWidth(arg__1); + QGraphicsView::childEvent(event0); } -QSize PythonQtShell_QGridLayout::minimumSize() const +void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("closeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::minimumSize(); + QGraphicsView::closeEvent(event0); } -void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9921,32 +10069,54 @@ if (_wrapper) { } } } - QGridLayout::setGeometry(arg__1); + QGraphicsView::contextMenuEvent(event0); } -QSize PythonQtShell_QGridLayout::sizeHint() const +void PythonQtShell_QGraphicsView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9954,266 +10124,43 @@ if (_wrapper) { } } } - return QGridLayout::sizeHint(); + return QGraphicsView::devType(); } -QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) +void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::takeAt(index0); -} -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; - } + QGraphicsView::dragEnterEvent(event0); } -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, QLayoutItem* arg__1) -{ - ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_addItem(arg__1)); -} - -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::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::count(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -Qt::Orientations PythonQtWrapper_QGridLayout::expandingDirections(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -bool PythonQtWrapper_QGridLayout::hasHeightForWidth(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QGridLayout::heightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -void PythonQtWrapper_QGridLayout::invalidate(QGridLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAt(QGridLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemAt(index)); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->itemAtPosition(row, column)); -} - -QSize PythonQtWrapper_QGridLayout::maximumSize(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QGridLayout::minimumSize(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -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::setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - -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)); -} - -QSize PythonQtWrapper_QGridLayout::sizeHint(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::takeAt(QGridLayout* theWrappedObject, int index) -{ - return ( theWrappedObject->takeAt(index)); -} - -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) +void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10221,21 +10168,21 @@ if (_wrapper) { } } } - QGroupBox::actionEvent(event0); + QGraphicsView::dragLeaveEvent(event0); } -void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) +void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10243,21 +10190,21 @@ if (_wrapper) { } } } - QGroupBox::changeEvent(event0); + QGraphicsView::dragMoveEvent(event0); } -void PythonQtShell_QGroupBox::childEvent(QChildEvent* 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("childEvent"); + static PyObject* name = PyString_FromString("drawBackground"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10265,21 +10212,21 @@ if (_wrapper) { } } } - QGroupBox::childEvent(event0); + QGraphicsView::drawBackground(painter0, rect1); } -void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) +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("closeEvent"); + static PyObject* name = PyString_FromString("drawForeground"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10287,21 +10234,21 @@ if (_wrapper) { } } } - QGroupBox::closeEvent(event0); + QGraphicsView::drawForeground(painter0, rect1); } -void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("drawItems"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10309,21 +10256,21 @@ if (_wrapper) { } } } - QGroupBox::contextMenuEvent(event0); + QGraphicsView::drawItems(painter0, numItems1, items2, options3); } -void PythonQtShell_QGroupBox::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10331,152 +10278,31 @@ if (_wrapper) { } } } - QGroupBox::customEvent(event0); + QGraphicsView::dropEvent(event0); } -int PythonQtShell_QGroupBox::devType() const +void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("enterEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::devType(); + QGraphicsView::enterEvent(event0); } -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) +bool PythonQtShell_QGraphicsView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10499,7 +10325,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10507,9 +10333,9 @@ if (_wrapper) { } } } - return QGroupBox::event(event0); + return QGraphicsView::event(event0); } -bool PythonQtShell_QGroupBox::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10520,7 +10346,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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); @@ -10532,7 +10358,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10540,9 +10366,9 @@ if (_wrapper) { } } } - return QGroupBox::eventFilter(watched0, event1); + return QGraphicsView::eventFilter(arg__1, arg__2); } -void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10554,7 +10380,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10562,9 +10388,9 @@ if (_wrapper) { } } } - QGroupBox::focusInEvent(event0); + QGraphicsView::focusInEvent(event0); } -bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) +bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10587,7 +10413,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10595,9 +10421,9 @@ if (_wrapper) { } } } - return QGroupBox::focusNextPrevChild(next0); + return QGraphicsView::focusNextPrevChild(next0); } -void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10609,7 +10435,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10617,9 +10443,9 @@ if (_wrapper) { } } } - QGroupBox::focusOutEvent(event0); + QGraphicsView::focusOutEvent(event0); } -bool PythonQtShell_QGroupBox::hasHeightForWidth() const +bool PythonQtShell_QGraphicsView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10642,7 +10468,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10650,9 +10476,9 @@ if (_wrapper) { } } } - return QGroupBox::hasHeightForWidth(); + return QGraphicsView::hasHeightForWidth(); } -int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const +int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10675,7 +10501,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10683,9 +10509,9 @@ if (_wrapper) { } } } - return QGroupBox::heightForWidth(arg__1); + return QGraphicsView::heightForWidth(arg__1); } -void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10697,7 +10523,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10705,9 +10531,9 @@ if (_wrapper) { } } } - QGroupBox::hideEvent(event0); + QGraphicsView::hideEvent(event0); } -void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const +void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10719,7 +10545,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10727,9 +10553,9 @@ if (_wrapper) { } } } - QGroupBox::initPainter(painter0); + QGraphicsView::initPainter(painter0); } -void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10739,9 +10565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10749,9 +10575,9 @@ if (_wrapper) { } } } - QGroupBox::inputMethodEvent(arg__1); + QGraphicsView::inputMethodEvent(event0); } -QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10762,7 +10588,7 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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); @@ -10774,7 +10600,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10782,9 +10608,9 @@ if (_wrapper) { } } } - return QGroupBox::inputMethodQuery(arg__1); + return QGraphicsView::inputMethodQuery(query0); } -void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10796,7 +10622,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10804,9 +10630,9 @@ if (_wrapper) { } } } - QGroupBox::keyPressEvent(event0); + QGraphicsView::keyPressEvent(event0); } -void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10818,7 +10644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10826,9 +10652,9 @@ if (_wrapper) { } } } - QGroupBox::keyReleaseEvent(event0); + QGraphicsView::keyReleaseEvent(event0); } -void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) +void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10840,7 +10666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10848,9 +10674,9 @@ if (_wrapper) { } } } - QGroupBox::leaveEvent(event0); + QGraphicsView::leaveEvent(event0); } -int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10873,7 +10699,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10881,9 +10707,9 @@ if (_wrapper) { } } } - return QGroupBox::metric(arg__1); + return QGraphicsView::metric(arg__1); } -QSize PythonQtShell_QGroupBox::minimumSizeHint() const +QSize PythonQtShell_QGraphicsView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10906,7 +10732,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10914,9 +10740,9 @@ if (_wrapper) { } } } - return QGroupBox::minimumSizeHint(); + return QGraphicsView::minimumSizeHint(); } -void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10928,7 +10754,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10936,9 +10762,9 @@ if (_wrapper) { } } } - QGroupBox::mouseDoubleClickEvent(event0); + QGraphicsView::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10950,7 +10776,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10958,9 +10784,9 @@ if (_wrapper) { } } } - QGroupBox::mouseMoveEvent(event0); + QGraphicsView::mouseMoveEvent(event0); } -void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10972,7 +10798,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10980,9 +10806,9 @@ if (_wrapper) { } } } - QGroupBox::mousePressEvent(event0); + QGraphicsView::mousePressEvent(event0); } -void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10994,7 +10820,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11002,9 +10828,9 @@ if (_wrapper) { } } } - QGroupBox::mouseReleaseEvent(event0); + QGraphicsView::mouseReleaseEvent(event0); } -void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) +void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11016,7 +10842,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11024,9 +10850,9 @@ if (_wrapper) { } } } - QGroupBox::moveEvent(event0); + QGraphicsView::moveEvent(event0); } -bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11049,7 +10875,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11057,9 +10883,9 @@ if (_wrapper) { } } } - return QGroupBox::nativeEvent(eventType0, message1, result2); + return QGraphicsView::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const +QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11082,7 +10908,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11090,9 +10916,9 @@ if (_wrapper) { } } } - return QGroupBox::paintEngine(); + return QGraphicsView::paintEngine(); } -void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) +void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11104,7 +10930,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11112,9 +10938,9 @@ if (_wrapper) { } } } - QGroupBox::paintEvent(event0); + QGraphicsView::paintEvent(event0); } -QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11137,7 +10963,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11145,9 +10971,9 @@ if (_wrapper) { } } } - return QGroupBox::redirected(offset0); + return QGraphicsView::redirected(offset0); } -void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11159,7 +10985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11167,21 +10993,21 @@ if (_wrapper) { } } } - QGroupBox::resizeEvent(event0); + QGraphicsView::resizeEvent(event0); } -void PythonQtShell_QGroupBox::setVisible(bool visible0) +void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11189,54 +11015,98 @@ if (_wrapper) { } } } - QGroupBox::setVisible(visible0); + QGraphicsView::scrollContentsBy(dx0, dy1); } -QPainter* PythonQtShell_QGroupBox::sharedPainter() const +void PythonQtShell_QGraphicsView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("setVisible"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::sharedPainter(); + QGraphicsView::setVisible(visible0); } -void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsView::setupViewport(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11244,14 +11114,14 @@ if (_wrapper) { } } } - QGroupBox::showEvent(event0); + QGraphicsView::showEvent(event0); } -QSize PythonQtShell_QGroupBox::sizeHint() const +QSize PythonQtShell_QGraphicsView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -11263,13 +11133,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11277,9 +11147,9 @@ if (_wrapper) { } } } - return QGroupBox::sizeHint(); + return QGraphicsView::sizeHint(); } -void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11291,7 +11161,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11299,9 +11169,9 @@ if (_wrapper) { } } } - QGroupBox::tabletEvent(event0); + QGraphicsView::tabletEvent(event0); } -void PythonQtShell_QGroupBox::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11313,7 +11183,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11321,9 +11191,75 @@ if (_wrapper) { } } } - QGroupBox::timerEvent(event0); + QGraphicsView::timerEvent(event0); } -void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* 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 @@ -11335,7 +11271,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11343,325 +11279,443 @@ if (_wrapper) { } } } - QGroupBox::wheelEvent(event0); + QGraphicsView::wheelEvent(event0); } -QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(QWidget* parent) +QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QGraphicsScene* scene, QWidget* parent) { -return new PythonQtShell_QGroupBox(parent); } +return new PythonQtShell_QGraphicsView(scene, parent); } -QGroupBox* PythonQtWrapper_QGroupBox::new_QGroupBox(const QString& title, QWidget* parent) +QGraphicsView* PythonQtWrapper_QGraphicsView::new_QGraphicsView(QWidget* parent) { -return new PythonQtShell_QGroupBox(title, parent); } +return new PythonQtShell_QGraphicsView(parent); } -const QMetaObject* PythonQtShell_QGroupBox::metaObject() const { +const QMetaObject* PythonQtShell_QGraphicsView::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGroupBox::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsView::staticMetaObject); } else { - return &QGroupBox::staticMetaObject; + return &QGraphicsView::staticMetaObject; } } -int PythonQtShell_QGroupBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGroupBox::qt_metacall(call, id, args); +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_QGroupBox::alignment(QGroupBox* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const { return ( theWrappedObject->alignment()); } -void PythonQtWrapper_QGroupBox::initStyleOption(QGroupBox* theWrappedObject, QStyleOptionGroupBox* option) const +QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->backgroundBrush()); } -bool PythonQtWrapper_QGroupBox::isCheckable(QGroupBox* theWrappedObject) const +QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const { - return ( theWrappedObject->isCheckable()); + return ( theWrappedObject->cacheMode()); } -bool PythonQtWrapper_QGroupBox::isChecked(QGroupBox* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) { - return ( theWrappedObject->isChecked()); + ( theWrappedObject->centerOn(item)); } -bool PythonQtWrapper_QGroupBox::isFlat(QGroupBox* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) { - return ( theWrappedObject->isFlat()); + ( theWrappedObject->centerOn(pos)); } -QSize PythonQtWrapper_QGroupBox::minimumSizeHint(QGroupBox* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) { - return ( theWrappedObject->minimumSizeHint()); + ( theWrappedObject->centerOn(x, y)); } -void PythonQtWrapper_QGroupBox::setAlignment(QGroupBox* theWrappedObject, int alignment) +QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const { - ( theWrappedObject->setAlignment(alignment)); + return ( theWrappedObject->dragMode()); } -void PythonQtWrapper_QGroupBox::setCheckable(QGroupBox* theWrappedObject, bool checkable) +void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) { - ( theWrappedObject->setCheckable(checkable)); + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); } -void PythonQtWrapper_QGroupBox::setFlat(QGroupBox* theWrappedObject, bool flat) +void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) { - ( theWrappedObject->setFlat(flat)); + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); } -void PythonQtWrapper_QGroupBox::setTitle(QGroupBox* theWrappedObject, const QString& title) +void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) { - ( theWrappedObject->setTitle(title)); + ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); } -QString PythonQtWrapper_QGroupBox::title(QGroupBox* theWrappedObject) const +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) { - return ( theWrappedObject->title()); + ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); } - - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_allWindows() +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) { - return (QGuiApplication::allWindows()); + ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); } -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationDisplayName() +void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) { - return (QGuiApplication::applicationDisplayName()); + ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); } -Qt::ApplicationState PythonQtWrapper_QGuiApplication::static_QGuiApplication_applicationState() +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) { - return (QGuiApplication::applicationState()); + ( theWrappedObject->fitInView(item, aspectRadioMode)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_changeOverrideCursor(const QCursor& arg__1) +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) { - (QGuiApplication::changeOverrideCursor(arg__1)); + ( theWrappedObject->fitInView(rect, aspectRadioMode)); } -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopFileName() +void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) { - return (QGuiApplication::desktopFileName()); + ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_desktopSettingsAware() +QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const { - return (QGuiApplication::desktopSettingsAware()); + return ( theWrappedObject->foregroundBrush()); } -qreal PythonQtWrapper_QGuiApplication::devicePixelRatio(QGuiApplication* theWrappedObject) const +bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const { - return ( theWrappedObject->devicePixelRatio()); + return ( theWrappedObject->isInteractive()); } -int PythonQtWrapper_QGuiApplication::static_QGuiApplication_exec() +bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const { - return (QGuiApplication::exec()); + return ( theWrappedObject->isTransformed()); } -QObject* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusObject() +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const { - return (QGuiApplication::focusObject()); + return ( theWrappedObject->itemAt(pos)); } -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_focusWindow() +QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const { - return (QGuiApplication::focusWindow()); + return ( theWrappedObject->itemAt(x, y)); } -QFont PythonQtWrapper_QGuiApplication::static_QGuiApplication_font() +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const { - return (QGuiApplication::font()); + return ( theWrappedObject->items()); } -QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const { - return (QGuiApplication::inputMethod()); + return ( theWrappedObject->items(path, mode)); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isFallbackSessionManagementEnabled() +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const { - return (QGuiApplication::isFallbackSessionManagementEnabled()); + return ( theWrappedObject->items(pos)); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const { - return (QGuiApplication::isLeftToRight()); + return ( theWrappedObject->items(polygon, mode)); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const { - return (QGuiApplication::isRightToLeft()); + return ( theWrappedObject->items(rect, mode)); } -bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const { - return ( theWrappedObject->isSavingSession()); + return ( theWrappedObject->items(x, y)); } -bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const +QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const { - return ( theWrappedObject->isSessionRestored()); + return ( theWrappedObject->items(x, y, w, h, mode)); } -Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_keyboardModifiers() +QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const { - return (QGuiApplication::keyboardModifiers()); + return ( theWrappedObject->mapFromScene(path)); } -Qt::LayoutDirection PythonQtWrapper_QGuiApplication::static_QGuiApplication_layoutDirection() +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const { - return (QGuiApplication::layoutDirection()); + return ( theWrappedObject->mapFromScene(point)); } -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_modalWindow() +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const { - return (QGuiApplication::modalWindow()); + return ( theWrappedObject->mapFromScene(polygon)); } -Qt::MouseButtons PythonQtWrapper_QGuiApplication::static_QGuiApplication_mouseButtons() +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const { - return (QGuiApplication::mouseButtons()); + return ( theWrappedObject->mapFromScene(rect)); } -QCursor* PythonQtWrapper_QGuiApplication::static_QGuiApplication_overrideCursor() +QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const { - return (QGuiApplication::overrideCursor()); + return ( theWrappedObject->mapFromScene(x, y)); } -QPalette PythonQtWrapper_QGuiApplication::static_QGuiApplication_palette() +QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const { - return (QGuiApplication::palette()); + return ( theWrappedObject->mapFromScene(x, y, w, h)); } -QString PythonQtWrapper_QGuiApplication::static_QGuiApplication_platformName() +QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const { - return (QGuiApplication::platformName()); + return ( theWrappedObject->mapToScene(path)); } -Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_queryKeyboardModifiers() +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const { - return (QGuiApplication::queryKeyboardModifiers()); + return ( theWrappedObject->mapToScene(point)); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_quitOnLastWindowClosed() +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const { - return (QGuiApplication::quitOnLastWindowClosed()); + return ( theWrappedObject->mapToScene(polygon)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_restoreOverrideCursor() +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const { - (QGuiApplication::restoreOverrideCursor()); + return ( theWrappedObject->mapToScene(rect)); } -QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const +QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const { - return ( theWrappedObject->sessionId()); + return ( theWrappedObject->mapToScene(x, y)); } -QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const +QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const { - return ( theWrappedObject->sessionKey()); + return ( theWrappedObject->mapToScene(x, y, w, h)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setApplicationDisplayName(const QString& name) +QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const { - (QGuiApplication::setApplicationDisplayName(name)); + return ( theWrappedObject->matrix()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopFileName(const QString& name) +QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const { - (QGuiApplication::setDesktopFileName(name)); + return ( theWrappedObject->optimizationFlags()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopSettingsAware(bool on) +void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) { - (QGuiApplication::setDesktopSettingsAware(on)); + ( theWrappedObject->render(painter, target, source, aspectRatioMode)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFallbackSessionManagementEnabled(bool arg__1) +QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const { - (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); + return ( theWrappedObject->renderHints()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) +void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) { - (QGuiApplication::setFont(arg__1)); + ( theWrappedObject->resetCachedContent()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction) +void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) { - (QGuiApplication::setLayoutDirection(direction)); + ( theWrappedObject->resetMatrix()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setOverrideCursor(const QCursor& arg__1) +void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) { - (QGuiApplication::setOverrideCursor(arg__1)); + ( theWrappedObject->resetTransform()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setPalette(const QPalette& pal) +QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const { - (QGuiApplication::setPalette(pal)); + return ( theWrappedObject->resizeAnchor()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setQuitOnLastWindowClosed(bool quit) +void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) { - (QGuiApplication::setQuitOnLastWindowClosed(quit)); + ( theWrappedObject->rotate(angle)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setWindowIcon(const QIcon& icon) +QRect PythonQtWrapper_QGraphicsView::rubberBandRect(QGraphicsView* theWrappedObject) const { - (QGuiApplication::setWindowIcon(icon)); + return ( theWrappedObject->rubberBandRect()); } -QStyleHints* PythonQtWrapper_QGuiApplication::static_QGuiApplication_styleHints() +Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const { - return (QGuiApplication::styleHints()); + return ( theWrappedObject->rubberBandSelectionMode()); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_sync() +void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) { - (QGuiApplication::sync()); + ( theWrappedObject->scale(sx, sy)); } -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelAt(const QPoint& pos) +QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const { - return (QGuiApplication::topLevelAt(pos)); + return ( theWrappedObject->scene()); } -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelWindows() +QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const { - return (QGuiApplication::topLevelWindows()); + return ( theWrappedObject->sceneRect()); } -QIcon PythonQtWrapper_QGuiApplication::static_QGuiApplication_windowIcon() +void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) { - return (QGuiApplication::windowIcon()); + ( 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)); +} -PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { +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_QHBoxLayout::addItem(QLayoutItem* arg__1) +void PythonQtShell_QGraphicsWidget::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11669,32 +11723,32 @@ if (_wrapper) { } } } - QHBoxLayout::addItem(arg__1); + QGraphicsWidget::advance(phase0); } -int PythonQtShell_QHBoxLayout::count() const +QRectF PythonQtShell_QGraphicsWidget::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("boundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + 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("count", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11702,32 +11756,98 @@ if (_wrapper) { } } } - return QHBoxLayout::count(); + return QGraphicsWidget::boundingRect(); } -Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const +void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("changeEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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("expandingDirections", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11735,32 +11855,32 @@ if (_wrapper) { } } } - return QHBoxLayout::expandingDirections(); + return QGraphicsWidget::collidesWithItem(other0, mode1); } -bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11768,32 +11888,32 @@ if (_wrapper) { } } } - return QHBoxLayout::hasHeightForWidth(); + return QGraphicsWidget::collidesWithPath(path0, mode1); } -int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const +bool PythonQtShell_QGraphicsWidget::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11801,21 +11921,21 @@ if (_wrapper) { } } } - return QHBoxLayout::heightForWidth(arg__1); + return QGraphicsWidget::contains(point0); } -void PythonQtShell_QHBoxLayout::invalidate() +void PythonQtShell_QGraphicsWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11823,153 +11943,109 @@ if (_wrapper) { } } } - QHBoxLayout::invalidate(); + QGraphicsWidget::contextMenuEvent(event0); } -QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const +void PythonQtShell_QGraphicsWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::itemAt(arg__1); + QGraphicsWidget::customEvent(event0); } -QSize PythonQtShell_QHBoxLayout::maximumSize() const +void PythonQtShell_QGraphicsWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::maximumSize(); + QGraphicsWidget::dragEnterEvent(event0); } -int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QGraphicsWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::minimumHeightForWidth(arg__1); + QGraphicsWidget::dragLeaveEvent(event0); } -QSize PythonQtShell_QHBoxLayout::minimumSize() const +void PythonQtShell_QGraphicsWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::minimumSize(); + QGraphicsWidget::dragMoveEvent(event0); } -void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QGraphicsWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11977,32 +12053,32 @@ if (_wrapper) { } } } - QHBoxLayout::setGeometry(arg__1); + QGraphicsWidget::dropEvent(event0); } -QSize PythonQtShell_QHBoxLayout::sizeHint() const +bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12010,32 +12086,32 @@ if (_wrapper) { } } } - return QHBoxLayout::sizeHint(); + return QGraphicsWidget::event(event0); } -QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) +bool PythonQtShell_QGraphicsWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12043,70 +12119,54 @@ if (_wrapper) { } } } - return QHBoxLayout::takeAt(arg__1); + return QGraphicsWidget::eventFilter(watched0, event1); } -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) +QVariant PythonQtShell_QGraphicsWidget::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::actionEvent(event0); + return QGraphicsWidget::extension(variant0); } -void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) +void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12114,43 +12174,54 @@ if (_wrapper) { } } } - QHeaderView::changeEvent(arg__1); + QGraphicsWidget::focusInEvent(event0); } -void PythonQtShell_QHeaderView::childEvent(QChildEvent* event0) +bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::childEvent(event0); + return QGraphicsWidget::focusNextPrevChild(next0); } -void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12158,21 +12229,21 @@ if (_wrapper) { } } } - QHeaderView::closeEditor(editor0, hint1); + QGraphicsWidget::focusOutEvent(event0); } -void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* 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("closeEvent"); + static PyObject* name = PyString_FromString("getContentsMargins"); 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}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12180,21 +12251,21 @@ if (_wrapper) { } } } - QHeaderView::closeEvent(event0); + QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QHeaderView::commitData(QWidget* editor0) +void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("grabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12202,21 +12273,21 @@ if (_wrapper) { } } } - QHeaderView::commitData(editor0); + QGraphicsWidget::grabKeyboardEvent(event0); } -void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("grabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12224,21 +12295,21 @@ if (_wrapper) { } } } - QHeaderView::contextMenuEvent(arg__1); + QGraphicsWidget::grabMouseEvent(event0); } -void PythonQtShell_QHeaderView::currentChanged(const QModelIndex& current0, const QModelIndex& old1) +void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("hideEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12246,21 +12317,21 @@ if (_wrapper) { } } } - QHeaderView::currentChanged(current0, old1); + QGraphicsWidget::hideEvent(event0); } -void PythonQtShell_QHeaderView::customEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12268,21 +12339,21 @@ if (_wrapper) { } } } - QHeaderView::customEvent(event0); + QGraphicsWidget::hoverEnterEvent(event0); } -void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12290,54 +12361,43 @@ if (_wrapper) { } } } - QHeaderView::dataChanged(topLeft0, bottomRight1, roles2); + QGraphicsWidget::hoverLeaveEvent(event0); } -int PythonQtShell_QHeaderView::devType() const +void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::devType(); + QGraphicsWidget::hoverMoveEvent(event0); } -void PythonQtShell_QHeaderView::doItemsLayout() +void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12345,21 +12405,21 @@ if (_wrapper) { } } } - QHeaderView::doItemsLayout(); + QGraphicsWidget::initStyleOption(option0); } -void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QGraphicsWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12367,120 +12427,123 @@ if (_wrapper) { } } } - QHeaderView::dragEnterEvent(event0); + QGraphicsWidget::inputMethodEvent(event0); } -void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* 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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::dragLeaveEvent(event0); + return QGraphicsWidget::inputMethodQuery(query0); } -void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) +bool PythonQtShell_QGraphicsWidget::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::dragMoveEvent(event0); + return QGraphicsWidget::isObscuredBy(item0); } -void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("itemChange"); 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}; + 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("edit", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QHeaderView::edit(index0, trigger1, event2); + return QGraphicsWidget::itemChange(change0, value1); } -void PythonQtShell_QHeaderView::editorDestroyed(QObject* editor0) +void PythonQtShell_QGraphicsWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12488,21 +12551,21 @@ if (_wrapper) { } } } - QHeaderView::editorDestroyed(editor0); + QGraphicsWidget::keyPressEvent(event0); } -void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12510,87 +12573,65 @@ if (_wrapper) { } } } - QHeaderView::enterEvent(event0); + QGraphicsWidget::keyReleaseEvent(event0); } -bool PythonQtShell_QHeaderView::event(QEvent* e0) +void PythonQtShell_QGraphicsWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::event(e0); + QGraphicsWidget::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QGraphicsWidget::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::eventFilter(object0, event1); + QGraphicsWidget::mouseMoveEvent(event0); } -void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsWidget::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12598,54 +12639,43 @@ if (_wrapper) { } } } - QHeaderView::focusInEvent(event0); + QGraphicsWidget::mousePressEvent(event0); } -bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) +void PythonQtShell_QGraphicsWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::focusNextPrevChild(next0); + QGraphicsWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12653,32 +12683,32 @@ if (_wrapper) { } } } - QHeaderView::focusOutEvent(event0); + QGraphicsWidget::moveEvent(event0); } -bool PythonQtShell_QHeaderView::hasHeightForWidth() const +QPainterPath PythonQtShell_QGraphicsWidget::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12686,54 +12716,43 @@ if (_wrapper) { } } } - return QHeaderView::hasHeightForWidth(); + return QGraphicsWidget::opaqueArea(); } -int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("paint"); 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}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::heightForWidth(arg__1); + QGraphicsWidget::paint(painter0, option1, widget2); } -void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) +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("hideEvent"); + static PyObject* name = PyString_FromString("paintWindowFrame"); 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}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12741,32 +12760,54 @@ if (_wrapper) { } } } - QHeaderView::hideEvent(event0); + QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); } -int PythonQtShell_QHeaderView::horizontalOffset() const +void PythonQtShell_QGraphicsWidget::polishEvent() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("polishEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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("horizontalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12774,21 +12815,21 @@ if (_wrapper) { } } } - return QHeaderView::horizontalOffset(); + return QGraphicsWidget::propertyChange(propertyName0, value1); } -void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) +void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12796,54 +12837,65 @@ if (_wrapper) { } } } - QHeaderView::horizontalScrollbarAction(action0); + QGraphicsWidget::resizeEvent(event0); } -void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) +bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::horizontalScrollbarValueChanged(value0); + return QGraphicsWidget::sceneEvent(event0); } -QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const +bool PythonQtShell_QGraphicsWidget::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("sceneEventFilter"); 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}; + 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("indexAt", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12851,43 +12903,21 @@ if (_wrapper) { } } } - return QHeaderView::indexAt(p0); + return QGraphicsWidget::sceneEventFilter(watched0, event1); } -void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("setExtension"); 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}; + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12895,65 +12925,54 @@ if (_wrapper) { } } } - QHeaderView::inputMethodEvent(event0); + QGraphicsWidget::setExtension(extension0, variant1); } -QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + 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("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::inputMethodQuery(query0); + QGraphicsWidget::setGeometry(rect0); } -bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const +QPainterPath PythonQtShell_QGraphicsWidget::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("shape"); 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}; + 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("isIndexHidden", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12961,21 +12980,21 @@ if (_wrapper) { } } } - return QHeaderView::isIndexHidden(index0); + return QGraphicsWidget::shape(); } -void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12983,65 +13002,87 @@ if (_wrapper) { } } } - QHeaderView::keyPressEvent(event0); + QGraphicsWidget::showEvent(event0); } -void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* 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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::keyReleaseEvent(event0); + return QGraphicsWidget::sizeHint(which0, constraint1); } -void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) +bool PythonQtShell_QGraphicsWidget::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::keyboardSearch(search0); + return QGraphicsWidget::supportsExtension(extension0); } -void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) +void PythonQtShell_QGraphicsWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13049,65 +13090,32 @@ if (_wrapper) { } } } - 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); + QGraphicsWidget::timerEvent(event0); } -QSize PythonQtShell_QHeaderView::minimumSizeHint() const +int PythonQtShell_QGraphicsWidget::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13115,21 +13123,21 @@ if (_wrapper) { } } } - return QHeaderView::minimumSizeHint(); + return QGraphicsWidget::type(); } -void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13137,21 +13145,21 @@ if (_wrapper) { } } } - QHeaderView::mouseDoubleClickEvent(e0); + QGraphicsWidget::ungrabKeyboardEvent(event0); } -void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("ungrabMouseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13159,21 +13167,21 @@ if (_wrapper) { } } } - QHeaderView::mouseMoveEvent(e0); + QGraphicsWidget::ungrabMouseEvent(event0); } -void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsWidget::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13181,21 +13189,21 @@ if (_wrapper) { } } } - QHeaderView::mousePressEvent(e0); + QGraphicsWidget::updateGeometry(); } -void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QGraphicsWidget::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13203,32 +13211,32 @@ if (_wrapper) { } } } - QHeaderView::mouseReleaseEvent(e0); + QGraphicsWidget::wheelEvent(event0); } -QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) +bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("windowFrameEvent"); 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}; + 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("moveCursor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13236,527 +13244,397 @@ if (_wrapper) { } } } - return QHeaderView::moveCursor(arg__1, arg__2); + return QGraphicsWidget::windowFrameEvent(e0); } -void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) +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("moveEvent"); + static PyObject* name = PyString_FromString("windowFrameSectionAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + Qt::WindowFrameSection returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::moveEvent(event0); + return QGraphicsWidget::windowFrameSectionAt(pos0); } -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(); - } +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; } } - return QHeaderView::nativeEvent(eventType0, message1, result2); +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; } -QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const +QList PythonQtWrapper_QGraphicsWidget::actions(QGraphicsWidget* theWrappedObject) 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(); + return ( theWrappedObject->actions()); } -void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) + +void PythonQtWrapper_QGraphicsWidget::addAction(QGraphicsWidget* theWrappedObject, QAction* action) { -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); + ( theWrappedObject->addAction(action)); } -void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const + +void PythonQtWrapper_QGraphicsWidget::addActions(QGraphicsWidget* theWrappedObject, QList actions) { -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(); - } - } + ( theWrappedObject->addActions(actions)); } - QHeaderView::paintSection(painter0, rect1, logicalIndex2); + +void PythonQtWrapper_QGraphicsWidget::adjustSize(QGraphicsWidget* theWrappedObject) +{ + ( theWrappedObject->adjustSize()); } -QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const + +bool PythonQtWrapper_QGraphicsWidget::autoFillBackground(QGraphicsWidget* theWrappedObject) 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 ( theWrappedObject->autoFillBackground()); } - return QHeaderView::redirected(offset0); + +void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); } -void PythonQtShell_QHeaderView::reset() + +void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); } - QHeaderView::reset(); + +bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); } -void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) + +Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->focusPolicy()); } - QHeaderView::resizeEvent(event0); + +QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusWidget()); } -void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) + +QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->font()); } - QHeaderView::rowsAboutToBeRemoved(parent0, start1, end2); + +void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); } -void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) + +void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); } - QHeaderView::rowsInserted(parent0, start1, end2); + +void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); } -void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) + +int PythonQtWrapper_QGraphicsWidget::grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context) { -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); + return ( theWrappedObject->grabShortcut(sequence, context)); } -void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) + +void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); } - QHeaderView::scrollTo(index0, hint1); + +void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); } -QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const + +void PythonQtWrapper_QGraphicsWidget::insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action) { -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(); - } - } + ( theWrappedObject->insertAction(before, action)); } - return QHeaderView::sectionSizeFromContents(logicalIndex0); + +void PythonQtWrapper_QGraphicsWidget::insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions) +{ + ( theWrappedObject->insertActions(before, actions)); } -void PythonQtShell_QHeaderView::selectAll() + +bool PythonQtWrapper_QGraphicsWidget::isActiveWindow(QGraphicsWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isActiveWindow()); } - QHeaderView::selectAll(); + +QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->layout()); } -QList PythonQtShell_QHeaderView::selectedIndexes() const + +Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) 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 ( theWrappedObject->layoutDirection()); } - return QHeaderView::selectedIndexes(); + +void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); } -void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) + +void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) { -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(); - } - } + ( theWrappedObject->paintWindowFrame(painter, option, widget)); } - QHeaderView::selectionChanged(selected0, deselected1); + +QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const +{ + return ( theWrappedObject->palette()); } -QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const + +void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) { -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(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); } - return QHeaderView::selectionCommand(index0, event1); + +QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) +{ + return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); } -void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) + +QRectF PythonQtWrapper_QGraphicsWidget::rect(QGraphicsWidget* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->rect()); } - QHeaderView::setModel(model0); + +void PythonQtWrapper_QGraphicsWidget::releaseShortcut(QGraphicsWidget* theWrappedObject, int id) +{ + ( theWrappedObject->releaseShortcut(id)); } -void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) + +void PythonQtWrapper_QGraphicsWidget::removeAction(QGraphicsWidget* theWrappedObject, QAction* action) { -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(); - } - } + ( theWrappedObject->removeAction(action)); } - QHeaderView::setRootIndex(index0); + +void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->resize(size)); } -void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) + +void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h) { -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(); - } - } + ( theWrappedObject->resize(w, h)); } - QHeaderView::setSelection(rect0, flags1); + +void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); } -void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) + +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, 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, 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("setSelectionModel"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13764,21 +13642,21 @@ if (_wrapper) { } } } - QHeaderView::setSelectionModel(selectionModel0); + QGridLayout::addItem(arg__1); } -void PythonQtShell_QHeaderView::setVisible(bool v0) +void PythonQtShell_QGridLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&v0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13786,54 +13664,65 @@ if (_wrapper) { } } } - QHeaderView::setVisible(v0); + QGridLayout::childEvent(e0); } -void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) +QSizePolicy::ControlTypes PythonQtShell_QGridLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("controlTypes"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::setupViewport(viewport0); + return QGridLayout::controlTypes(); } -QPainter* PythonQtShell_QHeaderView::sharedPainter() const +int PythonQtShell_QGridLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13841,21 +13730,21 @@ if (_wrapper) { } } } - return QHeaderView::sharedPainter(); + return QGridLayout::count(); } -void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) +void PythonQtShell_QGridLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13863,32 +13752,32 @@ if (_wrapper) { } } } - QHeaderView::showEvent(event0); + QGridLayout::customEvent(event0); } -QSize PythonQtShell_QHeaderView::sizeHint() const +bool PythonQtShell_QGridLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13896,32 +13785,32 @@ if (_wrapper) { } } } - return QHeaderView::sizeHint(); + return QGridLayout::event(event0); } -int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const +bool PythonQtShell_QGridLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13929,32 +13818,32 @@ if (_wrapper) { } } } - return QHeaderView::sizeHintForColumn(column0); + return QGridLayout::eventFilter(watched0, event1); } -int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const +Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("expandingDirections"); 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}; + 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("sizeHintForRow", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13962,131 +13851,153 @@ if (_wrapper) { } } } - return QHeaderView::sizeHintForRow(row0); + return QGridLayout::expandingDirections(); } -void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) +QRect PythonQtShell_QGridLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("geometry"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::startDrag(supportedActions0); + return QGridLayout::geometry(); } -void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) +bool PythonQtShell_QGridLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::tabletEvent(event0); + return QGridLayout::hasHeightForWidth(); } -void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) +int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::updateEditorData(); + return QGridLayout::heightForWidth(arg__1); } -void PythonQtShell_QHeaderView::updateEditorGeometries() +int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::updateEditorGeometries(); + return QGridLayout::indexOf(arg__1); } -void PythonQtShell_QHeaderView::updateGeometries() +void PythonQtShell_QGridLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14094,32 +14005,32 @@ if (_wrapper) { } } } - QHeaderView::updateGeometries(); + QGridLayout::invalidate(); } -int PythonQtShell_QHeaderView::verticalOffset() const +bool PythonQtShell_QGridLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14127,76 +14038,98 @@ if (_wrapper) { } } } - return QHeaderView::verticalOffset(); + return QGridLayout::isEmpty(); } -void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) +QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::verticalScrollbarAction(action0); + return QGridLayout::itemAt(index0); } -void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) +QLayout* PythonQtShell_QGridLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("layout"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::verticalScrollbarValueChanged(value0); + return QGridLayout::layout(); } -QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const +QSize PythonQtShell_QGridLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14204,32 +14137,32 @@ if (_wrapper) { } } } - return QHeaderView::viewOptions(); + return QGridLayout::maximumSize(); } -bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) +int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14237,14 +14170,14 @@ if (_wrapper) { } } } - return QHeaderView::viewportEvent(e0); + return QGridLayout::minimumHeightForWidth(arg__1); } -QSize PythonQtShell_QHeaderView::viewportSizeHint() const +QSize PythonQtShell_QGridLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -14256,13 +14189,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14270,32 +14203,54 @@ if (_wrapper) { } } } - return QHeaderView::viewportSizeHint(); + return QGridLayout::minimumSize(); } -QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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; + } 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14303,32 +14258,65 @@ if (_wrapper) { } } } - return QHeaderView::visualRect(index0); + return QGridLayout::sizeHint(); } -QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const +QSpacerItem* PythonQtShell_QGridLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + 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); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + 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("visualRegionForSelection", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14336,21 +14324,21 @@ if (_wrapper) { } } } - return QHeaderView::visualRegionForSelection(selection0); + return QGridLayout::takeAt(index0); } -void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14358,480 +14346,4423 @@ if (_wrapper) { } } } - QHeaderView::wheelEvent(arg__1); + QGridLayout::timerEvent(event0); } -QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) +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_QHeaderView(orientation, parent); } +return new PythonQtShell_QGridLayout(); } -const QMetaObject* PythonQtShell_QHeaderView::metaObject() const { +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, &QHeaderView::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGridLayout::staticMetaObject); } else { - return &QHeaderView::staticMetaObject; + return &QGridLayout::staticMetaObject; } } -int PythonQtShell_QHeaderView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QHeaderView::qt_metacall(call, id, args); +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; } -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 +void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) { - return ( theWrappedObject->defaultAlignment()); + ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6)); } -int PythonQtWrapper_QHeaderView::defaultSectionSize(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) { - return ( theWrappedObject->defaultSectionSize()); + ( theWrappedObject->addLayout(arg__1, row, column, arg__4)); } -int PythonQtWrapper_QHeaderView::hiddenSectionCount(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) { - return ( theWrappedObject->hiddenSectionCount()); + ( theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6)); } -void PythonQtWrapper_QHeaderView::hideSection(QHeaderView* theWrappedObject, int logicalIndex) +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, Qt::Alignment arg__4) { - ( theWrappedObject->hideSection(logicalIndex)); + ( theWrappedObject->addWidget(arg__1, row, column, arg__4)); } -bool PythonQtWrapper_QHeaderView::highlightSections(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) { - return ( theWrappedObject->highlightSections()); + ( theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6)); } -void PythonQtWrapper_QHeaderView::initStyleOption(QHeaderView* theWrappedObject, QStyleOptionHeader* option) const +QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->cellRect(row, column)); } -void PythonQtWrapper_QHeaderView::initialize(QHeaderView* theWrappedObject) +int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initialize()); + return ( theWrappedObject->columnCount()); } -void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject) +int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections()); + return ( theWrappedObject->columnMinimumWidth(column)); } -void PythonQtWrapper_QHeaderView::initializeSections(QHeaderView* theWrappedObject, int start, int end) +int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_initializeSections(start, end)); + return ( theWrappedObject->columnStretch(column)); } -bool PythonQtWrapper_QHeaderView::isFirstSectionMovable(QHeaderView* theWrappedObject) const +int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const { - return ( theWrappedObject->isFirstSectionMovable()); + return ( theWrappedObject->horizontalSpacing()); } -bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const +QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const { - return ( theWrappedObject->isSectionHidden(logicalIndex)); + return ( theWrappedObject->itemAtPosition(row, column)); } -bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const +Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const { - return ( theWrappedObject->isSortIndicatorShown()); + return ( theWrappedObject->originCorner()); } -int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const +int PythonQtWrapper_QGridLayout::rowCount(QGridLayout* theWrappedObject) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->rowCount()); } -int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const +int PythonQtWrapper_QGridLayout::rowMinimumHeight(QGridLayout* theWrappedObject, int row) const { - return ( theWrappedObject->logicalIndex(visualIndex)); + return ( theWrappedObject->rowMinimumHeight(row)); } -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const +int PythonQtWrapper_QGridLayout::rowStretch(QGridLayout* theWrappedObject, int row) const { - return ( theWrappedObject->logicalIndexAt(pos)); + return ( theWrappedObject->rowStretch(row)); } -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const +void PythonQtWrapper_QGridLayout::setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize) { - return ( theWrappedObject->logicalIndexAt(position)); + ( theWrappedObject->setColumnMinimumWidth(column, minSize)); } -int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const +void PythonQtWrapper_QGridLayout::setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch) { - return ( theWrappedObject->logicalIndexAt(x, y)); + ( theWrappedObject->setColumnStretch(column, stretch)); } -int PythonQtWrapper_QHeaderView::maximumSectionSize(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient) { - return ( theWrappedObject->maximumSectionSize()); + ( theWrappedObject->setDefaultPositioning(n, orient)); } -int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing) { - return ( theWrappedObject->minimumSectionSize()); + ( theWrappedObject->setHorizontalSpacing(spacing)); } -void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) +void PythonQtWrapper_QGridLayout::setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1) { - ( theWrappedObject->moveSection(from, to)); + ( theWrappedObject->setOriginCorner(arg__1)); } -int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize) { - return ( theWrappedObject->offset()); + ( theWrappedObject->setRowMinimumHeight(row, minSize)); } -Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) { - return ( theWrappedObject->orientation()); + ( theWrappedObject->setRowStretch(row, stretch)); } -void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const +void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) { - ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); + ( theWrappedObject->setSpacing(spacing)); } -void PythonQtWrapper_QHeaderView::resetDefaultSectionSize(QHeaderView* theWrappedObject) +void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) { - ( theWrappedObject->resetDefaultSectionSize()); + ( theWrappedObject->setVerticalSpacing(spacing)); } -int PythonQtWrapper_QHeaderView::resizeContentsPrecision(QHeaderView* theWrappedObject) const +int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const { - return ( theWrappedObject->resizeContentsPrecision()); + return ( theWrappedObject->spacing()); } -void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) +int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const { - ( theWrappedObject->resizeSection(logicalIndex, size)); + return ( theWrappedObject->verticalSpacing()); } -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()); +PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->sectionPosition(logicalIndex)); -} - -QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionResizeMode(logicalIndex)); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSize(logicalIndex)); + QGroupBox::actionEvent(event0); } - -QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) { - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSizeHint(logicalIndex)); + QGroupBox::changeEvent(event0); } - -int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const +void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) { - return ( theWrappedObject->sectionViewportPosition(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QHeaderView::sectionsClickable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsClickable()); + QGroupBox::childEvent(event0); } - -bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const +void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->sectionsHidden()); +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(); + } + } } - -bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sectionsMovable()); + QGroupBox::closeEvent(event0); } - -bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const +void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* event0) { - return ( theWrappedObject->sectionsMoved()); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCascadingSectionResizes(enable)); + QGroupBox::contextMenuEvent(event0); } - -void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) +void PythonQtShell_QGroupBox::customEvent(QEvent* event0) { - ( theWrappedObject->setDefaultAlignment(alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) -{ - ( theWrappedObject->setDefaultSectionSize(size)); + QGroupBox::customEvent(event0); } - -void PythonQtWrapper_QHeaderView::setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable) +int PythonQtShell_QGroupBox::devType() const { - ( theWrappedObject->setFirstSectionMovable(movable)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) -{ - ( theWrappedObject->setHighlightSections(highlight)); + return QGroupBox::devType(); } - -void PythonQtWrapper_QHeaderView::setMaximumSectionSize(QHeaderView* theWrappedObject, int size) +void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setMaximumSectionSize(size)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) -{ - ( theWrappedObject->setMinimumSectionSize(size)); + QGroupBox::dragEnterEvent(event0); } - -void PythonQtWrapper_QHeaderView::setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision) +void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setResizeContentsPrecision(precision)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) -{ - ( theWrappedObject->setSectionHidden(logicalIndex, hide)); + QGroupBox::dragLeaveEvent(event0); } - -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->setSectionResizeMode(mode)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) -{ - ( theWrappedObject->setSectionResizeMode(logicalIndex, mode)); + QGroupBox::dragMoveEvent(event0); } - -void PythonQtWrapper_QHeaderView::setSectionsClickable(QHeaderView* theWrappedObject, bool clickable) +void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) { - ( theWrappedObject->setSectionsClickable(clickable)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setSectionsMovable(QHeaderView* theWrappedObject, bool movable) -{ - ( theWrappedObject->setSectionsMovable(movable)); + QGroupBox::dropEvent(event0); } - -void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) +void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) { - ( theWrappedObject->setSortIndicator(logicalIndex, order)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) -{ - ( theWrappedObject->setSortIndicatorShown(show)); + QGroupBox::enterEvent(event0); } - -void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) +bool PythonQtShell_QGroupBox::event(QEvent* event0) { - ( theWrappedObject->setStretchLastSection(stretch)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) -{ - ( theWrappedObject->showSection(logicalIndex)); + return QGroupBox::event(event0); } - -Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const +bool PythonQtShell_QGroupBox::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->sortIndicatorOrder()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sortIndicatorSection()); + return QGroupBox::eventFilter(watched0, event1); } - -bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const +void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->stretchLastSection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->stretchSectionCount()); + QGroupBox::focusInEvent(event0); } - -void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) +bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) { - ( theWrappedObject->swapSections(first, second)); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->visualIndex(logicalIndex)); + return QGroupBox::focusNextPrevChild(next0); } - -int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const +void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->visualIndexAt(position)); +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(); + } + } } - - - -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()); + QGroupBox::focusOutEvent(event0); } - -int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const +bool PythonQtShell_QGroupBox::hasHeightForWidth() const { - return ( theWrappedObject->globalX()); +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(); + } + } } - -int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); + return QGroupBox::hasHeightForWidth(); } - -const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const +int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const { - return &( theWrappedObject->pos()); +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()); +} + +QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() +{ + return (QGuiApplication::inputMethod()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isFallbackSessionManagementEnabled() +{ + return (QGuiApplication::isFallbackSessionManagementEnabled()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() +{ + return (QGuiApplication::isLeftToRight()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() +{ + return (QGuiApplication::isRightToLeft()); +} + +bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSavingSession()); +} + +bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSessionRestored()); +} + +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()); +} + +QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionId()); +} + +QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionKey()); +} + +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_setFallbackSessionManagementEnabled(bool arg__1) +{ + (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); +} + +void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) +{ + (QGuiApplication::setFont(arg__1)); +} + +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(); + } + } } - -int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const + QHeaderView::setVisible(v0); +} +void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) { - return ( theWrappedObject->x()); +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(); + } + } } - -int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const + QHeaderView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QHeaderView::sharedPainter() const { - return ( theWrappedObject->y()); +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(); + } + } } - - - -QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() -{ -return new QHideEvent(); } - - - -PythonQtShell_QHoverEvent::~PythonQtShell_QHoverEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QHeaderView::sharedPainter(); } -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 +void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) { - return ( theWrappedObject->oldPos()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const + QHeaderView::showEvent(event0); +} +QSize PythonQtShell_QHeaderView::sizeHint() const { - return &( theWrappedObject->oldPosF()); +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(); + } + } } - -QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const + return QHeaderView::sizeHint(); +} +int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const { - return ( theWrappedObject->pos()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const + return QHeaderView::sizeHintForColumn(column0); +} +int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const { - return &( theWrappedObject->posF()); +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(); + } + } } - - - -QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() -{ -return new QIconDragEvent(); } - - - -PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + 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); } -QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actualSize"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::actualSize(size0, mode1, state2); + QHeaderView::timerEvent(event0); } -void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) +void PythonQtShell_QHeaderView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addFile"); + static PyObject* name = PyString_FromString("updateEditorData"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14839,21 +18770,21 @@ if (_wrapper) { } } } - QIconEngine::addFile(fileName0, size1, mode2, state3); + QHeaderView::updateEditorData(); } -void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) +void PythonQtShell_QHeaderView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addPixmap"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14861,65 +18792,54 @@ if (_wrapper) { } } } - QIconEngine::addPixmap(pixmap0, mode1, state2); + QHeaderView::updateEditorGeometries(); } -QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const +void PythonQtShell_QHeaderView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("availableSizes"); + static PyObject* name = PyString_FromString("updateGeometries"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::availableSizes(mode0, state1); + QHeaderView::updateGeometries(); } -QIconEngine* PythonQtShell_QIconEngine::clone() const +int PythonQtShell_QHeaderView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIconEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QIconEngine* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QIconEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14927,65 +18847,76 @@ if (_wrapper) { } } } - return nullptr; + return QHeaderView::verticalOffset(); } -QString PythonQtShell_QIconEngine::iconName() const +void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("iconName"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + 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(); } } } - return QIconEngine::iconName(); + QHeaderView::verticalScrollbarValueChanged(value0); } -QString PythonQtShell_QIconEngine::key() const +QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("key"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString"}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue{}; + 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("key", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14993,54 +18924,65 @@ if (_wrapper) { } } } - return QIconEngine::key(); + return QHeaderView::viewOptions(); } -void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) +bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("viewportEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - + return QHeaderView::viewportEvent(e0); } -QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +QSize PythonQtShell_QHeaderView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pixmap"); + static PyObject* name = PyString_FromString("viewportSizeHint"); 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}; + 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("pixmap", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QPixmap*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15048,32 +18990,32 @@ if (_wrapper) { } } } - return QIconEngine::pixmap(size0, mode1, state2); + return QHeaderView::viewportSizeHint(); } -bool PythonQtShell_QIconEngine::read(QDataStream& in0) +QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&in0}; + 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("read", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15081,652 +19023,475 @@ if (_wrapper) { } } } - return QIconEngine::read(in0); + return QHeaderView::visualRect(index0); } -void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) +QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("virtual_hook"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&id0, (void*)&data1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QIconEngine::virtual_hook(id0, data1); + return QHeaderView::visualRegionForSelection(selection0); } -bool PythonQtShell_QIconEngine::write(QDataStream& out0) const +void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&out0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::write(out0); + QHeaderView::wheelEvent(arg__1); } -QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() +QHeaderView* PythonQtWrapper_QHeaderView::new_QHeaderView(Qt::Orientation orientation, QWidget* parent) { -return new PythonQtShell_QIconEngine(); } +return new PythonQtShell_QHeaderView(orientation, parent); } -QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine(const QIconEngine& other) -{ -return new PythonQtShell_QIconEngine(other); } +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()); +} -QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +bool PythonQtWrapper_QHeaderView::isSectionHidden(QHeaderView* theWrappedObject, int logicalIndex) const { - return ( theWrappedObject->actualSize(size, mode, state)); + return ( theWrappedObject->isSectionHidden(logicalIndex)); } -void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) +bool PythonQtWrapper_QHeaderView::isSortIndicatorShown(QHeaderView* theWrappedObject) const { - ( theWrappedObject->addFile(fileName, size, mode, state)); + return ( theWrappedObject->isSortIndicatorShown()); } -void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) +int PythonQtWrapper_QHeaderView::length(QHeaderView* theWrappedObject) const { - ( theWrappedObject->addPixmap(pixmap, mode, state)); + return ( theWrappedObject->length()); } -QList PythonQtWrapper_QIconEngine::availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode, QIcon::State state) const +int PythonQtWrapper_QHeaderView::logicalIndex(QHeaderView* theWrappedObject, int visualIndex) const { - return ( theWrappedObject->availableSizes(mode, state)); + return ( theWrappedObject->logicalIndex(visualIndex)); } -QIconEngine* PythonQtWrapper_QIconEngine::clone(QIconEngine* theWrappedObject) const +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->clone()); + return ( theWrappedObject->logicalIndexAt(pos)); } -QString PythonQtWrapper_QIconEngine::iconName(QIconEngine* theWrappedObject) const +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int position) const { - return ( theWrappedObject->iconName()); + return ( theWrappedObject->logicalIndexAt(position)); } -bool PythonQtWrapper_QIconEngine::isNull(QIconEngine* theWrappedObject) const +int PythonQtWrapper_QHeaderView::logicalIndexAt(QHeaderView* theWrappedObject, int x, int y) const { - return ( theWrappedObject->isNull()); + return ( theWrappedObject->logicalIndexAt(x, y)); } -QString PythonQtWrapper_QIconEngine::key(QIconEngine* theWrappedObject) const +int PythonQtWrapper_QHeaderView::maximumSectionSize(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->key()); + return ( theWrappedObject->maximumSectionSize()); } -void PythonQtWrapper_QIconEngine::paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) +int PythonQtWrapper_QHeaderView::minimumSectionSize(QHeaderView* theWrappedObject) const { - ( theWrappedObject->paint(painter, rect, mode, state)); + return ( theWrappedObject->minimumSectionSize()); } -QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) +void PythonQtWrapper_QHeaderView::moveSection(QHeaderView* theWrappedObject, int from, int to) { - return ( theWrappedObject->pixmap(size, mode, state)); + ( theWrappedObject->moveSection(from, to)); } -bool PythonQtWrapper_QIconEngine::read(QIconEngine* theWrappedObject, QDataStream& in) +int PythonQtWrapper_QHeaderView::offset(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->read(in)); + return ( theWrappedObject->offset()); } -QPixmap PythonQtWrapper_QIconEngine::scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale) +Qt::Orientation PythonQtWrapper_QHeaderView::orientation(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->scaledPixmap(size, mode, state, scale)); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QIconEngine::virtual_hook(QIconEngine* theWrappedObject, int id, void* data) +void PythonQtWrapper_QHeaderView::paintSection(QHeaderView* theWrappedObject, QPainter* painter, const QRect& rect, int logicalIndex) const { - ( theWrappedObject->virtual_hook(id, data)); + ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_paintSection(painter, rect, logicalIndex)); } -bool PythonQtWrapper_QIconEngine::write(QIconEngine* theWrappedObject, QDataStream& out) const +void PythonQtWrapper_QHeaderView::resetDefaultSectionSize(QHeaderView* theWrappedObject) { - return ( theWrappedObject->write(out)); + ( theWrappedObject->resetDefaultSectionSize()); } +int PythonQtWrapper_QHeaderView::resizeContentsPrecision(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->resizeContentsPrecision()); +} - -PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QHeaderView::resizeSection(QHeaderView* theWrappedObject, int logicalIndex, int size) +{ + ( theWrappedObject->resizeSection(logicalIndex, size)); } -bool PythonQtShell_QImageIOHandler::canRead() const + +void PythonQtWrapper_QHeaderView::resizeSections(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) { -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(); - } - } + ( theWrappedObject->resizeSections(mode)); } - return bool(); + +bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) +{ + return ( theWrappedObject->restoreState(state)); } -int PythonQtShell_QImageIOHandler::currentImageNumber() const + +QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) 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 ( theWrappedObject->saveState()); } - return QImageIOHandler::currentImageNumber(); + +int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionPosition(logicalIndex)); } -QRect PythonQtShell_QImageIOHandler::currentImageRect() const + +QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) 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 ( theWrappedObject->sectionResizeMode(logicalIndex)); } - return QImageIOHandler::currentImageRect(); + +int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionSize(logicalIndex)); } -int PythonQtShell_QImageIOHandler::imageCount() const + +QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) 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 ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); } - return QImageIOHandler::imageCount(); + +int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const +{ + return ( theWrappedObject->sectionSizeHint(logicalIndex)); } -bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) + +int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const { -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 ( theWrappedObject->sectionViewportPosition(logicalIndex)); } - return QImageIOHandler::jumpToImage(imageNumber0); + +bool PythonQtWrapper_QHeaderView::sectionsClickable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsClickable()); } -bool PythonQtShell_QImageIOHandler::jumpToNextImage() + +bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const { -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 ( theWrappedObject->sectionsHidden()); } - return QImageIOHandler::jumpToNextImage(); + +bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const +{ + return ( theWrappedObject->sectionsMovable()); } -int PythonQtShell_QImageIOHandler::loopCount() const + +bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) 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 ( theWrappedObject->sectionsMoved()); } - return QImageIOHandler::loopCount(); + +void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCascadingSectionResizes(enable)); } -int PythonQtShell_QImageIOHandler::nextImageDelay() const + +void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) { -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(); - } - } + ( theWrappedObject->setDefaultAlignment(alignment)); } - return QImageIOHandler::nextImageDelay(); + +void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setDefaultSectionSize(size)); } -QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const + +void PythonQtWrapper_QHeaderView::setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable) { -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(); - } - } + ( theWrappedObject->setFirstSectionMovable(movable)); } - return QImageIOHandler::option(option0); + +void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) +{ + ( theWrappedObject->setHighlightSections(highlight)); } -bool PythonQtShell_QImageIOHandler::read(QImage* image0) + +void PythonQtWrapper_QHeaderView::setMaximumSectionSize(QHeaderView* theWrappedObject, int size) { -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(); - } - } + ( theWrappedObject->setMaximumSectionSize(size)); } - return bool(); + +void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) +{ + ( theWrappedObject->setMinimumSectionSize(size)); } -void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) + +void PythonQtWrapper_QHeaderView::setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision) { -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(); - } - } + ( theWrappedObject->setResizeContentsPrecision(precision)); } - QImageIOHandler::setOption(option0, value1); + +void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) +{ + ( theWrappedObject->setSectionHidden(logicalIndex, hide)); } -bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const + +void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) { -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(); - } - } + ( theWrappedObject->setSectionResizeMode(mode)); } - return QImageIOHandler::supportsOption(option0); + +void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex, QHeaderView::ResizeMode mode) +{ + ( theWrappedObject->setSectionResizeMode(logicalIndex, mode)); } -bool PythonQtShell_QImageIOHandler::write(const QImage& image0) + +void PythonQtWrapper_QHeaderView::setSectionsClickable(QHeaderView* theWrappedObject, bool clickable) { -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(); - } - } + ( 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)); } - return QImageIOHandler::write(image0); + +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)); } -QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() -{ -return new PythonQtShell_QImageIOHandler(); } -bool PythonQtWrapper_QImageIOHandler::canRead(QImageIOHandler* theWrappedObject) const +Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->canRead()); + return ( theWrappedObject->sortIndicatorOrder()); } -int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const +int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->currentImageNumber()); + return ( theWrappedObject->sortIndicatorSection()); } -QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const +bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->currentImageRect()); + return ( theWrappedObject->stretchLastSection()); } -QIODevice* PythonQtWrapper_QImageIOHandler::device(QImageIOHandler* theWrappedObject) const +int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->stretchSectionCount()); } -QByteArray PythonQtWrapper_QImageIOHandler::format(QImageIOHandler* theWrappedObject) const +void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) { - return ( theWrappedObject->format()); + ( theWrappedObject->swapSections(first, second)); } -int PythonQtWrapper_QImageIOHandler::imageCount(QImageIOHandler* theWrappedObject) const +int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const { - return ( theWrappedObject->imageCount()); + return ( theWrappedObject->visualIndex(logicalIndex)); } -bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) +int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const { - return ( theWrappedObject->jumpToImage(imageNumber)); + return ( theWrappedObject->visualIndexAt(position)); } -bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) + + +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->jumpToNextImage()); + return &( theWrappedObject->globalPos()); } -int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const +int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const { - return ( theWrappedObject->loopCount()); + return ( theWrappedObject->globalX()); } -int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const +int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const { - return ( theWrappedObject->nextImageDelay()); + return ( theWrappedObject->globalY()); } -QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const { - return ( theWrappedObject->option(option)); + return &( theWrappedObject->pos()); } -bool PythonQtWrapper_QImageIOHandler::read(QImageIOHandler* theWrappedObject, QImage* image) +int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const { - return ( theWrappedObject->read(image)); + return ( theWrappedObject->x()); } -void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) +int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setDevice(device)); + 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); } -void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) +QPoint PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const { - ( theWrappedObject->setFormat(format)); + return ( theWrappedObject->oldPos()); } -void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) +const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const { - ( theWrappedObject->setOption(option, value)); + return &( theWrappedObject->oldPosF()); } -bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const +QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->supportsOption(option)); + return ( theWrappedObject->pos()); } -bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) +const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->write(image)); + return &( theWrappedObject->posF()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.h index e725bffd..a1e43145 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include @@ -13,11 +12,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -25,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -36,13 +36,10 @@ #include #include #include -#include -#include -#include #include -#include #include #include +#include #include #include #include @@ -64,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -84,23 +82,317 @@ +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(); + ~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; @@ -114,6 +406,7 @@ 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; @@ -122,16 +415,21 @@ 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; @@ -142,7 +440,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsProxyWidget : public QGraphicsProxyWidget @@ -220,45 +518,30 @@ enum enum_1{ public slots: QGraphicsProxyWidget* new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } - void contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event); void py_q_contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); - void dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dropEvent(event));} bool py_q_event(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* 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 hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverEnterEvent(event));} void py_q_hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} void py_q_hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event); void py_q_inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const; QVariant py_q_inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodQuery(query));} QVariant py_q_itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_itemChange(change, value));} - void keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); void py_q_keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseReleaseEvent(event));} void py_q_paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} void py_q_resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_resizeEvent(event));} @@ -269,7 +552,6 @@ void delete_QGraphicsProxyWidget(QGraphicsProxyWidget* obj) { delete obj; } QRectF subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const; int py_q_type(QGraphicsProxyWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_type());} void py_q_ungrabMouseEvent(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} - void wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event); void py_q_wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_wheelEvent(event));} QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; }; @@ -323,7 +605,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsRectItem : public QGraphicsRectItem @@ -389,7 +671,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsRotation : public QGraphicsRotation @@ -433,7 +715,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScale : public QGraphicsScale @@ -499,7 +781,7 @@ void wheelEvent(QGraphicsSceneWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScene : public QGraphicsScene @@ -941,7 +1223,7 @@ bool supportsExtension(QGraphicsItem::Extension extension) const override; int type() const override; void wheelEvent(QGraphicsSceneWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem @@ -997,15 +1279,22 @@ class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(nullptr) {}; PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsTextItem(); + ~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; @@ -1015,6 +1304,7 @@ 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; @@ -1024,14 +1314,17 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTextItem : public QGraphicsTextItem @@ -1100,63 +1393,37 @@ 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 boundingRect(QGraphicsTextItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contains(point));} - void contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); void py_q_contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contextMenuEvent(event));} QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; - void dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dropEvent(event));} - QVariant extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_extension(variant));} - void focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusInEvent(event));} - void focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusOutEvent(event));} QFont font(QGraphicsTextItem* theWrappedObject) const; - void hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} - void hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event); void py_q_inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const; QVariant py_q_inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodQuery(query));} - bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; bool py_q_isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} - void keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_opaqueArea(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_opaqueArea());} bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; - void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - bool sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_sceneEvent(event));} void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); - void setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsTextItem* theWrappedObject, const QFont& font); void setHtml(QGraphicsTextItem* theWrappedObject, const QString& html); @@ -1166,9 +1433,7 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor); void setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags); void setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width); - QPainterPath shape(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} bool tabChangesFocus(QGraphicsTextItem* theWrappedObject) const; QTextCursor textCursor(QGraphicsTextItem* theWrappedObject) const; @@ -1176,7 +1441,6 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } qreal textWidth(QGraphicsTextItem* theWrappedObject) const; QString toHtml(QGraphicsTextItem* theWrappedObject) const; QString toPlainText(QGraphicsTextItem* theWrappedObject) const; - int type(QGraphicsTextItem* theWrappedObject) const; int py_q_type(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_type());} }; @@ -1200,7 +1464,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTransform : public QGraphicsTransform @@ -1286,7 +1550,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsView : public QGraphicsView @@ -1480,12 +1744,25 @@ class PythonQtShell_QGraphicsWidget : public QGraphicsWidget public: PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsWidget(); + ~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; @@ -1493,31 +1770,47 @@ void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget @@ -1595,24 +1888,19 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void addActions(QGraphicsWidget* theWrappedObject, QList actions); void adjustSize(QGraphicsWidget* theWrappedObject); bool autoFillBackground(QGraphicsWidget* theWrappedObject) const; - QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_boundingRect());} void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_changeEvent(event));} void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); void py_q_closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_closeEvent(event));} - bool event(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_event(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_event(event));} - void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusInEvent(event));} bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); bool py_q_focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusOutEvent(event));} Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const; QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const; QFont font(QGraphicsWidget* theWrappedObject) const; - void getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) 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); @@ -1622,22 +1910,18 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } int grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context = Qt::WindowShortcut); void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event); void py_q_hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hideEvent(event));} - void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const; void py_q_initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const{ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_initStyleOption(option));} void insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action); void insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions); bool isActiveWindow(QGraphicsWidget* theWrappedObject) const; - QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_itemChange(change, value));} QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const; Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const; void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event); void py_q_moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_moveEvent(event));} - void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paintWindowFrame(painter, option, widget));} @@ -1653,14 +1937,12 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h); void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); void py_q_resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_resizeEvent(event));} - bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_sceneEvent(event));} void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); void setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled); 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 setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect); 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); @@ -1673,16 +1955,13 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags); void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom); void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title); - QPainterPath shape(QGraphicsWidget* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_shape());} void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event); void py_q_showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_showEvent(event));} QSizeF size(QGraphicsWidget* theWrappedObject) const; - QSizeF sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) 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 type(QGraphicsWidget* theWrappedObject) const; int py_q_type(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_type());} void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabKeyboardEvent(event));} @@ -1690,7 +1969,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void py_q_ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} void unsetLayoutDirection(QGraphicsWidget* theWrappedObject); void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject); - void updateGeometry(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); @@ -1713,25 +1991,37 @@ class PythonQtShell_QGridLayout : public QGridLayout PythonQtShell_QGridLayout():QGridLayout(),_wrapper(nullptr) {}; PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGridLayout(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGridLayout : public QGridLayout @@ -1759,34 +2049,26 @@ public slots: QGridLayout* new_QGridLayout(); QGridLayout* new_QGridLayout(QWidget* parent); void delete_QGridLayout(QGridLayout* obj) { delete obj; } - void addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1); 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 count(QGridLayout* theWrappedObject) const; int py_q_count(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_count());} - Qt::Orientations expandingDirections(QGridLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QGridLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} int horizontalSpacing(QGridLayout* theWrappedObject) const; - void invalidate(QGridLayout* theWrappedObject); void py_q_invalidate(QGridLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QGridLayout* theWrappedObject, int index) const; 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 maximumSize(QGridLayout* theWrappedObject) const; QSize py_q_maximumSize(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} - QSize minimumSize(QGridLayout* theWrappedObject) const; 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; @@ -1795,7 +2077,6 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } 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 setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1); 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); @@ -1803,12 +2084,11 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGridLayout* theWrappedObject, int spacing); void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing); - QSize sizeHint(QGridLayout* theWrappedObject) const; QSize py_q_sizeHint(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QGridLayout* theWrappedObject) const; - QLayoutItem* takeAt(QGridLayout* theWrappedObject, int index); 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(); } }; @@ -1871,7 +2151,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGroupBox : public QGroupBox @@ -1948,6 +2228,7 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } 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; @@ -1970,9 +2251,12 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } 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(); QString sessionId(QGuiApplication* theWrappedObject) const; QString sessionKey(QGuiApplication* theWrappedObject) const; void static_QGuiApplication_setApplicationDisplayName(const QString& name); @@ -2002,25 +2286,37 @@ class PythonQtShell_QHBoxLayout : public QHBoxLayout PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(nullptr) {}; PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QHBoxLayout(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHBoxLayout : public QObject @@ -2030,6 +2326,7 @@ public slots: QHBoxLayout* new_QHBoxLayout(); QHBoxLayout* new_QHBoxLayout(QWidget* parent); void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } + bool __nonzero__(QHBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -2135,7 +2432,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QHeaderView : public QHeaderView @@ -2344,7 +2641,7 @@ class PythonQtShell_QHoverEvent : public QHoverEvent ~PythonQtShell_QHoverEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHoverEvent : public QObject @@ -2360,186 +2657,3 @@ void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } }; - - - -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; -void virtual_hook(int id, void* data) 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 void py_q_virtual_hook(int id, void* data) { QIconEngine::virtual_hook(id, data); } -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); - void virtual_hook(QIconEngine* theWrappedObject, int id, void* data); - void py_q_virtual_hook(QIconEngine* theWrappedObject, int id, void* data){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_virtual_hook(id, data));} - 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));} -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 6038b793..e0b0105a 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -24,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -32,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -45,6 +44,7 @@ #include #include #include +#include #include #include #include @@ -52,12 +52,8 @@ #include #include #include -#include #include -#include -#include #include -#include #include #include #include @@ -70,7 +66,6 @@ #include #include #include -#include #include #include #include @@ -78,48 +73,50 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include -#include -#include #include #include -PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { +QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() +{ +return new QIconDragEvent(); } + + + +PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const +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("capabilities"); + static PyObject* name = PyString_FromString("actualSize"); 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}; + 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("capabilities", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); } else { - returnValue = *((QImageIOPlugin::Capabilities*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -127,21 +124,21 @@ if (_wrapper) { } } } - return QImageIOPlugin::Capabilities(); + return QIconEngine::actualSize(size0, mode1, state2); } -void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -149,32 +146,54 @@ if (_wrapper) { } } } - QImageIOPlugin::childEvent(event0); + QIconEngine::addFile(fileName0, size1, mode2, state3); } -QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const +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("create"); + static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QImageIOHandler*" , "QIODevice*" , "const QByteArray&"}; + 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); - QImageIOHandler* returnValue{}; - void* args[3] = {nullptr, (void*)&device0, (void*)&format1}; + 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("create", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); } else { - returnValue = *((QImageIOHandler**)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -182,54 +201,65 @@ if (_wrapper) { } } } - return nullptr; + return QIconEngine::availableSizes(mode0, state1); } -void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) +QIconEngine* PythonQtShell_QIconEngine::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QIconEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QImageIOPlugin::customEvent(event0); + return nullptr; } -bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) +QString PythonQtShell_QIconEngine::iconName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -237,32 +267,32 @@ if (_wrapper) { } } } - return QImageIOPlugin::event(event0); + return QIconEngine::iconName(); } -bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* watched0, QEvent* event1) +QString PythonQtShell_QIconEngine::key() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -270,21 +300,21 @@ if (_wrapper) { } } } - return QImageIOPlugin::eventFilter(watched0, event1); + return QIconEngine::key(); } -void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -292,970 +322,192 @@ if (_wrapper) { } } } - 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; +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(); + } } } -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; + return QIconEngine::pixmap(size0, mode1, state2); } -QImageIOPlugin::Capabilities PythonQtWrapper_QImageIOPlugin::capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const +bool PythonQtShell_QIconEngine::read(QDataStream& in0) { - return ( theWrappedObject->capabilities(device, format)); +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(); + } + } } - -QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const + return QIconEngine::read(in0); +} +bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { - return ( theWrappedObject->create(device, format)); +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(); + } + } } - - - -QImageReader* PythonQtWrapper_QImageReader::new_QImageReader() -{ -return new QImageReader(); } - -QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(QIODevice* device, const QByteArray& format) + return QIconEngine::write(out0); +} +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine() { -return new QImageReader(device, format); } +return new PythonQtShell_QIconEngine(); } -QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(const QString& fileName, const QByteArray& format) +QIconEngine* PythonQtWrapper_QIconEngine::new_QIconEngine(const QIconEngine& other) { -return new QImageReader(fileName, format); } - -bool PythonQtWrapper_QImageReader::autoDetectImageFormat(QImageReader* theWrappedObject) const -{ - return ( theWrappedObject->autoDetectImageFormat()); -} +return new PythonQtShell_QIconEngine(other); } -bool PythonQtWrapper_QImageReader::autoTransform(QImageReader* theWrappedObject) const +QSize PythonQtWrapper_QIconEngine::actualSize(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) { - return ( theWrappedObject->autoTransform()); + return ( theWrappedObject->actualSize(size, mode, state)); } -QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const +void PythonQtWrapper_QIconEngine::addFile(QIconEngine* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state) { - return ( theWrappedObject->backgroundColor()); + ( theWrappedObject->addFile(fileName, size, mode, state)); } -bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const +void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { - return ( theWrappedObject->canRead()); + ( theWrappedObject->addPixmap(pixmap, mode, state)); } -QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const +QList PythonQtWrapper_QIconEngine::availableSizes(QIconEngine* theWrappedObject, QIcon::Mode mode, QIcon::State state) const { - return ( theWrappedObject->clipRect()); + return ( theWrappedObject->availableSizes(mode, state)); } -int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const +QIconEngine* PythonQtWrapper_QIconEngine::clone(QIconEngine* theWrappedObject) const { - return ( theWrappedObject->currentImageNumber()); + return ( theWrappedObject->clone()); } -QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const +QString PythonQtWrapper_QIconEngine::iconName(QIconEngine* theWrappedObject) const { - return ( theWrappedObject->currentImageRect()); + return ( theWrappedObject->iconName()); } -bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QIconEngine::isNull(QIconEngine* theWrappedObject) const { - return ( theWrappedObject->decideFormatFromContent()); + return ( theWrappedObject->isNull()); } -QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const +QString PythonQtWrapper_QIconEngine::key(QIconEngine* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->key()); } -QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const +void PythonQtWrapper_QIconEngine::paint(QIconEngine* theWrappedObject, QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state) { - return ( theWrappedObject->error()); + ( theWrappedObject->paint(painter, rect, mode, state)); } -QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const +QPixmap PythonQtWrapper_QIconEngine::pixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->pixmap(size, mode, state)); } -QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QIconEngine::read(QIconEngine* theWrappedObject, QDataStream& in) { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->read(in)); } -QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const +QPixmap PythonQtWrapper_QIconEngine::scaledPixmap(QIconEngine* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state, qreal scale) { - return ( theWrappedObject->format()); + return ( theWrappedObject->scaledPixmap(size, mode, state, scale)); } -float PythonQtWrapper_QImageReader::gamma(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QIconEngine::write(QIconEngine* theWrappedObject, QDataStream& out) const { - return ( theWrappedObject->gamma()); + return ( theWrappedObject->write(out)); } -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)); +PythonQtShell_QImageIOHandler::~PythonQtShell_QImageIOHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -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 +bool PythonQtShell_QImageIOHandler::canRead() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("canRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool"}; @@ -1267,244 +519,46 @@ if (_wrapper) { 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); + 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 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); } + 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; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::leaveEvent(event0); + return bool(); } -int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QImageIOHandler::currentImageNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("currentImageNumber"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1512,32 +566,32 @@ if (_wrapper) { } } } - return QInputDialog::metric(arg__1); + return QImageIOHandler::currentImageNumber(); } -QSize PythonQtShell_QInputDialog::minimumSizeHint() const +QRect PythonQtShell_QImageIOHandler::currentImageRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("currentImageRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1545,142 +599,197 @@ if (_wrapper) { } } } - return QInputDialog::minimumSizeHint(); + return QImageIOHandler::currentImageRect(); } -void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) +int PythonQtShell_QImageIOHandler::imageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mouseDoubleClickEvent(event0); + return QImageIOHandler::imageCount(); } -void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&imageNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mouseMoveEvent(event0); + return QImageIOHandler::jumpToImage(imageNumber0); } -void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) +bool PythonQtShell_QImageIOHandler::jumpToNextImage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mousePressEvent(event0); + return QImageIOHandler::jumpToNextImage(); } -void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) +int PythonQtShell_QImageIOHandler::loopCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mouseReleaseEvent(event0); + return QImageIOHandler::loopCount(); } -void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) +int PythonQtShell_QImageIOHandler::nextImageDelay() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("nextImageDelay"); 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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::moveEvent(event0); + return QImageIOHandler::nextImageDelay(); } -bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("option"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1688,32 +797,32 @@ if (_wrapper) { } } } - return QInputDialog::nativeEvent(eventType0, message1, result2); + return QImageIOHandler::option(option0); } -QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const +bool PythonQtShell_QImageIOHandler::read(QImage* image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("read"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1721,21 +830,21 @@ if (_wrapper) { } } } - return QInputDialog::paintEngine(); + return bool(); } -void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) +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("paintEvent"); + static PyObject* name = PyString_FromString("setOption"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1743,32 +852,32 @@ if (_wrapper) { } } } - QInputDialog::paintEvent(event0); + QImageIOHandler::setOption(option0, value1); } -QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const +bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("supportsOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QImageIOHandler::ImageOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1776,65 +885,182 @@ if (_wrapper) { } } } - return QInputDialog::redirected(offset0); + return QImageIOHandler::supportsOption(option0); } -void PythonQtShell_QInputDialog::reject() +bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::reject(); + 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); } } -void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) +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("resizeEvent"); + static PyObject* name = PyString_FromString("capabilities"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); + } else { + returnValue = *((QImageIOPlugin::Capabilities*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::resizeEvent(arg__1); + return QImageIOPlugin::Capabilities(); } -void PythonQtShell_QInputDialog::setVisible(bool visible0) +void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1842,32 +1068,32 @@ if (_wrapper) { } } } - QInputDialog::setVisible(visible0); + QImageIOPlugin::childEvent(event0); } -QPainter* PythonQtShell_QInputDialog::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("create"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QImageIOHandler**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1875,21 +1101,21 @@ if (_wrapper) { } } } - return QInputDialog::sharedPainter(); + return nullptr; } -void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1897,32 +1123,32 @@ if (_wrapper) { } } } - QInputDialog::showEvent(arg__1); + QImageIOPlugin::customEvent(event0); } -QSize PythonQtShell_QInputDialog::sizeHint() const +bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1930,31 +1156,42 @@ if (_wrapper) { } } } - return QInputDialog::sizeHint(); + return QImageIOPlugin::event(event0); } -void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* 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("tabletEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::tabletEvent(event0); + return QImageIOPlugin::eventFilter(watched0, event1); } -void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QImageIOPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1966,29 +1203,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1996,864 +1211,482 @@ if (_wrapper) { } } } - QInputDialog::wheelEvent(event0); + QImageIOPlugin::timerEvent(event0); } -QInputDialog* PythonQtWrapper_QInputDialog::new_QInputDialog(QWidget* parent, Qt::WindowFlags flags) +QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) { -return new PythonQtShell_QInputDialog(parent, flags); } +return new PythonQtShell_QImageIOPlugin(parent); } -const QMetaObject* PythonQtShell_QInputDialog::metaObject() const { +const QMetaObject* PythonQtShell_QImageIOPlugin::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QInputDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QImageIOPlugin::staticMetaObject); } else { - return &QInputDialog::staticMetaObject; + return &QImageIOPlugin::staticMetaObject; } } -int PythonQtShell_QInputDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QInputDialog::qt_metacall(call, id, args); +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; } -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 +QImageIOPlugin::Capabilities PythonQtWrapper_QImageIOPlugin::capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const { - return ( theWrappedObject->intMaximum()); + return ( theWrappedObject->capabilities(device, format)); } -int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const +QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const { - return ( theWrappedObject->intMinimum()); + return ( theWrappedObject->create(device, format)); } -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()); -} +QImageReader* PythonQtWrapper_QImageReader::new_QImageReader() +{ +return new QImageReader(); } -QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->labelText()); -} +QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(QIODevice* device, const QByteArray& format) +{ +return new QImageReader(device, format); } -QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->okButtonText()); -} +QImageReader* PythonQtWrapper_QImageReader::new_QImageReader(const QString& fileName, const QByteArray& format) +{ +return new QImageReader(fileName, format); } -void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject, QObject* receiver, const char* member) +bool PythonQtWrapper_QImageReader::autoDetectImageFormat(QImageReader* theWrappedObject) const { - ( theWrappedObject->open(receiver, member)); + return ( theWrappedObject->autoDetectImageFormat()); } -QInputDialog::InputDialogOptions PythonQtWrapper_QInputDialog::options(QInputDialog* theWrappedObject) const +bool PythonQtWrapper_QImageReader::autoTransform(QImageReader* theWrappedObject) const { - return ( theWrappedObject->options()); + return ( theWrappedObject->autoTransform()); } -void PythonQtWrapper_QInputDialog::setCancelButtonText(QInputDialog* theWrappedObject, const QString& text) +QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const { - ( theWrappedObject->setCancelButtonText(text)); + return ( theWrappedObject->backgroundColor()); } -void PythonQtWrapper_QInputDialog::setComboBoxEditable(QInputDialog* theWrappedObject, bool editable) +bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const { - ( theWrappedObject->setComboBoxEditable(editable)); + return ( theWrappedObject->canRead()); } -void PythonQtWrapper_QInputDialog::setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items) +QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const { - ( theWrappedObject->setComboBoxItems(items)); + return ( theWrappedObject->clipRect()); } -void PythonQtWrapper_QInputDialog::setDoubleDecimals(QInputDialog* theWrappedObject, int decimals) +int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const { - ( theWrappedObject->setDoubleDecimals(decimals)); + return ( theWrappedObject->currentImageNumber()); } -void PythonQtWrapper_QInputDialog::setDoubleMaximum(QInputDialog* theWrappedObject, double max) +QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const { - ( theWrappedObject->setDoubleMaximum(max)); + return ( theWrappedObject->currentImageRect()); } -void PythonQtWrapper_QInputDialog::setDoubleMinimum(QInputDialog* theWrappedObject, double min) +bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const { - ( theWrappedObject->setDoubleMinimum(min)); + return ( theWrappedObject->decideFormatFromContent()); } -void PythonQtWrapper_QInputDialog::setDoubleRange(QInputDialog* theWrappedObject, double min, double max) +QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const { - ( theWrappedObject->setDoubleRange(min, max)); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QInputDialog::setDoubleStep(QInputDialog* theWrappedObject, double step) +QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const { - ( theWrappedObject->setDoubleStep(step)); + return ( theWrappedObject->error()); } -void PythonQtWrapper_QInputDialog::setDoubleValue(QInputDialog* theWrappedObject, double value) +QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const { - ( theWrappedObject->setDoubleValue(value)); + return ( theWrappedObject->errorString()); } -void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) +QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const { - ( theWrappedObject->setInputMode(mode)); + return ( theWrappedObject->fileName()); } -void PythonQtWrapper_QInputDialog::setIntMaximum(QInputDialog* theWrappedObject, int max) +QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const { - ( theWrappedObject->setIntMaximum(max)); + return ( theWrappedObject->format()); } -void PythonQtWrapper_QInputDialog::setIntMinimum(QInputDialog* theWrappedObject, int min) +float PythonQtWrapper_QImageReader::gamma(QImageReader* theWrappedObject) const { - ( theWrappedObject->setIntMinimum(min)); + return ( theWrappedObject->gamma()); } -void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) +int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const { - ( theWrappedObject->setIntRange(min, max)); + return ( theWrappedObject->imageCount()); } -void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) +QImage::Format PythonQtWrapper_QImageReader::imageFormat(QImageReader* theWrappedObject) const { - ( theWrappedObject->setIntStep(step)); + return ( theWrappedObject->imageFormat()); } -void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) { - ( theWrappedObject->setIntValue(value)); + return (QImageReader::imageFormat(device)); } -void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) { - ( theWrappedObject->setLabelText(text)); + return (QImageReader::imageFormat(fileName)); } -void PythonQtWrapper_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) +QList PythonQtWrapper_QImageReader::static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType) { - ( theWrappedObject->setOkButtonText(text)); + return (QImageReader::imageFormatsForMimeType(mimeType)); } -void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) +bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) { - ( theWrappedObject->setOption(option, on)); + return ( theWrappedObject->jumpToImage(imageNumber)); } -void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) +bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) { - ( theWrappedObject->setOptions(options)); + return ( theWrappedObject->jumpToNextImage()); } -void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) +int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const { - ( theWrappedObject->setTextEchoMode(mode)); + return ( theWrappedObject->loopCount()); } -void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) +int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const { - ( theWrappedObject->setTextValue(text)); + return ( theWrappedObject->nextImageDelay()); } -bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const +int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const { - return ( theWrappedObject->testOption(option)); + return ( theWrappedObject->quality()); } -QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const +QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) { - return ( theWrappedObject->textEchoMode()); + return ( theWrappedObject->read()); } -QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const +QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const { - return ( theWrappedObject->textValue()); -} - - - -PythonQtShell_QInputEvent::~PythonQtShell_QInputEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->scaledClipRect()); } -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 +QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const { - return ( theWrappedObject->modifiers()); + return ( theWrappedObject->scaledSize()); } -void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) +void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) { - ( theWrappedObject->setModifiers(amodifiers)); + ( theWrappedObject->setAutoDetectImageFormat(enabled)); } -void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) +void PythonQtWrapper_QImageReader::setAutoTransform(QImageReader* theWrappedObject, bool enabled) { - ( theWrappedObject->setTimestamp(atimestamp)); + ( theWrappedObject->setAutoTransform(enabled)); } -ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const +void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) { - return ( theWrappedObject->timestamp()); + ( theWrappedObject->setBackgroundColor(color)); } - - -QRectF PythonQtWrapper_QInputMethod::anchorRectangle(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) { - return ( theWrappedObject->anchorRectangle()); + ( theWrappedObject->setClipRect(rect)); } -QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) { - return ( theWrappedObject->cursorRectangle()); + ( theWrappedObject->setDecideFormatFromContent(ignored)); } -Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) { - return ( theWrappedObject->inputDirection()); + ( theWrappedObject->setDevice(device)); } -QRectF PythonQtWrapper_QInputMethod::inputItemClipRectangle(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) { - return ( theWrappedObject->inputItemClipRectangle()); + ( theWrappedObject->setFileName(fileName)); } -QRectF PythonQtWrapper_QInputMethod::inputItemRectangle(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) { - return ( theWrappedObject->inputItemRectangle()); + ( theWrappedObject->setFormat(format)); } -QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setGamma(QImageReader* theWrappedObject, float gamma) { - return ( theWrappedObject->inputItemTransform()); + ( theWrappedObject->setGamma(gamma)); } -bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) { - return ( theWrappedObject->isAnimating()); + ( theWrappedObject->setQuality(quality)); } -bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) { - return ( theWrappedObject->isVisible()); + ( theWrappedObject->setScaledClipRect(rect)); } -QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const +void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) { - return ( theWrappedObject->keyboardRectangle()); + ( theWrappedObject->setScaledSize(size)); } -QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const +QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const { - return ( theWrappedObject->locale()); + return ( theWrappedObject->size()); } -QVariant PythonQtWrapper_QInputMethod::static_QInputMethod_queryFocusObject(Qt::InputMethodQuery query, QVariant argument) +QByteArray PythonQtWrapper_QImageReader::subType(QImageReader* theWrappedObject) const { - return (QInputMethod::queryFocusObject(query, argument)); + return ( theWrappedObject->subType()); } -void PythonQtWrapper_QInputMethod::setInputItemRectangle(QInputMethod* theWrappedObject, const QRectF& rect) +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() { - ( theWrappedObject->setInputItemRectangle(rect)); + return (QImageReader::supportedImageFormats()); } -void PythonQtWrapper_QInputMethod::setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform) +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedMimeTypes() { - ( theWrappedObject->setInputItemTransform(transform)); + return (QImageReader::supportedMimeTypes()); } -void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) +QList PythonQtWrapper_QImageReader::supportedSubTypes(QImageReader* theWrappedObject) const { - ( theWrappedObject->setVisible(visible)); + return ( theWrappedObject->supportedSubTypes()); } - - -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 +bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const { - return &( theWrappedObject->attributes()); + return ( theWrappedObject->supportsAnimation()); } -const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const +bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const { - return &( theWrappedObject->commitString()); + return ( theWrappedObject->supportsOption(option)); } -const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const +QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const { - return &( theWrappedObject->preeditString()); + return ( theWrappedObject->text(key)); } -int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const +QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const { - return ( theWrappedObject->replacementLength()); + return ( theWrappedObject->textKeys()); } -int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const +QString PythonQtWrapper_QImageReader::static_QImageReader_tr(const char* sourceText, const char* disambiguation, int n) { - return ( theWrappedObject->replacementStart()); + return (QImageReader::tr(sourceText, disambiguation, n)); } -void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) +QString PythonQtWrapper_QImageReader::static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation, int n) { - ( theWrappedObject->setCommitString(commitString, replaceFrom, replaceLength)); + return (QImageReader::trUtf8(sourceText, disambiguation, n)); } -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) +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter() { -return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l); } +return new QImageWriter(); } -QInputMethodEvent::Attribute* PythonQtWrapper_QInputMethodEvent__Attribute::new_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val) +QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(QIODevice* device, const QByteArray& format) { -return new PythonQtShell_QInputMethodEvent__Attribute(typ, s, l, val); } +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()); +} -QInputMethodQueryEvent* PythonQtWrapper_QInputMethodQueryEvent::new_QInputMethodQueryEvent(Qt::InputMethodQueries queries) -{ -return new QInputMethodQueryEvent(queries); } +int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const +{ + return ( theWrappedObject->compression()); +} -Qt::InputMethodQueries PythonQtWrapper_QInputMethodQueryEvent::queries(QInputMethodQueryEvent* theWrappedObject) const +QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->queries()); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) +QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setValue(query, value)); + return ( theWrappedObject->error()); } -QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const +QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->value(query)); + return ( theWrappedObject->errorString()); } - - -PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QIntValidator::childEvent(QChildEvent* event0) +QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->fileName()); } -void PythonQtShell_QIntValidator::customEvent(QEvent* event0) + +QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->format()); } -bool PythonQtShell_QIntValidator::event(QEvent* event0) + +float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( theWrappedObject->gamma()); } -bool PythonQtShell_QIntValidator::eventFilter(QObject* watched0, QEvent* event1) + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return (QImageWriter::imageFormatsForMimeType(mimeType)); } -void PythonQtShell_QIntValidator::fixup(QString& input0) const + +bool PythonQtWrapper_QImageWriter::optimizedWrite(QImageWriter* theWrappedObject) 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); + return ( theWrappedObject->optimizedWrite()); } -void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) + +bool PythonQtWrapper_QImageWriter::progressiveScanWrite(QImageWriter* theWrappedObject) const { -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); + return ( theWrappedObject->progressiveScanWrite()); } -void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* event0) + +int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->quality()); } -QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const + +void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) { -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(); - } - } + ( theWrappedObject->setCompression(compression)); } - return QIntValidator::validate(arg__1, arg__2); + +void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) +{ + ( theWrappedObject->setDevice(device)); } -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); } +void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) +{ + ( theWrappedObject->setFileName(fileName)); +} -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; - } +void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) +{ + ( theWrappedObject->setFormat(format)); } -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; + +void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) +{ + ( theWrappedObject->setGamma(gamma)); } -int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const + +void PythonQtWrapper_QImageWriter::setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize) { - return ( theWrappedObject->bottom()); + ( theWrappedObject->setOptimizedWrite(optimize)); } -void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) +void PythonQtWrapper_QImageWriter::setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive) { - ( theWrappedObject->setBottom(arg__1)); + ( theWrappedObject->setProgressiveScanWrite(progressive)); } -void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) +void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) { - ( theWrappedObject->setRange(bottom, top)); + ( theWrappedObject->setQuality(quality)); } -void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) +void PythonQtWrapper_QImageWriter::setSubType(QImageWriter* theWrappedObject, const QByteArray& type) { - ( theWrappedObject->setTop(arg__1)); + ( theWrappedObject->setSubType(type)); } -int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) { - return ( theWrappedObject->top()); + ( theWrappedObject->setText(key, text)); } - - -PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QItemDelegate::childEvent(QChildEvent* event0) +QByteArray PythonQtWrapper_QImageWriter::subType(QImageWriter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->subType()); } -QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() { -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); + return (QImageWriter::supportedImageFormats()); } -void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) + +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedMimeTypes() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return (QImageWriter::supportedMimeTypes()); } -void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const + +QList PythonQtWrapper_QImageWriter::supportedSubTypes(QImageWriter* theWrappedObject) 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(); - } - } + return ( theWrappedObject->supportedSubTypes()); } - QItemDelegate::destroyEditor(editor0, index1); + +bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const +{ + return ( theWrappedObject->supportsOption(option)); } -void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const + +QString PythonQtWrapper_QImageWriter::static_QImageWriter_tr(const char* sourceText, const char* disambiguation, int n) { -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(); - } - } + return (QImageWriter::tr(sourceText, disambiguation, n)); } - QItemDelegate::drawCheck(painter0, option1, rect2, state3); + +QString PythonQtWrapper_QImageWriter::static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation, int n) +{ + return (QImageWriter::trUtf8(sourceText, disambiguation, n)); } -void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const + +bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) { -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(); - } - } + return ( theWrappedObject->write(image)); } - QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); + + + +PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const +void PythonQtShell_QInputDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawDisplay"); + static PyObject* name = PyString_FromString("accept"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2861,21 +1694,21 @@ if (_wrapper) { } } } - QItemDelegate::drawDisplay(painter0, option1, rect2, text3); + QInputDialog::accept(); } -void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const +void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawFocus"); + static PyObject* name = PyString_FromString("actionEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2883,153 +1716,109 @@ if (_wrapper) { } } } - QItemDelegate::drawFocus(painter0, option1, rect2); + QInputDialog::actionEvent(event0); } -bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorEvent"); + static PyObject* name = PyString_FromString("changeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::editorEvent(event0, model1, option2, index3); + QInputDialog::changeEvent(arg__1); } -bool PythonQtShell_QItemDelegate::event(QEvent* event0) +void PythonQtShell_QInputDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::event(event0); + QInputDialog::childEvent(event0); } -bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - 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}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::eventFilter(object0, event1); + QInputDialog::closeEvent(arg__1); } -bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::helpEvent(event0, view1, option2, index3); + QInputDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +void PythonQtShell_QInputDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3037,32 +1826,32 @@ if (_wrapper) { } } } - QItemDelegate::paint(painter0, option1, index2); + QInputDialog::customEvent(event0); } -QVector PythonQtShell_QItemDelegate::paintingRoles() const +int PythonQtShell_QInputDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintingRoles"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVector"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVector*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3070,21 +1859,21 @@ if (_wrapper) { } } } - return QItemDelegate::paintingRoles(); + return QInputDialog::devType(); } -void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +void PythonQtShell_QInputDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setEditorData"); + static PyObject* name = PyString_FromString("done"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3092,21 +1881,21 @@ if (_wrapper) { } } } - QItemDelegate::setEditorData(editor0, index1); + QInputDialog::done(result0); } -void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModelData"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3114,54 +1903,43 @@ if (_wrapper) { } } } - QItemDelegate::setModelData(editor0, model1, index2); + QInputDialog::dragEnterEvent(event0); } -QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const +void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::sizeHint(option0, index1); + QInputDialog::dragLeaveEvent(event0); } -void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* event0) +void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3169,21 +1947,21 @@ if (_wrapper) { } } } - QItemDelegate::timerEvent(event0); + QInputDialog::dragMoveEvent(event0); } -void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometry"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3191,125 +1969,54 @@ if (_wrapper) { } } } - 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)); -} - -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)); + QInputDialog::dropEvent(event0); } - -QRect PythonQtWrapper_QItemDelegate::textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const +void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) { - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_textRectangle(painter, rect, font, text)); +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(); + } + } } - - - -PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QInputDialog::enterEvent(event0); } -QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const +bool PythonQtShell_QInputDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createWidget"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue{}; - void* args[2] = {nullptr, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QWidget**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3317,32 +2024,32 @@ if (_wrapper) { } } } - return nullptr; + return QInputDialog::event(event0); } -QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const +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("valuePropertyName"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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("valuePropertyName", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QByteArray*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3350,52 +2057,32 @@ if (_wrapper) { } } } - 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); } + return QInputDialog::eventFilter(arg__1, arg__2); } -QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const +int PythonQtShell_QInputDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createEditor"); + static PyObject* name = PyString_FromString("exec"); 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}; + 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("createEditor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((QWidget**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3403,32 +2090,54 @@ if (_wrapper) { } } } - return QItemEditorFactory::createEditor(userType0, parent1); + return QInputDialog::exec(); } -QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const +void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valuePropertyName"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QByteArray" , "int"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue{}; - void* args[2] = {nullptr, (void*)&userType0}; + void* args[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("valuePropertyName", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QByteArray*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3436,331 +2145,516 @@ if (_wrapper) { } } } - 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)); + return QInputDialog::focusNextPrevChild(next0); } - -const QItemSelectionRange* PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const +void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) { - return &( theWrappedObject->last()); +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(); + } + } } - -int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const -{ - return ( theWrappedObject->lastIndexOf(t, from)); + QInputDialog::focusOutEvent(event0); } - -int PythonQtWrapper_QItemSelection::length(QItemSelection* theWrappedObject) const +bool PythonQtShell_QInputDialog::hasHeightForWidth() const { - return ( theWrappedObject->length()); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->merge(other, command)); + return QInputDialog::hasHeightForWidth(); } - -QList PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const +int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { - return ( theWrappedObject->mid(pos, length)); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to) -{ - ( theWrappedObject->move(from, to)); + return QInputDialog::heightForWidth(arg__1); } - -bool PythonQtWrapper_QItemSelection::__ne__(QItemSelection* theWrappedObject, const QList& l) const +void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) { - return ( (*theWrappedObject)!= l); +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(); + } + } } - -bool PythonQtWrapper_QItemSelection::__eq__(QItemSelection* theWrappedObject, const QList& l) const -{ - return ( (*theWrappedObject)== l); + QInputDialog::hideEvent(event0); } - -void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject) +void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { - ( theWrappedObject->pop_back()); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->pop_front()); + QInputDialog::initPainter(painter0); } - -void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { - ( theWrappedObject->prepend(t)); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - ( theWrappedObject->push_back(t)); + QInputDialog::inputMethodEvent(arg__1); } - -void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - ( theWrappedObject->push_front(t)); +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(); + } + } } - -int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) -{ - return ( theWrappedObject->removeAll(t)); + return QInputDialog::inputMethodQuery(arg__1); } - -void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) +void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { - ( theWrappedObject->removeAt(i)); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) -{ - ( theWrappedObject->removeFirst()); + QInputDialog::keyPressEvent(arg__1); } - -void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) +void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->removeLast()); +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(); + } + } } - -bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) + QInputDialog::keyReleaseEvent(event0); +} +void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) { - return ( theWrappedObject->removeOne(t)); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) -{ - ( theWrappedObject->replace(i, t)); + QInputDialog::leaveEvent(event0); } - -void PythonQtWrapper_QItemSelection::reserve(QItemSelection* theWrappedObject, int size) +int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->reserve(size)); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( theWrappedObject->select(topLeft, bottomRight)); + return QInputDialog::metric(arg__1); } - -void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) +QSize PythonQtShell_QInputDialog::minimumSizeHint() const { - ( theWrappedObject->setSharable(sharable)); +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(); + } + } } - -int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->size()); + return QInputDialog::minimumSizeHint(); } - -void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) +void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) { - (QItemSelection::split(range, other, result)); +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(); + } + } } - -bool PythonQtWrapper_QItemSelection::startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const -{ - return ( theWrappedObject->startsWith(t)); + QInputDialog::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, QList& other) +void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) { - ( theWrappedObject->swap(other)); +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(); + } + } } - -void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) -{ - ( theWrappedObject->swap(i, j)); + QInputDialog::mouseMoveEvent(event0); } - -QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) +void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->takeAt(i)); +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(); + } + } } - -QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) -{ - return ( theWrappedObject->takeFirst()); + QInputDialog::mousePressEvent(event0); } - -QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) +void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->takeLast()); +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(); + } + } } - -QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const + QInputDialog::mouseReleaseEvent(event0); +} +void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->toVector()); +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(); + } + } } - -QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const + QInputDialog::moveEvent(event0); +} +bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->value(i)); +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(); + } + } } - -QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const + return QInputDialog::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { - return ( theWrappedObject->value(i, defaultValue)); +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(); + } + } } - - - -PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QInputDialog::paintEngine(); } -void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) +void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3768,43 +2662,54 @@ if (_wrapper) { } } } - QItemSelectionModel::childEvent(event0); + QInputDialog::paintEvent(event0); } -void PythonQtShell_QItemSelectionModel::clear() +QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::clear(); + return QInputDialog::redirected(offset0); } -void PythonQtShell_QItemSelectionModel::clearCurrentIndex() +void PythonQtShell_QInputDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clearCurrentIndex"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3812,21 +2717,21 @@ if (_wrapper) { } } } - QItemSelectionModel::clearCurrentIndex(); + QInputDialog::reject(); } -void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) +void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3834,65 +2739,54 @@ if (_wrapper) { } } } - QItemSelectionModel::customEvent(event0); + QInputDialog::resizeEvent(arg__1); } -bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) +void PythonQtShell_QInputDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemSelectionModel::event(event0); + QInputDialog::setVisible(visible0); } -bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* watched0, QEvent* event1) +QPainter* PythonQtShell_QInputDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3900,21 +2794,21 @@ if (_wrapper) { } } } - return QItemSelectionModel::eventFilter(watched0, event1); + return QInputDialog::sharedPainter(); } -void PythonQtShell_QItemSelectionModel::reset() +void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3922,43 +2816,54 @@ if (_wrapper) { } } } - QItemSelectionModel::reset(); + QInputDialog::showEvent(arg__1); } -void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) +QSize PythonQtShell_QInputDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("select"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::select(selection0, command1); + return QInputDialog::sizeHint(); } -void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("select"); + static PyObject* name = PyString_FromString("tabletEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3966,21 +2871,21 @@ if (_wrapper) { } } } - QItemSelectionModel::select(index0, command1); + QInputDialog::tabletEvent(event0); } -void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setCurrentIndex"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3988,21 +2893,21 @@ if (_wrapper) { } } } - QItemSelectionModel::setCurrentIndex(index0, command1); + QInputDialog::timerEvent(event0); } -void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) +void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4010,305 +2915,448 @@ if (_wrapper) { } } } - QItemSelectionModel::timerEvent(event0); + 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()); } -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); } +int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intMinimum()); +} -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 PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intStep()); } -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; + +int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intValue()); } -bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const + +bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->columnIntersectsSelection(column, parent)); + return ( theWrappedObject->isComboBoxEditable()); } -QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const +QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->currentIndex()); + return ( theWrappedObject->labelText()); } -void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) +QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); + return ( theWrappedObject->okButtonText()); } -bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const +void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject, QObject* receiver, const char* member) { - return ( theWrappedObject->hasSelection()); + ( theWrappedObject->open(receiver, member)); } -bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const +QInputDialog::InputDialogOptions PythonQtWrapper_QInputDialog::options(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->isColumnSelected(column, parent)); + return ( theWrappedObject->options()); } -bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const +void PythonQtWrapper_QInputDialog::setCancelButtonText(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->isRowSelected(row, parent)); + ( theWrappedObject->setCancelButtonText(text)); } -bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QInputDialog::setComboBoxEditable(QInputDialog* theWrappedObject, bool editable) { - return ( theWrappedObject->isSelected(index)); + ( theWrappedObject->setComboBoxEditable(editable)); } -QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) +void PythonQtWrapper_QInputDialog::setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items) { - return ( theWrappedObject->model()); + ( theWrappedObject->setComboBoxItems(items)); } -const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setDoubleDecimals(QInputDialog* theWrappedObject, int decimals) { - return ( theWrappedObject->model()); + ( theWrappedObject->setDoubleDecimals(decimals)); } -bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const +void PythonQtWrapper_QInputDialog::setDoubleMaximum(QInputDialog* theWrappedObject, double max) { - return ( theWrappedObject->rowIntersectsSelection(row, parent)); + ( theWrappedObject->setDoubleMaximum(max)); } -QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const +void PythonQtWrapper_QInputDialog::setDoubleMinimum(QInputDialog* theWrappedObject, double min) { - return ( theWrappedObject->selectedColumns(row)); + ( theWrappedObject->setDoubleMinimum(min)); } -QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setDoubleRange(QInputDialog* theWrappedObject, double min, double max) { - return ( theWrappedObject->selectedIndexes()); + ( theWrappedObject->setDoubleRange(min, max)); } -QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const +void PythonQtWrapper_QInputDialog::setDoubleStep(QInputDialog* theWrappedObject, double step) { - return ( theWrappedObject->selectedRows(column)); + ( theWrappedObject->setDoubleStep(step)); } -const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setDoubleValue(QInputDialog* theWrappedObject, double value) { - return ( theWrappedObject->selection()); + ( theWrappedObject->setDoubleValue(value)); } -void PythonQtWrapper_QItemSelectionModel::setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model) +void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) { - ( theWrappedObject->setModel(model)); + ( 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)); +} -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange() -{ -return new QItemSelectionRange(); } +void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) +{ + ( theWrappedObject->setIntRange(min, max)); +} -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other) -{ -return new QItemSelectionRange(other); } +void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) +{ + ( theWrappedObject->setIntStep(step)); +} -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index) -{ -return new QItemSelectionRange(index); } +void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) +{ + ( theWrappedObject->setIntValue(value)); +} -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topL, const QModelIndex& bottomR) -{ -return new QItemSelectionRange(topL, bottomR); } +void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setLabelText(text)); +} -int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->bottom()); + ( theWrappedObject->setOkButtonText(text)); } -const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) { - return &( theWrappedObject->bottomRight()); + ( theWrappedObject->setOption(option, on)); } -bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) { - return ( theWrappedObject->contains(index)); + ( theWrappedObject->setOptions(options)); } -bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const +void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) { - return ( theWrappedObject->contains(row, column, parentIndex)); + ( theWrappedObject->setTextEchoMode(mode)); } -int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->height()); + ( theWrappedObject->setTextValue(text)); } -QList PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const +bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const { - return ( theWrappedObject->indexes()); + return ( theWrappedObject->testOption(option)); } -QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->intersected(other)); + return ( theWrappedObject->textEchoMode()); } -bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->intersects(other)); + return ( theWrappedObject->textValue()); } -bool PythonQtWrapper_QItemSelectionRange::isEmpty(QItemSelectionRange* theWrappedObject) const + + +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->isEmpty()); + return ( theWrappedObject->modifiers()); } -bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const +void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setModifiers(amodifiers)); } -int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const +void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) { - return ( theWrappedObject->left()); + ( theWrappedObject->setTimestamp(atimestamp)); } -const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const +ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const { - return ( theWrappedObject->model()); + return ( theWrappedObject->timestamp()); } -bool PythonQtWrapper_QItemSelectionRange::__ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const + + +QRectF PythonQtWrapper_QInputMethod::anchorRectangle(QInputMethod* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->anchorRectangle()); } -bool PythonQtWrapper_QItemSelectionRange::__lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const { - return ( (*theWrappedObject)< other); + return ( theWrappedObject->cursorRectangle()); } -QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::operator_assign(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) +Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->inputDirection()); } -bool PythonQtWrapper_QItemSelectionRange::__eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const +QRectF PythonQtWrapper_QInputMethod::inputItemClipRectangle(QInputMethod* theWrappedObject) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->inputItemClipRectangle()); } -QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const +QRectF PythonQtWrapper_QInputMethod::inputItemRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->parent()); + return ( theWrappedObject->inputItemRectangle()); } -int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const +QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->right()); + return ( theWrappedObject->inputItemTransform()); } -void PythonQtWrapper_QItemSelectionRange::swap(QItemSelectionRange* theWrappedObject, QItemSelectionRange& other) +bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->isAnimating()); } -int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const +bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->top()); + return ( theWrappedObject->isVisible()); } -const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const +QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const { - return &( theWrappedObject->topLeft()); + return ( theWrappedObject->keyboardRectangle()); } -int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const +QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->width()); + return ( theWrappedObject->locale()); } -QString PythonQtWrapper_QItemSelectionRange::py_toString(QItemSelectionRange* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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)); +} -PythonQtShell_QKeyEvent::~PythonQtShell_QKeyEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) +{ + ( theWrappedObject->setVisible(visible)); } -QKeyEvent* PythonQtWrapper_QKeyEvent::new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text, bool autorep, ushort count) + + + +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent() { -return new PythonQtShell_QKeyEvent(type, key, modifiers, text, autorep, count); } +return new QInputMethodEvent(); } -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) +QInputMethodEvent* PythonQtWrapper_QInputMethodEvent::new_QInputMethodEvent(const QInputMethodEvent& other) { -return new PythonQtShell_QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count); } +return new QInputMethodEvent(other); } -int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const +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->count()); + return &( theWrappedObject->attributes()); } -bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const +const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->isAutoRepeat()); + return &( theWrappedObject->commitString()); } -int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const +const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->key()); + return &( theWrappedObject->preeditString()); } -bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const +int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->matches(key)); + return ( theWrappedObject->replacementLength()); } -Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const +int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->modifiers()); + return ( theWrappedObject->replacementStart()); } -unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) { - return ( theWrappedObject->nativeModifiers()); + ( theWrappedObject->setCommitString(commitString, replaceFrom, replaceLength)); } -unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const + + +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->nativeScanCode()); + return ( theWrappedObject->queries()); } -unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) { - return ( theWrappedObject->nativeVirtualKey()); + ( theWrappedObject->setValue(query, value)); } -QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const +QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->value(query)); } -PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { +PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* event0) +void PythonQtShell_QIntValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4320,7 +3368,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4328,9 +3376,9 @@ if (_wrapper) { } } } - QKeyEventTransition::childEvent(event0); + QIntValidator::childEvent(event0); } -void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) +void PythonQtShell_QIntValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4342,7 +3390,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4350,9 +3398,9 @@ if (_wrapper) { } } } - QKeyEventTransition::customEvent(event0); + QIntValidator::customEvent(event0); } -bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) +bool PythonQtShell_QIntValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4363,7 +3411,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -4375,7 +3423,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4383,9 +3431,9 @@ if (_wrapper) { } } } - return QKeyEventTransition::event(e0); + return QIntValidator::event(event0); } -bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QIntValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4408,7 +3456,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4416,54 +3464,43 @@ if (_wrapper) { } } } - return QKeyEventTransition::eventFilter(watched0, event1); + return QIntValidator::eventFilter(watched0, event1); } -bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) +void PythonQtShell_QIntValidator::fixup(QString& input0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("eventTest", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeyEventTransition::eventTest(event0); + QIntValidator::fixup(input0); } -void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) +void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); + static PyObject* name = PyString_FromString("setRange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4471,9 +3508,9 @@ if (_wrapper) { } } } - QKeyEventTransition::onTransition(event0); + QIntValidator::setRange(bottom0, top1); } -void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) +void PythonQtShell_QIntValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4485,76 +3522,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4562,109 +3530,106 @@ if (_wrapper) { } } } - 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); + QIntValidator::timerEvent(event0); } -void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* 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("closeEvent"); + static PyObject* name = PyString_FromString("validate"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::closeEvent(event0); + return QIntValidator::validate(arg__1, arg__2); } -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(); - } +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; } } - QKeySequenceEdit::contextMenuEvent(event0); +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; } -void PythonQtShell_QKeySequenceEdit::customEvent(QEvent* event0) +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("customEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4672,32 +3637,32 @@ if (_wrapper) { } } } - QKeySequenceEdit::customEvent(event0); + QItemDelegate::childEvent(event0); } -int PythonQtShell_QKeySequenceEdit::devType() const +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("devType"); + static PyObject* name = PyString_FromString("createEditor"); 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}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4705,21 +3670,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::devType(); + return QItemDelegate::createEditor(parent0, option1, index2); } -void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4727,21 +3692,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dragEnterEvent(event0); + QItemDelegate::customEvent(event0); } -void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* 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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("destroyEditor"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4749,21 +3714,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dragLeaveEvent(event0); + QItemDelegate::destroyEditor(editor0, index1); } -void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("drawCheck"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4771,21 +3736,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dragMoveEvent(event0); + QItemDelegate::drawCheck(painter0, option1, rect2, state3); } -void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("drawDecoration"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4793,21 +3758,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dropEvent(event0); + QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); } -void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) +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("enterEvent"); + static PyObject* name = PyString_FromString("drawDisplay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4815,65 +3780,54 @@ if (_wrapper) { } } } - QKeySequenceEdit::enterEvent(event0); + QItemDelegate::drawDisplay(painter0, option1, rect2, text3); } -bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) +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("event"); + static PyObject* name = PyString_FromString("drawFocus"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::event(arg__1); + QItemDelegate::drawFocus(painter0, option1, rect2); } -bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4881,54 +3835,65 @@ if (_wrapper) { } } } - return QKeySequenceEdit::eventFilter(watched0, event1); + return QItemDelegate::editorEvent(event0, model1, option2, index3); } -void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) +bool PythonQtShell_QItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::focusInEvent(event0); + return QItemDelegate::event(event0); } -bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) +bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4936,54 +3901,32 @@ if (_wrapper) { } } } - 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); + return QItemDelegate::eventFilter(object0, event1); } -bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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[1] = {nullptr}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4991,76 +3934,76 @@ if (_wrapper) { } } } - return QKeySequenceEdit::hasHeightForWidth(); + return QItemDelegate::helpEvent(event0, view1, option2, index3); } -int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("paint"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::heightForWidth(arg__1); + QItemDelegate::paint(painter0, option1, index2); } -void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) +QVector PythonQtShell_QItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("paintingRoles"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::hideEvent(event0); + return QItemDelegate::paintingRoles(); } -void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("setEditorData"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5068,21 +4011,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::initPainter(painter0); + QItemDelegate::setEditorData(editor0, index1); } -void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("setModelData"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5090,32 +4033,32 @@ if (_wrapper) { } } } - QKeySequenceEdit::inputMethodEvent(arg__1); + QItemDelegate::setModelData(editor0, model1, index2); } -QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5123,21 +4066,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::inputMethodQuery(arg__1); + return QItemDelegate::sizeHint(option0, index1); } -void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5145,21 +4088,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::keyPressEvent(arg__1); + QItemDelegate::timerEvent(event0); } -void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("updateEditorGeometry"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5167,54 +4110,211 @@ if (_wrapper) { } } } - QKeySequenceEdit::keyReleaseEvent(arg__1); + QItemDelegate::updateEditorGeometry(editor0, option1, index2); } -void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) +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)); +} + +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("leaveEvent"); + static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::leaveEvent(event0); + return QByteArray(); } -int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("createEditor"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5222,32 +4322,32 @@ if (_wrapper) { } } } - return QKeySequenceEdit::metric(arg__1); + return QItemEditorFactory::createEditor(userType0, parent1); } -QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const +QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("valuePropertyName"); 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}; + 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("getMinimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5255,329 +4355,331 @@ if (_wrapper) { } } } - return QKeySequenceEdit::minimumSizeHint(); + 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 PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t) { -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(); - } - } + ( theWrappedObject->prepend(t)); } - QKeySequenceEdit::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + ( theWrappedObject->push_back(t)); } -void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) + +void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t) { -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(); - } - } + ( theWrappedObject->push_front(t)); } - QKeySequenceEdit::mouseMoveEvent(event0); + +int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + return ( theWrappedObject->removeAll(t)); } -void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) + +void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i) { -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(); - } - } + ( theWrappedObject->removeAt(i)); } - QKeySequenceEdit::mousePressEvent(event0); + +void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); } -void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) + +void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject) { -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(); - } - } + ( theWrappedObject->removeLast()); } - QKeySequenceEdit::mouseReleaseEvent(event0); + +bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t) +{ + return ( theWrappedObject->removeOne(t)); } -void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t) { -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(); - } - } + ( theWrappedObject->replace(i, t)); } - QKeySequenceEdit::moveEvent(event0); + +void PythonQtWrapper_QItemSelection::reserve(QItemSelection* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); } -bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) { -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(); - } - } + ( theWrappedObject->select(topLeft, bottomRight)); } - return QKeySequenceEdit::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); } -QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const + +int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) 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 ( theWrappedObject->size()); } - return QKeySequenceEdit::paintEngine(); + +void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) +{ + (QItemSelection::split(range, other, result)); } -void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) + +bool PythonQtWrapper_QItemSelection::startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const { -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(); - } - } + return ( theWrappedObject->startsWith(t)); } - QKeySequenceEdit::paintEvent(event0); + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, QList& other) +{ + ( theWrappedObject->swap(other)); } -QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) const + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) { -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(); - } - } + ( theWrappedObject->swap(i, j)); } - return QKeySequenceEdit::redirected(offset0); + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); } -void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) { -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(); - } - } + return ( theWrappedObject->takeFirst()); } - QKeySequenceEdit::resizeEvent(event0); + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); } -void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) + +QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->toVector()); } - QKeySequenceEdit::setVisible(visible0); + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); } -QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const + +QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) 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 ( theWrappedObject->value(i, defaultValue)); } - return QKeySequenceEdit::sharedPainter(); + + + +PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5585,54 +4687,43 @@ if (_wrapper) { } } } - QKeySequenceEdit::showEvent(event0); + QItemSelectionModel::childEvent(event0); } -QSize PythonQtShell_QKeySequenceEdit::sizeHint() const +void PythonQtShell_QItemSelectionModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::sizeHint(); + QItemSelectionModel::clear(); } -void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("clearCurrentIndex"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5640,21 +4731,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::tabletEvent(event0); + QItemSelectionModel::clearCurrentIndex(); } -void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5662,97 +4753,87 @@ if (_wrapper) { } } } - QKeySequenceEdit::timerEvent(arg__1); + QItemSelectionModel::customEvent(event0); } -void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) +bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - 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); } + return QItemSelectionModel::event(event0); } -void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* 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("actionEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::actionEvent(event0); + return QItemSelectionModel::eventFilter(watched0, event1); } -void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) +void PythonQtShell_QItemSelectionModel::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5760,21 +4841,21 @@ if (_wrapper) { } } } - QLCDNumber::changeEvent(arg__1); + QItemSelectionModel::reset(); } -void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5782,21 +4863,21 @@ if (_wrapper) { } } } - QLCDNumber::childEvent(event0); + QItemSelectionModel::select(selection0, command1); } -void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) +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("closeEvent"); + static PyObject* name = PyString_FromString("select"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5804,21 +4885,21 @@ if (_wrapper) { } } } - QLCDNumber::closeEvent(event0); + QItemSelectionModel::select(index0, command1); } -void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("setCurrentIndex"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5826,21 +4907,21 @@ if (_wrapper) { } } } - QLCDNumber::contextMenuEvent(event0); + QItemSelectionModel::setCurrentIndex(index0, command1); } -void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) +void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5848,120 +4929,317 @@ if (_wrapper) { } } } - QLCDNumber::customEvent(event0); + 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()); } -int PythonQtShell_QLCDNumber::devType() const + +bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) 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 ( theWrappedObject->isAutoRepeat()); } - return QLCDNumber::devType(); + +int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->key()); } -void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) + +bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const { -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(); - } - } + return ( theWrappedObject->matches(key)); } - QLCDNumber::dragEnterEvent(event0); + +Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->modifiers()); } -void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) + +unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "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(); - } - } + return ( theWrappedObject->nativeModifiers()); } - QLCDNumber::dragLeaveEvent(event0); + +unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->nativeScanCode()); } -void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) + +unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->nativeVirtualKey()); } - QLCDNumber::dragMoveEvent(event0); + +QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) + + + +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("dropEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5969,21 +5247,21 @@ if (_wrapper) { } } } - QLCDNumber::dropEvent(event0); + QKeyEventTransition::childEvent(event0); } -void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) +void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5991,9 +5269,9 @@ if (_wrapper) { } } } - QLCDNumber::enterEvent(event0); + QKeyEventTransition::customEvent(event0); } -bool PythonQtShell_QLCDNumber::event(QEvent* e0) +bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6016,150 +5294,40 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::focusOutEvent(event0); + return QKeyEventTransition::event(e0); } -bool PythonQtShell_QLCDNumber::hasHeightForWidth() const +bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6167,32 +5335,32 @@ if (_wrapper) { } } } - return QLCDNumber::hasHeightForWidth(); + return QKeyEventTransition::eventFilter(watched0, event1); } -int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const +bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6200,21 +5368,21 @@ if (_wrapper) { } } } - return QLCDNumber::heightForWidth(arg__1); + return QKeyEventTransition::eventTest(event0); } -void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) +void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6222,21 +5390,21 @@ if (_wrapper) { } } } - QLCDNumber::hideEvent(event0); + QKeyEventTransition::onTransition(event0); } -void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const +void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6244,21 +5412,68 @@ if (_wrapper) { } } } - QLCDNumber::initPainter(painter0); + QKeyEventTransition::timerEvent(event0); } -void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6266,54 +5481,43 @@ if (_wrapper) { } } } - QLCDNumber::inputMethodEvent(arg__1); + QKeySequenceEdit::actionEvent(event0); } -QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::inputMethodQuery(arg__1); + QKeySequenceEdit::changeEvent(arg__1); } -void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QKeySequenceEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6321,21 +5525,21 @@ if (_wrapper) { } } } - QLCDNumber::keyPressEvent(event0); + QKeySequenceEdit::childEvent(event0); } -void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6343,21 +5547,21 @@ if (_wrapper) { } } } - QLCDNumber::keyReleaseEvent(event0); + QKeySequenceEdit::closeEvent(event0); } -void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6365,65 +5569,54 @@ if (_wrapper) { } } } - QLCDNumber::leaveEvent(event0); + QKeySequenceEdit::contextMenuEvent(event0); } -int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QKeySequenceEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::metric(arg__1); + QKeySequenceEdit::customEvent(event0); } -QSize PythonQtShell_QLCDNumber::minimumSizeHint() const +int PythonQtShell_QKeySequenceEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6431,21 +5624,21 @@ if (_wrapper) { } } } - return QLCDNumber::minimumSizeHint(); + return QKeySequenceEdit::devType(); } -void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6453,21 +5646,21 @@ if (_wrapper) { } } } - QLCDNumber::mouseDoubleClickEvent(event0); + QKeySequenceEdit::dragEnterEvent(event0); } -void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6475,21 +5668,21 @@ if (_wrapper) { } } } - QLCDNumber::mouseMoveEvent(event0); + QKeySequenceEdit::dragLeaveEvent(event0); } -void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6497,21 +5690,21 @@ if (_wrapper) { } } } - QLCDNumber::mousePressEvent(event0); + QKeySequenceEdit::dragMoveEvent(event0); } -void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6519,21 +5712,21 @@ if (_wrapper) { } } } - QLCDNumber::mouseReleaseEvent(event0); + QKeySequenceEdit::dropEvent(event0); } -void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) +void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6541,32 +5734,32 @@ if (_wrapper) { } } } - QLCDNumber::moveEvent(event0); + QKeySequenceEdit::enterEvent(event0); } -bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6574,32 +5767,32 @@ if (_wrapper) { } } } - return QLCDNumber::nativeEvent(eventType0, message1, result2); + return QKeySequenceEdit::event(arg__1); } -QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const +bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6607,21 +5800,21 @@ if (_wrapper) { } } } - return QLCDNumber::paintEngine(); + return QKeySequenceEdit::eventFilter(watched0, event1); } -void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6629,32 +5822,32 @@ if (_wrapper) { } } } - QLCDNumber::paintEvent(arg__1); + QKeySequenceEdit::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const +bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6662,21 +5855,21 @@ if (_wrapper) { } } } - return QLCDNumber::redirected(offset0); + return QKeySequenceEdit::focusNextPrevChild(next0); } -void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6684,54 +5877,65 @@ if (_wrapper) { } } } - QLCDNumber::resizeEvent(event0); + QKeySequenceEdit::focusOutEvent(event0); } -void PythonQtShell_QLCDNumber::setVisible(bool visible0) +bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + 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(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::setVisible(visible0); + return QKeySequenceEdit::hasHeightForWidth(); } -QPainter* PythonQtShell_QLCDNumber::sharedPainter() const +int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6739,21 +5943,21 @@ if (_wrapper) { } } } - return QLCDNumber::sharedPainter(); + return QKeySequenceEdit::heightForWidth(arg__1); } -void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) +void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6761,54 +5965,43 @@ if (_wrapper) { } } } - QLCDNumber::showEvent(event0); + QKeySequenceEdit::hideEvent(event0); } -QSize PythonQtShell_QLCDNumber::sizeHint() const +void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("initPainter"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::sizeHint(); + QKeySequenceEdit::initPainter(painter0); } -void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6816,43 +6009,54 @@ if (_wrapper) { } } } - QLCDNumber::tabletEvent(event0); + QKeySequenceEdit::inputMethodEvent(arg__1); } -void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::timerEvent(event0); + return QKeySequenceEdit::inputMethodQuery(arg__1); } -void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6860,103 +6064,43 @@ if (_wrapper) { } } } - 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()); + QKeySequenceEdit::keyPressEvent(arg__1); } - -double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const +void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) { - return ( theWrappedObject->value()); +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(); + } + } } - - - -PythonQtShell_QLabel::~PythonQtShell_QLabel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QKeySequenceEdit::keyReleaseEvent(arg__1); } -void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) +void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6964,21 +6108,87 @@ if (_wrapper) { } } } - QLabel::actionEvent(event0); + QKeySequenceEdit::leaveEvent(event0); } -void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) +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("changeEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("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 { @@ -6986,21 +6196,21 @@ if (_wrapper) { } } } - QLabel::changeEvent(arg__1); + QKeySequenceEdit::mouseDoubleClickEvent(event0); } -void PythonQtShell_QLabel::childEvent(QChildEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7008,21 +6218,21 @@ if (_wrapper) { } } } - QLabel::childEvent(event0); + QKeySequenceEdit::mouseMoveEvent(event0); } -void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) +void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7030,21 +6240,21 @@ if (_wrapper) { } } } - QLabel::closeEvent(event0); + QKeySequenceEdit::mousePressEvent(event0); } -void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) +void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7052,21 +6262,21 @@ if (_wrapper) { } } } - QLabel::contextMenuEvent(ev0); + QKeySequenceEdit::mouseReleaseEvent(event0); } -void PythonQtShell_QLabel::customEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7074,32 +6284,32 @@ if (_wrapper) { } } } - QLabel::customEvent(event0); + QKeySequenceEdit::moveEvent(event0); } -int PythonQtShell_QLabel::devType() const +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("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7107,43 +6317,54 @@ if (_wrapper) { } } } - return QLabel::devType(); + return QKeySequenceEdit::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) +QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::dragEnterEvent(event0); + return QKeySequenceEdit::paintEngine(); } -void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7151,43 +6372,54 @@ if (_wrapper) { } } } - QLabel::dragLeaveEvent(event0); + QKeySequenceEdit::paintEvent(event0); } -void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) +QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::dragMoveEvent(event0); + return QKeySequenceEdit::redirected(offset0); } -void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) +void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7195,21 +6427,21 @@ if (_wrapper) { } } } - QLabel::dropEvent(event0); + QKeySequenceEdit::resizeEvent(event0); } -void PythonQtShell_QLabel::enterEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7217,32 +6449,32 @@ if (_wrapper) { } } } - QLabel::enterEvent(event0); + QKeySequenceEdit::setVisible(visible0); } -bool PythonQtShell_QLabel::event(QEvent* e0) +QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7250,32 +6482,54 @@ if (_wrapper) { } } } - return QLabel::event(e0); + return QKeySequenceEdit::sharedPainter(); } -bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7283,21 +6537,21 @@ if (_wrapper) { } } } - return QLabel::eventFilter(watched0, event1); + return QKeySequenceEdit::sizeHint(); } -void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) +void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7305,54 +6559,43 @@ if (_wrapper) { } } } - QLabel::focusInEvent(ev0); + QKeySequenceEdit::tabletEvent(event0); } -bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) +void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::focusNextPrevChild(next0); + QKeySequenceEdit::timerEvent(arg__1); } -void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) +void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7360,87 +6603,97 @@ if (_wrapper) { } } } - QLabel::focusOutEvent(ev0); + QKeySequenceEdit::wheelEvent(event0); } -bool PythonQtShell_QLabel::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("actionEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::hasHeightForWidth(); + QLCDNumber::actionEvent(event0); } -int PythonQtShell_QLabel::heightForWidth(int arg__1) const +void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::heightForWidth(arg__1); + QLCDNumber::changeEvent(arg__1); } -void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) +void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7448,21 +6701,21 @@ if (_wrapper) { } } } - QLabel::hideEvent(event0); + QLCDNumber::childEvent(event0); } -void PythonQtShell_QLabel::initPainter(QPainter* painter0) const +void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7470,21 +6723,21 @@ if (_wrapper) { } } } - QLabel::initPainter(painter0); + QLCDNumber::closeEvent(event0); } -void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7492,32 +6745,54 @@ if (_wrapper) { } } } - QLabel::inputMethodEvent(arg__1); + QLCDNumber::contextMenuEvent(event0); } -QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7525,21 +6800,21 @@ if (_wrapper) { } } } - return QLabel::inputMethodQuery(arg__1); + return QLCDNumber::devType(); } -void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7547,21 +6822,21 @@ if (_wrapper) { } } } - QLabel::keyPressEvent(ev0); + QLCDNumber::dragEnterEvent(event0); } -void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7569,21 +6844,65 @@ if (_wrapper) { } } } - QLabel::keyReleaseEvent(event0); + QLCDNumber::dragLeaveEvent(event0); } -void PythonQtShell_QLabel::leaveEvent(QEvent* event0) +void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7591,32 +6910,32 @@ if (_wrapper) { } } } - QLabel::leaveEvent(event0); + QLCDNumber::enterEvent(event0); } -int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QLCDNumber::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7624,32 +6943,32 @@ if (_wrapper) { } } } - return QLabel::metric(arg__1); + return QLCDNumber::event(e0); } -QSize PythonQtShell_QLabel::minimumSizeHint() const +bool PythonQtShell_QLCDNumber::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7657,21 +6976,21 @@ if (_wrapper) { } } } - return QLabel::minimumSizeHint(); + return QLCDNumber::eventFilter(watched0, event1); } -void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7679,43 +6998,54 @@ if (_wrapper) { } } } - QLabel::mouseDoubleClickEvent(event0); + QLCDNumber::focusInEvent(event0); } -void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) +bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::mouseMoveEvent(ev0); + return QLCDNumber::focusNextPrevChild(next0); } -void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7723,131 +7053,131 @@ if (_wrapper) { } } } - QLabel::mousePressEvent(ev0); + QLCDNumber::focusOutEvent(event0); } -void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) +bool PythonQtShell_QLCDNumber::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::mouseReleaseEvent(ev0); + return QLCDNumber::hasHeightForWidth(); } -void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) +int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::moveEvent(event0); + return QLCDNumber::heightForWidth(arg__1); } -bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::nativeEvent(eventType0, message1, result2); + QLCDNumber::hideEvent(event0); } -QPaintEngine* PythonQtShell_QLabel::paintEngine() const +void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("initPainter"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::paintEngine(); + QLCDNumber::initPainter(painter0); } -void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7855,32 +7185,32 @@ if (_wrapper) { } } } - QLabel::paintEvent(arg__1); + QLCDNumber::inputMethodEvent(arg__1); } -QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7888,21 +7218,21 @@ if (_wrapper) { } } } - return QLabel::redirected(offset0); + return QLCDNumber::inputMethodQuery(arg__1); } -void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7910,21 +7240,21 @@ if (_wrapper) { } } } - QLabel::resizeEvent(event0); + QLCDNumber::keyPressEvent(event0); } -void PythonQtShell_QLabel::setVisible(bool visible0) +void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7932,54 +7262,21 @@ if (_wrapper) { } } } - 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(); + QLCDNumber::keyReleaseEvent(event0); } -void PythonQtShell_QLabel::showEvent(QShowEvent* event0) +void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7987,32 +7284,32 @@ if (_wrapper) { } } } - QLabel::showEvent(event0); + QLCDNumber::leaveEvent(event0); } -QSize PythonQtShell_QLabel::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8020,43 +7317,54 @@ if (_wrapper) { } } } - return QLabel::sizeHint(); + return QLCDNumber::metric(arg__1); } -void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) +QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::tabletEvent(event0); + return QLCDNumber::minimumSizeHint(); } -void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) +void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8064,21 +7372,21 @@ if (_wrapper) { } } } - QLabel::timerEvent(event0); + QLCDNumber::mouseDoubleClickEvent(event0); } -void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8086,293 +7394,98 @@ if (_wrapper) { } } } - 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_QLayoutItem::~PythonQtShell_QLayoutItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QLCDNumber::mouseMoveEvent(event0); } -QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const +void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("controlTypes"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::controlTypes(); + QLCDNumber::mousePressEvent(event0); } -Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const +void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return Qt::Orientations(); + QLCDNumber::mouseReleaseEvent(event0); } -QRect PythonQtShell_QLayoutItem::geometry() const +void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("geometry"); + static PyObject* name = PyString_FromString("moveEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRect(); + QLCDNumber::moveEvent(event0); } -bool PythonQtShell_QLayoutItem::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8380,32 +7493,32 @@ if (_wrapper) { } } } - return QLayoutItem::hasHeightForWidth(); + return QLCDNumber::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const +QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8413,21 +7526,21 @@ if (_wrapper) { } } } - return QLayoutItem::heightForWidth(arg__1); + return QLCDNumber::paintEngine(); } -void PythonQtShell_QLayoutItem::invalidate() +void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8435,32 +7548,32 @@ if (_wrapper) { } } } - QLayoutItem::invalidate(); + QLCDNumber::paintEvent(arg__1); } -bool PythonQtShell_QLayoutItem::isEmpty() const +QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isEmpty"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("isEmpty", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8468,98 +7581,76 @@ if (_wrapper) { } } } - return bool(); + return QLCDNumber::redirected(offset0); } -QSize PythonQtShell_QLayoutItem::maximumSize() const +void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("resizeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSize(); + QLCDNumber::resizeEvent(event0); } -int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QLCDNumber::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::minimumHeightForWidth(arg__1); + QLCDNumber::setVisible(visible0); } -QSize PythonQtShell_QLayoutItem::minimumSize() const +QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("minimumSize", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8567,21 +7658,21 @@ if (_wrapper) { } } } - return QSize(); + return QLCDNumber::sharedPainter(); } -void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) +void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8589,9 +7680,9 @@ if (_wrapper) { } } } - + QLCDNumber::showEvent(event0); } -QSize PythonQtShell_QLayoutItem::sizeHint() const +QSize PythonQtShell_QLCDNumber::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8614,7 +7705,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8622,165 +7713,157 @@ if (_wrapper) { } } } - return QSize(); + return QLCDNumber::sizeHint(); } -QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() +void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("spacerItem"); + static PyObject* name = PyString_FromString("tabletEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::spacerItem(); + QLCDNumber::tabletEvent(event0); } -QWidget* PythonQtShell_QLayoutItem::widget() +void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widget"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } 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()); + QLCDNumber::timerEvent(event0); } - -QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const +void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->controlTypes()); +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(); + } + } } - -Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); + QLCDNumber::wheelEvent(event0); } +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(QWidget* parent) +{ +return new PythonQtShell_QLCDNumber(parent); } -QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(uint numDigits, QWidget* parent) +{ +return new PythonQtShell_QLCDNumber(numDigits, parent); } -bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); +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 PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +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->heightForWidth(arg__1)); + return ( theWrappedObject->checkOverflow(num)); } -void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) +bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, int num) const { - ( theWrappedObject->invalidate()); + return ( theWrappedObject->checkOverflow(num)); } -bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const +int PythonQtWrapper_QLCDNumber::digitCount(QLCDNumber* theWrappedObject) const { - return ( theWrappedObject->isEmpty()); + return ( theWrappedObject->digitCount()); } -QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const +int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const { - return ( theWrappedObject->maximumSize()); + return ( theWrappedObject->intValue()); } -int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const { - return ( theWrappedObject->minimumHeightForWidth(arg__1)); + return ( theWrappedObject->mode()); } -QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const +QLCDNumber::SegmentStyle PythonQtWrapper_QLCDNumber::segmentStyle(QLCDNumber* theWrappedObject) const { - return ( theWrappedObject->minimumSize()); + return ( theWrappedObject->segmentStyle()); } -void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) +void PythonQtWrapper_QLCDNumber::setDigitCount(QLCDNumber* theWrappedObject, int nDigits) { - ( theWrappedObject->setAlignment(a)); + ( theWrappedObject->setDigitCount(nDigits)); } -void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) +void PythonQtWrapper_QLCDNumber::setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1) { - ( theWrappedObject->setGeometry(arg__1)); + ( theWrappedObject->setMode(arg__1)); } -QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->setSegmentStyle(arg__1)); } -QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) +bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const { - return ( theWrappedObject->spacerItem()); + return ( theWrappedObject->smallDecimalPoint()); } -QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) +double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const { - return ( theWrappedObject->widget()); + return ( theWrappedObject->value()); } -PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { +PythonQtShell_QLabel::~PythonQtShell_QLabel() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8792,7 +7875,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8800,9 +7883,9 @@ if (_wrapper) { } } } - QLineEdit::actionEvent(event0); + QLabel::actionEvent(event0); } -void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) +void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8814,7 +7897,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8822,9 +7905,9 @@ if (_wrapper) { } } } - QLineEdit::changeEvent(arg__1); + QLabel::changeEvent(arg__1); } -void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) +void PythonQtShell_QLabel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8836,7 +7919,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8844,9 +7927,9 @@ if (_wrapper) { } } } - QLineEdit::childEvent(event0); + QLabel::childEvent(event0); } -void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8858,7 +7941,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8866,9 +7949,9 @@ if (_wrapper) { } } } - QLineEdit::closeEvent(event0); + QLabel::closeEvent(event0); } -void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8878,9 +7961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8888,9 +7971,9 @@ if (_wrapper) { } } } - QLineEdit::contextMenuEvent(arg__1); + QLabel::contextMenuEvent(ev0); } -void PythonQtShell_QLineEdit::customEvent(QEvent* event0) +void PythonQtShell_QLabel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8902,7 +7985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8910,9 +7993,9 @@ if (_wrapper) { } } } - QLineEdit::customEvent(event0); + QLabel::customEvent(event0); } -int PythonQtShell_QLineEdit::devType() const +int PythonQtShell_QLabel::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8935,7 +8018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8943,9 +8026,9 @@ if (_wrapper) { } } } - return QLineEdit::devType(); + return QLabel::devType(); } -void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) +void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8955,9 +8038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8965,9 +8048,9 @@ if (_wrapper) { } } } - QLineEdit::dragEnterEvent(arg__1); + QLabel::dragEnterEvent(event0); } -void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8977,9 +8060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8987,9 +8070,9 @@ if (_wrapper) { } } } - QLineEdit::dragLeaveEvent(e0); + QLabel::dragLeaveEvent(event0); } -void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8999,9 +8082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9009,9 +8092,9 @@ if (_wrapper) { } } } - QLineEdit::dragMoveEvent(e0); + QLabel::dragMoveEvent(event0); } -void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) +void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9021,9 +8104,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9031,9 +8114,9 @@ if (_wrapper) { } } } - QLineEdit::dropEvent(arg__1); + QLabel::dropEvent(event0); } -void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) +void PythonQtShell_QLabel::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9045,7 +8128,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9053,9 +8136,9 @@ if (_wrapper) { } } } - QLineEdit::enterEvent(event0); + QLabel::enterEvent(event0); } -bool PythonQtShell_QLineEdit::event(QEvent* arg__1) +bool PythonQtShell_QLabel::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9066,7 +8149,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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); @@ -9078,7 +8161,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9086,9 +8169,9 @@ if (_wrapper) { } } } - return QLineEdit::event(arg__1); + return QLabel::event(e0); } -bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9111,7 +8194,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9119,9 +8202,9 @@ if (_wrapper) { } } } - return QLineEdit::eventFilter(watched0, event1); + return QLabel::eventFilter(watched0, event1); } -void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9131,9 +8214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9141,9 +8224,9 @@ if (_wrapper) { } } } - QLineEdit::focusInEvent(arg__1); + QLabel::focusInEvent(ev0); } -bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) +bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9166,7 +8249,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9174,9 +8257,9 @@ if (_wrapper) { } } } - return QLineEdit::focusNextPrevChild(next0); + return QLabel::focusNextPrevChild(next0); } -void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9186,9 +8269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9196,9 +8279,9 @@ if (_wrapper) { } } } - QLineEdit::focusOutEvent(arg__1); + QLabel::focusOutEvent(ev0); } -bool PythonQtShell_QLineEdit::hasHeightForWidth() const +bool PythonQtShell_QLabel::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9221,7 +8304,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9229,9 +8312,9 @@ if (_wrapper) { } } } - return QLineEdit::hasHeightForWidth(); + return QLabel::hasHeightForWidth(); } -int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const +int PythonQtShell_QLabel::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9254,7 +8337,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9262,9 +8345,9 @@ if (_wrapper) { } } } - return QLineEdit::heightForWidth(arg__1); + return QLabel::heightForWidth(arg__1); } -void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9276,7 +8359,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9284,9 +8367,9 @@ if (_wrapper) { } } } - QLineEdit::hideEvent(event0); + QLabel::hideEvent(event0); } -void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9298,7 +8381,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9306,9 +8389,9 @@ if (_wrapper) { } } } - QLineEdit::initPainter(painter0); + QLabel::initPainter(painter0); } -void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9320,7 +8403,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9328,9 +8411,9 @@ if (_wrapper) { } } } - QLineEdit::inputMethodEvent(arg__1); + QLabel::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9353,7 +8436,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9361,9 +8444,9 @@ if (_wrapper) { } } } - return QLineEdit::inputMethodQuery(arg__1); + return QLabel::inputMethodQuery(arg__1); } -void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9373,9 +8456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9383,9 +8466,9 @@ if (_wrapper) { } } } - QLineEdit::keyPressEvent(arg__1); + QLabel::keyPressEvent(ev0); } -void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9397,7 +8480,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9405,9 +8488,9 @@ if (_wrapper) { } } } - QLineEdit::keyReleaseEvent(event0); + QLabel::keyReleaseEvent(event0); } -void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QLabel::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9419,7 +8502,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9427,9 +8510,9 @@ if (_wrapper) { } } } - QLineEdit::leaveEvent(event0); + QLabel::leaveEvent(event0); } -int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9452,7 +8535,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9460,9 +8543,9 @@ if (_wrapper) { } } } - return QLineEdit::metric(arg__1); + return QLabel::metric(arg__1); } -QSize PythonQtShell_QLineEdit::minimumSizeHint() const +QSize PythonQtShell_QLabel::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9485,7 +8568,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9493,9 +8576,9 @@ if (_wrapper) { } } } - return QLineEdit::minimumSizeHint(); + return QLabel::minimumSizeHint(); } -void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9505,9 +8588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9515,9 +8598,9 @@ if (_wrapper) { } } } - QLineEdit::mouseDoubleClickEvent(arg__1); + QLabel::mouseDoubleClickEvent(event0); } -void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9527,9 +8610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9537,9 +8620,9 @@ if (_wrapper) { } } } - QLineEdit::mouseMoveEvent(arg__1); + QLabel::mouseMoveEvent(ev0); } -void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9549,9 +8632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9559,9 +8642,9 @@ if (_wrapper) { } } } - QLineEdit::mousePressEvent(arg__1); + QLabel::mousePressEvent(ev0); } -void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9571,9 +8654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9581,9 +8664,9 @@ if (_wrapper) { } } } - QLineEdit::mouseReleaseEvent(arg__1); + QLabel::mouseReleaseEvent(ev0); } -void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9595,7 +8678,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9603,9 +8686,9 @@ if (_wrapper) { } } } - QLineEdit::moveEvent(event0); + QLabel::moveEvent(event0); } -bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9628,7 +8711,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9636,9 +8719,9 @@ if (_wrapper) { } } } - return QLineEdit::nativeEvent(eventType0, message1, result2); + return QLabel::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const +QPaintEngine* PythonQtShell_QLabel::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9661,7 +8744,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9669,9 +8752,9 @@ if (_wrapper) { } } } - return QLineEdit::paintEngine(); + return QLabel::paintEngine(); } -void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9683,7 +8766,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9691,9 +8774,9 @@ if (_wrapper) { } } } - QLineEdit::paintEvent(arg__1); + QLabel::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9716,7 +8799,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9724,9 +8807,9 @@ if (_wrapper) { } } } - return QLineEdit::redirected(offset0); + return QLabel::redirected(offset0); } -void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9738,7 +8821,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9746,9 +8829,9 @@ if (_wrapper) { } } } - QLineEdit::resizeEvent(event0); + QLabel::resizeEvent(event0); } -void PythonQtShell_QLineEdit::setVisible(bool visible0) +void PythonQtShell_QLabel::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9760,7 +8843,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9768,9 +8851,9 @@ if (_wrapper) { } } } - QLineEdit::setVisible(visible0); + QLabel::setVisible(visible0); } -QPainter* PythonQtShell_QLineEdit::sharedPainter() const +QPainter* PythonQtShell_QLabel::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9793,7 +8876,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9801,9 +8884,9 @@ if (_wrapper) { } } } - return QLineEdit::sharedPainter(); + return QLabel::sharedPainter(); } -void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QLabel::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9815,7 +8898,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9823,9 +8906,9 @@ if (_wrapper) { } } } - QLineEdit::showEvent(event0); + QLabel::showEvent(event0); } -QSize PythonQtShell_QLineEdit::sizeHint() const +QSize PythonQtShell_QLabel::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9848,7 +8931,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9856,9 +8939,9 @@ if (_wrapper) { } } } - return QLineEdit::sizeHint(); + return QLabel::sizeHint(); } -void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9870,7 +8953,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9878,9 +8961,9 @@ if (_wrapper) { } } } - QLineEdit::tabletEvent(event0); + QLabel::tabletEvent(event0); } -void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) +void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9892,29 +8975,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9922,424 +8983,205 @@ if (_wrapper) { } } } - 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()); + QLabel::timerEvent(event0); } - -int PythonQtWrapper_QLineEdit::selectionEnd(QLineEdit* theWrappedObject) const +void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->selectionEnd()); +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(); + } + } } - -int PythonQtWrapper_QLineEdit::selectionLength(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->selectionLength()); + QLabel::wheelEvent(event0); } +QLabel* PythonQtWrapper_QLabel::new_QLabel(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QLabel(parent, f); } -int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const -{ - return ( theWrappedObject->selectionStart()); -} +QLabel* PythonQtWrapper_QLabel::new_QLabel(const QString& text, QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QLabel(text, parent, f); } -void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) +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 { - ( theWrappedObject->setAlignment(flag)); + return ( theWrappedObject->alignment()); } -void PythonQtWrapper_QLineEdit::setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable) +QWidget* PythonQtWrapper_QLabel::buddy(QLabel* theWrappedObject) const { - ( theWrappedObject->setClearButtonEnabled(enable)); + return ( theWrappedObject->buddy()); } -void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) +bool PythonQtWrapper_QLabel::hasScaledContents(QLabel* theWrappedObject) const { - ( theWrappedObject->setCompleter(completer)); + return ( theWrappedObject->hasScaledContents()); } -void PythonQtWrapper_QLineEdit::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) +bool PythonQtWrapper_QLabel::hasSelectedText(QLabel* theWrappedObject) const { - ( theWrappedObject->setCursorMoveStyle(style)); + return ( theWrappedObject->hasSelectedText()); } -void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) +int PythonQtWrapper_QLabel::indent(QLabel* theWrappedObject) const { - ( theWrappedObject->setCursorPosition(arg__1)); + return ( theWrappedObject->indent()); } -void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) +int PythonQtWrapper_QLabel::margin(QLabel* theWrappedObject) const { - ( theWrappedObject->setDragEnabled(b)); + return ( theWrappedObject->margin()); } -void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) +QSize PythonQtWrapper_QLabel::minimumSizeHint(QLabel* theWrappedObject) const { - ( theWrappedObject->setEchoMode(arg__1)); + return ( theWrappedObject->minimumSizeHint()); } -void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) +QMovie* PythonQtWrapper_QLabel::movie(QLabel* theWrappedObject) const { - ( theWrappedObject->setFrame(arg__1)); + return ( theWrappedObject->movie()); } -void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) +bool PythonQtWrapper_QLabel::openExternalLinks(QLabel* theWrappedObject) const { - ( theWrappedObject->setInputMask(inputMask)); + return ( theWrappedObject->openExternalLinks()); } -void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) +const QPicture* PythonQtWrapper_QLabel::picture(QLabel* theWrappedObject) const { - ( theWrappedObject->setMaxLength(arg__1)); + return ( theWrappedObject->picture()); } -void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) +const QPixmap* PythonQtWrapper_QLabel::pixmap(QLabel* theWrappedObject) const { - ( theWrappedObject->setModified(arg__1)); + return ( theWrappedObject->pixmap()); } -void PythonQtWrapper_QLineEdit::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) +QString PythonQtWrapper_QLabel::selectedText(QLabel* theWrappedObject) const { - ( theWrappedObject->setPlaceholderText(arg__1)); + return ( theWrappedObject->selectedText()); } -void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) +int PythonQtWrapper_QLabel::selectionStart(QLabel* theWrappedObject) const { - ( theWrappedObject->setReadOnly(arg__1)); + return ( theWrappedObject->selectionStart()); } -void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) +void PythonQtWrapper_QLabel::setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1) { - ( theWrappedObject->setSelection(arg__1, arg__2)); + ( theWrappedObject->setAlignment(arg__1)); } -void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) +void PythonQtWrapper_QLabel::setBuddy(QLabel* theWrappedObject, QWidget* arg__1) { - ( theWrappedObject->setTextMargins(margins)); + ( theWrappedObject->setBuddy(arg__1)); } -void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) +void PythonQtWrapper_QLabel::setIndent(QLabel* theWrappedObject, int arg__1) { - ( theWrappedObject->setTextMargins(left, top, right, bottom)); + ( theWrappedObject->setIndent(arg__1)); } -void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) +void PythonQtWrapper_QLabel::setMargin(QLabel* theWrappedObject, int arg__1) { - ( theWrappedObject->setValidator(arg__1)); + ( theWrappedObject->setMargin(arg__1)); } -QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const +void PythonQtWrapper_QLabel::setOpenExternalLinks(QLabel* theWrappedObject, bool open) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->setOpenExternalLinks(open)); } -QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const +void PythonQtWrapper_QLabel::setScaledContents(QLabel* theWrappedObject, bool arg__1) { - return ( theWrappedObject->text()); + ( theWrappedObject->setScaledContents(arg__1)); } -QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const +void PythonQtWrapper_QLabel::setSelection(QLabel* theWrappedObject, int arg__1, int arg__2) { - return ( theWrappedObject->textMargins()); + ( theWrappedObject->setSelection(arg__1, arg__2)); } -const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const +void PythonQtWrapper_QLabel::setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1) { - return ( theWrappedObject->validator()); + ( theWrappedObject->setTextFormat(arg__1)); } - - -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 +void PythonQtWrapper_QLabel::setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags) { - return ( theWrappedObject->finalStop()); + ( theWrappedObject->setTextInteractionFlags(flags)); } -void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) +void PythonQtWrapper_QLabel::setWordWrap(QLabel* theWrappedObject, bool on) { - ( theWrappedObject->setFinalStop(stop)); + ( theWrappedObject->setWordWrap(on)); } -void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) +QString PythonQtWrapper_QLabel::text(QLabel* theWrappedObject) const { - ( theWrappedObject->setFinalStop(x, y)); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) +Qt::TextFormat PythonQtWrapper_QLabel::textFormat(QLabel* theWrappedObject) const { - ( theWrappedObject->setStart(start)); + return ( theWrappedObject->textFormat()); } -void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) +Qt::TextInteractionFlags PythonQtWrapper_QLabel::textInteractionFlags(QLabel* theWrappedObject) const { - ( theWrappedObject->setStart(x, y)); + return ( theWrappedObject->textInteractionFlags()); } -QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const +bool PythonQtWrapper_QLabel::wordWrap(QLabel* theWrappedObject) const { - return ( theWrappedObject->start()); + return ( theWrappedObject->wordWrap()); } -PythonQtShell_QListView::~PythonQtShell_QListView() { +PythonQtShell_QLayout::~PythonQtShell_QLayout() { 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) +void PythonQtShell_QLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10347,9 +9189,9 @@ if (_wrapper) { } } } - QListView::changeEvent(arg__1); + } -void PythonQtShell_QListView::childEvent(QChildEvent* event0) +void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10359,31 +9201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10391,65 +9211,87 @@ if (_wrapper) { } } } - QListView::closeEditor(editor0, hint1); + QLayout::childEvent(e0); } -void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) +QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("controlTypes"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::closeEvent(event0); + return QLayout::controlTypes(); } -void PythonQtShell_QListView::commitData(QWidget* editor0) +int PythonQtShell_QLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("count"); 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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::commitData(editor0); + return int(); } -void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10457,98 +9299,131 @@ if (_wrapper) { } } } - QListView::contextMenuEvent(arg__1); + QLayout::customEvent(event0); } -void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +bool PythonQtShell_QLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::currentChanged(current0, previous1); + return QLayout::event(event0); } -void PythonQtShell_QListView::customEvent(QEvent* 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("customEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::customEvent(event0); + return QLayout::eventFilter(watched0, event1); } -void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("expandingDirections"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::dataChanged(topLeft0, bottomRight1, roles2); + return QLayout::expandingDirections(); } -int PythonQtShell_QListView::devType() const +QRect PythonQtShell_QLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10556,87 +9431,120 @@ if (_wrapper) { } } } - return QListView::devType(); + return QLayout::geometry(); } -void PythonQtShell_QListView::doItemsLayout() +bool PythonQtShell_QLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::doItemsLayout(); + return QLayout::hasHeightForWidth(); } -void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) +int PythonQtShell_QLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::dragEnterEvent(event0); + return QLayout::heightForWidth(arg__1); } -void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) +int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::dragLeaveEvent(e0); + return QLayout::indexOf(arg__1); } -void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("invalidate"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10644,54 +9552,65 @@ if (_wrapper) { } } } - QListView::dragMoveEvent(e0); + QLayout::invalidate(); } -void PythonQtShell_QListView::dropEvent(QDropEvent* e0) +bool PythonQtShell_QLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("isEmpty"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::dropEvent(e0); + return QLayout::isEmpty(); } -bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("itemAt"); 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}; + 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("edit", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10699,76 +9618,98 @@ if (_wrapper) { } } } - return QListView::edit(index0, trigger1, event2); + return nullptr; } -void PythonQtShell_QListView::editorDestroyed(QObject* editor0) +QLayout* PythonQtShell_QLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("layout"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::editorDestroyed(editor0); + return QLayout::layout(); } -void PythonQtShell_QListView::enterEvent(QEvent* event0) +QSize PythonQtShell_QLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::enterEvent(event0); + return QLayout::maximumSize(); } -bool PythonQtShell_QListView::event(QEvent* e0) +int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10776,32 +9717,32 @@ if (_wrapper) { } } } - return QListView::event(e0); + return QLayout::minimumHeightForWidth(arg__1); } -bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) +QSize PythonQtShell_QLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10809,21 +9750,21 @@ if (_wrapper) { } } } - return QListView::eventFilter(object0, event1); + return QLayout::minimumSize(); } -void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10831,32 +9772,32 @@ if (_wrapper) { } } } - QListView::focusInEvent(event0); + QLayout::setGeometry(arg__1); } -bool PythonQtShell_QListView::focusNextPrevChild(bool next0) +QSize PythonQtShell_QLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10864,54 +9805,65 @@ if (_wrapper) { } } } - return QListView::focusNextPrevChild(next0); + return QSize(); } -void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) +QSpacerItem* PythonQtShell_QLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("spacerItem"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::focusOutEvent(event0); + return QLayout::spacerItem(); } -bool PythonQtShell_QListView::hasHeightForWidth() const +QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("takeAt"); 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}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10919,32 +9871,54 @@ if (_wrapper) { } } } - return QListView::hasHeightForWidth(); + return nullptr; } -int PythonQtShell_QListView::heightForWidth(int arg__1) const +void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10952,54 +9926,282 @@ if (_wrapper) { } } } - return QListView::heightForWidth(arg__1); + return QLayout::widget(); } -void PythonQtShell_QListView::hideEvent(QHideEvent* event0) +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("hideEvent"); + static PyObject* name = PyString_FromString("controlTypes"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::hideEvent(event0); + return QLayoutItem::controlTypes(); } -int PythonQtShell_QListView::horizontalOffset() const +Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + 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("horizontalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11007,76 +10209,98 @@ if (_wrapper) { } } } - return QListView::horizontalOffset(); + return Qt::Orientations(); } -void PythonQtShell_QListView::horizontalScrollbarAction(int action0) +QRect PythonQtShell_QLayoutItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("geometry"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::horizontalScrollbarAction(action0); + return QRect(); } -void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) +bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::horizontalScrollbarValueChanged(value0); + return QLayoutItem::hasHeightForWidth(); } -QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const +int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11084,21 +10308,21 @@ if (_wrapper) { } } } - return QListView::indexAt(p0); + return QLayoutItem::heightForWidth(arg__1); } -void PythonQtShell_QListView::initPainter(QPainter* painter0) const +void PythonQtShell_QLayoutItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("invalidate"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11106,54 +10330,65 @@ if (_wrapper) { } } } - QListView::initPainter(painter0); + QLayoutItem::invalidate(); } -void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) +bool PythonQtShell_QLayoutItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("isEmpty"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::inputMethodEvent(event0); + return bool(); } -QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const +QLayout* PythonQtShell_QLayoutItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("layout"); 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}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11161,32 +10396,32 @@ if (_wrapper) { } } } - return QListView::inputMethodQuery(query0); + return QLayoutItem::layout(); } -bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const +QSize PythonQtShell_QLayoutItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("maximumSize"); 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}; + 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("isIndexHidden", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11194,65 +10429,87 @@ if (_wrapper) { } } } - return QListView::isIndexHidden(index0); + return QSize(); } -void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) +int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::keyPressEvent(event0); + return QLayoutItem::minimumHeightForWidth(arg__1); } -void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) +QSize PythonQtShell_QLayoutItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("minimumSize"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::keyReleaseEvent(event0); + return QSize(); } -void PythonQtShell_QListView::keyboardSearch(const QString& search0) +void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11260,54 +10517,65 @@ if (_wrapper) { } } } - QListView::keyboardSearch(search0); + } -void PythonQtShell_QListView::leaveEvent(QEvent* event0) +QSize PythonQtShell_QLayoutItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::leaveEvent(event0); + return QSize(); } -int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("spacerItem"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11315,32 +10583,32 @@ if (_wrapper) { } } } - return QListView::metric(arg__1); + return QLayoutItem::spacerItem(); } -QSize PythonQtShell_QListView::minimumSizeHint() const +QWidget* PythonQtShell_QLayoutItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11348,21 +10616,116 @@ if (_wrapper) { } } } - return QListView::minimumSizeHint(); + return QLayoutItem::widget(); } -void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) +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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11370,21 +10733,21 @@ if (_wrapper) { } } } - QListView::mouseDoubleClickEvent(event0); + QLineEdit::actionEvent(event0); } -void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11392,21 +10755,21 @@ if (_wrapper) { } } } - QListView::mouseMoveEvent(e0); + QLineEdit::changeEvent(arg__1); } -void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11414,21 +10777,21 @@ if (_wrapper) { } } } - QListView::mousePressEvent(event0); + QLineEdit::childEvent(event0); } -void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11436,54 +10799,43 @@ if (_wrapper) { } } } - QListView::mouseReleaseEvent(e0); + QLineEdit::closeEvent(event0); } -QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::moveCursor(cursorAction0, modifiers1); + QLineEdit::contextMenuEvent(arg__1); } -void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QLineEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11491,32 +10843,32 @@ if (_wrapper) { } } } - QListView::moveEvent(event0); + QLineEdit::customEvent(event0); } -bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +int PythonQtShell_QLineEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11524,54 +10876,43 @@ if (_wrapper) { } } } - return QListView::nativeEvent(eventType0, message1, result2); + return QLineEdit::devType(); } -QPaintEngine* PythonQtShell_QListView::paintEngine() const +void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::paintEngine(); + QLineEdit::dragEnterEvent(arg__1); } -void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) +void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11579,54 +10920,43 @@ if (_wrapper) { } } } - QListView::paintEvent(e0); + QLineEdit::dragLeaveEvent(e0); } -QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const +void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::redirected(offset0); + QLineEdit::dragMoveEvent(e0); } -void PythonQtShell_QListView::reset() +void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11634,21 +10964,21 @@ if (_wrapper) { } } } - QListView::reset(); + QLineEdit::dropEvent(arg__1); } -void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11656,65 +10986,87 @@ if (_wrapper) { } } } - QListView::resizeEvent(e0); + QLineEdit::enterEvent(event0); } -void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("event"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::rowsAboutToBeRemoved(parent0, start1, end2); + return QLineEdit::event(arg__1); } -void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::rowsInserted(parent0, start1, end2); + return QLineEdit::eventFilter(watched0, event1); } -void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11722,43 +11074,54 @@ if (_wrapper) { } } } - QListView::scrollContentsBy(dx0, dy1); + QLineEdit::focusInEvent(arg__1); } -void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::scrollTo(index0, hint1); + return QLineEdit::focusNextPrevChild(next0); } -void PythonQtShell_QListView::selectAll() +void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11766,32 +11129,32 @@ if (_wrapper) { } } } - QListView::selectAll(); + QLineEdit::focusOutEvent(arg__1); } -QList PythonQtShell_QListView::selectedIndexes() const +bool PythonQtShell_QLineEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11799,76 +11162,76 @@ if (_wrapper) { } } } - return QListView::selectedIndexes(); + return QLineEdit::hasHeightForWidth(); } -void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::selectionChanged(selected0, deselected1); + return QLineEdit::heightForWidth(arg__1); } -QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("hideEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::selectionCommand(index0, event1); + QLineEdit::hideEvent(event0); } -void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QLineEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&model0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11876,21 +11239,21 @@ if (_wrapper) { } } } - QListView::setModel(model0); + QLineEdit::initPainter(painter0); } -void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11898,43 +11261,54 @@ if (_wrapper) { } } } - QListView::setRootIndex(index0); + QLineEdit::inputMethodEvent(arg__1); } -void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +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("setSelection"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::setSelection(rect0, command1); + return QLineEdit::inputMethodQuery(arg__1); } -void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11942,21 +11316,21 @@ if (_wrapper) { } } } - QListView::setSelectionModel(selectionModel0); + QLineEdit::keyPressEvent(arg__1); } -void PythonQtShell_QListView::setVisible(bool visible0) +void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11964,21 +11338,21 @@ if (_wrapper) { } } } - QListView::setVisible(visible0); + QLineEdit::keyReleaseEvent(event0); } -void PythonQtShell_QListView::setupViewport(QWidget* viewport0) +void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11986,32 +11360,32 @@ if (_wrapper) { } } } - QListView::setupViewport(viewport0); + QLineEdit::leaveEvent(event0); } -QPainter* PythonQtShell_QListView::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12019,36 +11393,14 @@ if (_wrapper) { } } } - 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); + return QLineEdit::metric(arg__1); } -QSize PythonQtShell_QListView::sizeHint() const +QSize PythonQtShell_QLineEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -12060,13 +11412,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12074,87 +11426,65 @@ if (_wrapper) { } } } - return QListView::sizeHint(); + return QLineEdit::minimumSizeHint(); } -int PythonQtShell_QListView::sizeHintForColumn(int column0) const +void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sizeHintForColumn(column0); + QLineEdit::mouseDoubleClickEvent(arg__1); } -int PythonQtShell_QListView::sizeHintForRow(int row0) const +void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sizeHintForRow(row0); + QLineEdit::mouseMoveEvent(arg__1); } -void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12162,21 +11492,21 @@ if (_wrapper) { } } } - QListView::startDrag(supportedActions0); + QLineEdit::mousePressEvent(arg__1); } -void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12184,21 +11514,21 @@ if (_wrapper) { } } } - QListView::tabletEvent(event0); + QLineEdit::mouseReleaseEvent(arg__1); } -void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) +void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12206,65 +11536,87 @@ if (_wrapper) { } } } - QListView::timerEvent(e0); + QLineEdit::moveEvent(event0); } -void PythonQtShell_QListView::updateEditorData() +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("updateEditorData"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::updateEditorData(); + return QLineEdit::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QListView::updateEditorGeometries() +QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::updateEditorGeometries(); + return QLineEdit::paintEngine(); } -void PythonQtShell_QListView::updateGeometries() +void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12272,32 +11624,32 @@ if (_wrapper) { } } } - QListView::updateGeometries(); + QLineEdit::paintEvent(arg__1); } -int PythonQtShell_QListView::verticalOffset() const +QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("verticalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12305,21 +11657,21 @@ if (_wrapper) { } } } - return QListView::verticalOffset(); + return QLineEdit::redirected(offset0); } -void PythonQtShell_QListView::verticalScrollbarAction(int action0) +void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12327,21 +11679,21 @@ if (_wrapper) { } } } - QListView::verticalScrollbarAction(action0); + QLineEdit::resizeEvent(event0); } -void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QLineEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12349,32 +11701,32 @@ if (_wrapper) { } } } - QListView::verticalScrollbarValueChanged(value0); + QLineEdit::setVisible(visible0); } -QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const +QPainter* PythonQtShell_QLineEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; + 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("viewOptions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12382,47 +11734,36 @@ if (_wrapper) { } } } - return QListView::viewOptions(); + return QLineEdit::sharedPainter(); } -bool PythonQtShell_QListView::viewportEvent(QEvent* event0) +void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::viewportEvent(event0); + QLineEdit::showEvent(event0); } -QSize PythonQtShell_QListView::viewportSizeHint() const +QSize PythonQtShell_QLineEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -12434,13 +11775,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12448,75 +11789,53 @@ if (_wrapper) { } } } - return QListView::viewportSizeHint(); + return QLineEdit::sizeHint(); } -QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::visualRect(index0); + QLineEdit::tabletEvent(event0); } -QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::visualRegionForSelection(selection0); + QLineEdit::timerEvent(event0); } -void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12526,9 +11845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12536,207 +11855,390 @@ if (_wrapper) { } } } - QListView::wheelEvent(e0); + QLineEdit::wheelEvent(event0); } -QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) +QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(QWidget* parent) { -return new PythonQtShell_QListView(parent); } +return new PythonQtShell_QLineEdit(parent); } -const QMetaObject* PythonQtShell_QListView::metaObject() const { +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, &QListView::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLineEdit::staticMetaObject); } else { - return &QListView::staticMetaObject; + return &QLineEdit::staticMetaObject; } } -int PythonQtShell_QListView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QListView::qt_metacall(call, id, args); +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; } -int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const +void PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position) { - return ( theWrappedObject->batchSize()); + ( theWrappedObject->addAction(action, position)); } -void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) +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 { - ( theWrappedObject->clearPropertyFlags()); + return ( theWrappedObject->maxLength()); } -QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const +QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); + return ( theWrappedObject->minimumSizeHint()); } -QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const +QString PythonQtWrapper_QLineEdit::placeholderText(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->flow()); + return ( theWrappedObject->placeholderText()); } -QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const +QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->gridSize()); + return ( theWrappedObject->selectedText()); } -bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const +int PythonQtWrapper_QLineEdit::selectionEnd(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->isRowHidden(row)); + return ( theWrappedObject->selectionEnd()); } -bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const +int PythonQtWrapper_QLineEdit::selectionLength(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->isSelectionRectVisible()); + return ( theWrappedObject->selectionLength()); } -bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const +int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->isWrapping()); + return ( theWrappedObject->selectionStart()); } -Qt::Alignment PythonQtWrapper_QListView::itemAlignment(QListView* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) { - return ( theWrappedObject->itemAlignment()); + ( theWrappedObject->setAlignment(flag)); } -QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable) { - return ( theWrappedObject->layoutMode()); + ( theWrappedObject->setClearButtonEnabled(enable)); } -int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) { - return ( theWrappedObject->modelColumn()); + ( theWrappedObject->setCompleter(completer)); } -QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) { - return ( theWrappedObject->movement()); + ( theWrappedObject->setCursorMoveStyle(style)); } -QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) { - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); + ( theWrappedObject->setCursorPosition(arg__1)); } -void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) +void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) { - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); + ( theWrappedObject->setDragEnabled(b)); } -QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) { - return ( theWrappedObject->resizeMode()); + ( theWrappedObject->setEchoMode(arg__1)); } -void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) +void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->setBatchSize(batchSize)); + ( theWrappedObject->setFrame(arg__1)); } -void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) +void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) { - ( theWrappedObject->setFlow(flow)); + ( theWrappedObject->setInputMask(inputMask)); } -void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) +void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) { - ( theWrappedObject->setGridSize(size)); + ( theWrappedObject->setMaxLength(arg__1)); } -void PythonQtWrapper_QListView::setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment) +void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->setItemAlignment(alignment)); + ( theWrappedObject->setModified(arg__1)); } -void PythonQtWrapper_QListView::setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode) +void PythonQtWrapper_QLineEdit::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) { - ( theWrappedObject->setLayoutMode(mode)); + ( theWrappedObject->setPlaceholderText(arg__1)); } -void PythonQtWrapper_QListView::setModelColumn(QListView* theWrappedObject, int column) +void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->setModelColumn(column)); + ( theWrappedObject->setReadOnly(arg__1)); } -void PythonQtWrapper_QListView::setMovement(QListView* theWrappedObject, QListView::Movement movement) +void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) { - ( theWrappedObject->setMovement(movement)); + ( theWrappedObject->setSelection(arg__1, arg__2)); } -void PythonQtWrapper_QListView::setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index) +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) { - ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setPositionForIndex(position, index)); + ( theWrappedObject->setTextMargins(margins)); } -void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) { - ( theWrappedObject->setResizeMode(mode)); + ( theWrappedObject->setTextMargins(left, top, right, bottom)); } -void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) +void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) { - ( theWrappedObject->setRowHidden(row, hide)); + ( theWrappedObject->setValidator(arg__1)); } -void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) +QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setSelectionRectVisible(show)); + return ( theWrappedObject->sizeHint()); } -void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) +QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setSpacing(space)); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) +QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setUniformItemSizes(enable)); + return ( theWrappedObject->textMargins()); } -void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) +const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setViewMode(mode)); + return ( theWrappedObject->validator()); } -void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) + + +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 { - ( theWrappedObject->setWordWrap(on)); + return ( theWrappedObject->finalStop()); } -void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop) { - ( theWrappedObject->setWrapping(enable)); + ( theWrappedObject->setFinalStop(stop)); } -int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const +void PythonQtWrapper_QLinearGradient::setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y) { - return ( theWrappedObject->spacing()); + ( theWrappedObject->setFinalStop(x, y)); } -bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, const QPointF& start) { - return ( theWrappedObject->uniformItemSizes()); + ( theWrappedObject->setStart(start)); } -QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const +void PythonQtWrapper_QLinearGradient::setStart(QLinearGradient* theWrappedObject, qreal x, qreal y) { - return ( theWrappedObject->viewMode()); + ( theWrappedObject->setStart(x, y)); } -bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const +QPointF PythonQtWrapper_QLinearGradient::start(QLinearGradient* theWrappedObject) const { - return ( theWrappedObject->wordWrap()); + return ( theWrappedObject->start()); } -PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { +PythonQtShell_QListView::~PythonQtShell_QListView() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QListView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12748,7 +12250,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12756,9 +12258,9 @@ if (_wrapper) { } } } - QListWidget::actionEvent(event0); + QListView::actionEvent(event0); } -void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) +void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12770,7 +12272,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12778,9 +12280,9 @@ if (_wrapper) { } } } - QListWidget::changeEvent(arg__1); + QListView::changeEvent(arg__1); } -void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) +void PythonQtShell_QListView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12792,7 +12294,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12800,9 +12302,9 @@ if (_wrapper) { } } } - QListWidget::childEvent(event0); + QListView::childEvent(event0); } -void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12814,7 +12316,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12822,9 +12324,9 @@ if (_wrapper) { } } } - QListWidget::closeEditor(editor0, hint1); + QListView::closeEditor(editor0, hint1); } -void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12836,7 +12338,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12844,9 +12346,9 @@ if (_wrapper) { } } } - QListWidget::closeEvent(event0); + QListView::closeEvent(event0); } -void PythonQtShell_QListWidget::commitData(QWidget* editor0) +void PythonQtShell_QListView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12858,7 +12360,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12866,9 +12368,9 @@ if (_wrapper) { } } } - QListWidget::commitData(editor0); + QListView::commitData(editor0); } -void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12880,7 +12382,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12888,9 +12390,9 @@ if (_wrapper) { } } } - QListWidget::contextMenuEvent(arg__1); + QListView::contextMenuEvent(arg__1); } -void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12902,7 +12404,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12910,9 +12412,9 @@ if (_wrapper) { } } } - QListWidget::currentChanged(current0, previous1); + QListView::currentChanged(current0, previous1); } -void PythonQtShell_QListWidget::customEvent(QEvent* event0) +void PythonQtShell_QListView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12924,7 +12426,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12932,9 +12434,9 @@ if (_wrapper) { } } } - QListWidget::customEvent(event0); + QListView::customEvent(event0); } -void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12946,7 +12448,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12954,9 +12456,9 @@ if (_wrapper) { } } } - QListWidget::dataChanged(topLeft0, bottomRight1, roles2); + QListView::dataChanged(topLeft0, bottomRight1, roles2); } -int PythonQtShell_QListWidget::devType() const +int PythonQtShell_QListView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12979,7 +12481,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12987,9 +12489,9 @@ if (_wrapper) { } } } - return QListWidget::devType(); + return QListView::devType(); } -void PythonQtShell_QListWidget::doItemsLayout() +void PythonQtShell_QListView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13001,7 +12503,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13009,9 +12511,9 @@ if (_wrapper) { } } } - QListWidget::doItemsLayout(); + QListView::doItemsLayout(); } -void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13023,7 +12525,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13031,9 +12533,9 @@ if (_wrapper) { } } } - QListWidget::dragEnterEvent(event0); + QListView::dragEnterEvent(event0); } -void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13045,7 +12547,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13053,9 +12555,9 @@ if (_wrapper) { } } } - QListWidget::dragLeaveEvent(e0); + QListView::dragLeaveEvent(e0); } -void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13067,7 +12569,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13075,9 +12577,9 @@ if (_wrapper) { } } } - QListWidget::dragMoveEvent(e0); + QListView::dragMoveEvent(e0); } -void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13087,9 +12589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13097,42 +12599,9 @@ if (_wrapper) { } } } - 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); + QListView::dropEvent(e0); } -bool PythonQtShell_QListWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13155,7 +12624,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13163,9 +12632,9 @@ if (_wrapper) { } } } - return QListWidget::edit(index0, trigger1, event2); + return QListView::edit(index0, trigger1, event2); } -void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) +void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13177,7 +12646,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13185,9 +12654,9 @@ if (_wrapper) { } } } - QListWidget::editorDestroyed(editor0); + QListView::editorDestroyed(editor0); } -void PythonQtShell_QListWidget::enterEvent(QEvent* event0) +void PythonQtShell_QListView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13199,7 +12668,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13207,9 +12676,9 @@ if (_wrapper) { } } } - QListWidget::enterEvent(event0); + QListView::enterEvent(event0); } -bool PythonQtShell_QListWidget::event(QEvent* e0) +bool PythonQtShell_QListView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13232,7 +12701,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13240,9 +12709,9 @@ if (_wrapper) { } } } - return QListWidget::event(e0); + return QListView::event(e0); } -bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13265,7 +12734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13273,9 +12742,9 @@ if (_wrapper) { } } } - return QListWidget::eventFilter(object0, event1); + return QListView::eventFilter(object0, event1); } -void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13287,7 +12756,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13295,9 +12764,9 @@ if (_wrapper) { } } } - QListWidget::focusInEvent(event0); + QListView::focusInEvent(event0); } -bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) +bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13320,7 +12789,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13328,9 +12797,9 @@ if (_wrapper) { } } } - return QListWidget::focusNextPrevChild(next0); + return QListView::focusNextPrevChild(next0); } -void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13342,7 +12811,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13350,9 +12819,9 @@ if (_wrapper) { } } } - QListWidget::focusOutEvent(event0); + QListView::focusOutEvent(event0); } -bool PythonQtShell_QListWidget::hasHeightForWidth() const +bool PythonQtShell_QListView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13375,7 +12844,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13383,9 +12852,9 @@ if (_wrapper) { } } } - return QListWidget::hasHeightForWidth(); + return QListView::hasHeightForWidth(); } -int PythonQtShell_QListWidget::heightForWidth(int arg__1) const +int PythonQtShell_QListView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13408,7 +12877,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13416,9 +12885,9 @@ if (_wrapper) { } } } - return QListWidget::heightForWidth(arg__1); + return QListView::heightForWidth(arg__1); } -void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QListView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13430,7 +12899,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13438,9 +12907,9 @@ if (_wrapper) { } } } - QListWidget::hideEvent(event0); + QListView::hideEvent(event0); } -int PythonQtShell_QListWidget::horizontalOffset() const +int PythonQtShell_QListView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13463,7 +12932,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13471,9 +12940,9 @@ if (_wrapper) { } } } - return QListWidget::horizontalOffset(); + return QListView::horizontalOffset(); } -void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) +void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13485,7 +12954,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13493,9 +12962,9 @@ if (_wrapper) { } } } - QListWidget::horizontalScrollbarAction(action0); + QListView::horizontalScrollbarAction(action0); } -void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13507,7 +12976,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13515,9 +12984,9 @@ if (_wrapper) { } } } - QListWidget::horizontalScrollbarValueChanged(value0); + QListView::horizontalScrollbarValueChanged(value0); } -QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const +QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13540,7 +13009,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13548,9 +13017,9 @@ if (_wrapper) { } } } - return QListWidget::indexAt(p0); + return QListView::indexAt(p0); } -void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QListView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13562,7 +13031,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13570,9 +13039,9 @@ if (_wrapper) { } } } - QListWidget::initPainter(painter0); + QListView::initPainter(painter0); } -void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13584,7 +13053,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13592,9 +13061,9 @@ if (_wrapper) { } } } - QListWidget::inputMethodEvent(event0); + QListView::inputMethodEvent(event0); } -QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13617,7 +13086,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13625,9 +13094,9 @@ if (_wrapper) { } } } - return QListWidget::inputMethodQuery(query0); + return QListView::inputMethodQuery(query0); } -bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const +bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13650,7 +13119,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13658,9 +13127,9 @@ if (_wrapper) { } } } - return QListWidget::isIndexHidden(index0); + return QListView::isIndexHidden(index0); } -void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13672,7 +13141,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13680,9 +13149,9 @@ if (_wrapper) { } } } - QListWidget::keyPressEvent(event0); + QListView::keyPressEvent(event0); } -void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13694,7 +13163,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13702,9 +13171,9 @@ if (_wrapper) { } } } - QListWidget::keyReleaseEvent(event0); + QListView::keyReleaseEvent(event0); } -void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) +void PythonQtShell_QListView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13716,7 +13185,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13724,9 +13193,9 @@ if (_wrapper) { } } } - QListWidget::keyboardSearch(search0); + QListView::keyboardSearch(search0); } -void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QListView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13738,7 +13207,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13746,9 +13215,9 @@ if (_wrapper) { } } } - QListWidget::leaveEvent(event0); + QListView::leaveEvent(event0); } -int PythonQtShell_QListWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13771,73 +13240,7 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13845,9 +13248,9 @@ if (_wrapper) { } } } - return QListWidget::mimeTypes(); + return QListView::metric(arg__1); } -QSize PythonQtShell_QListWidget::minimumSizeHint() const +QSize PythonQtShell_QListView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13870,7 +13273,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13878,9 +13281,9 @@ if (_wrapper) { } } } - return QListWidget::minimumSizeHint(); + return QListView::minimumSizeHint(); } -void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13892,7 +13295,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13900,9 +13303,9 @@ if (_wrapper) { } } } - QListWidget::mouseDoubleClickEvent(event0); + QListView::mouseDoubleClickEvent(event0); } -void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13914,7 +13317,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13922,9 +13325,9 @@ if (_wrapper) { } } } - QListWidget::mouseMoveEvent(e0); + QListView::mouseMoveEvent(e0); } -void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13936,7 +13339,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13944,9 +13347,9 @@ if (_wrapper) { } } } - QListWidget::mousePressEvent(event0); + QListView::mousePressEvent(event0); } -void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13958,7 +13361,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13966,9 +13369,9 @@ if (_wrapper) { } } } - QListWidget::mouseReleaseEvent(e0); + QListView::mouseReleaseEvent(e0); } -QModelIndex PythonQtShell_QListWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13991,7 +13394,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13999,9 +13402,9 @@ if (_wrapper) { } } } - return QListWidget::moveCursor(cursorAction0, modifiers1); + return QListView::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14013,7 +13416,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14021,9 +13424,9 @@ if (_wrapper) { } } } - QListWidget::moveEvent(event0); + QListView::moveEvent(event0); } -bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14046,7 +13449,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14054,9 +13457,9 @@ if (_wrapper) { } } } - return QListWidget::nativeEvent(eventType0, message1, result2); + return QListView::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QListWidget::paintEngine() const +QPaintEngine* PythonQtShell_QListView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14079,7 +13482,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14087,9 +13490,9 @@ if (_wrapper) { } } } - return QListWidget::paintEngine(); + return QListView::paintEngine(); } -void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) +void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14101,7 +13504,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14109,9 +13512,9 @@ if (_wrapper) { } } } - QListWidget::paintEvent(e0); + QListView::paintEvent(e0); } -QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14134,7 +13537,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14142,9 +13545,9 @@ if (_wrapper) { } } } - return QListWidget::redirected(offset0); + return QListView::redirected(offset0); } -void PythonQtShell_QListWidget::reset() +void PythonQtShell_QListView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14156,7 +13559,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14164,9 +13567,9 @@ if (_wrapper) { } } } - QListWidget::reset(); + QListView::reset(); } -void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14178,7 +13581,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14186,9 +13589,9 @@ if (_wrapper) { } } } - QListWidget::resizeEvent(e0); + QListView::resizeEvent(e0); } -void PythonQtShell_QListWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14200,7 +13603,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14208,9 +13611,9 @@ if (_wrapper) { } } } - QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QListView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QListWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14222,7 +13625,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14230,9 +13633,9 @@ if (_wrapper) { } } } - QListWidget::rowsInserted(parent0, start1, end2); + QListView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14244,7 +13647,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14252,9 +13655,9 @@ if (_wrapper) { } } } - QListWidget::scrollContentsBy(dx0, dy1); + QListView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QListWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14266,7 +13669,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14274,9 +13677,9 @@ if (_wrapper) { } } } - QListWidget::scrollTo(index0, hint1); + QListView::scrollTo(index0, hint1); } -void PythonQtShell_QListWidget::selectAll() +void PythonQtShell_QListView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14288,7 +13691,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14296,9 +13699,9 @@ if (_wrapper) { } } } - QListWidget::selectAll(); + QListView::selectAll(); } -QList PythonQtShell_QListWidget::selectedIndexes() const +QList PythonQtShell_QListView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14321,7 +13724,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14329,9 +13732,9 @@ if (_wrapper) { } } } - return QListWidget::selectedIndexes(); + return QListView::selectedIndexes(); } -void PythonQtShell_QListWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14343,7 +13746,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14351,9 +13754,9 @@ if (_wrapper) { } } } - QListWidget::selectionChanged(selected0, deselected1); + QListView::selectionChanged(selected0, deselected1); } -QItemSelectionModel::SelectionFlags PythonQtShell_QListWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14376,17 +13779,39 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::selectionCommand(index0, event1); + QListView::setModel(model0); } -void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14398,7 +13823,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14406,9 +13831,9 @@ if (_wrapper) { } } } - QListWidget::setRootIndex(index0); + QListView::setRootIndex(index0); } -void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14420,7 +13845,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14428,9 +13853,9 @@ if (_wrapper) { } } } - QListWidget::setSelection(rect0, command1); + QListView::setSelection(rect0, command1); } -void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14442,7 +13867,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14450,9 +13875,9 @@ if (_wrapper) { } } } - QListWidget::setSelectionModel(selectionModel0); + QListView::setSelectionModel(selectionModel0); } -void PythonQtShell_QListWidget::setVisible(bool visible0) +void PythonQtShell_QListView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14464,7 +13889,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14472,9 +13897,9 @@ if (_wrapper) { } } } - QListWidget::setVisible(visible0); + QListView::setVisible(visible0); } -void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) +void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14486,7 +13911,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14494,9 +13919,9 @@ if (_wrapper) { } } } - QListWidget::setupViewport(viewport0); + QListView::setupViewport(viewport0); } -QPainter* PythonQtShell_QListWidget::sharedPainter() const +QPainter* PythonQtShell_QListView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14519,7 +13944,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14527,9 +13952,9 @@ if (_wrapper) { } } } - return QListWidget::sharedPainter(); + return QListView::sharedPainter(); } -void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QListView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14541,7 +13966,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14549,9 +13974,9 @@ if (_wrapper) { } } } - QListWidget::showEvent(event0); + QListView::showEvent(event0); } -QSize PythonQtShell_QListWidget::sizeHint() const +QSize PythonQtShell_QListView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14574,7 +13999,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14582,9 +14007,9 @@ if (_wrapper) { } } } - return QListWidget::sizeHint(); + return QListView::sizeHint(); } -int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const +int PythonQtShell_QListView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14607,7 +14032,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14615,9 +14040,9 @@ if (_wrapper) { } } } - return QListWidget::sizeHintForColumn(column0); + return QListView::sizeHintForColumn(column0); } -int PythonQtShell_QListWidget::sizeHintForRow(int row0) const +int PythonQtShell_QListView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14640,7 +14065,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14648,9 +14073,9 @@ if (_wrapper) { } } } - return QListWidget::sizeHintForRow(row0); + return QListView::sizeHintForRow(row0); } -void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14662,7 +14087,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14670,42 +14095,9 @@ if (_wrapper) { } } } - 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(); + QListView::startDrag(supportedActions0); } -void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14717,7 +14109,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14725,9 +14117,9 @@ if (_wrapper) { } } } - QListWidget::tabletEvent(event0); + QListView::tabletEvent(event0); } -void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) +void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14739,7 +14131,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14747,9 +14139,9 @@ if (_wrapper) { } } } - QListWidget::timerEvent(e0); + QListView::timerEvent(e0); } -void PythonQtShell_QListWidget::updateEditorData() +void PythonQtShell_QListView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14761,7 +14153,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14769,9 +14161,9 @@ if (_wrapper) { } } } - QListWidget::updateEditorData(); + QListView::updateEditorData(); } -void PythonQtShell_QListWidget::updateEditorGeometries() +void PythonQtShell_QListView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14783,7 +14175,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14791,9 +14183,9 @@ if (_wrapper) { } } } - QListWidget::updateEditorGeometries(); + QListView::updateEditorGeometries(); } -void PythonQtShell_QListWidget::updateGeometries() +void PythonQtShell_QListView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14805,7 +14197,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14813,9 +14205,9 @@ if (_wrapper) { } } } - QListWidget::updateGeometries(); + QListView::updateGeometries(); } -int PythonQtShell_QListWidget::verticalOffset() const +int PythonQtShell_QListView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14838,7 +14230,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14846,9 +14238,9 @@ if (_wrapper) { } } } - return QListWidget::verticalOffset(); + return QListView::verticalOffset(); } -void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) +void PythonQtShell_QListView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14860,7 +14252,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14868,9 +14260,9 @@ if (_wrapper) { } } } - QListWidget::verticalScrollbarAction(action0); + QListView::verticalScrollbarAction(action0); } -void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14882,7 +14274,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14890,9 +14282,9 @@ if (_wrapper) { } } } - QListWidget::verticalScrollbarValueChanged(value0); + QListView::verticalScrollbarValueChanged(value0); } -QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const +QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14915,7 +14307,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14923,9 +14315,9 @@ if (_wrapper) { } } } - return QListWidget::viewOptions(); + return QListView::viewOptions(); } -bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) +bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14948,7 +14340,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14956,9 +14348,9 @@ if (_wrapper) { } } } - return QListWidget::viewportEvent(event0); + return QListView::viewportEvent(event0); } -QSize PythonQtShell_QListWidget::viewportSizeHint() const +QSize PythonQtShell_QListView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14981,7 +14373,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14989,9 +14381,9 @@ if (_wrapper) { } } } - return QListWidget::viewportSizeHint(); + return QListView::viewportSizeHint(); } -QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const +QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15014,7 +14406,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15022,9 +14414,9 @@ if (_wrapper) { } } } - return QListWidget::visualRect(index0); + return QListView::visualRect(index0); } -QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const +QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15047,7 +14439,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15055,9 +14447,9 @@ if (_wrapper) { } } } - return QListWidget::visualRegionForSelection(selection0); + return QListView::visualRegionForSelection(selection0); } -void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15069,7 +14461,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15077,250 +14469,450 @@ if (_wrapper) { } } } - QListWidget::wheelEvent(e0); + QListView::wheelEvent(e0); } -QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) +QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) { -return new PythonQtShell_QListWidget(parent); } +return new PythonQtShell_QListView(parent); } -const QMetaObject* PythonQtShell_QListWidget::metaObject() const { +const QMetaObject* PythonQtShell_QListView::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListView::staticMetaObject); } else { - return &QListWidget::staticMetaObject; + return &QListView::staticMetaObject; } } -int PythonQtShell_QListWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QListWidget::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const { - ( theWrappedObject->addItem(item)); + return ( theWrappedObject->batchSize()); } -void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) +void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) { - ( theWrappedObject->addItem(label)); + ( theWrappedObject->clearPropertyFlags()); } -void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) +QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const { - ( theWrappedObject->addItems(labels)); + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); } -void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const { - ( theWrappedObject->closePersistentEditor(item)); + return ( theWrappedObject->flow()); } -int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const +QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->gridSize()); } -QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const +bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const { - return ( theWrappedObject->currentItem()); + return ( theWrappedObject->isRowHidden(row)); } -int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const +bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const { - return ( theWrappedObject->currentRow()); + return ( theWrappedObject->isSelectionRectVisible()); } -bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) +bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); + return ( theWrappedObject->isWrapping()); } -void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) +Qt::Alignment PythonQtWrapper_QListView::itemAlignment(QListView* theWrappedObject) const { - ( theWrappedObject->editItem(item)); + return ( theWrappedObject->itemAlignment()); } -QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const { - return ( theWrappedObject->findItems(text, flags)); + return ( theWrappedObject->layoutMode()); } -QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const +int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); + return ( theWrappedObject->modelColumn()); } -QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, const QListWidgetItem* item) const +QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); + return ( theWrappedObject->movement()); } -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const { - ( theWrappedObject->insertItem(row, item)); + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); } -void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) +void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) { - ( theWrappedObject->insertItem(row, label)); + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); } -void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) +QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const { - ( theWrappedObject->insertItems(row, labels)); + return ( theWrappedObject->resizeMode()); } -bool PythonQtWrapper_QListWidget::isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const +void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) { - return ( theWrappedObject->isPersistentEditorOpen(item)); + ( theWrappedObject->setBatchSize(batchSize)); } -bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const +void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) { - return ( theWrappedObject->isSortingEnabled()); + ( theWrappedObject->setFlow(flow)); } -QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const +void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) { - return ( theWrappedObject->item(row)); + ( theWrappedObject->setGridSize(size)); } -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const +void PythonQtWrapper_QListView::setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->itemAt(p)); + ( 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)); } -QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const +void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) { - return ( theWrappedObject->itemAt(x, y)); + ( theWrappedObject->setSelectionRectVisible(show)); } -QListWidgetItem* PythonQtWrapper_QListWidget::itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_itemFromIndex(index)); + ( theWrappedObject->setSpacing(space)); } -QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const +void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) { - return ( theWrappedObject->itemWidget(item)); + ( theWrappedObject->setUniformItemSizes(enable)); } -QList PythonQtWrapper_QListWidget::items(QListWidget* theWrappedObject, const QMimeData* data) const +void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_items(data)); + ( theWrappedObject->setViewMode(mode)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::mimeData(QListWidget* theWrappedObject, const QList items) const +void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeData(items)); + ( theWrappedObject->setWordWrap(on)); } -QStringList PythonQtWrapper_QListWidget::mimeTypes(QListWidget* theWrappedObject) const +void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeTypes()); + ( theWrappedObject->setWrapping(enable)); } -void PythonQtWrapper_QListWidget::openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) +int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const { - ( theWrappedObject->openPersistentEditor(item)); + return ( theWrappedObject->spacing()); } -void PythonQtWrapper_QListWidget::removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) +bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const { - ( theWrappedObject->removeItemWidget(item)); + return ( theWrappedObject->uniformItemSizes()); } -int PythonQtWrapper_QListWidget::row(QListWidget* theWrappedObject, const QListWidgetItem* item) const +QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const { - return ( theWrappedObject->row(item)); + return ( theWrappedObject->viewMode()); } -QList PythonQtWrapper_QListWidget::selectedItems(QListWidget* theWrappedObject) const +bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const { - return ( theWrappedObject->selectedItems()); + return ( theWrappedObject->wordWrap()); } -void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item) + + +PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) { - ( theWrappedObject->setCurrentItem(item)); +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(); + } + } } - -void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command) + QListWidget::actionEvent(event0); +} +void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { - ( theWrappedObject->setCurrentItem(item, command)); +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(); + } + } } - -void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row) + QListWidget::changeEvent(arg__1); +} +void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) { - ( theWrappedObject->setCurrentRow(row)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command) + QListWidget::childEvent(event0); +} +void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { - ( theWrappedObject->setCurrentRow(row, command)); +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(); + } + } } - -void PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, PythonQtPassOwnershipToCPP widget) + QListWidget::closeEditor(editor0, hint1); +} +void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setItemWidget(item, widget)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) + QListWidget::closeEvent(event0); +} +void PythonQtShell_QListWidget::commitData(QWidget* editor0) { - ( theWrappedObject->setSortingEnabled(enable)); +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(); + } + } } - -void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) + QListWidget::commitData(editor0); +} +void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { - ( theWrappedObject->sortItems(order)); +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(); + } + } } - -Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const + QListWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { - return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); +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(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) + QListWidget::currentChanged(current0, previous1); +} +void PythonQtShell_QListWidget::customEvent(QEvent* event0) { - return ( theWrappedObject->takeItem(row)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const + QListWidget::customEvent(event0); +} +void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { - return ( theWrappedObject->visualItemRect(item)); +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(); + } + } } - - - -PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListWidget::dataChanged(topLeft0, bottomRight1, roles2); } -QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const +int PythonQtShell_QListWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QListWidgetItem*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QListWidgetItem* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QListWidgetItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15328,54 +14920,43 @@ if (_wrapper) { } } } - return QListWidgetItem::clone(); + return QListWidget::devType(); } -QVariant PythonQtShell_QListWidgetItem::data(int role0) const +void PythonQtShell_QListWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("doItemsLayout"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidgetItem::data(role0); + QListWidget::doItemsLayout(); } -void PythonQtShell_QListWidgetItem::read(QDataStream& in0) +void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&in0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15383,21 +14964,21 @@ if (_wrapper) { } } } - QListWidgetItem::read(in0); + QListWidget::dragEnterEvent(event0); } -void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) +void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15405,21 +14986,21 @@ if (_wrapper) { } } } - QListWidgetItem::setData(role0, value1); + QListWidget::dragLeaveEvent(e0); } -void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const +void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&out0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15427,224 +15008,21 @@ if (_wrapper) { } } } - QListWidgetItem::write(out0); -} -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(icon, text, view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(text, view, 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); } + QListWidget::dragMoveEvent(e0); } -void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) +void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15652,43 +15030,87 @@ if (_wrapper) { } } } - QMainWindow::actionEvent(event0); + QListWidget::dropEvent(event0); } -void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) +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("changeEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::changeEvent(arg__1); + return QListWidget::dropMimeData(index0, data1, action2); } -void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15696,21 +15118,21 @@ if (_wrapper) { } } } - QMainWindow::childEvent(event0); + QListWidget::editorDestroyed(editor0); } -void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15718,54 +15140,65 @@ if (_wrapper) { } } } - QMainWindow::closeEvent(event0); + QListWidget::enterEvent(event0); } -void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) +bool PythonQtShell_QListWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::contextMenuEvent(event0); + return QListWidget::event(e0); } -QMenu* PythonQtShell_QMainWindow::createPopupMenu() +bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createPopupMenu"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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("createPopupMenu", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QMenu**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15773,21 +15206,21 @@ if (_wrapper) { } } } - return QMainWindow::createPopupMenu(); + return QListWidget::eventFilter(object0, event1); } -void PythonQtShell_QMainWindow::customEvent(QEvent* event0) +void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15795,32 +15228,32 @@ if (_wrapper) { } } } - QMainWindow::customEvent(event0); + QListWidget::focusInEvent(event0); } -int PythonQtShell_QMainWindow::devType() const +bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15828,43 +15261,21 @@ if (_wrapper) { } } } - 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); + return QListWidget::focusNextPrevChild(next0); } -void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15872,65 +15283,87 @@ if (_wrapper) { } } } - QMainWindow::dragLeaveEvent(event0); + QListWidget::focusOutEvent(event0); } -void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) +bool PythonQtShell_QListWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::dragMoveEvent(event0); + return QListWidget::hasHeightForWidth(); } -void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) +int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::dropEvent(event0); + return QListWidget::heightForWidth(arg__1); } -void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) +void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15938,32 +15371,32 @@ if (_wrapper) { } } } - QMainWindow::enterEvent(event0); + QListWidget::hideEvent(event0); } -bool PythonQtShell_QMainWindow::event(QEvent* event0) +int PythonQtShell_QListWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15971,54 +15404,43 @@ if (_wrapper) { } } } - return QMainWindow::event(event0); + return QListWidget::horizontalOffset(); } -bool PythonQtShell_QMainWindow::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::eventFilter(watched0, event1); + QListWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16026,32 +15448,32 @@ if (_wrapper) { } } } - QMainWindow::focusInEvent(event0); + QListWidget::horizontalScrollbarValueChanged(value0); } -bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) +QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16059,21 +15481,21 @@ if (_wrapper) { } } } - return QMainWindow::focusNextPrevChild(next0); + return QListWidget::indexAt(p0); } -void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16081,65 +15503,54 @@ if (_wrapper) { } } } - QMainWindow::focusOutEvent(event0); + QListWidget::initPainter(painter0); } -bool PythonQtShell_QMainWindow::hasHeightForWidth() const +void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::hasHeightForWidth(); + QListWidget::inputMethodEvent(event0); } -int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const +QVariant PythonQtShell_QListWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16147,43 +15558,54 @@ if (_wrapper) { } } } - return QMainWindow::heightForWidth(arg__1); + return QListWidget::inputMethodQuery(query0); } -void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) +bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::hideEvent(event0); + return QListWidget::isIndexHidden(index0); } -void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const +void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16191,21 +15613,21 @@ if (_wrapper) { } } } - QMainWindow::initPainter(painter0); + QListWidget::keyPressEvent(event0); } -void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16213,54 +15635,43 @@ if (_wrapper) { } } } - QMainWindow::inputMethodEvent(arg__1); + QListWidget::keyReleaseEvent(event0); } -QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::inputMethodQuery(arg__1); + QListWidget::keyboardSearch(search0); } -void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16268,76 +15679,98 @@ if (_wrapper) { } } } - QMainWindow::keyPressEvent(event0); + QListWidget::leaveEvent(event0); } -void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* 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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::keyReleaseEvent(event0); + return QListWidget::metric(arg__1); } -void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) +QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::leaveEvent(event0); + return QListWidget::mimeData(items0); } -int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QStringList PythonQtShell_QListWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("mimeTypes"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16345,14 +15778,14 @@ if (_wrapper) { } } } - return QMainWindow::metric(arg__1); + return QListWidget::mimeTypes(); } -QSize PythonQtShell_QMainWindow::minimumSizeHint() const +QSize PythonQtShell_QListWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -16364,13 +15797,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16378,9 +15811,9 @@ if (_wrapper) { } } } - return QMainWindow::minimumSizeHint(); + return QListWidget::minimumSizeHint(); } -void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16392,7 +15825,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16400,9 +15833,9 @@ if (_wrapper) { } } } - QMainWindow::mouseDoubleClickEvent(event0); + QListWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16412,9 +15845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16422,9 +15855,9 @@ if (_wrapper) { } } } - QMainWindow::mouseMoveEvent(event0); + QListWidget::mouseMoveEvent(e0); } -void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16436,7 +15869,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16444,9 +15877,9 @@ if (_wrapper) { } } } - QMainWindow::mousePressEvent(event0); + QListWidget::mousePressEvent(event0); } -void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16456,9 +15889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16466,9 +15899,42 @@ if (_wrapper) { } } } - QMainWindow::mouseReleaseEvent(event0); + 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_QMainWindow::moveEvent(QMoveEvent* event0) +void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16480,7 +15946,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16488,9 +15954,9 @@ if (_wrapper) { } } } - QMainWindow::moveEvent(event0); + QListWidget::moveEvent(event0); } -bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QListWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16513,7 +15979,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16521,9 +15987,9 @@ if (_wrapper) { } } } - return QMainWindow::nativeEvent(eventType0, message1, result2); + return QListWidget::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const +QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16546,7 +16012,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16554,9 +16020,9 @@ if (_wrapper) { } } } - return QMainWindow::paintEngine(); + return QListWidget::paintEngine(); } -void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) +void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16566,9 +16032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16576,9 +16042,9 @@ if (_wrapper) { } } } - QMainWindow::paintEvent(event0); + QListWidget::paintEvent(e0); } -QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16601,7 +16067,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16609,9 +16075,31 @@ if (_wrapper) { } } } - return QMainWindow::redirected(offset0); + 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_QMainWindow::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16621,9 +16109,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16631,21 +16119,21 @@ if (_wrapper) { } } } - QMainWindow::resizeEvent(event0); + QListWidget::resizeEvent(e0); } -void PythonQtShell_QMainWindow::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16653,54 +16141,87 @@ if (_wrapper) { } } } - QMainWindow::setVisible(visible0); + QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -QPainter* PythonQtShell_QMainWindow::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("rowsInserted"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::sharedPainter(); + QListWidget::scrollTo(index0, hint1); } -void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) +void PythonQtShell_QListWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("selectAll"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16708,32 +16229,32 @@ if (_wrapper) { } } } - QMainWindow::showEvent(event0); + QListWidget::selectAll(); } -QSize PythonQtShell_QMainWindow::sizeHint() const +QList PythonQtShell_QListWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("getSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16741,21 +16262,21 @@ if (_wrapper) { } } } - return QMainWindow::sizeHint(); + return QListWidget::selectedIndexes(); } -void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) +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("tabletEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16763,43 +16284,54 @@ if (_wrapper) { } } } - QMainWindow::tabletEvent(event0); + QListWidget::selectionChanged(selected0, deselected1); } -void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("selectionCommand"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMainWindow::timerEvent(event0); + return QListWidget::selectionCommand(index0, event1); } -void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16807,783 +16339,889 @@ if (_wrapper) { } } } - 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& m2) -{ - return ( (*theWrappedObject)!= m2); -} - -QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, int factor) -{ - return ( (*theWrappedObject)* factor); + QListWidget::setRootIndex(index0); } - -QMargins PythonQtWrapper_QMargins::__mul__(QMargins* theWrappedObject, qreal factor) +void PythonQtShell_QListWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { - return ( (*theWrappedObject)* factor); +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(); + } + } } - -QMargins* PythonQtWrapper_QMargins::__imul__(QMargins* theWrappedObject, int arg__1) -{ - return &( (*theWrappedObject)*= arg__1); + QListWidget::setSelection(rect0, command1); } - -QMargins* PythonQtWrapper_QMargins::__imul__(QMargins* theWrappedObject, qreal arg__1) +void PythonQtShell_QListWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { - return &( (*theWrappedObject)*= arg__1); +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(); + } + } } - -QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, const QMargins& m2) -{ - return ( (*theWrappedObject)+ m2); + QListWidget::setSelectionModel(selectionModel0); } - -QRect PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, const QRect& rectangle) +void PythonQtShell_QListWidget::setVisible(bool visible0) { - return ( (*theWrappedObject)+ rectangle); +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(); + } + } } - -QMargins PythonQtWrapper_QMargins::__add__(QMargins* theWrappedObject, int rhs) -{ - return ( (*theWrappedObject)+ rhs); + QListWidget::setVisible(visible0); } - -QMargins* PythonQtWrapper_QMargins::__iadd__(QMargins* theWrappedObject, const QMargins& margins) +void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { - return &( (*theWrappedObject)+= margins); +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(); + } + } } - -QMargins* PythonQtWrapper_QMargins::__iadd__(QMargins* theWrappedObject, int arg__1) -{ - return &( (*theWrappedObject)+= arg__1); + QListWidget::setupViewport(viewport0); } - -QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject, const QMargins& m2) +QPainter* PythonQtShell_QListWidget::sharedPainter() const { - return ( (*theWrappedObject)- m2); +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(); + } + } } - -QMargins PythonQtWrapper_QMargins::__sub__(QMargins* theWrappedObject, int rhs) -{ - return ( (*theWrappedObject)- rhs); + return QListWidget::sharedPainter(); } - -QMargins* PythonQtWrapper_QMargins::__isub__(QMargins* theWrappedObject, const QMargins& margins) +void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) { - return &( (*theWrappedObject)-= margins); +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(); + } + } } - -QMargins* PythonQtWrapper_QMargins::__isub__(QMargins* theWrappedObject, int arg__1) -{ - return &( (*theWrappedObject)-= arg__1); + QListWidget::showEvent(event0); } - -QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, int divisor) +QSize PythonQtShell_QListWidget::sizeHint() const { - return ( (*theWrappedObject)/ divisor); +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(); + } + } } - -QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, qreal divisor) -{ - return ( (*theWrappedObject)/ divisor); + return QListWidget::sizeHint(); } - -QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, int arg__1) +int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { - return &( (*theWrappedObject)/= arg__1); +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(); + } + } } - -QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, qreal arg__1) -{ - return &( (*theWrappedObject)/= arg__1); + return QListWidget::sizeHintForColumn(column0); } - -void PythonQtWrapper_QMargins::writeTo(QMargins* theWrappedObject, QDataStream& arg__1) +int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { - arg__1 << (*theWrappedObject); +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(); + } + } } - -bool PythonQtWrapper_QMargins::__eq__(QMargins* theWrappedObject, const QMargins& m2) -{ - return ( (*theWrappedObject)== m2); + return QListWidget::sizeHintForRow(row0); } - -void PythonQtWrapper_QMargins::readFrom(QMargins* theWrappedObject, QDataStream& arg__1) +void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { - arg__1 >> (*theWrappedObject); +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(); + } + } } - -int PythonQtWrapper_QMargins::right(QMargins* theWrappedObject) const -{ - return ( theWrappedObject->right()); + QListWidget::startDrag(supportedActions0); } - -void PythonQtWrapper_QMargins::setBottom(QMargins* theWrappedObject, int bottom) +Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { - ( theWrappedObject->setBottom(bottom)); +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(); + } + } } - -void PythonQtWrapper_QMargins::setLeft(QMargins* theWrappedObject, int left) -{ - ( theWrappedObject->setLeft(left)); + return QListWidget::supportedDropActions(); } - -void PythonQtWrapper_QMargins::setRight(QMargins* theWrappedObject, int right) +void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setRight(right)); +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(); + } + } } - -void PythonQtWrapper_QMargins::setTop(QMargins* theWrappedObject, int top) -{ - ( theWrappedObject->setTop(top)); + QListWidget::tabletEvent(event0); } - -int PythonQtWrapper_QMargins::top(QMargins* theWrappedObject) const +void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { - return ( theWrappedObject->top()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_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(); + } + } } - -QString PythonQtWrapper_QMargins::py_toString(QMargins* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + QListWidget::timerEvent(e0); } - - - -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 +void PythonQtShell_QListWidget::updateEditorData() { - return ( theWrappedObject->column(index)); +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(); + } + } } - -const float* PythonQtWrapper_QMatrix4x4::constData(QMatrix4x4* theWrappedObject) const -{ - return ( theWrappedObject->constData()); + QListWidget::updateEditorData(); } - -void PythonQtWrapper_QMatrix4x4::copyDataTo(QMatrix4x4* theWrappedObject, float* values) const +void PythonQtShell_QListWidget::updateEditorGeometries() { - ( theWrappedObject->copyDataTo(values)); +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(); + } + } } - -float* PythonQtWrapper_QMatrix4x4::data(QMatrix4x4* theWrappedObject) -{ - return ( theWrappedObject->data()); + QListWidget::updateEditorGeometries(); } - -double PythonQtWrapper_QMatrix4x4::determinant(QMatrix4x4* theWrappedObject) const +void PythonQtShell_QListWidget::updateGeometries() { - return ( theWrappedObject->determinant()); +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(); + } + } } - -void PythonQtWrapper_QMatrix4x4::fill(QMatrix4x4* theWrappedObject, float value) -{ - ( theWrappedObject->fill(value)); + QListWidget::updateGeometries(); } - -void PythonQtWrapper_QMatrix4x4::flipCoordinates(QMatrix4x4* theWrappedObject) +int PythonQtShell_QListWidget::verticalOffset() const { - ( theWrappedObject->flipCoordinates()); +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(); + } + } } - -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)); + return QListWidget::verticalOffset(); } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::inverted(QMatrix4x4* theWrappedObject, bool* invertible) const +void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { - return ( theWrappedObject->inverted(invertible)); +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(); + } + } } - -bool PythonQtWrapper_QMatrix4x4::isAffine(QMatrix4x4* theWrappedObject) const + QListWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { - return ( theWrappedObject->isAffine()); +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(); + } + } } - -bool PythonQtWrapper_QMatrix4x4::isIdentity(QMatrix4x4* theWrappedObject) const + QListWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { - return ( theWrappedObject->isIdentity()); +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(); + } + } } - -void PythonQtWrapper_QMatrix4x4::lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up) -{ - ( theWrappedObject->lookAt(eye, center, up)); + return QListWidget::viewOptions(); } - -QPoint PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPoint& point) const +bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { - return ( theWrappedObject->map(point)); +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(); + } + } } - -QPointF PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->map(point)); + return QListWidget::viewportEvent(event0); } - -QVector3D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector3D& point) const +QSize PythonQtShell_QListWidget::viewportSizeHint() const { - return ( theWrappedObject->map(point)); +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(); + } + } } - -QVector4D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector4D& point) const -{ - return ( theWrappedObject->map(point)); + return QListWidget::viewportSizeHint(); } - -QRect PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const +QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { - return ( theWrappedObject->mapRect(rect)); +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(); + } + } } - -QRectF PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRect(rect)); + return QListWidget::visualRect(index0); } - -QVector3D PythonQtWrapper_QMatrix4x4::mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const +QRegion PythonQtShell_QListWidget::visualRegionForSelection(const QItemSelection& selection0) const { - return ( theWrappedObject->mapVector(vector)); +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(); + } + } } - -bool PythonQtWrapper_QMatrix4x4::__ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const -{ - return ( (*theWrappedObject)!= other); + return QListWidget::visualRegionForSelection(selection0); } - -float* PythonQtWrapper_QMatrix4x4::operator_cast_(QMatrix4x4* theWrappedObject, int row, int column) +void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) { - return &( theWrappedObject->operator()(row, column)); +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(); + } + } } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) -{ - return ( (*theWrappedObject)* m2); + QListWidget::wheelEvent(e0); } +QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) +{ +return new PythonQtShell_QListWidget(parent); } -QPoint PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPoint& point) -{ - return ( (*theWrappedObject)* point); +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; + } } - -QPointF PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPointF& point) -{ - return ( (*theWrappedObject)* point); +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; } - -QVector3D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector) +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { - return ( (*theWrappedObject)* vector); + ( theWrappedObject->addItem(item)); } -QVector4D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector) +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) { - return ( (*theWrappedObject)* vector); + ( theWrappedObject->addItem(label)); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, float factor) +void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) { - return ( (*theWrappedObject)* factor); + ( theWrappedObject->addItems(labels)); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) { - return &( (*theWrappedObject)*= other); + ( theWrappedObject->closePersistentEditor(item)); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, float factor) +int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const { - return &( (*theWrappedObject)*= factor); + return ( theWrappedObject->count()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const { - return ( (*theWrappedObject)+ m2); + return ( theWrappedObject->currentItem()); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const { - return &( (*theWrappedObject)+= other); + return ( theWrappedObject->currentRow()); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) { - return ( (*theWrappedObject)- m2); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) { - return &( (*theWrappedObject)-= other); + ( theWrappedObject->editItem(item)); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__div__(QMatrix4x4* theWrappedObject, float divisor) +QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const { - return ( (*theWrappedObject)/ divisor); + return ( theWrappedObject->findItems(text, flags)); } -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__idiv__(QMatrix4x4* theWrappedObject, float divisor) +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const { - return &( (*theWrappedObject)/= divisor); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); } -void PythonQtWrapper_QMatrix4x4::writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, const QListWidgetItem* item) const { - arg__1 << (*theWrappedObject); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_indexFromItem(item)); } -bool PythonQtWrapper_QMatrix4x4::__eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->insertItem(row, item)); } -void PythonQtWrapper_QMatrix4x4::readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) { - arg__1 >> (*theWrappedObject); + ( theWrappedObject->insertItem(row, label)); } -void PythonQtWrapper_QMatrix4x4::optimize(QMatrix4x4* theWrappedObject) +void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) { - ( theWrappedObject->optimize()); + ( theWrappedObject->insertItems(row, labels)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRect& rect) +bool PythonQtWrapper_QListWidget::isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const { - ( theWrappedObject->ortho(rect)); + return ( theWrappedObject->isPersistentEditorOpen(item)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRectF& rect) +bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const { - ( theWrappedObject->ortho(rect)); + return ( theWrappedObject->isSortingEnabled()); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const { - ( theWrappedObject->ortho(left, right, bottom, top, nearPlane, farPlane)); + return ( theWrappedObject->item(row)); } -void PythonQtWrapper_QMatrix4x4::perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane) +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const { - ( theWrappedObject->perspective(verticalAngle, aspectRatio, nearPlane, farPlane)); + return ( theWrappedObject->itemAt(p)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion) +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, int x, int y) const { - ( theWrappedObject->rotate(quaternion)); + return ( theWrappedObject->itemAt(x, y)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector) +QListWidgetItem* PythonQtWrapper_QListWidget::itemFromIndex(QListWidget* theWrappedObject, const QModelIndex& index) const { - ( theWrappedObject->rotate(angle, vector)); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_itemFromIndex(index)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z) +QWidget* PythonQtWrapper_QListWidget::itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const { - ( theWrappedObject->rotate(angle, x, y, z)); + return ( theWrappedObject->itemWidget(item)); } -QVector4D PythonQtWrapper_QMatrix4x4::row(QMatrix4x4* theWrappedObject, int index) const +QList PythonQtWrapper_QListWidget::items(QListWidget* theWrappedObject, const QMimeData* data) const { - return ( theWrappedObject->row(index)); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_items(data)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, const QVector3D& vector) +PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::mimeData(QListWidget* theWrappedObject, const QList items) const { - ( theWrappedObject->scale(vector)); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeData(items)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float factor) +QStringList PythonQtWrapper_QListWidget::mimeTypes(QListWidget* theWrappedObject) const { - ( theWrappedObject->scale(factor)); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_mimeTypes()); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y) +void PythonQtWrapper_QListWidget::openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) { - ( theWrappedObject->scale(x, y)); + ( theWrappedObject->openPersistentEditor(item)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y, float z) +void PythonQtWrapper_QListWidget::removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) { - ( theWrappedObject->scale(x, y, z)); + ( theWrappedObject->removeItemWidget(item)); } -void PythonQtWrapper_QMatrix4x4::setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +int PythonQtWrapper_QListWidget::row(QListWidget* theWrappedObject, const QListWidgetItem* item) const { - ( theWrappedObject->setColumn(index, value)); + return ( theWrappedObject->row(item)); } -void PythonQtWrapper_QMatrix4x4::setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +QList PythonQtWrapper_QListWidget::selectedItems(QListWidget* theWrappedObject) const { - ( theWrappedObject->setRow(index, value)); + return ( theWrappedObject->selectedItems()); } -void PythonQtWrapper_QMatrix4x4::setToIdentity(QMatrix4x4* theWrappedObject) +void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item) { - ( theWrappedObject->setToIdentity()); + ( theWrappedObject->setCurrentItem(item)); } -QMatrix PythonQtWrapper_QMatrix4x4::toAffine(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QListWidget::setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command) { - return ( theWrappedObject->toAffine()); + ( theWrappedObject->setCurrentItem(item, command)); } -QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row) { - return ( theWrappedObject->toTransform()); + ( theWrappedObject->setCurrentRow(row)); } -QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const +void PythonQtWrapper_QListWidget::setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command) { - return ( theWrappedObject->toTransform(distanceToPlane)); + ( theWrappedObject->setCurrentRow(row, command)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, const QVector3D& vector) +void PythonQtWrapper_QListWidget::setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, PythonQtPassOwnershipToCPP widget) { - ( theWrappedObject->translate(vector)); + ( theWrappedObject->setItemWidget(item, widget)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y) +void PythonQtWrapper_QListWidget::setSortingEnabled(QListWidget* theWrappedObject, bool enable) { - ( theWrappedObject->translate(x, y)); + ( theWrappedObject->setSortingEnabled(enable)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y, float z) +void PythonQtWrapper_QListWidget::sortItems(QListWidget* theWrappedObject, Qt::SortOrder order) { - ( theWrappedObject->translate(x, y, z)); + ( theWrappedObject->sortItems(order)); } -QMatrix4x4 PythonQtWrapper_QMatrix4x4::transposed(QMatrix4x4* theWrappedObject) const +Qt::DropActions PythonQtWrapper_QListWidget::supportedDropActions(QListWidget* theWrappedObject) const { - return ( theWrappedObject->transposed()); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_supportedDropActions()); } -void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, const QRectF& rect) +PythonQtPassOwnershipToPython PythonQtWrapper_QListWidget::takeItem(QListWidget* theWrappedObject, int row) { - ( theWrappedObject->viewport(rect)); + return ( theWrappedObject->takeItem(row)); } -void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane, float farPlane) +QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const { - ( theWrappedObject->viewport(left, bottom, width, height, nearPlane, farPlane)); -} - -QString PythonQtWrapper_QMatrix4x4::py_toString(QMatrix4x4* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return ( theWrappedObject->visualItemRect(item)); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.h index 9535bb55..b5547390 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui4.h @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include @@ -22,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -30,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -51,12 +51,8 @@ #include #include #include -#include #include -#include -#include #include -#include #include #include #include @@ -69,7 +65,6 @@ #include #include #include -#include #include #include #include @@ -77,22 +72,197 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include -#include -#include #include #include +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: @@ -110,7 +280,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageIOPlugin : public QImageIOPlugin @@ -313,7 +483,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QInputDialog : public QInputDialog @@ -402,7 +572,7 @@ class PythonQtShell_QInputEvent : public QInputEvent ~PythonQtShell_QInputEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QInputEvent : public QObject @@ -477,7 +647,7 @@ class PythonQtShell_QInputMethodEvent__Attribute : public QInputMethodEvent::Att ~PythonQtShell_QInputMethodEvent__Attribute(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QInputMethodEvent__Attribute : public QObject @@ -535,7 +705,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIntValidator : public QIntValidator @@ -595,7 +765,7 @@ void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemDelegate : public QItemDelegate @@ -674,7 +844,7 @@ class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase QWidget* createWidget(QWidget* parent) const override; QByteArray valuePropertyName() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemEditorCreatorBase : public QItemEditorCreatorBase @@ -709,7 +879,7 @@ class PythonQtShell_QItemEditorFactory : public QItemEditorFactory QWidget* createEditor(int userType, QWidget* parent) const override; QByteArray valuePropertyName(int userType) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory @@ -830,7 +1000,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel @@ -931,7 +1101,7 @@ class PythonQtShell_QKeyEvent : public QKeyEvent ~PythonQtShell_QKeyEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QKeyEvent : public QObject @@ -974,7 +1144,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QKeyEventTransition : public QKeyEventTransition @@ -1060,7 +1230,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QKeySequenceEdit : public QKeySequenceEdit @@ -1149,7 +1319,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLCDNumber : public QLCDNumber @@ -1244,7 +1414,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLabel : public QLabel @@ -1330,6 +1500,137 @@ void delete_QLabel(QLabel* obj) { delete obj; } +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: @@ -1344,6 +1645,7 @@ 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; @@ -1352,7 +1654,7 @@ QSize sizeHint() const override; QSpacerItem* spacerItem() override; QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem @@ -1364,6 +1666,7 @@ inline bool py_q_hasHeightForWidth() const { return QLayoutItem::hasHeightForWi 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(); } @@ -1394,6 +1697,8 @@ void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } 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; @@ -1472,7 +1777,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLineEdit : public QLineEdit @@ -1730,7 +2035,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListView : public QListView @@ -1981,7 +2286,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QListWidget : public QListWidget @@ -2059,360 +2364,3 @@ void delete_QListWidget(QListWidget* obj) { delete obj; } }; - - - -class PythonQtShell_QListWidgetItem : public QListWidgetItem -{ -public: - PythonQtShell_QListWidgetItem(QListWidget* view = nullptr, int type = Type):QListWidgetItem(view, type),_wrapper(nullptr) {}; - PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(nullptr) {}; - PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(text, view, type),_wrapper(nullptr) {}; - - ~PythonQtShell_QListWidgetItem() 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 view = nullptr, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); -void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } - 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& m2); - 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, 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, 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& m2); - 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 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, 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*); -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index c7b5b9e5..1f4bcb22 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -20,7 +20,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -31,8 +32,11 @@ #include #include #include +#include #include +#include #include +#include #include #include #include @@ -55,8 +59,6 @@ #include #include #include -#include -#include #include #include #include @@ -65,20 +67,22 @@ #include #include #include -#include #include #include #include +#include #include #include #include #include #include +#include #include #include #include #include #include +#include #include #include #include @@ -88,67 +92,89 @@ #include #include -PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { +PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) +QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("clone"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QListWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiArea::actionEvent(event0); + return QListWidgetItem::clone(); } -void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) +QVariant PythonQtShell_QListWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiArea::changeEvent(arg__1); + return QListWidgetItem::data(role0); } -void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) +void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&childEvent0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -156,21 +182,21 @@ if (_wrapper) { } } } - QMdiArea::childEvent(childEvent0); + QListWidgetItem::read(in0); } -void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) +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("closeEvent"); + static PyObject* name = PyString_FromString("setData"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -178,21 +204,21 @@ if (_wrapper) { } } } - QMdiArea::closeEvent(event0); + QListWidgetItem::setData(role0, value1); } -void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -200,21 +226,224 @@ if (_wrapper) { } } } - QMdiArea::contextMenuEvent(arg__1); + QListWidgetItem::write(out0); } -void PythonQtShell_QMdiArea::customEvent(QEvent* event0) +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QListWidgetItem(view, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QListWidgetItem(icon, text, view, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QListWidgetItem(text, view, 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("customEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -222,54 +451,43 @@ if (_wrapper) { } } } - QMdiArea::customEvent(event0); + QMainWindow::actionEvent(event0); } -int PythonQtShell_QMdiArea::devType() const +void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("changeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiArea::devType(); + QMainWindow::changeEvent(arg__1); } -void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) +void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -277,21 +495,21 @@ if (_wrapper) { } } } - QMdiArea::dragEnterEvent(arg__1); + QMainWindow::childEvent(event0); } -void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -299,21 +517,21 @@ if (_wrapper) { } } } - QMdiArea::dragLeaveEvent(arg__1); + QMainWindow::closeEvent(event0); } -void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) +void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -321,43 +539,54 @@ if (_wrapper) { } } } - QMdiArea::dragMoveEvent(arg__1); + QMainWindow::contextMenuEvent(event0); } -void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) +QMenu* PythonQtShell_QMainWindow::createPopupMenu() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("createPopupMenu"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); + } else { + returnValue = *((QMenu**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiArea::dropEvent(arg__1); + return QMainWindow::createPopupMenu(); } -void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) +void PythonQtShell_QMainWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -365,9 +594,152 @@ if (_wrapper) { } } } - QMdiArea::enterEvent(event0); + QMainWindow::customEvent(event0); } -bool PythonQtShell_QMdiArea::event(QEvent* 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 @@ -390,7 +762,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -398,9 +770,9 @@ if (_wrapper) { } } } - return QMdiArea::event(event0); + return QMainWindow::event(event0); } -bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QMainWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -411,7 +783,7 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -423,7 +795,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -431,9 +803,9 @@ if (_wrapper) { } } } - return QMdiArea::eventFilter(object0, event1); + return QMainWindow::eventFilter(watched0, event1); } -void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -445,7 +817,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -453,9 +825,9 @@ if (_wrapper) { } } } - QMdiArea::focusInEvent(event0); + QMainWindow::focusInEvent(event0); } -bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) +bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -478,7 +850,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -486,9 +858,9 @@ if (_wrapper) { } } } - return QMdiArea::focusNextPrevChild(next0); + return QMainWindow::focusNextPrevChild(next0); } -void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -500,7 +872,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -508,9 +880,9 @@ if (_wrapper) { } } } - QMdiArea::focusOutEvent(event0); + QMainWindow::focusOutEvent(event0); } -bool PythonQtShell_QMdiArea::hasHeightForWidth() const +bool PythonQtShell_QMainWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -533,7 +905,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -541,9 +913,9 @@ if (_wrapper) { } } } - return QMdiArea::hasHeightForWidth(); + return QMainWindow::hasHeightForWidth(); } -int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const +int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -566,7 +938,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -574,9 +946,9 @@ if (_wrapper) { } } } - return QMdiArea::heightForWidth(arg__1); + return QMainWindow::heightForWidth(arg__1); } -void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) +void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -588,7 +960,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -596,9 +968,9 @@ if (_wrapper) { } } } - QMdiArea::hideEvent(event0); + QMainWindow::hideEvent(event0); } -void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const +void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -610,7 +982,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -618,9 +990,9 @@ if (_wrapper) { } } } - QMdiArea::initPainter(painter0); + QMainWindow::initPainter(painter0); } -void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -632,7 +1004,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -640,9 +1012,9 @@ if (_wrapper) { } } } - QMdiArea::inputMethodEvent(arg__1); + QMainWindow::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -665,7 +1037,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -673,9 +1045,9 @@ if (_wrapper) { } } } - return QMdiArea::inputMethodQuery(arg__1); + return QMainWindow::inputMethodQuery(arg__1); } -void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -685,9 +1057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -695,9 +1067,9 @@ if (_wrapper) { } } } - QMdiArea::keyPressEvent(arg__1); + QMainWindow::keyPressEvent(event0); } -void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -709,7 +1081,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -717,9 +1089,9 @@ if (_wrapper) { } } } - QMdiArea::keyReleaseEvent(event0); + QMainWindow::keyReleaseEvent(event0); } -void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) +void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -731,7 +1103,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -739,9 +1111,9 @@ if (_wrapper) { } } } - QMdiArea::leaveEvent(event0); + QMainWindow::leaveEvent(event0); } -int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -764,7 +1136,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -772,14 +1144,14 @@ if (_wrapper) { } } } - return QMdiArea::metric(arg__1); + return QMainWindow::metric(arg__1); } -QSize PythonQtShell_QMdiArea::minimumSizeHint() const +QSize PythonQtShell_QMainWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -791,13 +1163,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -805,9 +1177,9 @@ if (_wrapper) { } } } - return QMdiArea::minimumSizeHint(); + return QMainWindow::minimumSizeHint(); } -void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -817,9 +1189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -827,9 +1199,9 @@ if (_wrapper) { } } } - QMdiArea::mouseDoubleClickEvent(arg__1); + QMainWindow::mouseDoubleClickEvent(event0); } -void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -839,9 +1211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -849,9 +1221,9 @@ if (_wrapper) { } } } - QMdiArea::mouseMoveEvent(arg__1); + QMainWindow::mouseMoveEvent(event0); } -void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -861,9 +1233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -871,9 +1243,9 @@ if (_wrapper) { } } } - QMdiArea::mousePressEvent(arg__1); + QMainWindow::mousePressEvent(event0); } -void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -883,9 +1255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -893,9 +1265,9 @@ if (_wrapper) { } } } - QMdiArea::mouseReleaseEvent(arg__1); + QMainWindow::mouseReleaseEvent(event0); } -void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -907,7 +1279,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -915,9 +1287,9 @@ if (_wrapper) { } } } - QMdiArea::moveEvent(event0); + QMainWindow::moveEvent(event0); } -bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -940,7 +1312,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -948,9 +1320,9 @@ if (_wrapper) { } } } - return QMdiArea::nativeEvent(eventType0, message1, result2); + return QMainWindow::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const +QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -973,7 +1345,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -981,9 +1353,9 @@ if (_wrapper) { } } } - return QMdiArea::paintEngine(); + return QMainWindow::paintEngine(); } -void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) +void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -993,9 +1365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&paintEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1003,9 +1375,9 @@ if (_wrapper) { } } } - QMdiArea::paintEvent(paintEvent0); + QMainWindow::paintEvent(event0); } -QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1028,7 +1400,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1036,9 +1408,9 @@ if (_wrapper) { } } } - return QMdiArea::redirected(offset0); + return QMainWindow::redirected(offset0); } -void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) +void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1048,31 +1420,9 @@ if (_wrapper) { 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}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1080,9 +1430,9 @@ if (_wrapper) { } } } - QMdiArea::scrollContentsBy(dx0, dy1); + QMainWindow::resizeEvent(event0); } -void PythonQtShell_QMdiArea::setVisible(bool visible0) +void PythonQtShell_QMainWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1094,29 +1444,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1124,9 +1452,9 @@ if (_wrapper) { } } } - QMdiArea::setupViewport(viewport0); + QMainWindow::setVisible(visible0); } -QPainter* PythonQtShell_QMdiArea::sharedPainter() const +QPainter* PythonQtShell_QMainWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1149,7 +1477,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1157,9 +1485,9 @@ if (_wrapper) { } } } - return QMdiArea::sharedPainter(); + return QMainWindow::sharedPainter(); } -void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1169,9 +1497,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1179,14 +1507,14 @@ if (_wrapper) { } } } - QMdiArea::showEvent(showEvent0); + QMainWindow::showEvent(event0); } -QSize PythonQtShell_QMdiArea::sizeHint() const +QSize PythonQtShell_QMainWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -1198,13 +1526,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1212,9 +1540,9 @@ if (_wrapper) { } } } - return QMdiArea::sizeHint(); + return QMainWindow::sizeHint(); } -void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1226,7 +1554,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1234,9 +1562,9 @@ if (_wrapper) { } } } - QMdiArea::tabletEvent(event0); + QMainWindow::tabletEvent(event0); } -void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) +void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1246,85 +1574,19 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiArea::viewportSizeHint(); + QMainWindow::timerEvent(event0); } -void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1334,9 +1596,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1344,324 +1606,488 @@ if (_wrapper) { } } } - QMdiArea::wheelEvent(arg__1); + QMainWindow::wheelEvent(event0); } -QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) +QMainWindow* PythonQtWrapper_QMainWindow::new_QMainWindow(QWidget* parent, Qt::WindowFlags flags) { -return new PythonQtShell_QMdiArea(parent); } +return new PythonQtShell_QMainWindow(parent, flags); } -const QMetaObject* PythonQtShell_QMdiArea::metaObject() const { +const QMetaObject* PythonQtShell_QMainWindow::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiArea::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMainWindow::staticMetaObject); } else { - return &QMdiArea::staticMetaObject; + return &QMainWindow::staticMetaObject; } } -int PythonQtShell_QMdiArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMdiArea::qt_metacall(call, id, args); +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; } -QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget) { - return ( theWrappedObject->activationOrder()); + ( theWrappedObject->addDockWidget(area, dockwidget)); } -QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation) { - return ( theWrappedObject->activeSubWindow()); + ( theWrappedObject->addDockWidget(area, dockwidget, orientation)); } -QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) { - return ( theWrappedObject->addSubWindow(widget, flags)); + ( theWrappedObject->addToolBar(toolbar)); } -QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar) { - return ( theWrappedObject->background()); + ( theWrappedObject->addToolBar(area, toolbar)); } -QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const +QToolBar* PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, const QString& title) { - return ( theWrappedObject->currentSubWindow()); + return ( theWrappedObject->addToolBar(title)); } -bool PythonQtWrapper_QMdiArea::documentMode(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area) { - return ( theWrappedObject->documentMode()); + ( theWrappedObject->addToolBarBreak(area)); } -void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) +QWidget* PythonQtWrapper_QMainWindow::centralWidget(QMainWindow* theWrappedObject) const { - ( theWrappedObject->removeSubWindow(widget)); + return ( theWrappedObject->centralWidget()); } -void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const { - ( theWrappedObject->setActivationOrder(order)); + return ( theWrappedObject->corner(corner)); } -void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) +QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) { - ( theWrappedObject->setBackground(background)); + return ( theWrappedObject->createPopupMenu()); } -void PythonQtWrapper_QMdiArea::setDocumentMode(QMdiArea* theWrappedObject, bool enabled) +QMainWindow::DockOptions PythonQtWrapper_QMainWindow::dockOptions(QMainWindow* theWrappedObject) const { - ( theWrappedObject->setDocumentMode(enabled)); + return ( theWrappedObject->dockOptions()); } -void PythonQtWrapper_QMdiArea::setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on) +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const { - ( theWrappedObject->setOption(option, on)); + return ( theWrappedObject->dockWidgetArea(dockwidget)); } -void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) +bool PythonQtWrapper_QMainWindow::documentMode(QMainWindow* theWrappedObject) const { - ( theWrappedObject->setTabPosition(position)); + return ( theWrappedObject->documentMode()); } -void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) +QSize PythonQtWrapper_QMainWindow::iconSize(QMainWindow* theWrappedObject) const { - ( theWrappedObject->setTabShape(shape)); + return ( theWrappedObject->iconSize()); } -void PythonQtWrapper_QMdiArea::setTabsClosable(QMdiArea* theWrappedObject, bool closable) +void PythonQtWrapper_QMainWindow::insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar) { - ( theWrappedObject->setTabsClosable(closable)); + ( theWrappedObject->insertToolBar(before, toolbar)); } -void PythonQtWrapper_QMdiArea::setTabsMovable(QMdiArea* theWrappedObject, bool movable) +void PythonQtWrapper_QMainWindow::insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) { - ( theWrappedObject->setTabsMovable(movable)); + ( theWrappedObject->insertToolBarBreak(before)); } -void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) +bool PythonQtWrapper_QMainWindow::isAnimated(QMainWindow* theWrappedObject) const { - ( theWrappedObject->setViewMode(mode)); + return ( theWrappedObject->isAnimated()); } -QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const +bool PythonQtWrapper_QMainWindow::isDockNestingEnabled(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->subWindowList(order)); + return ( theWrappedObject->isDockNestingEnabled()); } -QTabWidget::TabPosition PythonQtWrapper_QMdiArea::tabPosition(QMdiArea* theWrappedObject) const +bool PythonQtWrapper_QMainWindow::isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->tabPosition()); + return ( theWrappedObject->isSeparator(pos)); } -QTabWidget::TabShape PythonQtWrapper_QMdiArea::tabShape(QMdiArea* theWrappedObject) const +QMenuBar* PythonQtWrapper_QMainWindow::menuBar(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->tabShape()); + return ( theWrappedObject->menuBar()); } -bool PythonQtWrapper_QMdiArea::tabsClosable(QMdiArea* theWrappedObject) const +QWidget* PythonQtWrapper_QMainWindow::menuWidget(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->tabsClosable()); + return ( theWrappedObject->menuWidget()); } -bool PythonQtWrapper_QMdiArea::tabsMovable(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMainWindow::removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) { - return ( theWrappedObject->tabsMovable()); + ( theWrappedObject->removeDockWidget(dockwidget)); } -bool PythonQtWrapper_QMdiArea::testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const +void PythonQtWrapper_QMainWindow::removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) { - return ( theWrappedObject->testOption(opton)); + ( theWrappedObject->removeToolBar(toolbar)); } -QMdiArea::ViewMode PythonQtWrapper_QMdiArea::viewMode(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMainWindow::removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) { - return ( theWrappedObject->viewMode()); + ( 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)); +} -PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QMainWindow::restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version) +{ + return ( theWrappedObject->restoreState(state, version)); } -void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) + +QByteArray PythonQtWrapper_QMainWindow::saveState(QMainWindow* theWrappedObject, int version) const { -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(); - } - } + return ( theWrappedObject->saveState(version)); } - QMdiSubWindow::actionEvent(event0); + +void PythonQtWrapper_QMainWindow::setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setCentralWidget(widget)); } -void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) + +void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) { -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(); - } - } + ( theWrappedObject->setCorner(corner, area)); } - QMdiSubWindow::changeEvent(changeEvent0); + +void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) +{ + ( theWrappedObject->setDockOptions(options)); } -void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) + +void PythonQtWrapper_QMainWindow::setDocumentMode(QMainWindow* theWrappedObject, bool enabled) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&childEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDocumentMode(enabled)); } - QMdiSubWindow::childEvent(childEvent0); + +void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) +{ + ( theWrappedObject->setIconSize(iconSize)); } -void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) + +void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) { -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(); - } - } + ( theWrappedObject->setMenuBar(menubar)); } - QMdiSubWindow::closeEvent(closeEvent0); + +void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) +{ + ( theWrappedObject->setMenuWidget(menubar)); } -void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) + +void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) { -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(); - } - } + ( theWrappedObject->setStatusBar(statusbar)); } - QMdiSubWindow::contextMenuEvent(contextMenuEvent0); + +void PythonQtWrapper_QMainWindow::setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) +{ + ( theWrappedObject->setTabPosition(areas, tabPosition)); } -void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) + +void PythonQtWrapper_QMainWindow::setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTabShape(tabShape)); } - QMdiSubWindow::customEvent(event0); + +void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) +{ + ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); } -int PythonQtShell_QMdiSubWindow::devType() const + +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("devType"); + static PyObject* name = PyString_FromString("actionEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::devType(); + QMdiArea::actionEvent(event0); } -void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1669,21 +2095,21 @@ if (_wrapper) { } } } - QMdiSubWindow::dragEnterEvent(event0); + QMdiArea::changeEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&childEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1691,21 +2117,21 @@ if (_wrapper) { } } } - QMdiSubWindow::dragLeaveEvent(event0); + QMdiArea::childEvent(childEvent0); } -void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1713,21 +2139,21 @@ if (_wrapper) { } } } - QMdiSubWindow::dragMoveEvent(event0); + QMdiArea::closeEvent(event0); } -void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) +void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1735,21 +2161,21 @@ if (_wrapper) { } } } - QMdiSubWindow::dropEvent(event0); + QMdiArea::contextMenuEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) +void PythonQtShell_QMdiArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1757,32 +2183,32 @@ if (_wrapper) { } } } - QMdiSubWindow::enterEvent(event0); + QMdiArea::customEvent(event0); } -bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) +int PythonQtShell_QMdiArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1790,24 +2216,167 @@ if (_wrapper) { } } } - return QMdiSubWindow::event(event0); + return QMdiArea::devType(); } -bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { + 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 { @@ -1815,7 +2384,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1823,9 +2392,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::eventFilter(object0, event1); + return QMdiArea::eventFilter(object0, event1); } -void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) +void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1835,9 +2404,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&focusInEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1845,9 +2414,9 @@ if (_wrapper) { } } } - QMdiSubWindow::focusInEvent(focusInEvent0); + QMdiArea::focusInEvent(event0); } -bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) +bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1870,7 +2439,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1878,9 +2447,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::focusNextPrevChild(next0); + return QMdiArea::focusNextPrevChild(next0); } -void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) +void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1890,9 +2459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&focusOutEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1900,9 +2469,9 @@ if (_wrapper) { } } } - QMdiSubWindow::focusOutEvent(focusOutEvent0); + QMdiArea::focusOutEvent(event0); } -bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const +bool PythonQtShell_QMdiArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1925,7 +2494,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1933,9 +2502,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::hasHeightForWidth(); + return QMdiArea::hasHeightForWidth(); } -int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const +int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1958,7 +2527,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1966,9 +2535,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::heightForWidth(arg__1); + return QMdiArea::heightForWidth(arg__1); } -void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) +void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1978,9 +2547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&hideEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1988,9 +2557,9 @@ if (_wrapper) { } } } - QMdiSubWindow::hideEvent(hideEvent0); + QMdiArea::hideEvent(event0); } -void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const +void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2002,7 +2571,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2010,9 +2579,9 @@ if (_wrapper) { } } } - QMdiSubWindow::initPainter(painter0); + QMdiArea::initPainter(painter0); } -void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2024,7 +2593,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2032,9 +2601,9 @@ if (_wrapper) { } } } - QMdiSubWindow::inputMethodEvent(arg__1); + QMdiArea::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2057,7 +2626,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2065,9 +2634,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::inputMethodQuery(arg__1); + return QMdiArea::inputMethodQuery(arg__1); } -void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) +void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2077,9 +2646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&keyEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2087,9 +2656,9 @@ if (_wrapper) { } } } - QMdiSubWindow::keyPressEvent(keyEvent0); + QMdiArea::keyPressEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2101,7 +2670,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2109,9 +2678,9 @@ if (_wrapper) { } } } - QMdiSubWindow::keyReleaseEvent(event0); + QMdiArea::keyReleaseEvent(event0); } -void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) +void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2121,9 +2690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&leaveEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2131,9 +2700,9 @@ if (_wrapper) { } } } - QMdiSubWindow::leaveEvent(leaveEvent0); + QMdiArea::leaveEvent(event0); } -int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2156,7 +2725,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2164,9 +2733,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::metric(arg__1); + return QMdiArea::metric(arg__1); } -QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const +QSize PythonQtShell_QMdiArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2189,7 +2758,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2197,9 +2766,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::minimumSizeHint(); + return QMdiArea::minimumSizeHint(); } -void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2209,9 +2778,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2219,9 +2788,9 @@ if (_wrapper) { } } } - QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); + QMdiArea::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2231,9 +2800,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2241,9 +2810,9 @@ if (_wrapper) { } } } - QMdiSubWindow::mouseMoveEvent(mouseEvent0); + QMdiArea::mouseMoveEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2253,9 +2822,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2263,9 +2832,9 @@ if (_wrapper) { } } } - QMdiSubWindow::mousePressEvent(mouseEvent0); + QMdiArea::mousePressEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2275,9 +2844,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2285,9 +2854,9 @@ if (_wrapper) { } } } - QMdiSubWindow::mouseReleaseEvent(mouseEvent0); + QMdiArea::mouseReleaseEvent(arg__1); } -void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) +void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2297,9 +2866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&moveEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2307,9 +2876,9 @@ if (_wrapper) { } } } - QMdiSubWindow::moveEvent(moveEvent0); + QMdiArea::moveEvent(event0); } -bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2332,7 +2901,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2340,9 +2909,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::nativeEvent(eventType0, message1, result2); + return QMdiArea::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const +QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2365,7 +2934,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2373,9 +2942,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::paintEngine(); + return QMdiArea::paintEngine(); } -void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) +void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2387,7 +2956,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2395,9 +2964,9 @@ if (_wrapper) { } } } - QMdiSubWindow::paintEvent(paintEvent0); + QMdiArea::paintEvent(paintEvent0); } -QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2420,7 +2989,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2428,9 +2997,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::redirected(offset0); + return QMdiArea::redirected(offset0); } -void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) +void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2442,7 +3011,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2450,9 +3019,31 @@ if (_wrapper) { } } } - QMdiSubWindow::resizeEvent(resizeEvent0); + QMdiArea::resizeEvent(resizeEvent0); } -void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) +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 @@ -2464,7 +3055,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2472,9 +3063,31 @@ if (_wrapper) { } } } - QMdiSubWindow::setVisible(visible0); + QMdiArea::setVisible(visible0); } -QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const +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 @@ -2497,7 +3110,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2505,9 +3118,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::sharedPainter(); + return QMdiArea::sharedPainter(); } -void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2519,7 +3132,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2527,9 +3140,9 @@ if (_wrapper) { } } } - QMdiSubWindow::showEvent(showEvent0); + QMdiArea::showEvent(showEvent0); } -QSize PythonQtShell_QMdiSubWindow::sizeHint() const +QSize PythonQtShell_QMdiArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2552,7 +3165,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2560,9 +3173,9 @@ if (_wrapper) { } } } - return QMdiSubWindow::sizeHint(); + return QMdiArea::sizeHint(); } -void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2574,7 +3187,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2582,9 +3195,9 @@ if (_wrapper) { } } } - QMdiSubWindow::tabletEvent(event0); + QMdiArea::tabletEvent(event0); } -void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) +void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2596,7 +3209,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2604,9 +3217,75 @@ if (_wrapper) { } } } - QMdiSubWindow::timerEvent(timerEvent0); + QMdiArea::timerEvent(timerEvent0); } -void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) +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 @@ -2616,9 +3295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2626,112 +3305,147 @@ if (_wrapper) { } } } - QMdiSubWindow::wheelEvent(event0); + QMdiArea::wheelEvent(arg__1); } -QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) +QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) { -return new PythonQtShell_QMdiSubWindow(parent, flags); } +return new PythonQtShell_QMdiArea(parent); } -const QMetaObject* PythonQtShell_QMdiSubWindow::metaObject() const { +const QMetaObject* PythonQtShell_QMdiArea::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiSubWindow::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiArea::staticMetaObject); } else { - return &QMdiSubWindow::staticMetaObject; + return &QMdiArea::staticMetaObject; } } -int PythonQtShell_QMdiSubWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMdiSubWindow::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const +QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const { - return ( theWrappedObject->isShaded()); + return ( theWrappedObject->activationOrder()); } -int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const +QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const { - return ( theWrappedObject->keyboardPageStep()); + return ( theWrappedObject->activeSubWindow()); } -int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const +QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) { - return ( theWrappedObject->keyboardSingleStep()); + return ( theWrappedObject->addSubWindow(widget, flags)); } -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const +QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const { - return ( theWrappedObject->maximizedButtonsWidget()); + return ( theWrappedObject->background()); } -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const +QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const { - return ( theWrappedObject->maximizedSystemMenuIconWidget()); + return ( theWrappedObject->currentSubWindow()); } -QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const +bool PythonQtWrapper_QMdiArea::documentMode(QMdiArea* theWrappedObject) const { - return ( theWrappedObject->mdiArea()); + return ( theWrappedObject->documentMode()); } -QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const +void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->minimumSizeHint()); + ( theWrappedObject->removeSubWindow(widget)); } -void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) +void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) { - ( theWrappedObject->setKeyboardPageStep(step)); + ( theWrappedObject->setActivationOrder(order)); } -void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) +void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) { - ( theWrappedObject->setKeyboardSingleStep(step)); + ( theWrappedObject->setBackground(background)); } -void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) +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_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) +void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) { - ( theWrappedObject->setSystemMenu(systemMenu)); + ( theWrappedObject->setTabPosition(position)); } -void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) +void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) { - ( theWrappedObject->setWidget(widget)); + ( theWrappedObject->setTabShape(shape)); } -QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const +void PythonQtWrapper_QMdiArea::setTabsClosable(QMdiArea* theWrappedObject, bool closable) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->setTabsClosable(closable)); } -QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const +void PythonQtWrapper_QMdiArea::setTabsMovable(QMdiArea* theWrappedObject, bool movable) { - return ( theWrappedObject->systemMenu()); + ( theWrappedObject->setTabsMovable(movable)); } -bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const +void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) { - return ( theWrappedObject->testOption(arg__1)); + ( theWrappedObject->setViewMode(mode)); } -QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const +QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const { - return ( theWrappedObject->widget()); + 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()); +} -PythonQtShell_QMenu::~PythonQtShell_QMenu() { +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_QMenu::actionEvent(QActionEvent* arg__1) +void PythonQtShell_QMdiSubWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2741,9 +3455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2751,9 +3465,9 @@ if (_wrapper) { } } } - QMenu::actionEvent(arg__1); + QMdiSubWindow::actionEvent(event0); } -void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) +void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2763,9 +3477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&changeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2773,9 +3487,9 @@ if (_wrapper) { } } } - QMenu::changeEvent(arg__1); + QMdiSubWindow::changeEvent(changeEvent0); } -void PythonQtShell_QMenu::childEvent(QChildEvent* event0) +void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2785,9 +3499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&childEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2795,9 +3509,9 @@ if (_wrapper) { } } } - QMenu::childEvent(event0); + QMdiSubWindow::childEvent(childEvent0); } -void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) +void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2807,9 +3521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&closeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2817,9 +3531,9 @@ if (_wrapper) { } } } - QMenu::closeEvent(event0); + QMdiSubWindow::closeEvent(closeEvent0); } -void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2829,9 +3543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&contextMenuEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2839,9 +3553,9 @@ if (_wrapper) { } } } - QMenu::contextMenuEvent(event0); + QMdiSubWindow::contextMenuEvent(contextMenuEvent0); } -void PythonQtShell_QMenu::customEvent(QEvent* event0) +void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2853,7 +3567,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2861,9 +3575,9 @@ if (_wrapper) { } } } - QMenu::customEvent(event0); + QMdiSubWindow::customEvent(event0); } -int PythonQtShell_QMenu::devType() const +int PythonQtShell_QMdiSubWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2886,7 +3600,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2894,9 +3608,9 @@ if (_wrapper) { } } } - return QMenu::devType(); + return QMdiSubWindow::devType(); } -void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2908,7 +3622,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2916,9 +3630,9 @@ if (_wrapper) { } } } - QMenu::dragEnterEvent(event0); + QMdiSubWindow::dragEnterEvent(event0); } -void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2930,7 +3644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2938,9 +3652,9 @@ if (_wrapper) { } } } - QMenu::dragLeaveEvent(event0); + QMdiSubWindow::dragLeaveEvent(event0); } -void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2952,7 +3666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2960,9 +3674,9 @@ if (_wrapper) { } } } - QMenu::dragMoveEvent(event0); + QMdiSubWindow::dragMoveEvent(event0); } -void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) +void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2974,7 +3688,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2982,9 +3696,9 @@ if (_wrapper) { } } } - QMenu::dropEvent(event0); + QMdiSubWindow::dropEvent(event0); } -void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) +void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2994,9 +3708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3004,9 +3718,9 @@ if (_wrapper) { } } } - QMenu::enterEvent(arg__1); + QMdiSubWindow::enterEvent(event0); } -bool PythonQtShell_QMenu::event(QEvent* arg__1) +bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3017,7 +3731,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -3029,7 +3743,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3037,9 +3751,9 @@ if (_wrapper) { } } } - return QMenu::event(arg__1); + return QMdiSubWindow::event(event0); } -bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3050,7 +3764,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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); @@ -3062,7 +3776,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3070,9 +3784,9 @@ if (_wrapper) { } } } - return QMenu::eventFilter(watched0, event1); + return QMdiSubWindow::eventFilter(object0, event1); } -void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3082,9 +3796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&focusInEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3092,9 +3806,9 @@ if (_wrapper) { } } } - QMenu::focusInEvent(event0); + QMdiSubWindow::focusInEvent(focusInEvent0); } -bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) +bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3117,7 +3831,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3125,9 +3839,9 @@ if (_wrapper) { } } } - return QMenu::focusNextPrevChild(next0); + return QMdiSubWindow::focusNextPrevChild(next0); } -void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3137,9 +3851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&focusOutEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3147,9 +3861,9 @@ if (_wrapper) { } } } - QMenu::focusOutEvent(event0); + QMdiSubWindow::focusOutEvent(focusOutEvent0); } -bool PythonQtShell_QMenu::hasHeightForWidth() const +bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3172,7 +3886,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3180,9 +3894,9 @@ if (_wrapper) { } } } - return QMenu::hasHeightForWidth(); + return QMdiSubWindow::hasHeightForWidth(); } -int PythonQtShell_QMenu::heightForWidth(int arg__1) const +int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3205,7 +3919,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3213,9 +3927,9 @@ if (_wrapper) { } } } - return QMenu::heightForWidth(arg__1); + return QMdiSubWindow::heightForWidth(arg__1); } -void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3225,9 +3939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3235,9 +3949,9 @@ if (_wrapper) { } } } - QMenu::hideEvent(arg__1); + QMdiSubWindow::hideEvent(hideEvent0); } -void PythonQtShell_QMenu::initPainter(QPainter* painter0) const +void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3249,7 +3963,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3257,9 +3971,9 @@ if (_wrapper) { } } } - QMenu::initPainter(painter0); + QMdiSubWindow::initPainter(painter0); } -void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3271,7 +3985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3279,9 +3993,9 @@ if (_wrapper) { } } } - QMenu::inputMethodEvent(arg__1); + QMdiSubWindow::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3304,7 +4018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3312,9 +4026,9 @@ if (_wrapper) { } } } - return QMenu::inputMethodQuery(arg__1); + return QMdiSubWindow::inputMethodQuery(arg__1); } -void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3324,9 +4038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&keyEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3334,9 +4048,9 @@ if (_wrapper) { } } } - QMenu::keyPressEvent(arg__1); + QMdiSubWindow::keyPressEvent(keyEvent0); } -void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3348,7 +4062,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3356,9 +4070,9 @@ if (_wrapper) { } } } - QMenu::keyReleaseEvent(event0); + QMdiSubWindow::keyReleaseEvent(event0); } -void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) +void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3368,9 +4082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&leaveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3378,9 +4092,9 @@ if (_wrapper) { } } } - QMenu::leaveEvent(arg__1); + QMdiSubWindow::leaveEvent(leaveEvent0); } -int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3403,7 +4117,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3411,14 +4125,14 @@ if (_wrapper) { } } } - return QMenu::metric(arg__1); + return QMdiSubWindow::metric(arg__1); } -QSize PythonQtShell_QMenu::minimumSizeHint() const +QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -3430,13 +4144,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3444,9 +4158,9 @@ if (_wrapper) { } } } - return QMenu::minimumSizeHint(); + return QMdiSubWindow::minimumSizeHint(); } -void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3456,9 +4170,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3466,9 +4180,9 @@ if (_wrapper) { } } } - QMenu::mouseDoubleClickEvent(event0); + QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); } -void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3478,9 +4192,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3488,9 +4202,9 @@ if (_wrapper) { } } } - QMenu::mouseMoveEvent(arg__1); + QMdiSubWindow::mouseMoveEvent(mouseEvent0); } -void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3500,9 +4214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3510,9 +4224,9 @@ if (_wrapper) { } } } - QMenu::mousePressEvent(arg__1); + QMdiSubWindow::mousePressEvent(mouseEvent0); } -void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3522,9 +4236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3532,9 +4246,9 @@ if (_wrapper) { } } } - QMenu::mouseReleaseEvent(arg__1); + QMdiSubWindow::mouseReleaseEvent(mouseEvent0); } -void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3544,9 +4258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&moveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3554,9 +4268,9 @@ if (_wrapper) { } } } - QMenu::moveEvent(event0); + QMdiSubWindow::moveEvent(moveEvent0); } -bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3579,7 +4293,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3587,9 +4301,9 @@ if (_wrapper) { } } } - return QMenu::nativeEvent(eventType0, message1, result2); + return QMdiSubWindow::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMenu::paintEngine() const +QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3612,7 +4326,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3620,9 +4334,9 @@ if (_wrapper) { } } } - return QMenu::paintEngine(); + return QMdiSubWindow::paintEngine(); } -void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3632,9 +4346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&paintEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3642,9 +4356,9 @@ if (_wrapper) { } } } - QMenu::paintEvent(arg__1); + QMdiSubWindow::paintEvent(paintEvent0); } -QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3667,7 +4381,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3675,9 +4389,9 @@ if (_wrapper) { } } } - return QMenu::redirected(offset0); + return QMdiSubWindow::redirected(offset0); } -void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3687,9 +4401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&resizeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3697,9 +4411,9 @@ if (_wrapper) { } } } - QMenu::resizeEvent(event0); + QMdiSubWindow::resizeEvent(resizeEvent0); } -void PythonQtShell_QMenu::setVisible(bool visible0) +void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3711,7 +4425,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3719,9 +4433,9 @@ if (_wrapper) { } } } - QMenu::setVisible(visible0); + QMdiSubWindow::setVisible(visible0); } -QPainter* PythonQtShell_QMenu::sharedPainter() const +QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3744,7 +4458,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3752,9 +4466,9 @@ if (_wrapper) { } } } - return QMenu::sharedPainter(); + return QMdiSubWindow::sharedPainter(); } -void PythonQtShell_QMenu::showEvent(QShowEvent* event0) +void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3764,9 +4478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3774,9 +4488,9 @@ if (_wrapper) { } } } - QMenu::showEvent(event0); + QMdiSubWindow::showEvent(showEvent0); } -QSize PythonQtShell_QMenu::sizeHint() const +QSize PythonQtShell_QMdiSubWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3799,7 +4513,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3807,9 +4521,9 @@ if (_wrapper) { } } } - return QMenu::sizeHint(); + return QMdiSubWindow::sizeHint(); } -void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3821,7 +4535,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3829,9 +4543,9 @@ if (_wrapper) { } } } - QMenu::tabletEvent(event0); + QMdiSubWindow::tabletEvent(event0); } -void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3841,9 +4555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&timerEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3851,9 +4565,9 @@ if (_wrapper) { } } } - QMenu::timerEvent(arg__1); + QMdiSubWindow::timerEvent(timerEvent0); } -void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3863,9 +4577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3873,256 +4587,112 @@ if (_wrapper) { } } } - QMenu::wheelEvent(arg__1); + QMdiSubWindow::wheelEvent(event0); } -QMenu* PythonQtWrapper_QMenu::new_QMenu(QWidget* parent) -{ -return new PythonQtShell_QMenu(parent); } - -QMenu* PythonQtWrapper_QMenu::new_QMenu(const QString& title, QWidget* parent) +QMdiSubWindow* PythonQtWrapper_QMdiSubWindow::new_QMdiSubWindow(QWidget* parent, Qt::WindowFlags flags) { -return new PythonQtShell_QMenu(title, parent); } +return new PythonQtShell_QMdiSubWindow(parent, flags); } -const QMetaObject* PythonQtShell_QMenu::metaObject() const { +const QMetaObject* PythonQtShell_QMdiSubWindow::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenu::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMdiSubWindow::staticMetaObject); } else { - return &QMenu::staticMetaObject; + return &QMdiSubWindow::staticMetaObject; } } -int PythonQtShell_QMenu::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMenu::qt_metacall(call, id, args); +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; } -QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const +bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const { - return ( theWrappedObject->actionAt(arg__1)); + return ( theWrappedObject->isShaded()); } -QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const +int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const { - return ( theWrappedObject->actionGeometry(arg__1)); + return ( theWrappedObject->keyboardPageStep()); } -QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const +int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const { - return ( theWrappedObject->activeAction()); + return ( theWrappedObject->keyboardSingleStep()); } -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 +QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const { - return ( theWrappedObject->separatorsCollapsible()); + return ( theWrappedObject->maximizedButtonsWidget()); } -void PythonQtWrapper_QMenu::setActiveAction(QMenu* theWrappedObject, QAction* act) +QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const { - ( theWrappedObject->setActiveAction(act)); + return ( theWrappedObject->maximizedSystemMenuIconWidget()); } -void PythonQtWrapper_QMenu::setDefaultAction(QMenu* theWrappedObject, QAction* arg__1) +QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const { - ( theWrappedObject->setDefaultAction(arg__1)); + return ( theWrappedObject->mdiArea()); } -void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) +QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->minimumSizeHint()); } -void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) +void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) { - ( theWrappedObject->setSeparatorsCollapsible(collapse)); + ( theWrappedObject->setKeyboardPageStep(step)); } -void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) +void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) { - ( theWrappedObject->setTearOffEnabled(arg__1)); + ( theWrappedObject->setKeyboardSingleStep(step)); } -void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) +void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) { - ( theWrappedObject->setTitle(title)); + ( theWrappedObject->setOption(option, on)); } -void PythonQtWrapper_QMenu::setToolTipsVisible(QMenu* theWrappedObject, bool visible) +void PythonQtWrapper_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) { - ( theWrappedObject->setToolTipsVisible(visible)); + ( theWrappedObject->setSystemMenu(systemMenu)); } -void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject) +void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) { - ( theWrappedObject->showTearOffMenu()); + ( theWrappedObject->setWidget(widget)); } -void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos) +QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const { - ( theWrappedObject->showTearOffMenu(pos)); + return ( theWrappedObject->sizeHint()); } -QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const +QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->systemMenu()); } -QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const +bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const { - return ( theWrappedObject->title()); + return ( theWrappedObject->testOption(arg__1)); } -bool PythonQtWrapper_QMenu::toolTipsVisible(QMenu* theWrappedObject) const +QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const { - return ( theWrappedObject->toolTipsVisible()); + return ( theWrappedObject->widget()); } -PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { +PythonQtShell_QMenu::~PythonQtShell_QMenu() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) +void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4134,7 +4704,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4142,9 +4712,9 @@ if (_wrapper) { } } } - QMenuBar::actionEvent(arg__1); + QMenu::actionEvent(arg__1); } -void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) +void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4156,7 +4726,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4164,9 +4734,9 @@ if (_wrapper) { } } } - QMenuBar::changeEvent(arg__1); + QMenu::changeEvent(arg__1); } -void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) +void PythonQtShell_QMenu::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4178,7 +4748,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4186,9 +4756,9 @@ if (_wrapper) { } } } - QMenuBar::childEvent(event0); + QMenu::childEvent(event0); } -void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4200,7 +4770,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4208,9 +4778,9 @@ if (_wrapper) { } } } - QMenuBar::closeEvent(event0); + QMenu::closeEvent(event0); } -void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4222,7 +4792,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4230,9 +4800,9 @@ if (_wrapper) { } } } - QMenuBar::contextMenuEvent(event0); + QMenu::contextMenuEvent(event0); } -void PythonQtShell_QMenuBar::customEvent(QEvent* event0) +void PythonQtShell_QMenu::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4244,7 +4814,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4252,9 +4822,9 @@ if (_wrapper) { } } } - QMenuBar::customEvent(event0); + QMenu::customEvent(event0); } -int PythonQtShell_QMenuBar::devType() const +int PythonQtShell_QMenu::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4277,7 +4847,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4285,9 +4855,9 @@ if (_wrapper) { } } } - return QMenuBar::devType(); + return QMenu::devType(); } -void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4299,7 +4869,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4307,9 +4877,9 @@ if (_wrapper) { } } } - QMenuBar::dragEnterEvent(event0); + QMenu::dragEnterEvent(event0); } -void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4321,7 +4891,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4329,9 +4899,9 @@ if (_wrapper) { } } } - QMenuBar::dragLeaveEvent(event0); + QMenu::dragLeaveEvent(event0); } -void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4343,7 +4913,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4351,9 +4921,9 @@ if (_wrapper) { } } } - QMenuBar::dragMoveEvent(event0); + QMenu::dragMoveEvent(event0); } -void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4365,7 +4935,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4373,9 +4943,9 @@ if (_wrapper) { } } } - QMenuBar::dropEvent(event0); + QMenu::dropEvent(event0); } -void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) +void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4385,9 +4955,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4395,9 +4965,9 @@ if (_wrapper) { } } } - QMenuBar::enterEvent(event0); + QMenu::enterEvent(arg__1); } -bool PythonQtShell_QMenuBar::event(QEvent* arg__1) +bool PythonQtShell_QMenu::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4420,7 +4990,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4428,9 +4998,9 @@ if (_wrapper) { } } } - return QMenuBar::event(arg__1); + return QMenu::event(arg__1); } -bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4441,7 +5011,7 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -4453,7 +5023,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4461,9 +5031,9 @@ if (_wrapper) { } } } - return QMenuBar::eventFilter(arg__1, arg__2); + return QMenu::eventFilter(watched0, event1); } -void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4473,9 +5043,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4483,9 +5053,9 @@ if (_wrapper) { } } } - QMenuBar::focusInEvent(arg__1); + QMenu::focusInEvent(event0); } -bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) +bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4508,7 +5078,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4516,9 +5086,9 @@ if (_wrapper) { } } } - return QMenuBar::focusNextPrevChild(next0); + return QMenu::focusNextPrevChild(next0); } -void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4528,9 +5098,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4538,9 +5108,9 @@ if (_wrapper) { } } } - QMenuBar::focusOutEvent(arg__1); + QMenu::focusOutEvent(event0); } -bool PythonQtShell_QMenuBar::hasHeightForWidth() const +bool PythonQtShell_QMenu::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4563,7 +5133,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4571,9 +5141,9 @@ if (_wrapper) { } } } - return QMenuBar::hasHeightForWidth(); + return QMenu::hasHeightForWidth(); } -int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const +int PythonQtShell_QMenu::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4596,7 +5166,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4604,9 +5174,9 @@ if (_wrapper) { } } } - return QMenuBar::heightForWidth(arg__1); + return QMenu::heightForWidth(arg__1); } -void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) +void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4616,9 +5186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4626,9 +5196,9 @@ if (_wrapper) { } } } - QMenuBar::hideEvent(event0); + QMenu::hideEvent(arg__1); } -void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const +void PythonQtShell_QMenu::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4640,7 +5210,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4648,9 +5218,9 @@ if (_wrapper) { } } } - QMenuBar::initPainter(painter0); + QMenu::initPainter(painter0); } -void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4662,7 +5232,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4670,9 +5240,9 @@ if (_wrapper) { } } } - QMenuBar::inputMethodEvent(arg__1); + QMenu::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4695,7 +5265,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4703,9 +5273,9 @@ if (_wrapper) { } } } - return QMenuBar::inputMethodQuery(arg__1); + return QMenu::inputMethodQuery(arg__1); } -void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4717,7 +5287,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4725,9 +5295,9 @@ if (_wrapper) { } } } - QMenuBar::keyPressEvent(arg__1); + QMenu::keyPressEvent(arg__1); } -void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4739,7 +5309,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4747,9 +5317,9 @@ if (_wrapper) { } } } - QMenuBar::keyReleaseEvent(event0); + QMenu::keyReleaseEvent(event0); } -void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) +void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4761,7 +5331,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4769,9 +5339,9 @@ if (_wrapper) { } } } - QMenuBar::leaveEvent(arg__1); + QMenu::leaveEvent(arg__1); } -int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMenu::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4794,7 +5364,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4802,14 +5372,14 @@ if (_wrapper) { } } } - return QMenuBar::metric(arg__1); + return QMenu::metric(arg__1); } -QSize PythonQtShell_QMenuBar::minimumSizeHint() const +QSize PythonQtShell_QMenu::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -4821,13 +5391,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4835,9 +5405,9 @@ if (_wrapper) { } } } - return QMenuBar::minimumSizeHint(); + return QMenu::minimumSizeHint(); } -void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4849,7 +5419,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4857,9 +5427,9 @@ if (_wrapper) { } } } - QMenuBar::mouseDoubleClickEvent(event0); + QMenu::mouseDoubleClickEvent(event0); } -void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4871,7 +5441,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4879,9 +5449,9 @@ if (_wrapper) { } } } - QMenuBar::mouseMoveEvent(arg__1); + QMenu::mouseMoveEvent(arg__1); } -void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4893,7 +5463,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4901,9 +5471,9 @@ if (_wrapper) { } } } - QMenuBar::mousePressEvent(arg__1); + QMenu::mousePressEvent(arg__1); } -void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4915,7 +5485,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4923,9 +5493,9 @@ if (_wrapper) { } } } - QMenuBar::mouseReleaseEvent(arg__1); + QMenu::mouseReleaseEvent(arg__1); } -void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4937,7 +5507,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4945,9 +5515,9 @@ if (_wrapper) { } } } - QMenuBar::moveEvent(event0); + QMenu::moveEvent(event0); } -bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4970,7 +5540,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4978,9 +5548,9 @@ if (_wrapper) { } } } - return QMenuBar::nativeEvent(eventType0, message1, result2); + return QMenu::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const +QPaintEngine* PythonQtShell_QMenu::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5003,7 +5573,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5011,9 +5581,9 @@ if (_wrapper) { } } } - return QMenuBar::paintEngine(); + return QMenu::paintEngine(); } -void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5025,7 +5595,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5033,9 +5603,9 @@ if (_wrapper) { } } } - QMenuBar::paintEvent(arg__1); + QMenu::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5058,7 +5628,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5066,9 +5636,9 @@ if (_wrapper) { } } } - return QMenuBar::redirected(offset0); + return QMenu::redirected(offset0); } -void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5078,9 +5648,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5088,9 +5658,9 @@ if (_wrapper) { } } } - QMenuBar::resizeEvent(arg__1); + QMenu::resizeEvent(event0); } -void PythonQtShell_QMenuBar::setVisible(bool visible0) +void PythonQtShell_QMenu::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5102,7 +5672,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5110,9 +5680,9 @@ if (_wrapper) { } } } - QMenuBar::setVisible(visible0); + QMenu::setVisible(visible0); } -QPainter* PythonQtShell_QMenuBar::sharedPainter() const +QPainter* PythonQtShell_QMenu::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5135,7 +5705,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5143,9 +5713,9 @@ if (_wrapper) { } } } - return QMenuBar::sharedPainter(); + return QMenu::sharedPainter(); } -void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) +void PythonQtShell_QMenu::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5157,7 +5727,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5165,9 +5735,9 @@ if (_wrapper) { } } } - QMenuBar::showEvent(event0); + QMenu::showEvent(event0); } -QSize PythonQtShell_QMenuBar::sizeHint() const +QSize PythonQtShell_QMenu::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5190,7 +5760,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5198,9 +5768,9 @@ if (_wrapper) { } } } - return QMenuBar::sizeHint(); + return QMenu::sizeHint(); } -void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5212,7 +5782,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5220,9 +5790,9 @@ if (_wrapper) { } } } - QMenuBar::tabletEvent(event0); + QMenu::tabletEvent(event0); } -void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5234,7 +5804,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5242,9 +5812,9 @@ if (_wrapper) { } } } - QMenuBar::timerEvent(arg__1); + QMenu::timerEvent(arg__1); } -void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5254,9 +5824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5264,164 +5834,256 @@ if (_wrapper) { } } } - QMenuBar::wheelEvent(event0); + QMenu::wheelEvent(arg__1); } -QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +QMenu* PythonQtWrapper_QMenu::new_QMenu(QWidget* parent) { -return new PythonQtShell_QMenuBar(parent); } +return new PythonQtShell_QMenu(parent); } -const QMetaObject* PythonQtShell_QMenuBar::metaObject() const { +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, &QMenuBar::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenu::staticMetaObject); } else { - return &QMenuBar::staticMetaObject; + return &QMenu::staticMetaObject; } } -int PythonQtShell_QMenuBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMenuBar::qt_metacall(call, id, args); +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_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const +QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const { return ( theWrappedObject->actionAt(arg__1)); } -QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const +QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const { return ( theWrappedObject->actionGeometry(arg__1)); } -QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const +QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const { return ( theWrappedObject->activeAction()); } -QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) +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_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) { - return ( theWrappedObject->addAction(text, receiver, member)); + return ( theWrappedObject->addAction(text, receiver, member, shortcut)); } -QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) +QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) { return ( theWrappedObject->addMenu(menu)); } -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) { return ( theWrappedObject->addMenu(icon, title)); } -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) { return ( theWrappedObject->addMenu(title)); } -QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text) { - return ( theWrappedObject->addSeparator()); + return ( theWrappedObject->addSection(icon, text)); } -void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QString& text) { - ( theWrappedObject->clear()); + return ( theWrappedObject->addSection(text)); } -QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const +QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) { - return ( theWrappedObject->cornerWidget(corner)); + return ( theWrappedObject->addSeparator()); } -void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) { - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); + ( theWrappedObject->clear()); } -QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) +int PythonQtWrapper_QMenu::columnCount(QMenu* theWrappedObject) const { - return ( theWrappedObject->insertMenu(before, menu)); + return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_columnCount()); } -QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) +QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const { - return ( theWrappedObject->insertSeparator(before)); + return ( theWrappedObject->defaultAction()); } -bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) { - return ( theWrappedObject->isDefaultUp()); + return ( theWrappedObject->exec()); } -bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const +QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent) { - return ( theWrappedObject->isNativeMenuBar()); + return (QMenu::exec(actions, pos, at, parent)); } -QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->exec(pos, at)); } -void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) +void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) { - ( theWrappedObject->setActiveAction(action)); + ( theWrappedObject->hideTearOffMenu()); } -void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) +QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const { - ( theWrappedObject->setCornerWidget(w, corner)); + return ( theWrappedObject->icon()); } -void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) +void PythonQtWrapper_QMenu::initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const { - ( theWrappedObject->setDefaultUp(arg__1)); + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_initStyleOption(option, action)); } -void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) +QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) { - ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); + return ( theWrappedObject->insertMenu(before, menu)); } -QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text) { - return ( theWrappedObject->sizeHint()); + 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)); +} -PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); } -void PythonQtShell_QMessageBox::accept() + +bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isTearOffEnabled()); } - QMessageBox::accept(); + +bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isTearOffMenuVisible()); } -void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) + +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 @@ -5431,9 +6093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5441,9 +6103,9 @@ if (_wrapper) { } } } - QMessageBox::actionEvent(event0); + QMenuBar::actionEvent(arg__1); } -void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) +void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5453,9 +6115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5463,9 +6125,9 @@ if (_wrapper) { } } } - QMessageBox::changeEvent(event0); + QMenuBar::changeEvent(arg__1); } -void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) +void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5477,7 +6139,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5485,9 +6147,9 @@ if (_wrapper) { } } } - QMessageBox::childEvent(event0); + QMenuBar::childEvent(event0); } -void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5499,7 +6161,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5507,9 +6169,9 @@ if (_wrapper) { } } } - QMessageBox::closeEvent(event0); + QMenuBar::closeEvent(event0); } -void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5519,9 +6181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5529,9 +6191,9 @@ if (_wrapper) { } } } - QMessageBox::contextMenuEvent(arg__1); + QMenuBar::contextMenuEvent(event0); } -void PythonQtShell_QMessageBox::customEvent(QEvent* event0) +void PythonQtShell_QMenuBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5543,7 +6205,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5551,9 +6213,9 @@ if (_wrapper) { } } } - QMessageBox::customEvent(event0); + QMenuBar::customEvent(event0); } -int PythonQtShell_QMessageBox::devType() const +int PythonQtShell_QMenuBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5576,7 +6238,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5584,31 +6246,9 @@ if (_wrapper) { } } } - 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); + return QMenuBar::devType(); } -void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5620,7 +6260,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5628,9 +6268,9 @@ if (_wrapper) { } } } - QMessageBox::dragEnterEvent(event0); + QMenuBar::dragEnterEvent(event0); } -void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5642,7 +6282,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5650,9 +6290,9 @@ if (_wrapper) { } } } - QMessageBox::dragLeaveEvent(event0); + QMenuBar::dragLeaveEvent(event0); } -void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5664,7 +6304,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5672,9 +6312,9 @@ if (_wrapper) { } } } - QMessageBox::dragMoveEvent(event0); + QMenuBar::dragMoveEvent(event0); } -void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5686,7 +6326,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5694,9 +6334,9 @@ if (_wrapper) { } } } - QMessageBox::dropEvent(event0); + QMenuBar::dropEvent(event0); } -void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) +void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5708,7 +6348,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5716,9 +6356,9 @@ if (_wrapper) { } } } - QMessageBox::enterEvent(event0); + QMenuBar::enterEvent(event0); } -bool PythonQtShell_QMessageBox::event(QEvent* e0) +bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5729,7 +6369,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -5741,7 +6381,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5749,9 +6389,9 @@ if (_wrapper) { } } } - return QMessageBox::event(e0); + return QMenuBar::event(arg__1); } -bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5774,40 +6414,7 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5815,9 +6422,9 @@ if (_wrapper) { } } } - return QMessageBox::exec(); + return QMenuBar::eventFilter(arg__1, arg__2); } -void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5827,9 +6434,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5837,9 +6444,9 @@ if (_wrapper) { } } } - QMessageBox::focusInEvent(event0); + QMenuBar::focusInEvent(arg__1); } -bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) +bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5862,7 +6469,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5870,9 +6477,9 @@ if (_wrapper) { } } } - return QMessageBox::focusNextPrevChild(next0); + return QMenuBar::focusNextPrevChild(next0); } -void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5882,9 +6489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5892,9 +6499,9 @@ if (_wrapper) { } } } - QMessageBox::focusOutEvent(event0); + QMenuBar::focusOutEvent(arg__1); } -bool PythonQtShell_QMessageBox::hasHeightForWidth() const +bool PythonQtShell_QMenuBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5917,7 +6524,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5925,9 +6532,9 @@ if (_wrapper) { } } } - return QMessageBox::hasHeightForWidth(); + return QMenuBar::hasHeightForWidth(); } -int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const +int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5950,7 +6557,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5958,9 +6565,9 @@ if (_wrapper) { } } } - return QMessageBox::heightForWidth(arg__1); + return QMenuBar::heightForWidth(arg__1); } -void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5972,7 +6579,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5980,9 +6587,9 @@ if (_wrapper) { } } } - QMessageBox::hideEvent(event0); + QMenuBar::hideEvent(event0); } -void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const +void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5994,7 +6601,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6002,9 +6609,9 @@ if (_wrapper) { } } } - QMessageBox::initPainter(painter0); + QMenuBar::initPainter(painter0); } -void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6016,7 +6623,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6024,9 +6631,9 @@ if (_wrapper) { } } } - QMessageBox::inputMethodEvent(arg__1); + QMenuBar::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6049,7 +6656,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6057,9 +6664,9 @@ if (_wrapper) { } } } - return QMessageBox::inputMethodQuery(arg__1); + return QMenuBar::inputMethodQuery(arg__1); } -void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6069,9 +6676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6079,9 +6686,9 @@ if (_wrapper) { } } } - QMessageBox::keyPressEvent(event0); + QMenuBar::keyPressEvent(arg__1); } -void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6093,7 +6700,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6101,9 +6708,9 @@ if (_wrapper) { } } } - QMessageBox::keyReleaseEvent(event0); + QMenuBar::keyReleaseEvent(event0); } -void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) +void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6113,9 +6720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6123,9 +6730,9 @@ if (_wrapper) { } } } - QMessageBox::leaveEvent(event0); + QMenuBar::leaveEvent(arg__1); } -int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6148,7 +6755,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6156,9 +6763,9 @@ if (_wrapper) { } } } - return QMessageBox::metric(arg__1); + return QMenuBar::metric(arg__1); } -QSize PythonQtShell_QMessageBox::minimumSizeHint() const +QSize PythonQtShell_QMenuBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6181,7 +6788,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6189,9 +6796,9 @@ if (_wrapper) { } } } - return QMessageBox::minimumSizeHint(); + return QMenuBar::minimumSizeHint(); } -void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6203,7 +6810,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6211,9 +6818,9 @@ if (_wrapper) { } } } - QMessageBox::mouseDoubleClickEvent(event0); + QMenuBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6223,9 +6830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6233,9 +6840,9 @@ if (_wrapper) { } } } - QMessageBox::mouseMoveEvent(event0); + QMenuBar::mouseMoveEvent(arg__1); } -void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6245,9 +6852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6255,9 +6862,9 @@ if (_wrapper) { } } } - QMessageBox::mousePressEvent(event0); + QMenuBar::mousePressEvent(arg__1); } -void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6267,9 +6874,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6277,9 +6884,9 @@ if (_wrapper) { } } } - QMessageBox::mouseReleaseEvent(event0); + QMenuBar::mouseReleaseEvent(arg__1); } -void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6291,7 +6898,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6299,9 +6906,9 @@ if (_wrapper) { } } } - QMessageBox::moveEvent(event0); + QMenuBar::moveEvent(event0); } -bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6324,7 +6931,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6332,9 +6939,9 @@ if (_wrapper) { } } } - return QMessageBox::nativeEvent(eventType0, message1, result2); + return QMenuBar::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const +QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6357,7 +6964,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6365,9 +6972,9 @@ if (_wrapper) { } } } - return QMessageBox::paintEngine(); + return QMenuBar::paintEngine(); } -void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) +void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6377,9 +6984,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6387,9 +6994,9 @@ if (_wrapper) { } } } - QMessageBox::paintEvent(event0); + QMenuBar::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6412,7 +7019,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6420,31 +7027,9 @@ if (_wrapper) { } } } - 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(); + return QMenuBar::redirected(offset0); } -void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6454,9 +7039,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6464,9 +7049,9 @@ if (_wrapper) { } } } - QMessageBox::resizeEvent(event0); + QMenuBar::resizeEvent(arg__1); } -void PythonQtShell_QMessageBox::setVisible(bool visible0) +void PythonQtShell_QMenuBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6478,7 +7063,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6486,9 +7071,9 @@ if (_wrapper) { } } } - QMessageBox::setVisible(visible0); + QMenuBar::setVisible(visible0); } -QPainter* PythonQtShell_QMessageBox::sharedPainter() const +QPainter* PythonQtShell_QMenuBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6511,7 +7096,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6519,9 +7104,9 @@ if (_wrapper) { } } } - return QMessageBox::sharedPainter(); + return QMenuBar::sharedPainter(); } -void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) +void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6533,7 +7118,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6541,9 +7126,9 @@ if (_wrapper) { } } } - QMessageBox::showEvent(event0); + QMenuBar::showEvent(event0); } -QSize PythonQtShell_QMessageBox::sizeHint() const +QSize PythonQtShell_QMenuBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6566,7 +7151,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6574,9 +7159,9 @@ if (_wrapper) { } } } - return QMessageBox::sizeHint(); + return QMenuBar::sizeHint(); } -void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6588,7 +7173,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6596,9 +7181,9 @@ if (_wrapper) { } } } - QMessageBox::tabletEvent(event0); + QMenuBar::tabletEvent(event0); } -void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) +void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6608,9 +7193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6618,9 +7203,9 @@ if (_wrapper) { } } } - QMessageBox::timerEvent(event0); + QMenuBar::timerEvent(arg__1); } -void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6632,7 +7217,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6640,360 +7225,154 @@ if (_wrapper) { } } } - QMessageBox::wheelEvent(event0); + QMenuBar::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) +QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) { -return new PythonQtShell_QMessageBox(parent); } +return new PythonQtShell_QMenuBar(parent); } -const QMetaObject* PythonQtShell_QMessageBox::metaObject() const { +const QMetaObject* PythonQtShell_QMenuBar::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMessageBox::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenuBar::staticMetaObject); } else { - return &QMessageBox::staticMetaObject; + return &QMenuBar::staticMetaObject; } } -int PythonQtShell_QMessageBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMessageBox::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) +QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const { - (QMessageBox::about(parent, title, text)); + return ( theWrappedObject->actionAt(arg__1)); } -void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) +QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const { - (QMessageBox::aboutQt(parent, title)); + return ( theWrappedObject->actionGeometry(arg__1)); } -void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) +QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const { - ( theWrappedObject->addButton(button, role)); + return ( theWrappedObject->activeAction()); } -QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) { - return ( theWrappedObject->addButton(button)); + return ( theWrappedObject->addAction(text)); } -QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role) +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) { - return ( theWrappedObject->addButton(text, role)); + return ( theWrappedObject->addAction(text, receiver, member)); } -QAbstractButton* PythonQtWrapper_QMessageBox::button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const +QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) { - return ( theWrappedObject->button(which)); + return ( theWrappedObject->addMenu(menu)); } -QMessageBox::ButtonRole PythonQtWrapper_QMessageBox::buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) { - return ( theWrappedObject->buttonRole(button)); + return ( theWrappedObject->addMenu(icon, title)); } -QList PythonQtWrapper_QMessageBox::buttons(QMessageBox* theWrappedObject) const +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) { - return ( theWrappedObject->buttons()); + return ( theWrappedObject->addMenu(title)); } -QCheckBox* PythonQtWrapper_QMessageBox::checkBox(QMessageBox* theWrappedObject) const +QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) { - return ( theWrappedObject->checkBox()); + return ( theWrappedObject->addSeparator()); } -QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const +void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) { - return ( theWrappedObject->clickedButton()); + ( theWrappedObject->clear()); } -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const { - return (QMessageBox::critical(parent, title, text, buttons, defaultButton)); + return ( theWrappedObject->cornerWidget(corner)); } -int PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const { - return (QMessageBox::critical(parent, title, text, button0, button1)); + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); } -QPushButton* PythonQtWrapper_QMessageBox::defaultButton(QMessageBox* theWrappedObject) const +QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) { - return ( theWrappedObject->defaultButton()); + return ( theWrappedObject->insertMenu(before, menu)); } -QString PythonQtWrapper_QMessageBox::detailedText(QMessageBox* theWrappedObject) const +QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) { - return ( theWrappedObject->detailedText()); + return ( theWrappedObject->insertSeparator(before)); } -QAbstractButton* PythonQtWrapper_QMessageBox::escapeButton(QMessageBox* theWrappedObject) const +bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const { - return ( theWrappedObject->escapeButton()); + return ( theWrappedObject->isDefaultUp()); } -QMessageBox::Icon PythonQtWrapper_QMessageBox::icon(QMessageBox* theWrappedObject) const +bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const { - return ( theWrappedObject->icon()); + return ( theWrappedObject->isNativeMenuBar()); } -QPixmap PythonQtWrapper_QMessageBox::iconPixmap(QMessageBox* theWrappedObject) const +QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const { - return ( theWrappedObject->iconPixmap()); + return ( theWrappedObject->minimumSizeHint()); } -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) { - return (QMessageBox::information(parent, title, text, buttons, defaultButton)); + ( theWrappedObject->setActiveAction(action)); } -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) +void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) { - return (QMessageBox::information(parent, title, text, button0, button1)); + ( theWrappedObject->setCornerWidget(w, corner)); } -QString PythonQtWrapper_QMessageBox::informativeText(QMessageBox* theWrappedObject) const +void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) { - return ( theWrappedObject->informativeText()); + ( theWrappedObject->setDefaultUp(arg__1)); } -void PythonQtWrapper_QMessageBox::open(QMessageBox* theWrappedObject, QObject* receiver, const char* member) +void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) { - ( theWrappedObject->open(receiver, member)); + ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); } -QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) +QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const { - return (QMessageBox::question(parent, title, text, buttons, defaultButton)); + return ( theWrappedObject->sizeHint()); } -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)); +PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -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) +void PythonQtShell_QMessageBox::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7001,21 +7380,21 @@ if (_wrapper) { } } } - QMouseEventTransition::childEvent(event0); + QMessageBox::accept(); } -void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) +void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7023,120 +7402,87 @@ if (_wrapper) { } } } - QMouseEventTransition::customEvent(event0); + QMessageBox::actionEvent(event0); } -bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) +void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMouseEventTransition::event(e0); + QMessageBox::changeEvent(event0); } -bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMouseEventTransition::eventFilter(watched0, event1); + QMessageBox::childEvent(event0); } -bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) +void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMouseEventTransition::eventTest(event0); + QMessageBox::closeEvent(event0); } -void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) +void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7144,21 +7490,21 @@ if (_wrapper) { } } } - QMouseEventTransition::onTransition(event0); + QMessageBox::contextMenuEvent(arg__1); } -void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) +void PythonQtShell_QMessageBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7166,98 +7512,142 @@ if (_wrapper) { } } } - QMouseEventTransition::timerEvent(event0); + QMessageBox::customEvent(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_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(); + } } } -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()); + return QMessageBox::devType(); } - -QPainterPath PythonQtWrapper_QMouseEventTransition::hitTestPath(QMouseEventTransition* theWrappedObject) const +void PythonQtShell_QMessageBox::done(int arg__1) { - return ( theWrappedObject->hitTestPath()); +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(); + } + } } - -Qt::KeyboardModifiers PythonQtWrapper_QMouseEventTransition::modifierMask(QMouseEventTransition* theWrappedObject) const -{ - return ( theWrappedObject->modifierMask()); + QMessageBox::done(arg__1); } - -void PythonQtWrapper_QMouseEventTransition::setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button) +void PythonQtShell_QMessageBox::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setButton(button)); +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(); + } + } } - -void PythonQtWrapper_QMouseEventTransition::setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setHitTestPath(path)); + QMessageBox::dragEnterEvent(event0); } - -void PythonQtWrapper_QMouseEventTransition::setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setModifierMask(modifiers)); -} - - - -PythonQtShell_QMoveEvent::~PythonQtShell_QMoveEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -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()); + QMessageBox::dragLeaveEvent(event0); } - -const QPoint* PythonQtWrapper_QMoveEvent::pos(QMoveEvent* theWrappedObject) const +void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) { - return &( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "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(); + } + } } - - - -PythonQtShell_QMovie::~PythonQtShell_QMovie() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMessageBox::dragMoveEvent(event0); } -void PythonQtShell_QMovie::childEvent(QChildEvent* event0) +void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7265,21 +7655,21 @@ if (_wrapper) { } } } - QMovie::childEvent(event0); + QMessageBox::dropEvent(event0); } -void PythonQtShell_QMovie::customEvent(QEvent* event0) +void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7287,9 +7677,9 @@ if (_wrapper) { } } } - QMovie::customEvent(event0); + QMessageBox::enterEvent(event0); } -bool PythonQtShell_QMovie::event(QEvent* event0) +bool PythonQtShell_QMessageBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7300,7 +7690,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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); @@ -7312,7 +7702,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7320,9 +7710,9 @@ if (_wrapper) { } } } - return QMovie::event(event0); + return QMessageBox::event(e0); } -bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7333,7 +7723,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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); @@ -7345,7 +7735,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7353,421 +7743,758 @@ if (_wrapper) { } } } - return QMovie::eventFilter(watched0, event1); + return QMessageBox::eventFilter(arg__1, arg__2); } -void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) +int PythonQtShell_QMessageBox::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMovie::timerEvent(event0); + return QMessageBox::exec(); } -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) +void PythonQtShell_QMessageBox::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->jumpToFrame(frameNumber)); +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(); + } + } } - -QImageReader::ImageReaderError PythonQtWrapper_QMovie::lastError(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->lastError()); + QMessageBox::focusInEvent(event0); } - -QString PythonQtWrapper_QMovie::lastErrorString(QMovie* theWrappedObject) const +bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { - return ( theWrappedObject->lastErrorString()); +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(); + } + } } - -int PythonQtWrapper_QMovie::loopCount(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->loopCount()); + return QMessageBox::focusNextPrevChild(next0); } - -int PythonQtWrapper_QMovie::nextFrameDelay(QMovie* theWrappedObject) const +void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->nextFrameDelay()); +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(); + } + } } - -QSize PythonQtWrapper_QMovie::scaledSize(QMovie* theWrappedObject) -{ - return ( theWrappedObject->scaledSize()); + QMessageBox::focusOutEvent(event0); } - -void PythonQtWrapper_QMovie::setBackgroundColor(QMovie* theWrappedObject, const QColor& color) +bool PythonQtShell_QMessageBox::hasHeightForWidth() const { - ( theWrappedObject->setBackgroundColor(color)); +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(); + } + } } - -void PythonQtWrapper_QMovie::setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode) -{ - ( theWrappedObject->setCacheMode(mode)); + return QMessageBox::hasHeightForWidth(); } - -void PythonQtWrapper_QMovie::setDevice(QMovie* theWrappedObject, QIODevice* device) +int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { - ( theWrappedObject->setDevice(device)); +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(); + } + } } - -void PythonQtWrapper_QMovie::setFileName(QMovie* theWrappedObject, const QString& fileName) -{ - ( theWrappedObject->setFileName(fileName)); + return QMessageBox::heightForWidth(arg__1); } - -void PythonQtWrapper_QMovie::setFormat(QMovie* theWrappedObject, const QByteArray& format) +void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) { - ( theWrappedObject->setFormat(format)); +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(); + } + } } - -void PythonQtWrapper_QMovie::setScaledSize(QMovie* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setScaledSize(size)); + QMessageBox::hideEvent(event0); } - -int PythonQtWrapper_QMovie::speed(QMovie* theWrappedObject) const +void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { - return ( theWrappedObject->speed()); +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(); + } + } } - -QMovie::MovieState PythonQtWrapper_QMovie::state(QMovie* theWrappedObject) const -{ - return ( theWrappedObject->state()); + QMessageBox::initPainter(painter0); } - -QList PythonQtWrapper_QMovie::static_QMovie_supportedFormats() +void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { - return (QMovie::supportedFormats()); +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(); + } + } } - - - -PythonQtShell_QNativeGestureEvent::~PythonQtShell_QNativeGestureEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMessageBox::inputMethodEvent(arg__1); } -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 +QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->device()); +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(); + } + } } - -Qt::NativeGestureType PythonQtWrapper_QNativeGestureEvent::gestureType(QNativeGestureEvent* theWrappedObject) const -{ - return ( theWrappedObject->gestureType()); + return QMessageBox::inputMethodQuery(arg__1); } - -const QPoint PythonQtWrapper_QNativeGestureEvent::globalPos(QNativeGestureEvent* theWrappedObject) const +void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->globalPos()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QNativeGestureEvent::localPos(QNativeGestureEvent* theWrappedObject) const -{ - return &( theWrappedObject->localPos()); + QMessageBox::keyPressEvent(event0); } - -const QPoint PythonQtWrapper_QNativeGestureEvent::pos(QNativeGestureEvent* theWrappedObject) const +void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->pos()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QNativeGestureEvent::screenPos(QNativeGestureEvent* theWrappedObject) const -{ - return &( theWrappedObject->screenPos()); + QMessageBox::keyReleaseEvent(event0); } - -qreal PythonQtWrapper_QNativeGestureEvent::value(QNativeGestureEvent* theWrappedObject) const +void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) { - return ( theWrappedObject->value()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QNativeGestureEvent::windowPos(QNativeGestureEvent* theWrappedObject) const -{ - return &( theWrappedObject->windowPos()); + QMessageBox::leaveEvent(event0); } - - - -void PythonQtWrapper_QOffscreenSurface::create(QOffscreenSurface* theWrappedObject) +int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->create()); +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(); + } + } } - -void PythonQtWrapper_QOffscreenSurface::destroy(QOffscreenSurface* theWrappedObject) -{ - ( theWrappedObject->destroy()); + return QMessageBox::metric(arg__1); } - -bool PythonQtWrapper_QOffscreenSurface::isValid(QOffscreenSurface* theWrappedObject) const +QSize PythonQtShell_QMessageBox::minimumSizeHint() const { - return ( theWrappedObject->isValid()); +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(); + } + } } - -void* PythonQtWrapper_QOffscreenSurface::nativeHandle(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->nativeHandle()); + return QMessageBox::minimumSizeHint(); } - -QSurfaceFormat PythonQtWrapper_QOffscreenSurface::requestedFormat(QOffscreenSurface* theWrappedObject) const +void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->requestedFormat()); +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(); + } + } } - -void PythonQtWrapper_QOffscreenSurface::setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); + QMessageBox::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QOffscreenSurface::setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle) +void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) { - ( theWrappedObject->setNativeHandle(handle)); +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(); + } + } } - - - -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)); + QMessageBox::mouseMoveEvent(event0); } - -void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, int count) +void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) { - ( theWrappedObject->allocate(count)); +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(); + } + } } - -bool PythonQtWrapper_QOpenGLBuffer::bind(QOpenGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->bind()); + QMessageBox::mousePressEvent(event0); } - -GLuint PythonQtWrapper_QOpenGLBuffer::bufferId(QOpenGLBuffer* theWrappedObject) const +void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->bufferId()); +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(); + } + } } - -bool PythonQtWrapper_QOpenGLBuffer::create(QOpenGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->create()); + QMessageBox::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QOpenGLBuffer::destroy(QOpenGLBuffer* theWrappedObject) +void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->destroy()); +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(); + } + } } - -bool PythonQtWrapper_QOpenGLBuffer::isCreated(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); + QMessageBox::moveEvent(event0); } - -void* PythonQtWrapper_QOpenGLBuffer::map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access) +bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->map(access)); +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(); + } + } } - -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other) -{ - return &( (*theWrappedObject)= other); + return QMessageBox::nativeEvent(eventType0, message1, result2); } - -bool PythonQtWrapper_QOpenGLBuffer::read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count) +QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { - return ( theWrappedObject->read(offset, data, count)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLBuffer::release(QOpenGLBuffer* theWrappedObject) -{ - ( theWrappedObject->release()); + return QMessageBox::paintEngine(); } - -void PythonQtWrapper_QOpenGLBuffer::static_QOpenGLBuffer_release(QOpenGLBuffer::Type type) +void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) { - (QOpenGLBuffer::release(type)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLBuffer::setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value) -{ - ( theWrappedObject->setUsagePattern(value)); + QMessageBox::paintEvent(event0); } - -int PythonQtWrapper_QOpenGLBuffer::size(QOpenGLBuffer* theWrappedObject) const +QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { - return ( theWrappedObject->size()); +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(); + } + } } - -QOpenGLBuffer::Type PythonQtWrapper_QOpenGLBuffer::type(QOpenGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->type()); + return QMessageBox::redirected(offset0); } - -bool PythonQtWrapper_QOpenGLBuffer::unmap(QOpenGLBuffer* theWrappedObject) +void PythonQtShell_QMessageBox::reject() { - return ( theWrappedObject->unmap()); +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(); + } + } } - -QOpenGLBuffer::UsagePattern PythonQtWrapper_QOpenGLBuffer::usagePattern(QOpenGLBuffer* theWrappedObject) const + QMessageBox::reject(); +} +void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { - return ( theWrappedObject->usagePattern()); +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(); + } + } } - -void PythonQtWrapper_QOpenGLBuffer::write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count) + QMessageBox::resizeEvent(event0); +} +void PythonQtShell_QMessageBox::setVisible(bool visible0) { - ( theWrappedObject->write(offset, data, count)); +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(); + } + } } - - - -PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMessageBox::setVisible(visible0); } -void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) +QPainter* PythonQtShell_QMessageBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLContext::childEvent(event0); + return QMessageBox::sharedPainter(); } -void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) +void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7775,32 +8502,32 @@ if (_wrapper) { } } } - QOpenGLContext::customEvent(event0); + QMessageBox::showEvent(event0); } -bool PythonQtShell_QOpenGLContext::event(QEvent* event0) +QSize PythonQtShell_QMessageBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7808,42 +8535,31 @@ if (_wrapper) { } } } - return QOpenGLContext::event(event0); + return QMessageBox::sizeHint(); } -bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLContext::eventFilter(watched0, event1); + QMessageBox::tabletEvent(event0); } -void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) +void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7855,7 +8571,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7863,490 +8579,646 @@ if (_wrapper) { } } } - QOpenGLContext::timerEvent(event0); + QMessageBox::timerEvent(event0); } -QOpenGLContext* PythonQtWrapper_QOpenGLContext::new_QOpenGLContext(QObject* parent) +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_QOpenGLContext(parent); } +return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, flags); } -const QMetaObject* PythonQtShell_QOpenGLContext::metaObject() const { +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, &QOpenGLContext::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMessageBox::staticMetaObject); } else { - return &QOpenGLContext::staticMetaObject; + return &QMessageBox::staticMetaObject; } } -int PythonQtShell_QOpenGLContext::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLContext::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second) +void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) { - return (QOpenGLContext::areSharing(first, second)); + (QMessageBox::about(parent, title, text)); } -bool PythonQtWrapper_QOpenGLContext::create(QOpenGLContext* theWrappedObject) +void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) { - return ( theWrappedObject->create()); + (QMessageBox::aboutQt(parent, title)); } -QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_currentContext() +void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) { - return (QOpenGLContext::currentContext()); + ( theWrappedObject->addButton(button, role)); } -GLuint PythonQtWrapper_QOpenGLContext::defaultFramebufferObject(QOpenGLContext* theWrappedObject) const +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) { - return ( theWrappedObject->defaultFramebufferObject()); + return ( theWrappedObject->addButton(button)); } -void PythonQtWrapper_QOpenGLContext::doneCurrent(QOpenGLContext* theWrappedObject) +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role) { - ( theWrappedObject->doneCurrent()); + return ( theWrappedObject->addButton(text, role)); } -QSet PythonQtWrapper_QOpenGLContext::extensions(QOpenGLContext* theWrappedObject) const +QAbstractButton* PythonQtWrapper_QMessageBox::button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const { - return ( theWrappedObject->extensions()); + return ( theWrappedObject->button(which)); } -QSurfaceFormat PythonQtWrapper_QOpenGLContext::format(QOpenGLContext* theWrappedObject) const +QMessageBox::ButtonRole PythonQtWrapper_QMessageBox::buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->buttonRole(button)); } -QOpenGLFunctions* PythonQtWrapper_QOpenGLContext::functions(QOpenGLContext* theWrappedObject) const +QList PythonQtWrapper_QMessageBox::buttons(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->functions()); + return ( theWrappedObject->buttons()); } -QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_globalShareContext() +QCheckBox* PythonQtWrapper_QMessageBox::checkBox(QMessageBox* theWrappedObject) const { - return (QOpenGLContext::globalShareContext()); + return ( theWrappedObject->checkBox()); } -bool PythonQtWrapper_QOpenGLContext::hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const +QAbstractButton* PythonQtWrapper_QMessageBox::clickedButton(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->hasExtension(extension)); + return ( theWrappedObject->clickedButton()); } -bool PythonQtWrapper_QOpenGLContext::isOpenGLES(QOpenGLContext* theWrappedObject) const +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) { - return ( theWrappedObject->isOpenGLES()); + return (QMessageBox::critical(parent, title, text, buttons, defaultButton)); } -bool PythonQtWrapper_QOpenGLContext::isValid(QOpenGLContext* theWrappedObject) const +int PythonQtWrapper_QMessageBox::static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) { - return ( theWrappedObject->isValid()); + return (QMessageBox::critical(parent, title, text, button0, button1)); } -bool PythonQtWrapper_QOpenGLContext::makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface) +QPushButton* PythonQtWrapper_QMessageBox::defaultButton(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->makeCurrent(surface)); + return ( theWrappedObject->defaultButton()); } -QVariant PythonQtWrapper_QOpenGLContext::nativeHandle(QOpenGLContext* theWrappedObject) const +QString PythonQtWrapper_QMessageBox::detailedText(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->nativeHandle()); + return ( theWrappedObject->detailedText()); } -void* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleHandle() +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) { - return (QOpenGLContext::openGLModuleHandle()); + ( theWrappedObject->setIcon(arg__1)); } -QOpenGLContext::OpenGLModuleType PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleType() +void PythonQtWrapper_QMessageBox::setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap) { - return (QOpenGLContext::openGLModuleType()); + ( theWrappedObject->setIconPixmap(pixmap)); } -void PythonQtWrapper_QOpenGLContext::setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format) +void PythonQtWrapper_QMessageBox::setInformativeText(QMessageBox* theWrappedObject, const QString& text) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->setInformativeText(text)); } -void PythonQtWrapper_QOpenGLContext::setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle) +void PythonQtWrapper_QMessageBox::setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons) { - ( theWrappedObject->setNativeHandle(handle)); + ( theWrappedObject->setStandardButtons(buttons)); } -void PythonQtWrapper_QOpenGLContext::setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext) +void PythonQtWrapper_QMessageBox::setText(QMessageBox* theWrappedObject, const QString& text) { - ( theWrappedObject->setShareContext(shareContext)); + ( theWrappedObject->setText(text)); } -QOpenGLContext* PythonQtWrapper_QOpenGLContext::shareContext(QOpenGLContext* theWrappedObject) const +void PythonQtWrapper_QMessageBox::setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format) { - return ( theWrappedObject->shareContext()); + ( theWrappedObject->setTextFormat(format)); } -QOpenGLContextGroup* PythonQtWrapper_QOpenGLContext::shareGroup(QOpenGLContext* theWrappedObject) const +void PythonQtWrapper_QMessageBox::setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags) { - return ( theWrappedObject->shareGroup()); + ( theWrappedObject->setTextInteractionFlags(flags)); } -bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_supportsThreadedOpenGL() +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const { - return (QOpenGLContext::supportsThreadedOpenGL()); + return ( theWrappedObject->standardButton(button)); } -QSurface* PythonQtWrapper_QOpenGLContext::surface(QOpenGLContext* theWrappedObject) const +QMessageBox::StandardButtons PythonQtWrapper_QMessageBox::standardButtons(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->surface()); + return ( theWrappedObject->standardButtons()); } -void PythonQtWrapper_QOpenGLContext::swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface) +QString PythonQtWrapper_QMessageBox::text(QMessageBox* theWrappedObject) const { - ( theWrappedObject->swapBuffers(surface)); + return ( theWrappedObject->text()); } -QString PythonQtWrapper_QOpenGLContext::py_toString(QOpenGLContext* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +Qt::TextFormat PythonQtWrapper_QMessageBox::textFormat(QMessageBox* theWrappedObject) const +{ + return ( theWrappedObject->textFormat()); } - - -QOpenGLContextGroup* PythonQtWrapper_QOpenGLContextGroup::static_QOpenGLContextGroup_currentContextGroup() +Qt::TextInteractionFlags PythonQtWrapper_QMessageBox::textInteractionFlags(QMessageBox* theWrappedObject) const { - return (QOpenGLContextGroup::currentContextGroup()); + return ( theWrappedObject->textInteractionFlags()); } -QList PythonQtWrapper_QOpenGLContextGroup::shares(QOpenGLContextGroup* theWrappedObject) const +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) { - return ( theWrappedObject->shares()); + return (QMessageBox::warning(parent, title, text, buttons, defaultButton)); } -QString PythonQtWrapper_QOpenGLContextGroup::py_toString(QOpenGLContextGroup* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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_QOpenGLFramebufferObject::~PythonQtShell_QOpenGLFramebufferObject() { +PythonQtShell_QMouseEvent::~PythonQtShell_QMouseEvent() { 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) +QMouseEvent* PythonQtWrapper_QMouseEvent::new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) { -return new PythonQtShell_QOpenGLFramebufferObject(size, format); } +return new PythonQtShell_QMouseEvent(type, localPos, button, buttons, modifiers); } -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, GLenum target) +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_QOpenGLFramebufferObject(width, height, target); } +return new PythonQtShell_QMouseEvent(type, localPos, screenPos, button, buttons, modifiers); } -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) +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_QOpenGLFramebufferObject(width, height, attachment, target, internalFormat); } +return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers); } -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format) +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_QOpenGLFramebufferObject(width, height, format); } +return new PythonQtShell_QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source); } -void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat) +Qt::MouseButton PythonQtWrapper_QMouseEvent::button(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->addColorAttachment(size, internalFormat)); + return ( theWrappedObject->button()); } -void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat) +Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->addColorAttachment(width, height, internalFormat)); + return ( theWrappedObject->buttons()); } -QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObject::attachment(QOpenGLFramebufferObject* theWrappedObject) const +Qt::MouseEventFlags PythonQtWrapper_QMouseEvent::flags(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->attachment()); + return ( theWrappedObject->flags()); } -bool PythonQtWrapper_QOpenGLFramebufferObject::bind(QOpenGLFramebufferObject* theWrappedObject) +QPoint PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->bind()); + return ( theWrappedObject->globalPos()); } -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_bindDefault() +int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const { - return (QOpenGLFramebufferObject::bindDefault()); + return ( theWrappedObject->globalX()); } -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers, GLenum filter) +int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const { - (QOpenGLFramebufferObject::blitFramebuffer(target, source, buffers, filter)); + return ( theWrappedObject->globalY()); } -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) +const QPointF* PythonQtWrapper_QMouseEvent::localPos(QMouseEvent* theWrappedObject) const { - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); + return &( theWrappedObject->localPos()); } -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) +QPoint PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const { - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex)); + return ( theWrappedObject->pos()); } -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) +const QPointF* PythonQtWrapper_QMouseEvent::screenPos(QMouseEvent* theWrappedObject) const { - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex, restorePolicy)); + return &( theWrappedObject->screenPos()); } -QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const +void PythonQtWrapper_QMouseEvent::setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition) { - return ( theWrappedObject->format()); + ( theWrappedObject->setLocalPos(localPosition)); } -GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const +Qt::MouseEventSource PythonQtWrapper_QMouseEvent::source(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->handle()); + return ( theWrappedObject->source()); } -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() +const QPointF* PythonQtWrapper_QMouseEvent::windowPos(QMouseEvent* theWrappedObject) const { - return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); + return &( theWrappedObject->windowPos()); } -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() +int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const { - return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); + return ( theWrappedObject->x()); } -int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const +int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->height()); + return ( theWrappedObject->y()); } -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()); +PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* event0) { - ( theWrappedObject->setAttachment(attachment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const + QMouseEventTransition::childEvent(event0); +} +void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const + QMouseEventTransition::customEvent(event0); +} +bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { - return ( theWrappedObject->sizes()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) + return QMouseEventTransition::event(e0); +} +bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->takeTexture()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) -{ - return ( theWrappedObject->takeTexture(colorAttachmentIndex)); + return QMouseEventTransition::eventFilter(watched0, event1); } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const +bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { - return ( theWrappedObject->texture()); +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(); + } + } } - -QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->textures()); + return QMouseEventTransition::eventTest(event0); } - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const +void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { - return ( theWrappedObject->toImage()); +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(); + } + } } - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const -{ - return ( theWrappedObject->toImage(flipped)); + QMouseEventTransition::onTransition(event0); } - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const +void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->width()); + QMouseEventTransition::timerEvent(event0); } - - - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat() +QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState) { -return new QOpenGLFramebufferObjectFormat(); } +return new PythonQtShell_QMouseEventTransition(object, type, button, sourceState); } -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other) +QMouseEventTransition* PythonQtWrapper_QMouseEventTransition::new_QMouseEventTransition(QState* sourceState) { -return new QOpenGLFramebufferObjectFormat(other); } +return new PythonQtShell_QMouseEventTransition(sourceState); } -QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObjectFormat::attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->attachment()); +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; + } } - -GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->internalTextureFormat()); +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; } - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const +Qt::MouseButton PythonQtWrapper_QMouseEventTransition::button(QMouseEventTransition* theWrappedObject) const { - return ( theWrappedObject->mipmap()); + return ( theWrappedObject->button()); } -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +QPainterPath PythonQtWrapper_QMouseEventTransition::hitTestPath(QMouseEventTransition* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->hitTestPath()); } -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) +Qt::KeyboardModifiers PythonQtWrapper_QMouseEventTransition::modifierMask(QMouseEventTransition* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->modifierMask()); } -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +void PythonQtWrapper_QMouseEventTransition::setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->setButton(button)); } -int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const +void PythonQtWrapper_QMouseEventTransition::setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path) { - return ( theWrappedObject->samples()); + ( theWrappedObject->setHitTestPath(path)); } -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +void PythonQtWrapper_QMouseEventTransition::setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) { - ( theWrappedObject->setAttachment(attachment)); + ( theWrappedObject->setModifierMask(modifiers)); } -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)); +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); } -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) +const QPoint* PythonQtWrapper_QMoveEvent::oldPos(QMoveEvent* theWrappedObject) const { - ( theWrappedObject->setTextureTarget(target)); + return &( theWrappedObject->oldPos()); } -GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const +const QPoint* PythonQtWrapper_QMoveEvent::pos(QMoveEvent* theWrappedObject) const { - return ( theWrappedObject->textureTarget()); + return &( theWrappedObject->pos()); } -PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { +PythonQtShell_QMovie::~PythonQtShell_QMovie() { 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 +void PythonQtShell_QMovie::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8354,65 +9226,54 @@ if (_wrapper) { } } } - QOpenGLPaintDevice::initPainter(painter0); + QMovie::childEvent(event0); } -int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +void PythonQtShell_QMovie::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLPaintDevice::metric(metric0); + QMovie::customEvent(event0); } -QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const +bool PythonQtShell_QMovie::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8420,32 +9281,32 @@ if (_wrapper) { } } } - return QOpenGLPaintDevice::paintEngine(); + return QMovie::event(event0); } -QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const +bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8453,115 +9314,246 @@ if (_wrapper) { } } } - return QOpenGLPaintDevice::redirected(offset0); + return QMovie::eventFilter(watched0, event1); } -QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const +void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLPaintDevice::sharedPainter(); + QMovie::timerEvent(event0); } -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice() +QMovie* PythonQtWrapper_QMovie::new_QMovie(QIODevice* device, const QByteArray& format, QObject* parent) { -return new PythonQtShell_QOpenGLPaintDevice(); } +return new PythonQtShell_QMovie(device, format, parent); } -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(const QSize& size) +QMovie* PythonQtWrapper_QMovie::new_QMovie(QObject* parent) { -return new PythonQtShell_QOpenGLPaintDevice(size); } +return new PythonQtShell_QMovie(parent); } -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(int width, int height) +QMovie* PythonQtWrapper_QMovie::new_QMovie(const QString& fileName, const QByteArray& format, QObject* parent) { -return new PythonQtShell_QOpenGLPaintDevice(width, height); } +return new PythonQtShell_QMovie(fileName, format, parent); } -QOpenGLContext* PythonQtWrapper_QOpenGLPaintDevice::context(QOpenGLPaintDevice* theWrappedObject) const +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->context()); + return ( theWrappedObject->backgroundColor()); } -qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const +QMovie::CacheMode PythonQtWrapper_QMovie::cacheMode(QMovie* theWrappedObject) const { - return ( theWrappedObject->dotsPerMeterX()); + return ( theWrappedObject->cacheMode()); } -qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const +int PythonQtWrapper_QMovie::currentFrameNumber(QMovie* theWrappedObject) const { - return ( theWrappedObject->dotsPerMeterY()); + return ( theWrappedObject->currentFrameNumber()); } -void PythonQtWrapper_QOpenGLPaintDevice::ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject) +QImage PythonQtWrapper_QMovie::currentImage(QMovie* theWrappedObject) const { - ( theWrappedObject->ensureActiveTarget()); + return ( theWrappedObject->currentImage()); } -bool PythonQtWrapper_QOpenGLPaintDevice::paintFlipped(QOpenGLPaintDevice* theWrappedObject) const +QPixmap PythonQtWrapper_QMovie::currentPixmap(QMovie* theWrappedObject) const { - return ( theWrappedObject->paintFlipped()); + return ( theWrappedObject->currentPixmap()); } -void PythonQtWrapper_QOpenGLPaintDevice::setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio) +QIODevice* PythonQtWrapper_QMovie::device(QMovie* theWrappedObject) const { - ( theWrappedObject->setDevicePixelRatio(devicePixelRatio)); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +QString PythonQtWrapper_QMovie::fileName(QMovie* theWrappedObject) const { - ( theWrappedObject->setDotsPerMeterX(arg__1)); + 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()); } -void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +const QPoint PythonQtWrapper_QNativeGestureEvent::pos(QNativeGestureEvent* theWrappedObject) const { - ( theWrappedObject->setDotsPerMeterY(arg__1)); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QOpenGLPaintDevice::setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped) +const QPointF* PythonQtWrapper_QNativeGestureEvent::screenPos(QNativeGestureEvent* theWrappedObject) const { - ( theWrappedObject->setPaintFlipped(flipped)); + return &( theWrappedObject->screenPos()); } -void PythonQtWrapper_QOpenGLPaintDevice::setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size) +qreal PythonQtWrapper_QNativeGestureEvent::value(QNativeGestureEvent* theWrappedObject) const { - ( theWrappedObject->setSize(size)); + return ( theWrappedObject->value()); } -QSize PythonQtWrapper_QOpenGLPaintDevice::size(QOpenGLPaintDevice* theWrappedObject) const +const QPointF* PythonQtWrapper_QNativeGestureEvent::windowPos(QNativeGestureEvent* theWrappedObject) const { - return ( theWrappedObject->size()); + return &( theWrappedObject->windowPos()); } -PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { +PythonQtShell_QOffscreenSurface::~PythonQtShell_QOffscreenSurface() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) +void PythonQtShell_QOffscreenSurface::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8573,7 +9565,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8581,9 +9573,9 @@ if (_wrapper) { } } } - QOpenGLShader::childEvent(event0); + QOffscreenSurface::childEvent(event0); } -void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) +void PythonQtShell_QOffscreenSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8595,7 +9587,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8603,9 +9595,9 @@ if (_wrapper) { } } } - QOpenGLShader::customEvent(event0); + QOffscreenSurface::customEvent(event0); } -bool PythonQtShell_QOpenGLShader::event(QEvent* event0) +bool PythonQtShell_QOffscreenSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8628,7 +9620,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8636,9 +9628,9 @@ if (_wrapper) { } } } - return QOpenGLShader::event(event0); + return QOffscreenSurface::event(event0); } -bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8661,7 +9653,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8669,9 +9661,108 @@ if (_wrapper) { } } } - return QOpenGLShader::eventFilter(watched0, event1); + return QOffscreenSurface::eventFilter(watched0, event1); } -void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) +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 @@ -8683,7 +9774,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8691,82 +9782,185 @@ if (_wrapper) { } } } - QOpenGLShader::timerEvent(event0); + QOffscreenSurface::timerEvent(event0); } -QOpenGLShader* PythonQtWrapper_QOpenGLShader::new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent) +QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface(QScreen* screen) { -return new PythonQtShell_QOpenGLShader(type, parent); } +return new PythonQtShell_QOffscreenSurface(screen); } -const QMetaObject* PythonQtShell_QOpenGLShader::metaObject() const { +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, &QOpenGLShader::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOffscreenSurface::staticMetaObject); } else { - return &QOpenGLShader::staticMetaObject; + return &QOffscreenSurface::staticMetaObject; } } -int PythonQtShell_QOpenGLShader::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLShader::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source) +void PythonQtWrapper_QOffscreenSurface::create(QOffscreenSurface* theWrappedObject) { - return ( theWrappedObject->compileSourceCode(source)); + ( theWrappedObject->create()); } -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source) +void PythonQtWrapper_QOffscreenSurface::destroy(QOffscreenSurface* theWrappedObject) { - return ( theWrappedObject->compileSourceCode(source)); + ( theWrappedObject->destroy()); } -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const char* source) +bool PythonQtWrapper_QOffscreenSurface::isValid(QOffscreenSurface* theWrappedObject) const { - return ( theWrappedObject->compileSourceCode(source)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QOpenGLShader::compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName) +void* PythonQtWrapper_QOffscreenSurface::nativeHandle(QOffscreenSurface* theWrappedObject) const { - return ( theWrappedObject->compileSourceFile(fileName)); + return ( theWrappedObject->nativeHandle()); } -bool PythonQtWrapper_QOpenGLShader::static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context) +QSurfaceFormat PythonQtWrapper_QOffscreenSurface::requestedFormat(QOffscreenSurface* theWrappedObject) const { - return (QOpenGLShader::hasOpenGLShaders(type, context)); + return ( theWrappedObject->requestedFormat()); } -bool PythonQtWrapper_QOpenGLShader::isCompiled(QOpenGLShader* theWrappedObject) const +QScreen* PythonQtWrapper_QOffscreenSurface::screen(QOffscreenSurface* theWrappedObject) const { - return ( theWrappedObject->isCompiled()); + return ( theWrappedObject->screen()); } -QString PythonQtWrapper_QOpenGLShader::log(QOpenGLShader* theWrappedObject) const +void PythonQtWrapper_QOffscreenSurface::setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format) { - return ( theWrappedObject->log()); + ( theWrappedObject->setFormat(format)); } -GLuint PythonQtWrapper_QOpenGLShader::shaderId(QOpenGLShader* theWrappedObject) const +void PythonQtWrapper_QOffscreenSurface::setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle) { - return ( theWrappedObject->shaderId()); + ( theWrappedObject->setNativeHandle(handle)); } -QOpenGLShader::ShaderType PythonQtWrapper_QOpenGLShader::shaderType(QOpenGLShader* theWrappedObject) const +void PythonQtWrapper_QOffscreenSurface::setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen) { - return ( theWrappedObject->shaderType()); + ( theWrappedObject->setScreen(screen)); } -QByteArray PythonQtWrapper_QOpenGLShader::sourceCode(QOpenGLShader* theWrappedObject) const + + +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) { - return ( theWrappedObject->sourceCode()); + ( theWrappedObject->allocate(data, count)); } +void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, int count) +{ + ( theWrappedObject->allocate(count)); +} +bool PythonQtWrapper_QOpenGLBuffer::bind(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->bind()); +} -PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { +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_QOpenGLShaderProgram::childEvent(QChildEvent* event0) +void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8778,7 +9972,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8786,9 +9980,9 @@ if (_wrapper) { } } } - QOpenGLShaderProgram::childEvent(event0); + QOpenGLContext::childEvent(event0); } -void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) +void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8800,7 +9994,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8808,9 +10002,9 @@ if (_wrapper) { } } } - QOpenGLShaderProgram::customEvent(event0); + QOpenGLContext::customEvent(event0); } -bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) +bool PythonQtShell_QOpenGLContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8833,7 +10027,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8841,9 +10035,9 @@ if (_wrapper) { } } } - return QOpenGLShaderProgram::event(event0); + return QOpenGLContext::event(event0); } -bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8866,7 +10060,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8874,1921 +10068,2205 @@ if (_wrapper) { } } } - return QOpenGLShaderProgram::eventFilter(watched0, event1); + return QOpenGLContext::eventFilter(watched0, event1); } -bool PythonQtShell_QOpenGLShaderProgram::link() +void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("link"); + static PyObject* name = PyString_FromString("timerEvent"); 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}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLShaderProgram::link(); + 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 PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); } - QOpenGLShaderProgram::timerEvent(event0); + +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)); } -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; - } +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)); } -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; + +QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); + return ( theWrappedObject->handle()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() { - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); + return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() { - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); + return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) +int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->addCacheableShaderFromSourceFile(type, fileName)); + return ( theWrappedObject->height()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) +bool PythonQtWrapper_QOpenGLFramebufferObject::isBound(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->addShader(shader)); + return ( theWrappedObject->isBound()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) +bool PythonQtWrapper_QOpenGLFramebufferObject::isValid(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->addShaderFromSourceCode(type, source)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) +bool PythonQtWrapper_QOpenGLFramebufferObject::release(QOpenGLFramebufferObject* theWrappedObject) { - return ( theWrappedObject->addShaderFromSourceCode(type, source)); + return ( theWrappedObject->release()); } -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) +void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) { - return ( theWrappedObject->addShaderFromSourceCode(type, source)); + ( theWrappedObject->setAttachment(attachment)); } -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) +QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); + return ( theWrappedObject->size()); } -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->attributeLocation(name)); + return ( theWrappedObject->sizes()); } -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) { - return ( theWrappedObject->attributeLocation(name)); + return ( theWrappedObject->takeTexture()); } -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) { - return ( theWrappedObject->attributeLocation(name)); + return ( theWrappedObject->takeTexture(colorAttachmentIndex)); } -bool PythonQtWrapper_QOpenGLShaderProgram::bind(QOpenGLShaderProgram* theWrappedObject) +GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->bind()); + return ( theWrappedObject->texture()); } -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location) +QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const { - ( theWrappedObject->bindAttributeLocation(name, location)); + return ( theWrappedObject->textures()); } -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location) +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const { - ( theWrappedObject->bindAttributeLocation(name, location)); + return ( theWrappedObject->toImage()); } -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location) +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const { - ( theWrappedObject->bindAttributeLocation(name, location)); + return ( theWrappedObject->toImage(flipped)); } -bool PythonQtWrapper_QOpenGLShaderProgram::create(QOpenGLShaderProgram* theWrappedObject) +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const { - return ( theWrappedObject->create()); + return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); } -QVector PythonQtWrapper_QOpenGLShaderProgram::defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const +int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->defaultInnerTessellationLevels()); + return ( theWrappedObject->width()); } -QVector PythonQtWrapper_QOpenGLShaderProgram::defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const + + +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->defaultOuterTessellationLevels()); + return ( theWrappedObject->attachment()); } -void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const { - ( theWrappedObject->disableAttributeArray(name)); + return ( theWrappedObject->internalTextureFormat()); } -void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const { - ( theWrappedObject->disableAttributeArray(location)); + return ( theWrappedObject->mipmap()); } -void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const { - ( theWrappedObject->enableAttributeArray(name)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) { - ( theWrappedObject->enableAttributeArray(location)); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QOpenGLShaderProgram::static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context) +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const { - return (QOpenGLShaderProgram::hasOpenGLShaderPrograms(context)); + return ( (*theWrappedObject)== other); } -bool PythonQtWrapper_QOpenGLShaderProgram::isLinked(QOpenGLShaderProgram* theWrappedObject) const +int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const { - return ( theWrappedObject->isLinked()); + return ( theWrappedObject->samples()); } -bool PythonQtWrapper_QOpenGLShaderProgram::link(QOpenGLShaderProgram* theWrappedObject) +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) { - return ( theWrappedObject->link()); + ( theWrappedObject->setAttachment(attachment)); } -QString PythonQtWrapper_QOpenGLShaderProgram::log(QOpenGLShaderProgram* theWrappedObject) const +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) { - return ( theWrappedObject->log()); + ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); } -int PythonQtWrapper_QOpenGLShaderProgram::maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled) { - return ( theWrappedObject->maxGeometryOutputVertices()); + ( theWrappedObject->setMipmap(enabled)); } -int PythonQtWrapper_QOpenGLShaderProgram::patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples) { - return ( theWrappedObject->patchVertexCount()); + ( theWrappedObject->setSamples(samples)); } -GLuint PythonQtWrapper_QOpenGLShaderProgram::programId(QOpenGLShaderProgram* theWrappedObject) const +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) { - return ( theWrappedObject->programId()); + ( theWrappedObject->setTextureTarget(target)); } -void PythonQtWrapper_QOpenGLShaderProgram::release(QOpenGLShaderProgram* theWrappedObject) +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const { - ( theWrappedObject->release()); + return ( theWrappedObject->textureTarget()); } -void PythonQtWrapper_QOpenGLShaderProgram::removeAllShaders(QOpenGLShaderProgram* theWrappedObject) + + +PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QOpenGLPaintDevice::devType() const { - ( theWrappedObject->removeAllShaders()); +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(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) -{ - ( theWrappedObject->removeShader(shader)); + QOpenGLPaintDevice::initPainter(painter0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) +int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { - ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); + return QOpenGLPaintDevice::metric(metric0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) +QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { - ( theWrappedObject->setAttributeArray(name, values, stride)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); + return QOpenGLPaintDevice::paintEngine(); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) +QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const { - ( theWrappedObject->setAttributeArray(name, values, stride)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); + return QOpenGLPaintDevice::redirected(offset0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) +QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { - ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); + return QOpenGLPaintDevice::sharedPainter(); } +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice() +{ +return new PythonQtShell_QOpenGLPaintDevice(); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(const QSize& size) +{ +return new PythonQtShell_QOpenGLPaintDevice(size); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} +QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(int width, int height) +{ +return new PythonQtShell_QOpenGLPaintDevice(width, height); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) +QOpenGLContext* PythonQtWrapper_QOpenGLPaintDevice::context(QOpenGLPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); + return ( theWrappedObject->context()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) +qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); + return ( theWrappedObject->dotsPerMeterX()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeValue(name, value)); + return ( theWrappedObject->dotsPerMeterY()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +void PythonQtWrapper_QOpenGLPaintDevice::ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject) { - ( theWrappedObject->setAttributeValue(name, x, y)); + ( theWrappedObject->ensureActiveTarget()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +bool PythonQtWrapper_QOpenGLPaintDevice::paintFlipped(QOpenGLPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeValue(name, x, y, z)); + return ( theWrappedObject->paintFlipped()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void PythonQtWrapper_QOpenGLPaintDevice::setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio) { - ( theWrappedObject->setAttributeValue(name, x, y, z, w)); + ( theWrappedObject->setDevicePixelRatio(devicePixelRatio)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) +void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) { - ( theWrappedObject->setAttributeValue(name, values, columns, rows)); + ( theWrappedObject->setDotsPerMeterX(arg__1)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value) +void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) { - ( theWrappedObject->setAttributeValue(name, value)); + ( theWrappedObject->setDotsPerMeterY(arg__1)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +void PythonQtWrapper_QOpenGLPaintDevice::setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped) { - ( theWrappedObject->setAttributeValue(name, value)); + ( theWrappedObject->setPaintFlipped(flipped)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +void PythonQtWrapper_QOpenGLPaintDevice::setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size) { - ( theWrappedObject->setAttributeValue(name, value)); + ( theWrappedObject->setSize(size)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +QSize PythonQtWrapper_QOpenGLPaintDevice::size(QOpenGLPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeValue(name, value)); + return ( theWrappedObject->size()); } -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)); +PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) { - ( theWrappedObject->setAttributeValue(location, x, y, z, w)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) -{ - ( theWrappedObject->setAttributeValue(location, values, columns, rows)); + QOpenGLShader::childEvent(event0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value) +void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) { - ( theWrappedObject->setAttributeValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); + QOpenGLShader::customEvent(event0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +bool PythonQtShell_QOpenGLShader::event(QEvent* event0) { - ( theWrappedObject->setAttributeValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); + return QOpenGLShader::event(event0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) +bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setDefaultInnerTessellationLevels(levels)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) -{ - ( theWrappedObject->setDefaultOuterTessellationLevels(levels)); + return QOpenGLShader::eventFilter(watched0, event1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count) +void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setPatchVertexCount(count)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) -{ - ( theWrappedObject->setUniformValue(name, value)); + QOpenGLShader::timerEvent(event0); } +QOpenGLShader* PythonQtWrapper_QOpenGLShader::new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent) +{ +return new PythonQtShell_QOpenGLShader(type, parent); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setUniformValue(name, x, y)); +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; + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(name, x, y, z)); +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; } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source) { - ( theWrappedObject->setUniformValue(name, x, y, z, w)); + return ( theWrappedObject->compileSourceCode(source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source) { - ( theWrappedObject->setUniformValue(name, value)); + return ( theWrappedObject->compileSourceCode(source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) +bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const char* source) { - ( theWrappedObject->setUniformValue(name, value)); + return ( theWrappedObject->compileSourceCode(source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) +bool PythonQtWrapper_QOpenGLShader::compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName) { - ( theWrappedObject->setUniformValue(name, color)); + return ( theWrappedObject->compileSourceFile(fileName)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) +bool PythonQtWrapper_QOpenGLShader::static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context) { - ( theWrappedObject->setUniformValue(name, value)); + return (QOpenGLShader::hasOpenGLShaders(type, context)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) +bool PythonQtWrapper_QOpenGLShader::isCompiled(QOpenGLShader* theWrappedObject) const { - ( theWrappedObject->setUniformValue(name, point)); + return ( theWrappedObject->isCompiled()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) +QString PythonQtWrapper_QOpenGLShader::log(QOpenGLShader* theWrappedObject) const { - ( theWrappedObject->setUniformValue(name, point)); + return ( theWrappedObject->log()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) +GLuint PythonQtWrapper_QOpenGLShader::shaderId(QOpenGLShader* theWrappedObject) const { - ( theWrappedObject->setUniformValue(name, size)); + return ( theWrappedObject->shaderId()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) +QOpenGLShader::ShaderType PythonQtWrapper_QOpenGLShader::shaderType(QOpenGLShader* theWrappedObject) const { - ( theWrappedObject->setUniformValue(name, size)); + return ( theWrappedObject->shaderType()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) +QByteArray PythonQtWrapper_QOpenGLShader::sourceCode(QOpenGLShader* theWrappedObject) const { - ( theWrappedObject->setUniformValue(name, value)); + return ( theWrappedObject->sourceCode()); } -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)); +PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) +void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* event0) { - ( theWrappedObject->setUniformValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) + QOpenGLShaderProgram::childEvent(event0); +} +void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) { - ( theWrappedObject->setUniformValue(location, x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) + QOpenGLShaderProgram::customEvent(event0); +} +bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) { - ( theWrappedObject->setUniformValue(location, x, y, z)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setUniformValue(location, x, y, z, w)); + return QOpenGLShaderProgram::event(event0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) +bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setUniformValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) -{ - ( theWrappedObject->setUniformValue(location, value)); + return QOpenGLShaderProgram::eventFilter(watched0, event1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) +bool PythonQtShell_QOpenGLShaderProgram::link() { - ( theWrappedObject->setUniformValue(location, color)); +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(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) -{ - ( theWrappedObject->setUniformValue(location, value)); + return QOpenGLShaderProgram::link(); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) +void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setUniformValue(location, point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) -{ - ( theWrappedObject->setUniformValue(location, point)); + QOpenGLShaderProgram::timerEvent(event0); } +QOpenGLShaderProgram* PythonQtWrapper_QOpenGLShaderProgram::new_QOpenGLShaderProgram(QObject* parent) +{ +return new PythonQtShell_QOpenGLShaderProgram(parent); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) -{ - ( theWrappedObject->setUniformValue(location, size)); +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; + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) -{ - ( theWrappedObject->setUniformValue(location, size)); +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; } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) { - ( theWrappedObject->setUniformValue(location, value)); + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) { - ( theWrappedObject->setUniformValue(location, value)); + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) { - ( theWrappedObject->setUniformValue(location, value)); + return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) { - ( theWrappedObject->setUniformValue(location, value)); + return ( theWrappedObject->addCacheableShaderFromSourceFile(type, fileName)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) +bool PythonQtWrapper_QOpenGLShaderProgram::addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) { - ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); + return ( theWrappedObject->addShader(shader)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + return ( theWrappedObject->addShaderFromSourceCode(type, source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + return ( theWrappedObject->addShaderFromSourceCode(type, source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + return ( theWrappedObject->addShaderFromSourceCode(type, source)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) +bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const { - ( theWrappedObject->setUniformValueArray(name, values, count)); + return ( theWrappedObject->attributeLocation(name)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const { - ( theWrappedObject->setUniformValueArray(name, values, count)); + return ( theWrappedObject->attributeLocation(name)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const { - ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); + return ( theWrappedObject->attributeLocation(name)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +bool PythonQtWrapper_QOpenGLShaderProgram::bind(QOpenGLShaderProgram* theWrappedObject) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->bind()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + ( theWrappedObject->bindAttributeLocation(name, location)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + ( theWrappedObject->bindAttributeLocation(name, location)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) +void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + ( theWrappedObject->bindAttributeLocation(name, location)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) +bool PythonQtWrapper_QOpenGLShaderProgram::create(QOpenGLShaderProgram* theWrappedObject) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->create()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) +QVector PythonQtWrapper_QOpenGLShaderProgram::defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->defaultInnerTessellationLevels()); } -QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const +QVector PythonQtWrapper_QOpenGLShaderProgram::defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const { - return ( theWrappedObject->shaders()); + return ( theWrappedObject->defaultOuterTessellationLevels()); } -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) { - return ( theWrappedObject->uniformLocation(name)); + ( theWrappedObject->disableAttributeArray(name)); } -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) { - return ( theWrappedObject->uniformLocation(name)); + ( theWrappedObject->disableAttributeArray(location)); } -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) { - return ( theWrappedObject->uniformLocation(name)); + ( theWrappedObject->enableAttributeArray(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) +void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) { - ( theWrappedObject->allocateStorage()); + ( theWrappedObject->enableAttributeArray(location)); } -void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) +bool PythonQtWrapper_QOpenGLShaderProgram::static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context) { - ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); + return (QOpenGLShaderProgram::hasOpenGLShaderPrograms(context)); } -void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) +bool PythonQtWrapper_QOpenGLShaderProgram::isLinked(QOpenGLShaderProgram* theWrappedObject) const { - ( theWrappedObject->bind()); + return ( theWrappedObject->isLinked()); } -void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +bool PythonQtWrapper_QOpenGLShaderProgram::link(QOpenGLShaderProgram* theWrappedObject) { - ( theWrappedObject->bind(unit, reset)); + return ( theWrappedObject->link()); } -QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const +QString PythonQtWrapper_QOpenGLShaderProgram::log(QOpenGLShaderProgram* theWrappedObject) const { - return ( theWrappedObject->borderColor()); + return ( theWrappedObject->log()); } -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const +int PythonQtWrapper_QOpenGLShaderProgram::maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const { - ( theWrappedObject->borderColor(border)); + return ( theWrappedObject->maxGeometryOutputVertices()); } -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const +int PythonQtWrapper_QOpenGLShaderProgram::patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const { - ( theWrappedObject->borderColor(border)); + return ( theWrappedObject->patchVertexCount()); } -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const +GLuint PythonQtWrapper_QOpenGLShaderProgram::programId(QOpenGLShaderProgram* theWrappedObject) const { - ( theWrappedObject->borderColor(border)); + return ( theWrappedObject->programId()); } -GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) +void PythonQtWrapper_QOpenGLShaderProgram::release(QOpenGLShaderProgram* theWrappedObject) { - return (QOpenGLTexture::boundTextureId(target)); + ( theWrappedObject->release()); } -GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) +void PythonQtWrapper_QOpenGLShaderProgram::removeAllShaders(QOpenGLShaderProgram* theWrappedObject) { - return (QOpenGLTexture::boundTextureId(unit, target)); + ( theWrappedObject->removeAllShaders()); } -QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) { - return ( theWrappedObject->comparisonFunction()); + ( theWrappedObject->removeShader(shader)); } -QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) { - return ( theWrappedObject->comparisonMode()); + ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); } -bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) { - return ( theWrappedObject->create()); + ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); } -QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) { - return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); + ( theWrappedObject->setAttributeArray(name, values, stride)); } -int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) { - return ( theWrappedObject->depth()); + ( theWrappedObject->setAttributeArray(name, values, stride)); } -QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) { - return ( theWrappedObject->depthStencilMode()); + ( theWrappedObject->setAttributeArray(name, values, stride)); } -void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) { - ( theWrappedObject->destroy()); + ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); } -int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) { - return ( theWrappedObject->faces()); + ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); } -QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) { - return ( theWrappedObject->format()); + ( theWrappedObject->setAttributeArray(location, values, stride)); } -void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) { - ( theWrappedObject->generateMipMaps()); + ( theWrappedObject->setAttributeArray(location, values, stride)); } -void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) { - ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); + ( theWrappedObject->setAttributeArray(location, values, stride)); } -bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) { - return (QOpenGLTexture::hasFeature(feature)); + ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); } -int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) { - return ( theWrappedObject->height()); + ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); } -bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) { - return ( theWrappedObject->isAutoMipMapGenerationEnabled()); + ( theWrappedObject->setAttributeValue(name, value)); } -bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) { - return ( theWrappedObject->isBound()); + ( theWrappedObject->setAttributeValue(name, x, y)); } -bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) { - return ( theWrappedObject->isBound(unit)); + ( theWrappedObject->setAttributeValue(name, x, y, z)); } -bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - return ( theWrappedObject->isCreated()); + ( theWrappedObject->setAttributeValue(name, x, y, z, w)); } -bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) { - return ( theWrappedObject->isFixedSamplePositions()); + ( theWrappedObject->setAttributeValue(name, values, columns, rows)); } -bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value) { - return ( theWrappedObject->isStorageAllocated()); + ( theWrappedObject->setAttributeValue(name, value)); } -bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) { - return ( theWrappedObject->isTextureView()); + ( theWrappedObject->setAttributeValue(name, value)); } -int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) { - return ( theWrappedObject->layers()); + ( theWrappedObject->setAttributeValue(name, value)); } -QPair PythonQtWrapper_QOpenGLTexture::levelOfDetailRange(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) { - return ( theWrappedObject->levelOfDetailRange()); + ( theWrappedObject->setAttributeValue(name, value)); } -float PythonQtWrapper_QOpenGLTexture::levelofDetailBias(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) { - return ( theWrappedObject->levelofDetailBias()); + ( theWrappedObject->setAttributeValue(location, value)); } -QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::magnificationFilter(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) { - return ( theWrappedObject->magnificationFilter()); + ( theWrappedObject->setAttributeValue(location, x, y)); } -float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) { - return ( theWrappedObject->maximumAnisotropy()); + ( theWrappedObject->setAttributeValue(location, x, y, z)); } -float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - return ( theWrappedObject->maximumLevelOfDetail()); + ( theWrappedObject->setAttributeValue(location, x, y, z, w)); } -int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) { - return ( theWrappedObject->maximumMipLevels()); + ( theWrappedObject->setAttributeValue(location, values, columns, rows)); } -QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value) { - return ( theWrappedObject->minMagFilters()); + ( theWrappedObject->setAttributeValue(location, value)); } -QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) { - return ( theWrappedObject->minificationFilter()); + ( theWrappedObject->setAttributeValue(location, value)); } -float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) { - return ( theWrappedObject->minimumLevelOfDetail()); + ( theWrappedObject->setAttributeValue(location, value)); } -int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) { - return ( theWrappedObject->mipBaseLevel()); + ( theWrappedObject->setAttributeValue(location, value)); } -QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) { - return ( theWrappedObject->mipLevelRange()); + ( theWrappedObject->setDefaultInnerTessellationLevels(levels)); } -int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) { - return ( theWrappedObject->mipLevels()); + ( theWrappedObject->setDefaultOuterTessellationLevels(levels)); } -int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count) { - return ( theWrappedObject->mipMaxLevel()); + ( theWrappedObject->setPatchVertexCount(count)); } -void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) { - ( theWrappedObject->release()); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) { - ( theWrappedObject->release(unit, reset)); + ( theWrappedObject->setUniformValue(name, x, y)); } -int PythonQtWrapper_QOpenGLTexture::samples(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) { - return ( theWrappedObject->samples()); + ( theWrappedObject->setUniformValue(name, x, y, z)); } -void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); + ( theWrappedObject->setUniformValue(name, x, y, z, w)); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) { - ( theWrappedObject->setBorderColor(color)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) { - ( theWrappedObject->setBorderColor(r, g, b, a)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) { - ( theWrappedObject->setBorderColor(r, g, b, a)); + ( theWrappedObject->setUniformValue(name, color)); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) { - ( theWrappedObject->setBorderColor(r, g, b, a)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) { - ( theWrappedObject->setComparisonFunction(function)); + ( theWrappedObject->setUniformValue(name, point)); } -void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) { - ( theWrappedObject->setComparisonMode(mode)); + ( theWrappedObject->setUniformValue(name, point)); } -void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) { - ( theWrappedObject->setData(image, genMipMaps)); + ( theWrappedObject->setUniformValue(name, size)); } -void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) { - ( theWrappedObject->setDepthStencilMode(mode)); + ( theWrappedObject->setUniformValue(name, size)); } -void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) { - ( theWrappedObject->setFixedSamplePositions(fixed)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) { - ( theWrappedObject->setLayers(layers)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) { - ( theWrappedObject->setLevelOfDetailRange(min, max)); + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtWrapper_QOpenGLTexture::setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) { - ( theWrappedObject->setLevelofDetailBias(bias)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) { - ( theWrappedObject->setMagnificationFilter(filter)); + ( theWrappedObject->setUniformValue(location, x, y)); } -void PythonQtWrapper_QOpenGLTexture::setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) { - ( theWrappedObject->setMaximumAnisotropy(anisotropy)); + ( theWrappedObject->setUniformValue(location, x, y, z)); } -void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - ( theWrappedObject->setMaximumLevelOfDetail(value)); + ( theWrappedObject->setUniformValue(location, x, y, z, w)); } -void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) { - ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) { - ( theWrappedObject->setMinificationFilter(filter)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) { - ( theWrappedObject->setMinimumLevelOfDetail(value)); + ( theWrappedObject->setUniformValue(location, color)); } -void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) { - ( theWrappedObject->setMipBaseLevel(baseLevel)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) { - ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); + ( theWrappedObject->setUniformValue(location, point)); } -void PythonQtWrapper_QOpenGLTexture::setMipLevels(QOpenGLTexture* theWrappedObject, int levels) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) { - ( theWrappedObject->setMipLevels(levels)); + ( theWrappedObject->setUniformValue(location, point)); } -void PythonQtWrapper_QOpenGLTexture::setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) { - ( theWrappedObject->setMipMaxLevel(maxLevel)); + ( theWrappedObject->setUniformValue(location, size)); } -void PythonQtWrapper_QOpenGLTexture::setSamples(QOpenGLTexture* theWrappedObject, int samples) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) { - ( theWrappedObject->setSamples(samples)); + ( theWrappedObject->setUniformValue(location, size)); } -void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) { - ( theWrappedObject->setSize(width, height, depth)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) { - ( theWrappedObject->setSwizzleMask(component, value)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) { - ( theWrappedObject->setSwizzleMask(r, g, b, a)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) { - ( theWrappedObject->setWrapMode(direction, mode)); + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) { - ( theWrappedObject->setWrapMode(mode)); + ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); } -QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) { - return ( theWrappedObject->swizzleMask(component)); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) { - return ( theWrappedObject->target()); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) { - return ( theWrappedObject->textureId()); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) { - return ( theWrappedObject->width()); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) { - return ( theWrappedObject->wrapMode(direction)); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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)); +} - -QOpenGLTextureBlitter* PythonQtWrapper_QOpenGLTextureBlitter::new_QOpenGLTextureBlitter() -{ -return new QOpenGLTextureBlitter(); } - -void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) { - ( theWrappedObject->bind(target)); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) { - ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) { - return ( theWrappedObject->create()); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) { - ( theWrappedObject->destroy()); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) { - return ( theWrappedObject->isCreated()); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) { - ( theWrappedObject->release()); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) +QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const { - ( theWrappedObject->setOpacity(opacity)); + return ( theWrappedObject->shaders()); } -void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const { - ( theWrappedObject->setRedBlueSwizzle(swizzle)); + return ( theWrappedObject->uniformLocation(name)); } -bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const { - return ( theWrappedObject->supportsExternalOESTarget()); + return ( theWrappedObject->uniformLocation(name)); } -QMatrix4x4 PythonQtWrapper_QOpenGLTextureBlitter::static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport) +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const { - return (QOpenGLTextureBlitter::targetTransform(target, viewport)); + return ( theWrappedObject->uniformLocation(name)); } -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) +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) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + ( theWrappedObject->allocateStorage()); } -bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); } -bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + ( theWrappedObject->bind()); } -void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->bind(unit, reset)); } - QOpenGLTimeMonitor::timerEvent(event0); + +QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->borderColor()); } -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; - } +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const +{ + ( theWrappedObject->borderColor(border)); } -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; + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const +{ + ( theWrappedObject->borderColor(border)); } -bool PythonQtWrapper_QOpenGLTimeMonitor::create(QOpenGLTimeMonitor* theWrappedObject) + +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const { - return ( theWrappedObject->create()); + ( theWrappedObject->borderColor(border)); } -void PythonQtWrapper_QOpenGLTimeMonitor::destroy(QOpenGLTimeMonitor* theWrappedObject) +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) { - ( theWrappedObject->destroy()); + return (QOpenGLTexture::boundTextureId(target)); } -bool PythonQtWrapper_QOpenGLTimeMonitor::isCreated(QOpenGLTimeMonitor* theWrappedObject) const +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) { - return ( theWrappedObject->isCreated()); + return (QOpenGLTexture::boundTextureId(unit, target)); } -bool PythonQtWrapper_QOpenGLTimeMonitor::isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const +QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->isResultAvailable()); + return ( theWrappedObject->comparisonFunction()); } -QVector PythonQtWrapper_QOpenGLTimeMonitor::objectIds(QOpenGLTimeMonitor* theWrappedObject) const +QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->objectIds()); + return ( theWrappedObject->comparisonMode()); } -int PythonQtWrapper_QOpenGLTimeMonitor::recordSample(QOpenGLTimeMonitor* theWrappedObject) +bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) { - return ( theWrappedObject->recordSample()); + return ( theWrappedObject->create()); } -void PythonQtWrapper_QOpenGLTimeMonitor::reset(QOpenGLTimeMonitor* theWrappedObject) +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const { - ( theWrappedObject->reset()); + return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); } -int PythonQtWrapper_QOpenGLTimeMonitor::sampleCount(QOpenGLTimeMonitor* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->sampleCount()); + return ( theWrappedObject->depth()); } -void PythonQtWrapper_QOpenGLTimeMonitor::setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount) +QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setSampleCount(sampleCount)); + return ( theWrappedObject->depthStencilMode()); } -QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) { - return ( theWrappedObject->waitForIntervals()); + ( theWrappedObject->destroy()); } -QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->waitForSamples()); + return ( theWrappedObject->faces()); } +QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) +{ + ( theWrappedObject->generateMipMaps()); +} -PythonQtShell_QOpenGLTimerQuery::~PythonQtShell_QOpenGLTimerQuery() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) +{ + ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); } -void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* event0) + +bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QOpenGLTexture::hasFeature(feature)); } - QOpenGLTimerQuery::childEvent(event0); + +int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->height()); } -void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) + +bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isAutoMipMapGenerationEnabled()); } - QOpenGLTimerQuery::customEvent(event0); + +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isBound()); } -bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) + +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isBound(unit)); } - return QOpenGLTimerQuery::event(event0); + +bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); } -bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* event1) + +bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isFixedSamplePositions()); } - return QOpenGLTimerQuery::eventFilter(watched0, event1); + +bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->isStorageAllocated()); } -void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) + +bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isTextureView()); } - QOpenGLTimerQuery::timerEvent(event0); + +int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->layers()); } -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; - } +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()); } -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; + +float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->maximumAnisotropy()); } -void PythonQtWrapper_QOpenGLTimerQuery::begin(QOpenGLTimerQuery* theWrappedObject) + +float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->begin()); + return ( theWrappedObject->maximumLevelOfDetail()); } -bool PythonQtWrapper_QOpenGLTimerQuery::create(QOpenGLTimerQuery* theWrappedObject) +int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->create()); + return ( theWrappedObject->maximumMipLevels()); } -void PythonQtWrapper_QOpenGLTimerQuery::destroy(QOpenGLTimerQuery* theWrappedObject) +QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->destroy()); + return ( theWrappedObject->minMagFilters()); } -void PythonQtWrapper_QOpenGLTimerQuery::end(QOpenGLTimerQuery* theWrappedObject) +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->end()); + return ( theWrappedObject->minificationFilter()); } -bool PythonQtWrapper_QOpenGLTimerQuery::isCreated(QOpenGLTimerQuery* theWrappedObject) const +float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->isCreated()); + return ( theWrappedObject->minimumLevelOfDetail()); } -bool PythonQtWrapper_QOpenGLTimerQuery::isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->isResultAvailable()); + return ( theWrappedObject->mipBaseLevel()); } -GLuint PythonQtWrapper_QOpenGLTimerQuery::objectId(QOpenGLTimerQuery* theWrappedObject) const +QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->objectId()); + return ( theWrappedObject->mipLevelRange()); } -void PythonQtWrapper_QOpenGLTimerQuery::recordTimestamp(QOpenGLTimerQuery* theWrappedObject) +int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->recordTimestamp()); + return ( theWrappedObject->mipLevels()); } -GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForResult(QOpenGLTimerQuery* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->waitForResult()); + return ( theWrappedObject->mipMaxLevel()); } -GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) { - return ( theWrappedObject->waitForTimestamp()); + ( 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()); +} -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile() -{ -return new QOpenGLVersionProfile(); } +void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); +} -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other) -{ -return new QOpenGLVersionProfile(other); } +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) +{ + ( theWrappedObject->setBorderColor(color)); +} -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QSurfaceFormat& format) -{ -return new QOpenGLVersionProfile(format); } +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); +} -bool PythonQtWrapper_QOpenGLVersionProfile::hasProfiles(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) { - return ( theWrappedObject->hasProfiles()); + ( theWrappedObject->setBorderColor(r, g, b, a)); } -bool PythonQtWrapper_QOpenGLVersionProfile::isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) { - return ( theWrappedObject->isLegacyVersion()); + ( theWrappedObject->setBorderColor(r, g, b, a)); } -bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setComparisonFunction(function)); } -bool PythonQtWrapper_QOpenGLVersionProfile::__ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) { - return ( (*theWrappedObject)!= rhs); + ( theWrappedObject->setComparisonMode(mode)); } -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) { - return &( (*theWrappedObject)= rhs); + ( theWrappedObject->setData(image, genMipMaps)); } -bool PythonQtWrapper_QOpenGLVersionProfile::__eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) { - return ( (*theWrappedObject)== rhs); + ( theWrappedObject->setDepthStencilMode(mode)); } -QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) { - return ( theWrappedObject->profile()); + ( theWrappedObject->setFixedSamplePositions(fixed)); } -void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) { - ( theWrappedObject->setProfile(profile)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QOpenGLVersionProfile::setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion) +void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) { - ( theWrappedObject->setVersion(majorVersion, minorVersion)); + ( theWrappedObject->setLayers(layers)); } -QPair PythonQtWrapper_QOpenGLVersionProfile::version(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) { - return ( theWrappedObject->version()); + ( theWrappedObject->setLevelOfDetailRange(min, max)); } -QString PythonQtWrapper_QOpenGLVersionProfile::py_toString(QOpenGLVersionProfile* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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)); +} -PythonQtShell_QOpenGLVertexArrayObject::~PythonQtShell_QOpenGLVertexArrayObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +{ + ( theWrappedObject->setMaximumLevelOfDetail(value)); } -void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); } - QOpenGLVertexArrayObject::childEvent(event0); + +void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +{ + ( theWrappedObject->setMinificationFilter(filter)); } -void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMinimumLevelOfDetail(value)); } - QOpenGLVertexArrayObject::customEvent(event0); + +void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) +{ + ( theWrappedObject->setMipBaseLevel(baseLevel)); } -bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); } - return QOpenGLVertexArrayObject::event(event0); + +void PythonQtWrapper_QOpenGLTexture::setMipLevels(QOpenGLTexture* theWrappedObject, int levels) +{ + ( theWrappedObject->setMipLevels(levels)); } -bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QOpenGLTexture::setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMipMaxLevel(maxLevel)); } - return QOpenGLVertexArrayObject::eventFilter(watched0, event1); + +void PythonQtWrapper_QOpenGLTexture::setSamples(QOpenGLTexture* theWrappedObject, int samples) +{ + ( theWrappedObject->setSamples(samples)); } -void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSize(width, height, depth)); } - QOpenGLVertexArrayObject::timerEvent(event0); + +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) +{ + ( theWrappedObject->setSwizzleMask(component, value)); } -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; - } +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a) +{ + ( theWrappedObject->setSwizzleMask(r, g, b, a)); } -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_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) +{ + ( theWrappedObject->setWrapMode(direction, mode)); } -void PythonQtWrapper_QOpenGLVertexArrayObject::bind(QOpenGLVertexArrayObject* theWrappedObject) + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) { - ( theWrappedObject->bind()); + ( theWrappedObject->setWrapMode(mode)); } -bool PythonQtWrapper_QOpenGLVertexArrayObject::create(QOpenGLVertexArrayObject* theWrappedObject) +QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const { - return ( theWrappedObject->create()); + return ( theWrappedObject->swizzleMask(component)); } -void PythonQtWrapper_QOpenGLVertexArrayObject::destroy(QOpenGLVertexArrayObject* theWrappedObject) +QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->destroy()); + return ( theWrappedObject->target()); } -bool PythonQtWrapper_QOpenGLVertexArrayObject::isCreated(QOpenGLVertexArrayObject* theWrappedObject) const +GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->isCreated()); + return ( theWrappedObject->textureId()); } -GLuint PythonQtWrapper_QOpenGLVertexArrayObject::objectId(QOpenGLVertexArrayObject* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->objectId()); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QOpenGLVertexArrayObject::release(QOpenGLVertexArrayObject* theWrappedObject) +QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const { - ( theWrappedObject->release()); + return ( theWrappedObject->wrapMode(direction)); +} + +QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -PythonQtShell_QOpenGLWidget::~PythonQtShell_QOpenGLWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QOpenGLTextureBlitter* PythonQtWrapper_QOpenGLTextureBlitter::new_QOpenGLTextureBlitter() +{ +return new QOpenGLTextureBlitter(); } + +void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) +{ + ( theWrappedObject->bind(target)); } -void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) + +void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) { -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(); - } - } + ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); } - QOpenGLWidget::actionEvent(event0); + +bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) +{ + return ( theWrappedObject->create()); } -void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) + +void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) { -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(); - } - } + ( theWrappedObject->destroy()); } - QOpenGLWidget::changeEvent(arg__1); + +bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const +{ + return ( theWrappedObject->isCreated()); } -void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->release()); } - QOpenGLWidget::childEvent(event0); + +void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) +{ + ( theWrappedObject->setOpacity(opacity)); } -void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) { -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(); - } - } + ( theWrappedObject->setRedBlueSwizzle(swizzle)); } - QOpenGLWidget::closeEvent(event0); + +bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const +{ + return ( theWrappedObject->supportsExternalOESTarget()); } -void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) + +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10796,9 +12274,9 @@ if (_wrapper) { } } } - QOpenGLWidget::contextMenuEvent(event0); + QOpenGLTimeMonitor::childEvent(event0); } -void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) +void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10810,7 +12288,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10818,32 +12296,32 @@ if (_wrapper) { } } } - QOpenGLWidget::customEvent(event0); + QOpenGLTimeMonitor::customEvent(event0); } -int PythonQtShell_QOpenGLWidget::devType() const +bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10851,43 +12329,54 @@ if (_wrapper) { } } } - return QOpenGLWidget::devType(); + return QOpenGLTimeMonitor::event(event0); } -void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* 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("dragEnterEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWidget::dragEnterEvent(event0); + return QOpenGLTimeMonitor::eventFilter(watched0, event1); } -void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10895,43 +12384,99 @@ if (_wrapper) { } } } - QOpenGLWidget::dragLeaveEvent(event0); + QOpenGLTimeMonitor::timerEvent(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(); - } +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; } } - QOpenGLWidget::dragMoveEvent(event0); +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; } -void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10939,21 +12484,21 @@ if (_wrapper) { } } } - QOpenGLWidget::dropEvent(event0); + QOpenGLTimerQuery::childEvent(event0); } -void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) +void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10961,9 +12506,9 @@ if (_wrapper) { } } } - QOpenGLWidget::enterEvent(event0); + QOpenGLTimerQuery::customEvent(event0); } -bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) +bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10974,7 +12519,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -10986,7 +12531,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10994,9 +12539,9 @@ if (_wrapper) { } } } - return QOpenGLWidget::event(e0); + return QOpenGLTimerQuery::event(event0); } -bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11019,7 +12564,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11027,76 +12572,209 @@ if (_wrapper) { } } } - return QOpenGLWidget::eventFilter(watched0, event1); + 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); } -void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) + +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->profile()); } - QOpenGLWidget::focusInEvent(event0); + +void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); } -bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) + +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; +} + + + +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLWidget::focusNextPrevChild(next0); + QOpenGLVertexArrayObject::childEvent(event0); } -void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11104,32 +12782,32 @@ if (_wrapper) { } } } - QOpenGLWidget::focusOutEvent(event0); + QOpenGLVertexArrayObject::customEvent(event0); } -bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const +bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11137,32 +12815,32 @@ if (_wrapper) { } } } - return QOpenGLWidget::hasHeightForWidth(); + return QOpenGLVertexArrayObject::event(event0); } -int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const +bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11170,21 +12848,21 @@ if (_wrapper) { } } } - return QOpenGLWidget::heightForWidth(arg__1); + return QOpenGLVertexArrayObject::eventFilter(watched0, event1); } -void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11192,65 +12870,74 @@ if (_wrapper) { } } } - QOpenGLWidget::hideEvent(event0); + QOpenGLVertexArrayObject::timerEvent(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(); - } +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; } } - QOpenGLWidget::initPainter(painter0); +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 PythonQtShell_QOpenGLWidget::initializeGL() +void PythonQtWrapper_QOpenGLVertexArrayObject::bind(QOpenGLVertexArrayObject* theWrappedObject) { -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(); - } - } + ( theWrappedObject->bind()); } - QOpenGLWidget::initializeGL(); + +bool PythonQtWrapper_QOpenGLVertexArrayObject::create(QOpenGLVertexArrayObject* theWrappedObject) +{ + return ( theWrappedObject->create()); } -void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) + +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11258,54 +12945,43 @@ if (_wrapper) { } } } - QOpenGLWidget::inputMethodEvent(arg__1); + QOpenGLWidget::actionEvent(event0); } -QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLWidget::inputMethodQuery(arg__1); + QOpenGLWidget::changeEvent(arg__1); } -void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11313,21 +12989,21 @@ if (_wrapper) { } } } - QOpenGLWidget::keyPressEvent(event0); + QOpenGLWidget::childEvent(event0); } -void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11335,21 +13011,21 @@ if (_wrapper) { } } } - QOpenGLWidget::keyReleaseEvent(event0); + QOpenGLWidget::closeEvent(event0); } -void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11357,65 +13033,54 @@ if (_wrapper) { } } } - QOpenGLWidget::leaveEvent(event0); + QOpenGLWidget::contextMenuEvent(event0); } -int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric0) const +void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLWidget::metric(metric0); + QOpenGLWidget::customEvent(event0); } -QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const +int PythonQtShell_QOpenGLWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11423,21 +13088,21 @@ if (_wrapper) { } } } - return QOpenGLWidget::minimumSizeHint(); + return QOpenGLWidget::devType(); } -void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11445,21 +13110,21 @@ if (_wrapper) { } } } - QOpenGLWidget::mouseDoubleClickEvent(event0); + QOpenGLWidget::dragEnterEvent(event0); } -void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11467,21 +13132,21 @@ if (_wrapper) { } } } - QOpenGLWidget::mouseMoveEvent(event0); + QOpenGLWidget::dragLeaveEvent(event0); } -void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11489,21 +13154,21 @@ if (_wrapper) { } } } - QOpenGLWidget::mousePressEvent(event0); + QOpenGLWidget::dragMoveEvent(event0); } -void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11511,21 +13176,21 @@ if (_wrapper) { } } } - QOpenGLWidget::mouseReleaseEvent(event0); + QOpenGLWidget::dropEvent(event0); } -void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11533,32 +13198,32 @@ if (_wrapper) { } } } - QOpenGLWidget::moveEvent(event0); + QOpenGLWidget::enterEvent(event0); } -bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11566,32 +13231,32 @@ if (_wrapper) { } } } - return QOpenGLWidget::nativeEvent(eventType0, message1, result2); + return QOpenGLWidget::event(e0); } -QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const +bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11599,21 +13264,21 @@ if (_wrapper) { } } } - return QOpenGLWidget::paintEngine(); + return QOpenGLWidget::eventFilter(watched0, event1); } -void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) +void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11621,54 +13286,87 @@ if (_wrapper) { } } } - QOpenGLWidget::paintEvent(e0); + QOpenGLWidget::focusInEvent(event0); } -void PythonQtShell_QOpenGLWidget::paintGL() +bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintGL"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWidget::paintGL(); + return QOpenGLWidget::focusNextPrevChild(next0); } -QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const +void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; + void* args[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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11676,43 +13374,54 @@ if (_wrapper) { } } } - return QOpenGLWidget::redirected(p0); + return QOpenGLWidget::hasHeightForWidth(); } -void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) +int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWidget::resizeEvent(e0); + return QOpenGLWidget::heightForWidth(arg__1); } -void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) +void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeGL"); + static PyObject* name = PyString_FromString("hideEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11720,21 +13429,21 @@ if (_wrapper) { } } } - QOpenGLWidget::resizeGL(w0, h1); + QOpenGLWidget::hideEvent(event0); } -void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) +void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11742,54 +13451,43 @@ if (_wrapper) { } } } - QOpenGLWidget::setVisible(visible0); + QOpenGLWidget::initPainter(painter0); } -QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const +void PythonQtShell_QOpenGLWidget::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("initializeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLWidget::sharedPainter(); + QOpenGLWidget::initializeGL(); } -void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11797,32 +13495,32 @@ if (_wrapper) { } } } - QOpenGLWidget::showEvent(event0); + QOpenGLWidget::inputMethodEvent(arg__1); } -QSize PythonQtShell_QOpenGLWidget::sizeHint() const +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("getSizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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("getSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11830,21 +13528,21 @@ if (_wrapper) { } } } - return QOpenGLWidget::sizeHint(); + return QOpenGLWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11852,21 +13550,21 @@ if (_wrapper) { } } } - QOpenGLWidget::tabletEvent(event0); + QOpenGLWidget::keyPressEvent(event0); } -void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) +void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11874,141 +13572,21 @@ if (_wrapper) { } } } - QOpenGLWidget::timerEvent(event0); + QOpenGLWidget::keyReleaseEvent(event0); } -void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[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::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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12016,9 +13594,9 @@ if (_wrapper) { } } } - QOpenGLWindow::initializeGL(); + QOpenGLWidget::leaveEvent(event0); } -int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12041,7 +13619,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12049,43 +13627,54 @@ if (_wrapper) { } } } - return QOpenGLWindow::metric(metric0); + return QOpenGLWidget::metric(metric0); } -void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) +QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWindow::paintEvent(event0); + return QOpenGLWidget::minimumSizeHint(); } -void PythonQtShell_QOpenGLWindow::paintGL() +void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintGL"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12093,21 +13682,21 @@ if (_wrapper) { } } } - QOpenGLWindow::paintGL(); + QOpenGLWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QOpenGLWindow::paintOverGL() +void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintOverGL"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12115,21 +13704,21 @@ if (_wrapper) { } } } - QOpenGLWindow::paintOverGL(); + QOpenGLWidget::mouseMoveEvent(event0); } -void PythonQtShell_QOpenGLWindow::paintUnderGL() +void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintUnderGL"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12137,54 +13726,43 @@ if (_wrapper) { } } } - QOpenGLWindow::paintUnderGL(); + QOpenGLWidget::mousePressEvent(event0); } -QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const +void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLWindow::redirected(arg__1); + QOpenGLWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12192,346 +13770,109 @@ if (_wrapper) { } } } - QOpenGLWindow::resizeEvent(event0); + QOpenGLWidget::moveEvent(event0); } -void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) +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("resizeGL"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWindow::resizeGL(w0, h1); -} -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()); -} - -int PythonQtWrapper_QOpenGLWindow::metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_metric(metric)); -} - -void PythonQtWrapper_QOpenGLWindow::paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintEvent(event)); -} - -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()); -} - -QPaintDevice* PythonQtWrapper_QOpenGLWindow::redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - -void PythonQtWrapper_QOpenGLWindow::resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeEvent(event)); -} - -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)); + return QOpenGLWidget::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QPageLayout::setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units) +QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const { - ( theWrappedObject->setUnits(units)); +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(); + } + } } - -void PythonQtWrapper_QPageLayout::swap(QPageLayout* theWrappedObject, QPageLayout& other) -{ - ( theWrappedObject->swap(other)); + return QOpenGLWidget::paintEngine(); } - -QPageLayout::Unit PythonQtWrapper_QPageLayout::units(QPageLayout* theWrappedObject) const +void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) { - return ( theWrappedObject->units()); -} - -QString PythonQtWrapper_QPageLayout::py_toString(QPageLayout* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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(); + } + } } - - - -PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QOpenGLWidget::paintEvent(e0); } -void PythonQtShell_QPageSetupDialog::accept() +void PythonQtShell_QOpenGLWidget::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12539,43 +13880,54 @@ if (_wrapper) { } } } - QPageSetupDialog::accept(); + QOpenGLWidget::paintGL(); } -void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) +QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPageSetupDialog::actionEvent(event0); + return QOpenGLWidget::redirected(p0); } -void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12583,21 +13935,21 @@ if (_wrapper) { } } } - QPageSetupDialog::changeEvent(arg__1); + QOpenGLWidget::resizeEvent(e0); } -void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) +void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("resizeGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12605,21 +13957,21 @@ if (_wrapper) { } } } - QPageSetupDialog::childEvent(event0); + QOpenGLWidget::resizeGL(w0, h1); } -void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12627,43 +13979,54 @@ if (_wrapper) { } } } - QPageSetupDialog::closeEvent(arg__1); + QOpenGLWidget::setVisible(visible0); } -void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPageSetupDialog::contextMenuEvent(arg__1); + return QOpenGLWidget::sharedPainter(); } -void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) +void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12671,32 +14034,32 @@ if (_wrapper) { } } } - QPageSetupDialog::customEvent(event0); + QOpenGLWidget::showEvent(event0); } -int PythonQtShell_QPageSetupDialog::devType() const +QSize PythonQtShell_QOpenGLWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12704,21 +14067,21 @@ if (_wrapper) { } } } - return QPageSetupDialog::devType(); + return QOpenGLWidget::sizeHint(); } -void PythonQtShell_QPageSetupDialog::done(int result0) +void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&result0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12726,21 +14089,43 @@ if (_wrapper) { } } } - QPageSetupDialog::done(result0); + QOpenGLWidget::tabletEvent(event0); } -void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12748,43 +14133,119 @@ if (_wrapper) { } } } - QPageSetupDialog::dragEnterEvent(event0); + 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()); } -void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) + +QOpenGLWidget::UpdateBehavior PythonQtWrapper_QOpenGLWidget::updateBehavior(QOpenGLWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "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(); - } - } + return ( theWrappedObject->updateBehavior()); } - QPageSetupDialog::dragLeaveEvent(event0); + + + +PythonQtShell_QOpenGLWindow::~PythonQtShell_QOpenGLWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QOpenGLWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12792,21 +14253,21 @@ if (_wrapper) { } } } - QPageSetupDialog::dragMoveEvent(event0); + QOpenGLWindow::childEvent(event0); } -void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QOpenGLWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12814,31 +14275,42 @@ if (_wrapper) { } } } - QPageSetupDialog::dropEvent(event0); + QOpenGLWindow::customEvent(event0); } -void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) +int PythonQtShell_QOpenGLWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPageSetupDialog::enterEvent(event0); + return QOpenGLWindow::devType(); } -bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) +bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12861,7 +14333,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12869,9 +14341,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::event(event0); + return QOpenGLWindow::event(event0); } -bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QOpenGLWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12882,7 +14354,7 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -12894,7 +14366,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12902,42 +14374,31 @@ if (_wrapper) { } } } - return QPageSetupDialog::eventFilter(arg__1, arg__2); + return QOpenGLWindow::eventFilter(watched0, event1); } -int PythonQtShell_QPageSetupDialog::exec() +void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("exposeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPageSetupDialog::exec(); + QOpenGLWindow::exposeEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12947,9 +14408,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12957,32 +14418,32 @@ if (_wrapper) { } } } - QPageSetupDialog::focusInEvent(event0); + QOpenGLWindow::focusInEvent(arg__1); } -bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) +QObject* PythonQtShell_QOpenGLWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("focusObject"); 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}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12990,9 +14451,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::focusNextPrevChild(next0); + return QOpenGLWindow::focusObject(); } -void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13002,9 +14463,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13012,65 +14473,32 @@ if (_wrapper) { } } } - QPageSetupDialog::focusOutEvent(event0); + QOpenGLWindow::focusOutEvent(arg__1); } -bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const +QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("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); + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13078,9 +14506,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::heightForWidth(arg__1); + return QOpenGLWindow::format(); } -void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13090,9 +14518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13100,9 +14528,9 @@ if (_wrapper) { } } } - QPageSetupDialog::hideEvent(event0); + QOpenGLWindow::hideEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QOpenGLWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13114,7 +14542,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13122,21 +14550,21 @@ if (_wrapper) { } } } - QPageSetupDialog::initPainter(painter0); + QOpenGLWindow::initPainter(painter0); } -void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QOpenGLWindow::initializeGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("initializeGL"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13144,42 +14572,9 @@ if (_wrapper) { } } } - 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); + QOpenGLWindow::initializeGL(); } -void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13191,7 +14586,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13199,9 +14594,9 @@ if (_wrapper) { } } } - QPageSetupDialog::keyPressEvent(arg__1); + QOpenGLWindow::keyPressEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13211,31 +14606,9 @@ if (_wrapper) { 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}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13243,9 +14616,9 @@ if (_wrapper) { } } } - QPageSetupDialog::leaveEvent(event0); + QOpenGLWindow::keyReleaseEvent(arg__1); } -int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13256,7 +14629,7 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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); @@ -13268,7 +14641,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13276,54 +14649,43 @@ if (_wrapper) { } } } - return QPageSetupDialog::metric(arg__1); + return QOpenGLWindow::metric(metric0); } -QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const +void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPageSetupDialog::minimumSizeHint(); + QOpenGLWindow::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + 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}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13331,21 +14693,21 @@ if (_wrapper) { } } } - QPageSetupDialog::mouseDoubleClickEvent(event0); + QOpenGLWindow::mouseMoveEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + 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}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13353,21 +14715,21 @@ if (_wrapper) { } } } - QPageSetupDialog::mouseMoveEvent(event0); + QOpenGLWindow::mousePressEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + 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}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13375,43 +14737,76 @@ if (_wrapper) { } } } - QPageSetupDialog::mousePressEvent(event0); + QOpenGLWindow::mouseReleaseEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPageSetupDialog::mouseReleaseEvent(event0); + return QOpenGLWindow::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13419,87 +14814,65 @@ if (_wrapper) { } } } - QPageSetupDialog::moveEvent(event0); + QOpenGLWindow::paintEvent(event0); } -bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QOpenGLWindow::paintGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("paintGL"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPageSetupDialog::nativeEvent(eventType0, message1, result2); + QOpenGLWindow::paintGL(); } -QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const +void PythonQtShell_QOpenGLWindow::paintOverGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("paintOverGL"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPageSetupDialog::paintEngine(); + QOpenGLWindow::paintOverGL(); } -void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QOpenGLWindow::paintUnderGL() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("paintUnderGL"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13507,9 +14880,9 @@ if (_wrapper) { } } } - QPageSetupDialog::paintEvent(event0); + QOpenGLWindow::paintUnderGL(); } -QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13520,7 +14893,7 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -13532,7 +14905,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13540,31 +14913,9 @@ if (_wrapper) { } } } - 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(); + return QOpenGLWindow::redirected(arg__1); } -void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13574,9 +14925,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13584,21 +14935,21 @@ if (_wrapper) { } } } - QPageSetupDialog::resizeEvent(arg__1); + QOpenGLWindow::resizeEvent(event0); } -void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) +void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("resizeGL"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13606,9 +14957,9 @@ if (_wrapper) { } } } - QPageSetupDialog::setVisible(visible0); + QOpenGLWindow::resizeGL(w0, h1); } -QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const +QPainter* PythonQtShell_QOpenGLWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13631,7 +14982,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13639,9 +14990,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::sharedPainter(); + return QOpenGLWindow::sharedPainter(); } -void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13653,7 +15004,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13661,14 +15012,14 @@ if (_wrapper) { } } } - QPageSetupDialog::showEvent(arg__1); + QOpenGLWindow::showEvent(arg__1); } -QSize PythonQtShell_QPageSetupDialog::sizeHint() const +QSize PythonQtShell_QOpenGLWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -13680,13 +15031,46 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + 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 { @@ -13694,9 +15078,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::sizeHint(); + return QOpenGLWindow::surfaceType(); } -void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13706,9 +15090,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13716,9 +15100,9 @@ if (_wrapper) { } } } - QPageSetupDialog::tabletEvent(event0); + QOpenGLWindow::tabletEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QOpenGLWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13730,7 +15114,29 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + 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 { @@ -13738,9 +15144,9 @@ if (_wrapper) { } } } - QPageSetupDialog::timerEvent(event0); + QOpenGLWindow::touchEvent(arg__1); } -void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13750,9 +15156,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13760,211 +15166,92 @@ if (_wrapper) { } } } - QPageSetupDialog::wheelEvent(event0); + QOpenGLWindow::wheelEvent(arg__1); } -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) +QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) { -return new PythonQtShell_QPageSetupDialog(printer, parent); } +return new PythonQtShell_QOpenGLWindow(shareContext, updateBehavior, parent); } -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) +QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) { -return new PythonQtShell_QPageSetupDialog(parent); } +return new PythonQtShell_QOpenGLWindow(updateBehavior, parent); } -const QMetaObject* PythonQtShell_QPageSetupDialog::metaObject() const { +const QMetaObject* PythonQtShell_QOpenGLWindow::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPageSetupDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWindow::staticMetaObject); } else { - return &QPageSetupDialog::staticMetaObject; + return &QOpenGLWindow::staticMetaObject; } } -int PythonQtShell_QPageSetupDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPageSetupDialog::qt_metacall(call, id, args); +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; } -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 +QOpenGLContext* PythonQtWrapper_QOpenGLWindow::context(QOpenGLWindow* theWrappedObject) const { - return ( theWrappedObject->id()); + return ( theWrappedObject->context()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy) +GLuint PythonQtWrapper_QOpenGLWindow::defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const { - return (QPageSize::id(pointSize, matchPolicy)); + return ( theWrappedObject->defaultFramebufferObject()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy) +void PythonQtWrapper_QOpenGLWindow::doneCurrent(QOpenGLWindow* theWrappedObject) { - return (QPageSize::id(size, units, matchPolicy)); + ( theWrappedObject->doneCurrent()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(int windowsId) +QImage PythonQtWrapper_QOpenGLWindow::grabFramebuffer(QOpenGLWindow* theWrappedObject) { - return (QPageSize::id(windowsId)); + return ( theWrappedObject->grabFramebuffer()); } -bool PythonQtWrapper_QPageSize::isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const +void PythonQtWrapper_QOpenGLWindow::initializeGL(QOpenGLWindow* theWrappedObject) { - return ( theWrappedObject->isEquivalentTo(other)); + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_initializeGL()); } -bool PythonQtWrapper_QPageSize::isValid(QPageSize* theWrappedObject) const +bool PythonQtWrapper_QOpenGLWindow::isValid(QOpenGLWindow* 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) +void PythonQtWrapper_QOpenGLWindow::makeCurrent(QOpenGLWindow* theWrappedObject) { - return (QPageSize::sizePixels(pageSizeId, resolution)); + ( theWrappedObject->makeCurrent()); } -QSize PythonQtWrapper_QPageSize::sizePixels(QPageSize* theWrappedObject, int resolution) const +void PythonQtWrapper_QOpenGLWindow::paintGL(QOpenGLWindow* theWrappedObject) { - return ( theWrappedObject->sizePixels(resolution)); + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintGL()); } -QSize PythonQtWrapper_QPageSize::sizePoints(QPageSize* theWrappedObject) const +void PythonQtWrapper_QOpenGLWindow::paintOverGL(QOpenGLWindow* theWrappedObject) { - return ( theWrappedObject->sizePoints()); + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintOverGL()); } -QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId) +void PythonQtWrapper_QOpenGLWindow::paintUnderGL(QOpenGLWindow* theWrappedObject) { - return (QPageSize::sizePoints(pageSizeId)); + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintUnderGL()); } -void PythonQtWrapper_QPageSize::swap(QPageSize* theWrappedObject, QPageSize& other) +void PythonQtWrapper_QOpenGLWindow::resizeGL(QOpenGLWindow* theWrappedObject, int w, int h) { - ( theWrappedObject->swap(other)); + ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeGL(w, h)); } -int PythonQtWrapper_QPageSize::windowsId(QPageSize* theWrappedObject) const +QOpenGLContext* PythonQtWrapper_QOpenGLWindow::shareContext(QOpenGLWindow* theWrappedObject) const { - return ( theWrappedObject->windowsId()); + return ( theWrappedObject->shareContext()); } -int PythonQtWrapper_QPageSize::static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId) +QOpenGLWindow::UpdateBehavior PythonQtWrapper_QOpenGLWindow::updateBehavior(QOpenGLWindow* theWrappedObject) const { - return (QPageSize::windowsId(pageSizeId)); -} - -QString PythonQtWrapper_QPageSize::py_toString(QPageSize* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return ( theWrappedObject->updateBehavior()); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.h index 36ef9254..f06b728d 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui5.h @@ -18,7 +18,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -29,8 +30,11 @@ #include #include #include +#include #include +#include #include +#include #include #include #include @@ -54,9 +58,6 @@ #include #include #include -#include -#include -#include #include #include #include @@ -65,20 +66,22 @@ #include #include #include -#include #include #include #include +#include #include #include #include #include #include +#include #include #include #include #include #include +#include #include #include #include @@ -90,6 +93,280 @@ +class PythonQtShell_QListWidgetItem : public QListWidgetItem +{ +public: + PythonQtShell_QListWidgetItem(QListWidget* view = nullptr, int type = Type):QListWidgetItem(view, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(text, view, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QListWidgetItem() 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 view = nullptr, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); +void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } + 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: @@ -149,7 +426,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMdiArea : public QMdiArea @@ -285,7 +562,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow @@ -445,7 +722,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMenu : public QMenu @@ -628,7 +905,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMenuBar : public QMenuBar @@ -788,7 +1065,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMessageBox : public QMessageBox @@ -888,7 +1165,7 @@ class PythonQtShell_QMouseEvent : public QMouseEvent ~PythonQtShell_QMouseEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMouseEvent : public QObject @@ -938,7 +1215,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMouseEventTransition : public QMouseEventTransition @@ -978,7 +1255,7 @@ class PythonQtShell_QMoveEvent : public QMoveEvent ~PythonQtShell_QMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMoveEvent : public QObject @@ -1012,7 +1289,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMovie : public QObject @@ -1065,7 +1342,7 @@ class PythonQtShell_QNativeGestureEvent : public QNativeGestureEvent ~PythonQtShell_QNativeGestureEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNativeGestureEvent : public QObject @@ -1089,6 +1366,28 @@ void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } +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(); } @@ -1100,6 +1399,8 @@ 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); @@ -1107,8 +1408,10 @@ void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } 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(); } @@ -1174,7 +1477,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLContext : public QObject @@ -1202,8 +1505,10 @@ void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } 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; @@ -1245,7 +1550,7 @@ class PythonQtShell_QOpenGLFramebufferObject : public QOpenGLFramebufferObject ~PythonQtShell_QOpenGLFramebufferObject() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLFramebufferObject : public QObject @@ -1342,7 +1647,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLPaintDevice : public QOpenGLPaintDevice @@ -1398,7 +1703,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLShader : public QObject @@ -1444,7 +1749,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLShaderProgram : public QOpenGLShaderProgram @@ -1756,7 +2061,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLTimeMonitor : public QObject @@ -1797,7 +2102,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLTimerQuery : public QObject @@ -1863,7 +2168,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOpenGLVertexArrayObject : public QObject @@ -1942,7 +2247,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLWidget : public QOpenGLWidget @@ -2013,10 +2318,30 @@ class PythonQtShell_QOpenGLWindow : public QOpenGLWindow 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(); + ~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; @@ -2024,10 +2349,18 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QOpenGLWindow : public QOpenGLWindow @@ -2070,9 +2403,7 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } void py_q_initializeGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_initializeGL());} bool isValid(QOpenGLWindow* theWrappedObject) const; void makeCurrent(QOpenGLWindow* theWrappedObject); - int metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; int py_q_metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_metric(metric));} - void paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event); 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());} @@ -2080,9 +2411,7 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } void py_q_paintOverGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintOverGL());} void paintUnderGL(QOpenGLWindow* theWrappedObject); void py_q_paintUnderGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintUnderGL());} - QPaintDevice* redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const; QPaintDevice* py_q_redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_redirected(arg__1));} - void resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event); 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));} @@ -2092,200 +2421,3 @@ void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } }; - - - -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(); } -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index f7f4a5fa..baea05b6 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -2,15 +2,13 @@ #include #include #include -#include #include #include -#include -#include #include #include #include #include +#include #include #include #include @@ -32,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -45,10 +44,10 @@ #include #include #include +#include #include #include #include -#include #include #include #include @@ -58,21 +57,21 @@ #include #include #include -#include #include -#include #include #include #include +#include #include #include #include #include -#include #include #include +#include #include #include +#include #include #include #include @@ -84,56 +83,236 @@ #include #include -PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { +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); } } -int PythonQtShell_QPagedPaintDevice::devType() const +void PythonQtShell_QPageSetupDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPagedPaintDevice::devType(); + QPageSetupDialog::accept(); } -void PythonQtShell_QPagedPaintDevice::initPainter(QPainter* painter0) const +void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -141,153 +320,109 @@ if (_wrapper) { } } } - QPagedPaintDevice::initPainter(painter0); + QPageSetupDialog::actionEvent(event0); } -int PythonQtShell_QPagedPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPagedPaintDevice::metric(metric0); + QPageSetupDialog::changeEvent(arg__1); } -bool PythonQtShell_QPagedPaintDevice::newPage() +void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QPageSetupDialog::childEvent(event0); } -QPaintEngine* PythonQtShell_QPagedPaintDevice::paintEngine() const +void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("closeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return nullptr; + QPageSetupDialog::closeEvent(arg__1); } -QPaintDevice* PythonQtShell_QPagedPaintDevice::redirected(QPoint* offset0) const +void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPagedPaintDevice::redirected(offset0); + QPageSetupDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) +void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMargins"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&margins0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -295,43 +430,54 @@ if (_wrapper) { } } } - QPagedPaintDevice::setMargins(margins0); + QPageSetupDialog::customEvent(event0); } -void PythonQtShell_QPagedPaintDevice::setPageSize(QPagedPaintDevice::PageSize size0) +int PythonQtShell_QPageSetupDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); + static PyObject* name = PyString_FromString("devType"); 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}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPagedPaintDevice::setPageSize(size0); + return QPageSetupDialog::devType(); } -void PythonQtShell_QPagedPaintDevice::setPageSizeMM(const QSizeF& size0) +void PythonQtShell_QPageSetupDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&size0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -339,177 +485,109 @@ if (_wrapper) { } } } - QPagedPaintDevice::setPageSizeMM(size0); + QPageSetupDialog::done(result0); } -QPainter* PythonQtShell_QPagedPaintDevice::sharedPainter() const +void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPagedPaintDevice::sharedPainter(); -} -QPagedPaintDevice* PythonQtWrapper_QPagedPaintDevice::new_QPagedPaintDevice() -{ -return new PythonQtShell_QPagedPaintDevice(); } - -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)); + QPageSetupDialog::dragEnterEvent(event0); } - -void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) +void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setPageSize(size)); +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(); + } + } } - -bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) -{ - return ( theWrappedObject->setPageSize(pageSize)); + QPageSetupDialog::dragLeaveEvent(event0); } - -void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) +void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->setPageSizeMM(size)); -} - - - -PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -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); } + QPageSetupDialog::dragMoveEvent(event0); } -int PythonQtShell_QPaintDevice::devType() const +void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPaintDevice::devType(); + QPageSetupDialog::dropEvent(event0); } -void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const +void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -517,32 +595,32 @@ if (_wrapper) { } } } - QPaintDevice::initPainter(painter0); + QPageSetupDialog::enterEvent(event0); } -int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -550,32 +628,32 @@ if (_wrapper) { } } } - return QPaintDevice::metric(metric0); + return QPageSetupDialog::event(event0); } -QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const +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("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -583,32 +661,32 @@ if (_wrapper) { } } } - return nullptr; + return QPageSetupDialog::eventFilter(arg__1, arg__2); } -QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const +int PythonQtShell_QPageSetupDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("exec"); 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}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -616,32 +694,54 @@ if (_wrapper) { } } } - return QPaintDevice::redirected(offset0); + return QPageSetupDialog::exec(); } -QPainter* PythonQtShell_QPaintDevice::sharedPainter() const +void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("focusInEvent"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -649,142 +749,54 @@ if (_wrapper) { } } } - return QPaintDevice::sharedPainter(); + return QPageSetupDialog::focusNextPrevChild(next0); } -QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() -{ -return new PythonQtShell_QPaintDevice(); } - -int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) { - 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()); +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(); + } + } } - - - -PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPageSetupDialog::focusOutEvent(event0); } -bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) +bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("begin"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&pdev0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -792,32 +804,32 @@ if (_wrapper) { } } } - return bool(); + return QPageSetupDialog::hasHeightForWidth(); } -QPoint PythonQtShell_QPaintEngine::coordinateOffset() const +int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("coordinateOffset"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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("coordinateOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPoint*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -825,21 +837,21 @@ if (_wrapper) { } } } - return QPaintEngine::coordinateOffset(); + return QPageSetupDialog::heightForWidth(arg__1); } -void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) +void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawEllipse"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&r0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -847,21 +859,21 @@ if (_wrapper) { } } } - QPaintEngine::drawEllipse(r0); + QPageSetupDialog::hideEvent(event0); } -void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) +void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawEllipse"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&r0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -869,21 +881,21 @@ if (_wrapper) { } } } - QPaintEngine::drawEllipse(r0); + QPageSetupDialog::initPainter(painter0); } -void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) +void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawImage"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -891,43 +903,54 @@ if (_wrapper) { } } } - QPaintEngine::drawImage(r0, pm1, sr2, flags3); + QPageSetupDialog::inputMethodEvent(arg__1); } -void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) +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("drawLines"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawLines(lines0, lineCount1); + return QPageSetupDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) +void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawLines"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -935,21 +958,21 @@ if (_wrapper) { } } } - QPaintEngine::drawLines(lines0, lineCount1); + QPageSetupDialog::keyPressEvent(arg__1); } -void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) +void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPath"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QPainterPath&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&path0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -957,21 +980,21 @@ if (_wrapper) { } } } - QPaintEngine::drawPath(path0); + QPageSetupDialog::keyReleaseEvent(event0); } -void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) +void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPixmap"); + static PyObject* name = PyString_FromString("leaveEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -979,65 +1002,87 @@ if (_wrapper) { } } } - + QPageSetupDialog::leaveEvent(event0); } -void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) +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("drawPoints"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawPoints(points0, pointCount1); + return QPageSetupDialog::metric(arg__1); } -void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) +QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPoints"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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}; + 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) { Py_DECREF(result); } - Py_DECREF(obj); - return; + if (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(); } } } - QPaintEngine::drawPoints(points0, pointCount1); + return QPageSetupDialog::minimumSizeHint(); } -void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) +void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPolygon"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1045,21 +1090,21 @@ if (_wrapper) { } } } - QPaintEngine::drawPolygon(points0, pointCount1, mode2); + QPageSetupDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) +void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPolygon"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1067,21 +1112,21 @@ if (_wrapper) { } } } - QPaintEngine::drawPolygon(points0, pointCount1, mode2); + QPageSetupDialog::mouseMoveEvent(event0); } -void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) +void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRects"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1089,21 +1134,21 @@ if (_wrapper) { } } } - QPaintEngine::drawRects(rects0, rectCount1); + QPageSetupDialog::mousePressEvent(event0); } -void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) +void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawRects"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1111,21 +1156,21 @@ if (_wrapper) { } } } - QPaintEngine::drawRects(rects0, rectCount1); + QPageSetupDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) +void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawTextItem"); + static PyObject* name = PyString_FromString("moveEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1133,54 +1178,65 @@ if (_wrapper) { } } } - QPaintEngine::drawTextItem(p0, textItem1); + QPageSetupDialog::moveEvent(event0); } -void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) +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("drawTiledPixmap"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&r0, (void*)&pixmap1, (void*)&s2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); + return QPageSetupDialog::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QPaintEngine::end() +QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("end"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("end", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1188,32 +1244,54 @@ if (_wrapper) { } } } - return bool(); + return QPageSetupDialog::paintEngine(); } -QPaintEngine::Type PythonQtShell_QPaintEngine::type() const +void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("paintEvent"); 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}; + 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("type", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QPaintEngine::Type*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1221,21 +1299,21 @@ if (_wrapper) { } } } - return QPaintEngine::Type(); + return QPageSetupDialog::redirected(offset0); } -void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) +void PythonQtShell_QPageSetupDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); + static PyObject* name = PyString_FromString("reject"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1243,3173 +1321,3133 @@ if (_wrapper) { } } } - -} -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)); + QPageSetupDialog::reject(); } - -void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { - ( theWrappedObject->clearDirty(df)); +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(); + } + } } - -QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const -{ - return ( theWrappedObject->coordinateOffset()); + QPageSetupDialog::resizeEvent(arg__1); } - -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) +void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) { - ( theWrappedObject->drawEllipse(r)); +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(); + } + } } - -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) -{ - ( theWrappedObject->drawEllipse(r)); + QPageSetupDialog::setVisible(visible0); } - -void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) +QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { - ( theWrappedObject->drawImage(r, pm, sr, flags)); +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(); + } + } } - -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) -{ - ( theWrappedObject->drawLines(lines, lineCount)); + return QPageSetupDialog::sharedPainter(); } - -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) +void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { - ( theWrappedObject->drawLines(lines, lineCount)); +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(); + } + } } - -void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->drawPath(path)); + QPageSetupDialog::showEvent(arg__1); } - -void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) +QSize PythonQtShell_QPageSetupDialog::sizeHint() const { - ( theWrappedObject->drawPixmap(r, pm, sr)); +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(); + } + } } - -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) + return QPageSetupDialog::sizeHint(); +} +void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->drawPoints(points, pointCount)); +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); } -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) +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->drawPoints(points, pointCount)); + ( theWrappedObject->open(receiver, member)); } -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +QPrinter* PythonQtWrapper_QPageSetupDialog::printer(QPageSetupDialog* theWrappedObject) { - ( theWrappedObject->drawPolygon(points, pointCount, mode)); + return ( theWrappedObject->printer()); } -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) + + +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 { - ( theWrappedObject->drawPolygon(points, pointCount, mode)); + return ( theWrappedObject->definitionSize()); } -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId) { - ( theWrappedObject->drawRects(rects, rectCount)); + return (QPageSize::definitionSize(pageSizeId)); } -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) +QPageSize::Unit PythonQtWrapper_QPageSize::definitionUnits(QPageSize* theWrappedObject) const { - ( theWrappedObject->drawRects(rects, rectCount)); + return ( theWrappedObject->definitionUnits()); } -void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) +QPageSize::Unit PythonQtWrapper_QPageSize::static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId) { - ( theWrappedObject->drawTextItem(p, textItem)); + return (QPageSize::definitionUnits(pageSizeId)); } -void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) +QPageSize::PageSizeId PythonQtWrapper_QPageSize::id(QPageSize* theWrappedObject) const { - ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); + return ( theWrappedObject->id()); } -bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy) { - return ( theWrappedObject->end()); + return (QPageSize::id(pointSize, matchPolicy)); } -bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy) { - return ( theWrappedObject->hasFeature(feature)); + return (QPageSize::id(size, units, matchPolicy)); } -bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(int windowsId) { - return ( theWrappedObject->isActive()); + return (QPageSize::id(windowsId)); } -bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const +bool PythonQtWrapper_QPageSize::isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const { - return ( theWrappedObject->isExtended()); + return ( theWrappedObject->isEquivalentTo(other)); } -QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const +bool PythonQtWrapper_QPageSize::isValid(QPageSize* theWrappedObject) const { - return ( theWrappedObject->paintDevice()); + return ( theWrappedObject->isValid()); } -QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const +QString PythonQtWrapper_QPageSize::key(QPageSize* theWrappedObject) const { - return ( theWrappedObject->painter()); + return ( theWrappedObject->key()); } -void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) +QString PythonQtWrapper_QPageSize::static_QPageSize_key(QPageSize::PageSizeId pageSizeId) { - ( theWrappedObject->setActive(newState)); + return (QPageSize::key(pageSizeId)); } -void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +QString PythonQtWrapper_QPageSize::name(QPageSize* theWrappedObject) const { - ( theWrappedObject->setDirty(df)); + return ( theWrappedObject->name()); } -void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) +QString PythonQtWrapper_QPageSize::static_QPageSize_name(QPageSize::PageSizeId pageSizeId) { - ( theWrappedObject->setSystemClip(baseClip)); + return (QPageSize::name(pageSizeId)); } -void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) +bool PythonQtWrapper_QPageSize::__ne__(QPageSize* theWrappedObject, const QPageSize& rhs) { - ( theWrappedObject->setSystemRect(rect)); + return ( (*theWrappedObject)!= rhs); } -void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) +QPageSize* PythonQtWrapper_QPageSize::operator_assign(QPageSize* theWrappedObject, const QPageSize& other) { - ( theWrappedObject->syncState()); + return &( (*theWrappedObject)= other); } -QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const +bool PythonQtWrapper_QPageSize::__eq__(QPageSize* theWrappedObject, const QPageSize& rhs) { - return ( theWrappedObject->systemClip()); + return ( (*theWrappedObject)== rhs); } -QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const +QRectF PythonQtWrapper_QPageSize::rect(QPageSize* theWrappedObject, QPageSize::Unit units) const { - return ( theWrappedObject->systemRect()); + return ( theWrappedObject->rect(units)); } -bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +QRect PythonQtWrapper_QPageSize::rectPixels(QPageSize* theWrappedObject, int resolution) const { - return ( theWrappedObject->testDirty(df)); + return ( theWrappedObject->rectPixels(resolution)); } -QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const +QRect PythonQtWrapper_QPageSize::rectPoints(QPageSize* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->rectPoints()); } -void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units) { - ( theWrappedObject->updateState(state)); + 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)); +} -PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QSize PythonQtWrapper_QPageSize::sizePixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->sizePixels(resolution)); } -QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() -{ -return new PythonQtShell_QPaintEngineState(); } -QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const +QSize PythonQtWrapper_QPageSize::sizePoints(QPageSize* theWrappedObject) const { - return ( theWrappedObject->backgroundBrush()); + return ( theWrappedObject->sizePoints()); } -Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId) { - return ( theWrappedObject->backgroundMode()); + return (QPageSize::sizePoints(pageSizeId)); } -QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QPageSize::swap(QPageSize* theWrappedObject, QPageSize& other) { - return ( theWrappedObject->brush()); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const +int PythonQtWrapper_QPageSize::windowsId(QPageSize* theWrappedObject) const { - return ( theWrappedObject->brushNeedsResolving()); + return ( theWrappedObject->windowsId()); } -QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const +int PythonQtWrapper_QPageSize::static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId) { - return ( theWrappedObject->brushOrigin()); + return (QPageSize::windowsId(pageSizeId)); } -Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const +QString PythonQtWrapper_QPageSize::py_toString(QPageSize* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QPageLayout* PythonQtWrapper_QPagedPaintDevice::devicePageLayout(QPagedPaintDevice* theWrappedObject) { - return ( theWrappedObject->clipOperation()); + return &( ((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->promoted_devicePageLayout()); } -QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const +QPagedPaintDevice::Margins PythonQtWrapper_QPagedPaintDevice::margins(QPagedPaintDevice* theWrappedObject) const { - return ( theWrappedObject->clipPath()); + return ( theWrappedObject->margins()); } -QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::newPage(QPagedPaintDevice* theWrappedObject) { - return ( theWrappedObject->clipRegion()); + return ( theWrappedObject->newPage()); } -QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const +QPageLayout PythonQtWrapper_QPagedPaintDevice::pageLayout(QPagedPaintDevice* theWrappedObject) const { - return ( theWrappedObject->compositionMode()); + return ( theWrappedObject->pageLayout()); } -QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const +QPagedPaintDevice::PageSize PythonQtWrapper_QPagedPaintDevice::pageSize(QPagedPaintDevice* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->pageSize()); } -bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const +QSizeF PythonQtWrapper_QPagedPaintDevice::pageSizeMM(QPagedPaintDevice* theWrappedObject) const { - return ( theWrappedObject->isClipEnabled()); + return ( theWrappedObject->pageSizeMM()); } -QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QPagedPaintDevice::setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins) { - return ( theWrappedObject->matrix()); + ( theWrappedObject->setMargins(margins)); } -qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout) { - return ( theWrappedObject->opacity()); + return ( theWrappedObject->setPageLayout(pageLayout)); } -QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins) { - return ( theWrappedObject->painter()); + return ( theWrappedObject->setPageMargins(margins)); } -QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units) { - return ( theWrappedObject->pen()); + return ( theWrappedObject->setPageMargins(margins, units)); } -bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation) { - return ( theWrappedObject->penNeedsResolving()); + return ( theWrappedObject->setPageOrientation(orientation)); } -QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) { - return ( theWrappedObject->renderHints()); + ( theWrappedObject->setPageSize(size)); } -QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) { - return ( theWrappedObject->state()); + return ( theWrappedObject->setPageSize(pageSize)); } -QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) { - return ( theWrappedObject->transform()); + ( theWrappedObject->setPageSizeMM(size)); } -PythonQtShell_QPaintEvent::~PythonQtShell_QPaintEvent() { +PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRect& paintRect) +QPagedPaintDevice::Margins* PythonQtWrapper_QPagedPaintDevice__Margins::new_QPagedPaintDevice__Margins() { -return new PythonQtShell_QPaintEvent(paintRect); } +return new PythonQtShell_QPagedPaintDevice__Margins(); } -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()); +PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - - - -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 +int PythonQtShell_QPaintDevice::devType() const { - return &( theWrappedObject->background()); +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(); + } + } } - -Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const + return QPaintDevice::devType(); +} +void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { - return ( theWrappedObject->backgroundMode()); +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(); + } + } } - -bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) + QPaintDevice::initPainter(painter0); +} +int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { - return ( theWrappedObject->begin(arg__1)); +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(); + } + } } - -void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) + return QPaintDevice::metric(metric0); +} +QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { - ( theWrappedObject->beginNativePainting()); +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(); + } + } } - -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) + return nullptr; +} +QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { - return ( theWrappedObject->boundingRect(rect, flags, text)); +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(); + } + } } - -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) + return QPaintDevice::redirected(offset0); +} +QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { - return ( theWrappedObject->boundingRect(rect, text, o)); +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(); } -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) +int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->boundingRect(rect, flags, text)); + return ( theWrappedObject->colorCount()); } -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) +int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); + return ( theWrappedObject->depth()); } -const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const { - return &( theWrappedObject->brush()); + return ( theWrappedObject->devType()); } -QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::devicePixelRatio(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->brushOrigin()); + return ( theWrappedObject->devicePixelRatio()); } -QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const +qreal PythonQtWrapper_QPaintDevice::devicePixelRatioF(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->clipBoundingRect()); + return ( theWrappedObject->devicePixelRatioF()); } -QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const +qreal PythonQtWrapper_QPaintDevice::static_QPaintDevice_devicePixelRatioFScale() { - return ( theWrappedObject->clipPath()); + return (QPaintDevice::devicePixelRatioFScale()); } -QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->clipRegion()); + return ( theWrappedObject->height()); } -QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->combinedMatrix()); + return ( theWrappedObject->heightMM()); } -QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const +void PythonQtWrapper_QPaintDevice::initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const { - return ( theWrappedObject->combinedTransform()); + ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_initPainter(painter)); } -QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->compositionMode()); + return ( theWrappedObject->logicalDpiX()); } -QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->logicalDpiY()); } -const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const { - return &( theWrappedObject->deviceMatrix()); + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); } -const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const +QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const { - return &( theWrappedObject->deviceTransform()); + return ( theWrappedObject->paintEngine()); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->drawArc(arg__1, a, alen)); + return ( theWrappedObject->paintingActive()); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->drawArc(rect, a, alen)); + return ( theWrappedObject->physicalDpiX()); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->drawArc(x, y, w, h, a, alen)); + return ( theWrappedObject->physicalDpiY()); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +QPaintDevice* PythonQtWrapper_QPaintDevice::redirected(QPaintDevice* theWrappedObject, QPoint* offset) const { - ( theWrappedObject->drawChord(arg__1, a, alen)); + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_redirected(offset)); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +QPainter* PythonQtWrapper_QPaintDevice::sharedPainter(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->drawChord(rect, a, alen)); + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_sharedPainter()); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->drawChord(x, y, w, h, a, alen)); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) +int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->drawConvexPolygon(polygon)); + return ( theWrappedObject->widthMM()); } -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) +void PythonQtWrapper_QPaintDeviceWindow::paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event) { - ( theWrappedObject->drawEllipse(center, rx, ry)); + ( ((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->promoted_paintEvent(event)); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRect& rect) { - ( theWrappedObject->drawEllipse(r)); + ( theWrappedObject->update(rect)); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRegion& region) { - ( theWrappedObject->drawEllipse(r)); + ( theWrappedObject->update(region)); } -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)); +PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) +bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { - ( theWrappedObject->drawImage(p, image, sr, flags)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) -{ - ( theWrappedObject->drawImage(p, image)); + return bool(); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) +QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { - ( theWrappedObject->drawImage(p, image, sr, flags)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) -{ - ( theWrappedObject->drawImage(r, image)); + return QPaintEngine::coordinateOffset(); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) +void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) -{ - ( theWrappedObject->drawImage(r, image)); + QPaintEngine::drawEllipse(r0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) +void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); +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(); + } + } } - -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)); + QPaintEngine::drawEllipse(r0); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) +void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) { - ( theWrappedObject->drawLine(line)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) -{ - ( theWrappedObject->drawLine(line)); + QPaintEngine::drawImage(r0, pm1, sr2, flags3); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) +void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) { - ( theWrappedObject->drawLine(p1, p2)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) -{ - ( theWrappedObject->drawLine(p1, p2)); + QPaintEngine::drawLines(lines0, lineCount1); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) +void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) { - ( theWrappedObject->drawLine(x1, y1, x2, y2)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) -{ - ( theWrappedObject->drawLines(lines)); + QPaintEngine::drawLines(lines0, lineCount1); } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { - ( theWrappedObject->drawLines(lines)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) -{ - ( theWrappedObject->drawLines(pointPairs)); + QPaintEngine::drawPath(path0); } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) { - ( theWrappedObject->drawLines(pointPairs)); +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 PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->drawPath(path)); + } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) +void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) { - ( theWrappedObject->drawPicture(p, picture)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(p, picture)); + QPaintEngine::drawPoints(points0, pointCount1); } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) +void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) { - ( theWrappedObject->drawPicture(x, y, picture)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) -{ - ( theWrappedObject->drawPie(arg__1, a, alen)); + QPaintEngine::drawPoints(points0, pointCount1); } - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { - ( theWrappedObject->drawPie(rect, a, alen)); +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(); + } + } } - -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)); + QPaintEngine::drawPolygon(points0, pointCount1, mode2); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) +void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { - ( theWrappedObject->drawPixmap(p, pm)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) -{ - ( theWrappedObject->drawPixmap(p, pm, sr)); + QPaintEngine::drawPolygon(points0, pointCount1, mode2); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) +void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) { - ( theWrappedObject->drawPixmap(p, pm)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) -{ - ( theWrappedObject->drawPixmap(p, pm, sr)); + QPaintEngine::drawRects(rects0, rectCount1); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) +void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) { - ( theWrappedObject->drawPixmap(r, pm)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) -{ - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); + QPaintEngine::drawRects(rects0, rectCount1); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) +void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) { - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(x, y, pm)); + QPaintEngine::drawTextItem(p0, textItem1); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) +void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) { - ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(x, y, w, h, pm)); + QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); } - -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) +bool PythonQtShell_QPaintEngine::end() { - ( 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) +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 { - ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) + return QPaintEngine::Type(); +} +void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { - ( theWrappedObject->drawPoint(p)); +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); } -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) +bool PythonQtWrapper_QPaintEngine::begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev) { - ( theWrappedObject->drawPoint(pt)); + return ( theWrappedObject->begin(pdev)); } -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) +void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) { - ( theWrappedObject->drawPoint(x, y)); + ( theWrappedObject->clearDirty(df)); } -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) +QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawPoints(points)); + return ( theWrappedObject->coordinateOffset()); } -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) { - ( theWrappedObject->drawPoints(points)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) { - ( theWrappedObject->drawPolygon(polygon, fillRule)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) +void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) { - ( theWrappedObject->drawPolygon(polygon, fillRule)); + ( theWrappedObject->drawImage(r, pm, sr, flags)); } -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) { - ( theWrappedObject->drawPolyline(polygon)); + ( theWrappedObject->drawLines(lines, lineCount)); } -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) { - ( theWrappedObject->drawPolyline(polyline)); + ( theWrappedObject->drawLines(lines, lineCount)); } -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) +void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) { - ( theWrappedObject->drawRect(rect)); + ( theWrappedObject->drawPath(path)); } -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) { - ( theWrappedObject->drawRect(rect)); + ( theWrappedObject->drawPixmap(r, pm, sr)); } -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) { - ( theWrappedObject->drawRect(x1, y1, w, h)); + ( theWrappedObject->drawPoints(points, pointCount)); } -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) { - ( theWrappedObject->drawRects(rectangles)); + ( theWrappedObject->drawPoints(points, pointCount)); } -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { - ( theWrappedObject->drawRects(rectangles)); + ( theWrappedObject->drawPolygon(points, pointCount, mode)); } -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { - ( theWrappedObject->drawRoundRect(r, xround, yround)); + ( theWrappedObject->drawPolygon(points, pointCount, mode)); } -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) { - ( theWrappedObject->drawRoundRect(r, xround, yround)); + ( theWrappedObject->drawRects(rects, rectCount)); } -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) { - ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); + ( theWrappedObject->drawRects(rects, rectCount)); } -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) { - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); + ( theWrappedObject->drawTextItem(p, textItem)); } -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) { - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); + ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); } -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) { - ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); + return ( theWrappedObject->end()); } -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) +bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const { - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); + return ( theWrappedObject->hasFeature(feature)); } -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) +bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); + return ( theWrappedObject->isActive()); } -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) +bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawStaticText(left, top, staticText)); + return ( theWrappedObject->isExtended()); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) +QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawText(p, s)); + return ( theWrappedObject->paintDevice()); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) +QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawText(p, s)); + return ( theWrappedObject->painter()); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) +void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) { - ( theWrappedObject->drawText(r, flags, text, br)); + ( theWrappedObject->setActive(newState)); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) +void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) { - ( theWrappedObject->drawText(r, text, o)); + ( theWrappedObject->setDirty(df)); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) +void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) { - ( theWrappedObject->drawText(r, flags, text, br)); + ( theWrappedObject->setSystemClip(baseClip)); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) +void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) { - ( theWrappedObject->drawText(x, y, s)); + ( theWrappedObject->setSystemRect(rect)); } -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) +void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) { - ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); + ( theWrappedObject->syncState()); } -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) +QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawTextItem(p, ti)); + return ( theWrappedObject->systemClip()); } -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) +QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawTextItem(p, ti)); + return ( theWrappedObject->systemRect()); } -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) +bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) { - ( theWrappedObject->drawTextItem(x, y, ti)); + return ( theWrappedObject->testDirty(df)); } -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) +QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); + return ( theWrappedObject->type()); } -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) +void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) { - ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); + ( theWrappedObject->updateState(state)); } -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)); + + +PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() +{ +return new PythonQtShell_QPaintEngineState(); } -bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) +QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->end()); + return ( theWrappedObject->backgroundBrush()); } -void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) +Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->endNativePainting()); + return ( theWrappedObject->backgroundMode()); } -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) +QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->eraseRect(arg__1)); + return ( theWrappedObject->brush()); } -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) +bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->eraseRect(arg__1)); + return ( theWrappedObject->brushNeedsResolving()); } -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) +QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->eraseRect(x, y, w, h)); + return ( theWrappedObject->brushOrigin()); } -void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) +Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillPath(path, brush)); + return ( theWrappedObject->clipOperation()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) +QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, arg__2)); + return ( theWrappedObject->clipPath()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) +QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, color)); + return ( theWrappedObject->clipRegion()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) +QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(r, style)); + return ( theWrappedObject->compositionMode()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) +QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(r, c)); + return ( theWrappedObject->font()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, arg__2)); + return ( theWrappedObject->isClipEnabled()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) +QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(arg__1, color)); + return ( theWrappedObject->matrix()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) +qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(r, style)); + return ( theWrappedObject->opacity()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) +QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(r, c)); + return ( theWrappedObject->painter()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) +QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(x, y, w, h, style)); + return ( theWrappedObject->pen()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) +bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(x, y, w, h, c)); + return ( theWrappedObject->penNeedsResolving()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) +QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(x, y, w, h, arg__5)); + return ( theWrappedObject->renderHints()); } -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) +QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->fillRect(x, y, w, h, color)); + return ( theWrappedObject->state()); } -const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const +QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const { - return &( theWrappedObject->font()); + return ( theWrappedObject->transform()); } -QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->fontInfo()); + + +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); } -QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const +QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRegion& paintRegion) +{ +return new PythonQtShell_QPaintEvent(paintRegion); } + +const QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const { - return ( theWrappedObject->fontMetrics()); + return &( theWrappedObject->rect()); } -bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const +const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const { - return ( theWrappedObject->hasClipping()); + return &( theWrappedObject->region()); } -void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) + + +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 { - ( theWrappedObject->initFrom(device)); + return &( theWrappedObject->background()); } -bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const +Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const { - return ( theWrappedObject->isActive()); + return ( theWrappedObject->backgroundMode()); } -Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const +bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) { - return ( theWrappedObject->layoutDirection()); + return ( theWrappedObject->begin(arg__1)); } -qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) { - return ( theWrappedObject->opacity()); + ( theWrappedObject->beginNativePainting()); } -QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) { - return ( theWrappedObject->paintEngine()); + return ( theWrappedObject->boundingRect(rect, flags, text)); } -const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) { - return &( theWrappedObject->pen()); + return ( theWrappedObject->boundingRect(rect, text, o)); } -QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) { - return (QPainter::redirected(device, offset)); + return ( theWrappedObject->boundingRect(rect, flags, text)); } -QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) { - return ( theWrappedObject->renderHints()); + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); } -void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) +const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const { - ( theWrappedObject->resetMatrix()); + return &( theWrappedObject->brush()); } -void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) +QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const { - ( theWrappedObject->resetTransform()); + return ( theWrappedObject->brushOrigin()); } -void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) +QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const { - ( theWrappedObject->restore()); + return ( theWrappedObject->clipBoundingRect()); } -void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) +QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const { - (QPainter::restoreRedirected(device)); + return ( theWrappedObject->clipPath()); } -void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) +QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const { - ( theWrappedObject->rotate(a)); + return ( theWrappedObject->clipRegion()); } -void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) +QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const { - ( theWrappedObject->save()); + return ( theWrappedObject->combinedMatrix()); } -void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) +QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const { - ( theWrappedObject->scale(sx, sy)); + return ( theWrappedObject->combinedTransform()); } -void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) +QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const { - ( theWrappedObject->setBackground(bg)); + return ( theWrappedObject->compositionMode()); } -void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) +QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const { - ( theWrappedObject->setBackgroundMode(mode)); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) +const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const { - ( theWrappedObject->setBrush(brush)); + return &( theWrappedObject->deviceMatrix()); } -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) +const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const { - ( theWrappedObject->setBrushOrigin(arg__1)); + return &( theWrappedObject->deviceTransform()); } -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) { - ( theWrappedObject->setBrushOrigin(arg__1)); + ( theWrappedObject->drawArc(arg__1, a, alen)); } -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) { - ( theWrappedObject->setBrushOrigin(x, y)); + ( theWrappedObject->drawArc(rect, a, alen)); } -void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) { - ( theWrappedObject->setClipPath(path, op)); + ( theWrappedObject->drawArc(x, y, w, h, a, alen)); } -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) { - ( theWrappedObject->setClipRect(arg__1, op)); + ( theWrappedObject->drawChord(arg__1, a, alen)); } -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) { - ( theWrappedObject->setClipRect(arg__1, op)); + ( theWrappedObject->drawChord(rect, a, alen)); } -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) { - ( theWrappedObject->setClipRect(x, y, w, h, op)); + ( theWrappedObject->drawChord(x, y, w, h, a, alen)); } -void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) { - ( theWrappedObject->setClipRegion(arg__1, op)); + ( theWrappedObject->drawConvexPolygon(polygon)); } -void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) { - ( theWrappedObject->setClipping(enable)); + ( theWrappedObject->drawConvexPolygon(polygon)); } -void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) { - ( theWrappedObject->setCompositionMode(mode)); + ( theWrappedObject->drawEllipse(center, rx, ry)); } -void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) { - ( theWrappedObject->setFont(f)); + ( theWrappedObject->drawEllipse(center, rx, ry)); } -void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) { - ( theWrappedObject->setLayoutDirection(direction)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) { - ( theWrappedObject->setOpacity(opacity)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) { - ( theWrappedObject->setPen(style)); + ( theWrappedObject->drawEllipse(x, y, w, h)); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) +void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) { - ( theWrappedObject->setPen(color)); + ( theWrappedObject->drawGlyphRun(position, glyphRun)); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) { - ( theWrappedObject->setPen(pen)); + ( theWrappedObject->drawImage(p, image)); } -void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) { - (QPainter::setRedirected(device, replacement, offset)); + ( theWrappedObject->drawImage(p, image, sr, flags)); } -void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) { - ( theWrappedObject->setRenderHint(hint, on)); + ( theWrappedObject->drawImage(p, image)); } -void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) { - ( theWrappedObject->setRenderHints(hints, on)); + ( theWrappedObject->drawImage(p, image, sr, flags)); } -void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) { - ( theWrappedObject->setTransform(transform, combine)); + ( theWrappedObject->drawImage(r, image)); } -void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) { - ( theWrappedObject->setViewTransformEnabled(enable)); + ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); } -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) { - ( theWrappedObject->setViewport(viewport)); + ( theWrappedObject->drawImage(r, image)); } -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) { - ( theWrappedObject->setViewport(x, y, w, h)); + ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); } -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +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->setWindow(window)); + ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); } -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) { - ( theWrappedObject->setWindow(x, y, w, h)); + ( theWrappedObject->drawLine(line)); } -void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) { - ( theWrappedObject->setWorldMatrix(matrix, combine)); + ( theWrappedObject->drawLine(line)); } -void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) { - ( theWrappedObject->setWorldMatrixEnabled(enabled)); + ( theWrappedObject->drawLine(p1, p2)); } -void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) { - ( theWrappedObject->setWorldTransform(matrix, combine)); + ( theWrappedObject->drawLine(p1, p2)); } -void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) { - ( theWrappedObject->shear(sh, sv)); + ( theWrappedObject->drawLine(x1, y1, x2, y2)); } -void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) { - ( theWrappedObject->strokePath(path, pen)); + ( theWrappedObject->drawLines(lines)); } -bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) { - return ( theWrappedObject->testRenderHint(hint)); + ( theWrappedObject->drawLines(lines)); } -const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) { - return &( theWrappedObject->transform()); + ( theWrappedObject->drawLines(pointPairs)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) { - ( theWrappedObject->translate(offset)); + ( theWrappedObject->drawLines(pointPairs)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) { - ( theWrappedObject->translate(offset)); + ( theWrappedObject->drawPath(path)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) { - ( theWrappedObject->translate(dx, dy)); + ( theWrappedObject->drawPicture(p, picture)); } -bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) { - return ( theWrappedObject->viewTransformEnabled()); + ( theWrappedObject->drawPicture(p, picture)); } -QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) { - return ( theWrappedObject->viewport()); + ( theWrappedObject->drawPicture(x, y, picture)); } -QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) { - return ( theWrappedObject->window()); + ( theWrappedObject->drawPie(arg__1, a, alen)); } -const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) { - return &( theWrappedObject->worldMatrix()); + ( theWrappedObject->drawPie(rect, a, alen)); } -bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) { - return ( theWrappedObject->worldMatrixEnabled()); + ( theWrappedObject->drawPie(x, y, w, h, a, alen)); } -const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) { - return &( theWrappedObject->worldTransform()); + ( theWrappedObject->drawPixmap(p, pm)); } - - -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) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) { - ( theWrappedObject->addEllipse(center, rx, ry)); + ( theWrappedObject->drawPixmap(p, pm, sr)); } -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) { - ( theWrappedObject->addEllipse(rect)); + ( theWrappedObject->drawPixmap(p, pm)); } -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) { - ( theWrappedObject->addEllipse(x, y, w, h)); + ( theWrappedObject->drawPixmap(p, pm, sr)); } -void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) { - ( theWrappedObject->addPath(path)); + ( theWrappedObject->drawPixmap(r, pm)); } -void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) { - ( theWrappedObject->addPolygon(polygon)); + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); } -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) { - ( theWrappedObject->addRect(rect)); + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); } -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) { - ( theWrappedObject->addRect(x, y, w, h)); + ( theWrappedObject->drawPixmap(x, y, pm)); } -void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) { - ( theWrappedObject->addRegion(region)); + ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) { - ( theWrappedObject->addRoundRect(rect, roundness)); + ( theWrappedObject->drawPixmap(x, y, w, h, pm)); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) +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->addRoundRect(rect, xRnd, yRnd)); + ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness) +void PythonQtWrapper_QPainter::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) { - ( theWrappedObject->addRoundRect(x, y, w, h, roundness)); + ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) { - ( theWrappedObject->addRoundRect(x, y, w, h, xRnd, yRnd)); + ( theWrappedObject->drawPoint(p)); } -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) { - ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); + ( theWrappedObject->drawPoint(pt)); } -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) { - ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); + ( theWrappedObject->drawPoint(x, y)); } -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) { - ( theWrappedObject->addText(point, f, text)); + ( theWrappedObject->drawPoints(points)); } -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) { - ( theWrappedObject->addText(x, y, f, text)); + ( theWrappedObject->drawPoints(points)); } -qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) const +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) { - return ( theWrappedObject->angleAtPercent(t)); + ( theWrappedObject->drawPolygon(polygon, fillRule)); } -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) { - ( theWrappedObject->arcMoveTo(rect, angle)); + ( theWrappedObject->drawPolygon(polygon, fillRule)); } -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) { - ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); + ( theWrappedObject->drawPolyline(polygon)); } -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) { - ( theWrappedObject->arcTo(rect, startAngle, arcLength)); + ( theWrappedObject->drawPolyline(polyline)); } -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) { - ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); + ( theWrappedObject->drawRect(rect)); } -QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->boundingRect()); + ( theWrappedObject->drawRect(rect)); } -void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) { - ( theWrappedObject->closeSubpath()); + ( theWrappedObject->drawRect(x1, y1, w, h)); } -void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) { - ( theWrappedObject->connectPath(path)); + ( theWrappedObject->drawRects(rectangles)); } -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) { - return ( theWrappedObject->contains(p)); + ( theWrappedObject->drawRects(rectangles)); } -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) { - return ( theWrappedObject->contains(pt)); + ( theWrappedObject->drawRoundRect(r, xround, yround)); } -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) { - return ( theWrappedObject->contains(rect)); + ( theWrappedObject->drawRoundRect(r, xround, yround)); } -QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) { - return ( theWrappedObject->controlPointRect()); + ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); } -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { - ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); } -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { - ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); } -QPointF PythonQtWrapper_QPainterPath::currentPosition(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { - return ( theWrappedObject->currentPosition()); + ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); } -QPainterPath::Element PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) { - return ( theWrappedObject->elementAt(i)); + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); } -int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) { - return ( theWrappedObject->elementCount()); + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); } -Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) { - return ( theWrappedObject->fillRule()); + ( theWrappedObject->drawStaticText(left, top, staticText)); } -QPainterPath PythonQtWrapper_QPainterPath::intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) { - return ( theWrappedObject->intersected(r)); + ( theWrappedObject->drawText(p, s)); } -bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) { - return ( theWrappedObject->intersects(p)); + ( theWrappedObject->drawText(p, s)); } -bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) { - return ( theWrappedObject->intersects(rect)); + ( theWrappedObject->drawText(r, flags, text, br)); } -bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) { - return ( theWrappedObject->isEmpty()); + ( theWrappedObject->drawText(r, text, o)); } -qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) { - return ( theWrappedObject->length()); + ( theWrappedObject->drawText(r, flags, text, br)); } -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) { - ( theWrappedObject->lineTo(p)); + ( theWrappedObject->drawText(x, y, s)); } -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) { - ( theWrappedObject->lineTo(x, y)); + ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); } -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) { - ( theWrappedObject->moveTo(p)); + ( theWrappedObject->drawTextItem(p, ti)); } -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) { - ( theWrappedObject->moveTo(x, y)); + ( theWrappedObject->drawTextItem(p, ti)); } -bool PythonQtWrapper_QPainterPath::__ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) { - return ( (*theWrappedObject)!= other); + ( theWrappedObject->drawTextItem(x, y, ti)); } -QPainterPath PythonQtWrapper_QPainterPath::__and__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) { - return ( (*theWrappedObject)& other); + ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); } -QPainterPath* PythonQtWrapper_QPainterPath::__iand__(QPainterPath* theWrappedObject, const QPainterPath& other) +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) { - return &( (*theWrappedObject)&= other); + ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); } -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx, int sy) { - return ( (*theWrappedObject)* m); + ( theWrappedObject->drawTiledPixmap(x, y, w, h, arg__5, sx, sy)); } -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) +bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) { - return ( (*theWrappedObject)* m); + return ( theWrappedObject->end()); } -QPainterPath PythonQtWrapper_QPainterPath::__add__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) { - return ( (*theWrappedObject)+ other); + ( theWrappedObject->endNativePainting()); } -QPainterPath* PythonQtWrapper_QPainterPath::__iadd__(QPainterPath* theWrappedObject, const QPainterPath& other) +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) { - return &( (*theWrappedObject)+= other); + ( theWrappedObject->eraseRect(arg__1)); } -QPainterPath PythonQtWrapper_QPainterPath::__sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) { - return ( (*theWrappedObject)- other); + ( theWrappedObject->eraseRect(arg__1)); } -QPainterPath* PythonQtWrapper_QPainterPath::__isub__(QPainterPath* theWrappedObject, const QPainterPath& other) +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) { - return &( (*theWrappedObject)-= other); + ( theWrappedObject->eraseRect(x, y, w, h)); } -void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) { - arg__1 << (*theWrappedObject); + ( theWrappedObject->fillPath(path, brush)); } -bool PythonQtWrapper_QPainterPath::__eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) { - return ( (*theWrappedObject)== other); + ( theWrappedObject->fillRect(arg__1, arg__2)); } -void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) { - arg__1 >> (*theWrappedObject); + ( theWrappedObject->fillRect(arg__1, color)); } -QPainterPath PythonQtWrapper_QPainterPath::__or__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, QGradient::Preset preset) { - return ( (*theWrappedObject)| other); + ( theWrappedObject->fillRect(r, preset)); } -QPainterPath* PythonQtWrapper_QPainterPath::__ior__(QPainterPath* theWrappedObject, const QPainterPath& other) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) { - return &( (*theWrappedObject)|= other); + ( theWrappedObject->fillRect(r, style)); } -qreal PythonQtWrapper_QPainterPath::percentAtLength(QPainterPath* theWrappedObject, qreal t) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) { - return ( theWrappedObject->percentAtLength(t)); + ( theWrappedObject->fillRect(r, c)); } -QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) { - return ( theWrappedObject->pointAtPercent(t)); + ( theWrappedObject->fillRect(arg__1, arg__2)); } -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) { - ( theWrappedObject->quadTo(ctrlPt, endPt)); + ( theWrappedObject->fillRect(arg__1, color)); } -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, QGradient::Preset preset) { - ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); + ( theWrappedObject->fillRect(r, preset)); } -void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) { - ( theWrappedObject->setElementPositionAt(i, x, y)); + ( theWrappedObject->fillRect(r, style)); } -void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) { - ( theWrappedObject->setFillRule(fillRule)); + ( theWrappedObject->fillRect(r, c)); } -QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, QGradient::Preset preset) { - return ( theWrappedObject->simplified()); + ( theWrappedObject->fillRect(x, y, w, h, preset)); } -qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) { - return ( theWrappedObject->slopeAtPercent(t)); + ( theWrappedObject->fillRect(x, y, w, h, style)); } -QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) { - return ( theWrappedObject->subtracted(r)); + ( theWrappedObject->fillRect(x, y, w, h, c)); } -QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) { - return ( theWrappedObject->subtractedInverted(r)); + ( theWrappedObject->fillRect(x, y, w, h, arg__5)); } -void PythonQtWrapper_QPainterPath::swap(QPainterPath* theWrappedObject, QPainterPath& other) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) { - ( theWrappedObject->swap(other)); + ( theWrappedObject->fillRect(x, y, w, h, color)); } -QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const +const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const { - return ( theWrappedObject->toFillPolygon(matrix)); + return &( theWrappedObject->font()); } -QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const +QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const { - return ( theWrappedObject->toFillPolygon(matrix)); + return ( theWrappedObject->fontInfo()); } -QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const { - return ( theWrappedObject->toFillPolygons(matrix)); + return ( theWrappedObject->fontMetrics()); } -QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const { - return ( theWrappedObject->toFillPolygons(matrix)); + return ( theWrappedObject->hasClipping()); } -QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) { - return ( theWrappedObject->toReversed()); + ( theWrappedObject->initFrom(device)); } -QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const { - return ( theWrappedObject->toSubpathPolygons(matrix)); + return ( theWrappedObject->isActive()); } -QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const { - return ( theWrappedObject->toSubpathPolygons(matrix)); + return ( theWrappedObject->layoutDirection()); } -void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) +qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const { - ( theWrappedObject->translate(offset)); + return ( theWrappedObject->opacity()); } -void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, qreal dx, qreal dy) +QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const { - ( theWrappedObject->translate(dx, dy)); + return ( theWrappedObject->paintEngine()); } -QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const +const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const { - return ( theWrappedObject->translated(offset)); + return &( theWrappedObject->pen()); } -QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const +QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) { - return ( theWrappedObject->translated(dx, dy)); + return (QPainter::redirected(device, offset)); } -QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const +QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const { - return ( theWrappedObject->united(r)); -} - -QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return ( theWrappedObject->renderHints()); } - - -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 +void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) { - return ( theWrappedObject->capStyle()); + ( theWrappedObject->resetMatrix()); } -QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const +void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) { - return ( theWrappedObject->createStroke(path)); + ( theWrappedObject->resetTransform()); } -qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) { - return ( theWrappedObject->curveThreshold()); + ( theWrappedObject->restore()); } -qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) { - return ( theWrappedObject->dashOffset()); + (QPainter::restoreRedirected(device)); } -QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) { - return ( theWrappedObject->dashPattern()); + ( theWrappedObject->rotate(a)); } -Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) { - return ( theWrappedObject->joinStyle()); + ( theWrappedObject->save()); } -qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) { - return ( theWrappedObject->miterLimit()); + ( theWrappedObject->scale(sx, sy)); } -void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) +void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) { - ( theWrappedObject->setCapStyle(style)); + ( theWrappedObject->setBackground(bg)); } -void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) +void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) { - ( theWrappedObject->setCurveThreshold(threshold)); + ( theWrappedObject->setBackgroundMode(mode)); } -void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) +void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setDashOffset(offset)); + ( theWrappedObject->setBrush(brush)); } -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) { - ( theWrappedObject->setDashPattern(arg__1)); + ( theWrappedObject->setBrushOrigin(arg__1)); } -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) { - ( theWrappedObject->setDashPattern(dashPattern)); + ( theWrappedObject->setBrushOrigin(arg__1)); } -void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) { - ( theWrappedObject->setJoinStyle(style)); + ( theWrappedObject->setBrushOrigin(x, y)); } -void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) +void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) { - ( theWrappedObject->setMiterLimit(length)); + ( theWrappedObject->setClipPath(path, op)); } -void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) { - ( theWrappedObject->setWidth(width)); + ( theWrappedObject->setClipRect(arg__1, op)); } -qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) { - return ( theWrappedObject->width()); + ( theWrappedObject->setClipRect(arg__1, op)); } - - -PythonQtShell_QPainterPath__Element::~PythonQtShell_QPainterPath__Element() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(x, y, w, h, op)); } -QPainterPath::Element* PythonQtWrapper_QPainterPath__Element::new_QPainterPath__Element() -{ -return new PythonQtShell_QPainterPath__Element(); } -bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) { - return ( theWrappedObject->isCurveTo()); + ( theWrappedObject->setClipRegion(arg__1, op)); } -bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) { - return ( theWrappedObject->isLineTo()); + ( theWrappedObject->setClipping(enable)); } -bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) { - return ( theWrappedObject->isMoveTo()); + ( theWrappedObject->setCompositionMode(mode)); } -QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) { - return ( theWrappedObject->operator QPointF()); + ( theWrappedObject->setFont(f)); } -bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) { - return ( (*theWrappedObject)!= e); + ( theWrappedObject->setLayoutDirection(direction)); } -bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) { - return ( (*theWrappedObject)== e); + ( theWrappedObject->setOpacity(opacity)); } - - -PythonQtShell_QPainter__PixmapFragment::~PythonQtShell_QPainter__PixmapFragment() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) +{ + ( theWrappedObject->setPen(style)); } -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) +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) { - return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); + ( 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)); +} -PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +{ + ( theWrappedObject->setRenderHint(hint, on)); } -void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRenderHints(hints, on)); } - QPanGesture::childEvent(event0); + +void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +{ + ( theWrappedObject->setTransform(transform, combine)); } -void PythonQtShell_QPanGesture::customEvent(QEvent* event0) + +void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setViewTransformEnabled(enable)); } - QPanGesture::customEvent(event0); + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +{ + ( theWrappedObject->setViewport(viewport)); } -bool PythonQtShell_QPanGesture::event(QEvent* event0) + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setViewport(x, y, w, h)); } - return QPanGesture::event(event0); + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +{ + ( theWrappedObject->setWindow(window)); } -bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWindow(x, y, w, h)); } - return QPanGesture::eventFilter(watched0, event1); + +void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +{ + ( theWrappedObject->setWorldMatrix(matrix, combine)); } -void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWorldMatrixEnabled(enabled)); } - QPanGesture::timerEvent(event0); + +void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setWorldTransform(matrix, combine)); } -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; - } +void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) +{ + ( theWrappedObject->shear(sh, sv)); } -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; + +void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +{ + ( theWrappedObject->strokePath(path, pen)); } -qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const + +bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const { - return ( theWrappedObject->acceleration()); + return ( theWrappedObject->testRenderHint(hint)); } -QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const +const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const { - return ( theWrappedObject->delta()); + return &( theWrappedObject->transform()); } -QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) { - return ( theWrappedObject->lastOffset()); + ( theWrappedObject->translate(offset)); } -QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) { - return ( theWrappedObject->offset()); + ( theWrappedObject->translate(offset)); } -void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) { - ( theWrappedObject->setAcceleration(value)); + ( theWrappedObject->translate(dx, dy)); } -void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) +bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const { - ( theWrappedObject->setLastOffset(value)); + return ( theWrappedObject->viewTransformEnabled()); } -void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) +QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const { - ( theWrappedObject->setOffset(value)); + return ( theWrappedObject->viewport()); } +QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} +const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->worldMatrix()); +} -PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->worldMatrixEnabled()); } -void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) + +const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->worldTransform()); } - QPdfWriter::childEvent(event0); + + + +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 PythonQtShell_QPdfWriter::customEvent(QEvent* event0) + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addEllipse(rect)); } - QPdfWriter::customEvent(event0); + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addEllipse(x, y, w, h)); } -int PythonQtShell_QPdfWriter::devType() const + +void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) { -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(); - } - } + ( theWrappedObject->addPath(path)); } - return QPdfWriter::devType(); + +void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->addPolygon(polygon)); } -bool PythonQtShell_QPdfWriter::event(QEvent* event0) + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRect(rect)); } - return QPdfWriter::event(event0); + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addRect(x, y, w, h)); } -bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRegion(region)); } - return QPdfWriter::eventFilter(watched0, event1); + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) +{ + ( theWrappedObject->addRoundRect(rect, roundness)); } -void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) { -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(); - } - } + ( theWrappedObject->addRoundRect(rect, xRnd, yRnd)); } - QPdfWriter::initPainter(painter0); + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness) +{ + ( theWrappedObject->addRoundRect(x, y, w, h, roundness)); } -int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) { -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(); - } - } + ( theWrappedObject->addRoundRect(x, y, w, h, xRnd, yRnd)); } - return QPdfWriter::metric(id0); + +void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); } -bool PythonQtShell_QPdfWriter::newPage() + +void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { -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(); - } - } + ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); } - return QPdfWriter::newPage(); + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(point, f, text)); } -QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) { -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(); + ( theWrappedObject->addText(x, y, f, text)); } -QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const + +qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) 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); + return ( theWrappedObject->angleAtPercent(t)); } -void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) { -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); + ( theWrappedObject->arcMoveTo(rect, angle)); } -void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) { -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); + ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); } -void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) { -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); + ( theWrappedObject->arcTo(rect, startAngle, arcLength)); } -QPainter* PythonQtShell_QPdfWriter::sharedPainter() const + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) { -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(); + ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); } -void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) + +QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRect()); } - QPdfWriter::timerEvent(event0); + +void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) +{ + ( theWrappedObject->closeSubpath()); } -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); } +void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->connectPath(path)); +} -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; - } +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->contains(p)); } -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; + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const +{ + return ( theWrappedObject->contains(pt)); } -QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const { - return ( theWrappedObject->creator()); + return ( theWrappedObject->contains(rect)); } -QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const +QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const { - return ( theWrappedObject->pdfVersion()); + return ( theWrappedObject->controlPointRect()); } -int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) { - return ( theWrappedObject->resolution()); + ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); } -void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) { - ( theWrappedObject->setCreator(creator)); + ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); } -void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +QPointF PythonQtWrapper_QPainterPath::currentPosition(QPainterPath* theWrappedObject) const { - ( theWrappedObject->setPdfVersion(version)); + return ( theWrappedObject->currentPosition()); } -void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) +QPainterPath::Element PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const { - ( theWrappedObject->setResolution(resolution)); + return ( theWrappedObject->elementAt(i)); } -void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) +int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const { - ( theWrappedObject->setTitle(title)); + return ( theWrappedObject->elementCount()); } -QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const +Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const { - return ( theWrappedObject->title()); + 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)); +} -PythonQtShell_QPicture::~PythonQtShell_QPicture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPicture::devType() const +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) 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(); + return ( theWrappedObject->intersects(rect)); } -void PythonQtShell_QPicture::initPainter(QPainter* painter0) const + +bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) 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); + return ( theWrappedObject->isEmpty()); } -int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const + +qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) 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); + return ( theWrappedObject->length()); } -QPaintEngine* PythonQtShell_QPicture::paintEngine() const + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) { -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(); + ( theWrappedObject->lineTo(p)); } -QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) { -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); + ( theWrappedObject->lineTo(x, y)); } -QPainter* PythonQtShell_QPicture::sharedPainter() const + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) { -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(); + ( theWrappedObject->moveTo(p)); } -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); } +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->moveTo(x, y)); +} -QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const +bool PythonQtWrapper_QPainterPath::__ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - return ( theWrappedObject->boundingRect()); + return ( (*theWrappedObject)!= other); } -const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const +QPainterPath PythonQtWrapper_QPainterPath::__and__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - return ( theWrappedObject->data()); + return ( (*theWrappedObject)& other); } -bool PythonQtWrapper_QPicture::isNull(QPicture* theWrappedObject) const +QPainterPath* PythonQtWrapper_QPainterPath::__iand__(QPainterPath* theWrappedObject, const QPainterPath& other) { - return ( theWrappedObject->isNull()); + return &( (*theWrappedObject)&= other); } -bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, QIODevice* dev, const char* format) +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) { - return ( theWrappedObject->load(dev, format)); + return ( (*theWrappedObject)* m); } -bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, const QString& fileName, const char* format) +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) { - return ( theWrappedObject->load(fileName, format)); + return ( (*theWrappedObject)* m); } -void PythonQtWrapper_QPicture::writeTo(QPicture* theWrappedObject, QDataStream& arg__1) +QPainterPath PythonQtWrapper_QPainterPath::__add__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - arg__1 << (*theWrappedObject); + return ( (*theWrappedObject)+ other); } -void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) +QPainterPath* PythonQtWrapper_QPainterPath::__iadd__(QPainterPath* theWrappedObject, const QPainterPath& other) { - arg__1 >> (*theWrappedObject); + return &( (*theWrappedObject)+= other); } -bool PythonQtWrapper_QPicture::play(QPicture* theWrappedObject, QPainter* p) +QPainterPath PythonQtWrapper_QPainterPath::__sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - return ( theWrappedObject->play(p)); + return ( (*theWrappedObject)- other); } -bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, QIODevice* dev, const char* format) +QPainterPath* PythonQtWrapper_QPainterPath::__isub__(QPainterPath* theWrappedObject, const QPainterPath& other) { - return ( theWrappedObject->save(dev, format)); + return &( (*theWrappedObject)-= other); } -bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, const QString& fileName, const char* format) +void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->save(fileName, format)); + arg__1 << (*theWrappedObject); } -void PythonQtWrapper_QPicture::setBoundingRect(QPicture* theWrappedObject, const QRect& r) +bool PythonQtWrapper_QPainterPath::__eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - ( theWrappedObject->setBoundingRect(r)); + return ( (*theWrappedObject)== other); } -uint PythonQtWrapper_QPicture::size(QPicture* theWrappedObject) const +void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->size()); + arg__1 >> (*theWrappedObject); } -void PythonQtWrapper_QPicture::swap(QPicture* theWrappedObject, QPicture& other) +QPainterPath PythonQtWrapper_QPainterPath::__or__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - ( theWrappedObject->swap(other)); + 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)); +} -PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->pointAtPercent(t)); } -void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->quadTo(ctrlPt, endPt)); } - QPictureFormatPlugin::childEvent(event0); + +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) +{ + ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); } -void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) + +void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setElementPositionAt(i, x, y)); } - QPictureFormatPlugin::customEvent(event0); + +void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) +{ + ( theWrappedObject->setFillRule(fillRule)); } -bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) + +QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->simplified()); } - return QPictureFormatPlugin::event(event0); + +qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->slopeAtPercent(t)); } -bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent* event1) + +QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->subtracted(r)); } - return QPictureFormatPlugin::eventFilter(watched0, event1); + +QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtractedInverted(r)); } -bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) + +void PythonQtWrapper_QPainterPath::swap(QPainterPath* theWrappedObject, QPainterPath& other) { -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(); - } - } + ( theWrappedObject->swap(other)); } - return bool(); + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygon(matrix)); } -bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const { -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 ( theWrappedObject->toFillPolygon(matrix)); } - return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygons(matrix)); } -bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const { -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 ( theWrappedObject->toFillPolygons(matrix)); } - return QPictureFormatPlugin::savePicture(format0, filename1, pic2); + +QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->toReversed()); } -void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toSubpathPolygons(matrix)); } - QPictureFormatPlugin::timerEvent(event0); + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toSubpathPolygons(matrix)); } -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; - } +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); } -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; + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); } -bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const { - return ( theWrappedObject->installIOHandler(format)); + return ( theWrappedObject->translated(offset)); } -bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const { - return ( theWrappedObject->loadPicture(format, filename, pic)); + return ( theWrappedObject->translated(dx, dy)); } -bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) +QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const { - return ( theWrappedObject->savePicture(format, filename, pic)); + return ( theWrappedObject->united(r)); } +QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() -{ -return new QPictureIO(); } -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker() { -return new QPictureIO(ioDevice, format); } +return new QPainterPathStroker(); } -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker(const QPen& pen) { -return new QPictureIO(fileName, format); } +return new QPainterPathStroker(pen); } -QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const +Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const { - return ( theWrappedObject->description()); + return ( theWrappedObject->capStyle()); } -QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const +QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->createStroke(path)); } -const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const +qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->curveThreshold()); } -float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const +qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const { - return ( theWrappedObject->gamma()); + return ( theWrappedObject->dashOffset()); } -QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() +QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const { - return (QPictureIO::inputFormats()); + return ( theWrappedObject->dashPattern()); } -QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const +Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const { - return ( theWrappedObject->ioDevice()); + return ( theWrappedObject->joinStyle()); } -QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() +qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const { - return (QPictureIO::outputFormats()); + return ( theWrappedObject->miterLimit()); } -const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const +void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) { - return ( theWrappedObject->parameters()); + ( theWrappedObject->setCapStyle(style)); } -const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const +void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) { - return &( theWrappedObject->picture()); + ( theWrappedObject->setCurveThreshold(threshold)); } -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) +void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) { - return (QPictureIO::pictureFormat(arg__1)); + ( theWrappedObject->setDashOffset(offset)); } -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) +void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) { - return (QPictureIO::pictureFormat(fileName)); + ( theWrappedObject->setDashPattern(arg__1)); } -int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const +void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) { - return ( theWrappedObject->quality()); + ( theWrappedObject->setDashPattern(dashPattern)); } -bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) +void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) { - return ( theWrappedObject->read()); + ( theWrappedObject->setJoinStyle(style)); } -void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) { - ( theWrappedObject->setDescription(arg__1)); + ( theWrappedObject->setMiterLimit(length)); } -void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) { - ( theWrappedObject->setFileName(arg__1)); + ( theWrappedObject->setWidth(width)); } -void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) +qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const { - ( theWrappedObject->setFormat(arg__1)); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) -{ - ( theWrappedObject->setGamma(arg__1)); + + +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(); } -void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) +bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const { - ( theWrappedObject->setIODevice(arg__1)); + return ( theWrappedObject->isCurveTo()); } -void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) +bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const { - ( theWrappedObject->setParameters(arg__1)); + return ( theWrappedObject->isLineTo()); } -void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) +bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const { - ( theWrappedObject->setPicture(arg__1)); + return ( theWrappedObject->isMoveTo()); } -void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) +QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const { - ( theWrappedObject->setQuality(arg__1)); + return ( theWrappedObject->operator QPointF()); } -void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) +bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const { - ( theWrappedObject->setStatus(arg__1)); + return ( (*theWrappedObject)!= e); } -int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const +bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const { - return ( theWrappedObject->status()); + return ( (*theWrappedObject)== e); } -bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) + + +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 ( theWrappedObject->write()); + return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); } -PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { +PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) +void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4421,7 +4459,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4429,9 +4467,9 @@ if (_wrapper) { } } } - QPinchGesture::childEvent(event0); + QPanGesture::childEvent(event0); } -void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) +void PythonQtShell_QPanGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4443,7 +4481,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4451,9 +4489,9 @@ if (_wrapper) { } } } - QPinchGesture::customEvent(event0); + QPanGesture::customEvent(event0); } -bool PythonQtShell_QPinchGesture::event(QEvent* event0) +bool PythonQtShell_QPanGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4476,7 +4514,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4484,9 +4522,9 @@ if (_wrapper) { } } } - return QPinchGesture::event(event0); + return QPanGesture::event(event0); } -bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4509,7 +4547,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4517,9 +4555,9 @@ if (_wrapper) { } } } - return QPinchGesture::eventFilter(watched0, event1); + return QPanGesture::eventFilter(watched0, event1); } -void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4531,7 +4569,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4539,1248 +4577,101 @@ if (_wrapper) { } } } - QPinchGesture::timerEvent(event0); + QPanGesture::timerEvent(event0); } -QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) +QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) { -return new PythonQtShell_QPinchGesture(parent); } +return new PythonQtShell_QPanGesture(parent); } -const QMetaObject* PythonQtShell_QPinchGesture::metaObject() const { +const QMetaObject* PythonQtShell_QPanGesture::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPinchGesture::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPanGesture::staticMetaObject); } else { - return &QPinchGesture::staticMetaObject; + return &QPanGesture::staticMetaObject; } } -int PythonQtShell_QPinchGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPinchGesture::qt_metacall(call, id, args); +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; } -QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const +qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const { - return ( theWrappedObject->centerPoint()); + return ( theWrappedObject->acceleration()); } -QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const +QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const { - return ( theWrappedObject->changeFlags()); + return ( theWrappedObject->delta()); } -QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const +QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const { - return ( theWrappedObject->lastCenterPoint()); + return ( theWrappedObject->lastOffset()); } -qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const +QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const { - return ( theWrappedObject->lastRotationAngle()); + return ( theWrappedObject->offset()); } -qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const +void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) { - return ( theWrappedObject->lastScaleFactor()); + ( theWrappedObject->setAcceleration(value)); } -qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const +void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) { - return ( theWrappedObject->rotationAngle()); + ( theWrappedObject->setLastOffset(value)); } -qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const +void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) { - return ( theWrappedObject->scaleFactor()); + ( theWrappedObject->setOffset(value)); } -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)); +PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -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()); -} - -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)); -} - -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) +void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - 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}; + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::eventFilter(arg__1, arg__2); + QPdfWriter::childEvent(event0); } -void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5788,32 +4679,32 @@ if (_wrapper) { } } } - QPlainTextEdit::focusInEvent(e0); + QPdfWriter::customEvent(event0); } -bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) +int PythonQtShell_QPdfWriter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5821,54 +4712,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::focusNextPrevChild(next0); + return QPdfWriter::devType(); } -void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) +bool PythonQtShell_QPdfWriter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "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::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}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5876,32 +4745,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::hasHeightForWidth(); + return QPdfWriter::event(event0); } -int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const +bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5909,31 +4778,9 @@ if (_wrapper) { } } } - 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); + return QPdfWriter::eventFilter(watched0, event1); } -void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5945,29 +4792,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5975,32 +4800,32 @@ if (_wrapper) { } } } - QPlainTextEdit::inputMethodEvent(arg__1); + QPdfWriter::initPainter(painter0); } -QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const +int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&property0}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6008,120 +4833,32 @@ if (_wrapper) { } } } - 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); + return QPdfWriter::metric(id0); } -QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) +bool PythonQtShell_QPdfWriter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); + static PyObject* name = PyString_FromString("newPage"); 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}; + 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("loadResource", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6129,32 +4866,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::loadResource(type0, name1); + return QPdfWriter::newPage(); } -int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6162,32 +4899,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::metric(arg__1); + return QPdfWriter::paintEngine(); } -QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const +QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6195,21 +4932,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::minimumSizeHint(); + return QPdfWriter::redirected(offset0); } -void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6217,21 +4954,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseDoubleClickEvent(e0); + QPdfWriter::setMargins(m0); } -void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6239,21 +4976,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseMoveEvent(e0); + QPdfWriter::setPageSize(size0); } -void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6261,43 +4998,54 @@ if (_wrapper) { } } } - QPlainTextEdit::mousePressEvent(e0); + QPdfWriter::setPageSizeMM(size0); } -void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) +QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::mouseReleaseEvent(e0); + return QPdfWriter::sharedPainter(); } -void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6305,32 +5053,99 @@ if (_wrapper) { } } } - QPlainTextEdit::moveEvent(event0); + QPdfWriter::timerEvent(event0); } -bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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; +} +QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const +{ + return ( theWrappedObject->creator()); +} + +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::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("nativeEvent"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6338,32 +5153,54 @@ if (_wrapper) { } } } - return QPlainTextEdit::nativeEvent(eventType0, message1, result2); + return QPicture::devType(); } -QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("initPainter"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6371,31 +5208,42 @@ if (_wrapper) { } } } - return QPlainTextEdit::paintEngine(); + return QPicture::metric(m0); } -void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) +QPaintEngine* PythonQtShell_QPicture::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::paintEvent(e0); + return QPicture::paintEngine(); } -QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6418,7 +5266,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6426,65 +5274,133 @@ if (_wrapper) { } } } - return QPlainTextEdit::redirected(offset0); + return QPicture::redirected(offset0); } -void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) +QPainter* PythonQtShell_QPicture::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::resizeEvent(e0); + return QPicture::sharedPainter(); } -void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) +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 { -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(); - } - } + return ( theWrappedObject->boundingRect()); } - QPlainTextEdit::scrollContentsBy(dx0, dy1); + +const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->data()); } -void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) + +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("setVisible"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6492,21 +5408,21 @@ if (_wrapper) { } } } - QPlainTextEdit::setVisible(visible0); + QPictureFormatPlugin::childEvent(event0); } -void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) +void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6514,32 +5430,32 @@ if (_wrapper) { } } } - QPlainTextEdit::setupViewport(viewport0); + QPictureFormatPlugin::customEvent(event0); } -QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const +bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6547,54 +5463,32 @@ if (_wrapper) { } } } - 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); + return QPictureFormatPlugin::event(event0); } -QSize PythonQtShell_QPlainTextEdit::sizeHint() const +bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6602,76 +5496,65 @@ if (_wrapper) { } } } - 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); + return QPictureFormatPlugin::eventFilter(watched0, event1); } -void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) +bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::timerEvent(e0); + return bool(); } -bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +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("viewportEvent"); + static PyObject* name = PyString_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("viewportEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6679,32 +5562,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportEvent(arg__1); + return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); } -QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const +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("viewportSizeHint"); + static PyObject* name = PyString_FromString("savePicture"); 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}; + 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("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6712,21 +5595,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportSizeHint(); + return QPictureFormatPlugin::savePicture(format0, filename1, pic2); } -void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6734,771 +5617,1143 @@ if (_wrapper) { } } } - QPlainTextEdit::wheelEvent(e0); + QPictureFormatPlugin::timerEvent(event0); } -QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(QWidget* parent) -{ -return new PythonQtShell_QPlainTextEdit(parent); } - -QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(const QString& text, QWidget* parent) +QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) { -return new PythonQtShell_QPlainTextEdit(text, parent); } +return new PythonQtShell_QPictureFormatPlugin(parent); } -const QMetaObject* PythonQtShell_QPlainTextEdit::metaObject() const { +const QMetaObject* PythonQtShell_QPictureFormatPlugin::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextEdit::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPictureFormatPlugin::staticMetaObject); } else { - return &QPlainTextEdit::staticMetaObject; + return &QPictureFormatPlugin::staticMetaObject; } } -int PythonQtShell_QPlainTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPlainTextEdit::qt_metacall(call, id, args); +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; } -QString PythonQtWrapper_QPlainTextEdit::anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) { - return ( theWrappedObject->anchorAt(pos)); + return ( theWrappedObject->installIOHandler(format)); } -bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const +bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) { - return ( theWrappedObject->backgroundVisible()); + return ( theWrappedObject->loadPicture(format, filename, pic)); } -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); + return ( theWrappedObject->savePicture(format, filename, pic)); } -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)); -} +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() +{ +return new QPictureIO(); } -bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->canPaste()); -} +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) +{ +return new QPictureIO(ioDevice, format); } -bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->centerOnScroll()); -} +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) +{ +return new QPictureIO(fileName, format); } -QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const +QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); + return ( theWrappedObject->description()); } -QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const +QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); + return ( theWrappedObject->fileName()); } -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) +const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->createStandardContextMenu()); + return ( theWrappedObject->format()); } -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position) +float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->createStandardContextMenu(position)); + return ( theWrappedObject->gamma()); } -QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const +QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() { - return ( theWrappedObject->currentCharFormat()); + return (QPictureIO::inputFormats()); } -QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->cursorForPosition(pos)); + return ( theWrappedObject->ioDevice()); } -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const +QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() { - return ( theWrappedObject->cursorRect()); + return (QPictureIO::outputFormats()); } -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const +const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->cursorRect(cursor)); + return ( theWrappedObject->parameters()); } -int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const +const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->cursorWidth()); + return &( theWrappedObject->picture()); } -void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) { - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); + return (QPictureIO::pictureFormat(arg__1)); } -QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) { - return ( theWrappedObject->document()); + return (QPictureIO::pictureFormat(fileName)); } -QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->documentTitle()); + return ( theWrappedObject->quality()); } -void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) +bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) { - ( theWrappedObject->ensureCursorVisible()); + return ( theWrappedObject->read()); } -QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->extraSelections()); + ( theWrappedObject->setDescription(arg__1)); } -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->find(exp, options)); + ( theWrappedObject->setFileName(arg__1)); } -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) { - return ( theWrappedObject->find(exp, options)); + ( theWrappedObject->setFormat(arg__1)); } -QTextBlock PythonQtWrapper_QPlainTextEdit::firstVisibleBlock(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_firstVisibleBlock()); + ( theWrappedObject->setGamma(arg__1)); } -QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); + ( theWrappedObject->setIODevice(arg__1)); } -QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) { - return ( theWrappedObject->inputMethodQuery(query, argument)); + ( theWrappedObject->setParameters(arg__1)); } -void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) +void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) { - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); + ( theWrappedObject->setPicture(arg__1)); } -bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) { - return ( theWrappedObject->isReadOnly()); + ( theWrappedObject->setQuality(arg__1)); } -bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) { - return ( theWrappedObject->isUndoRedoEnabled()); + ( theWrappedObject->setStatus(arg__1)); } -QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const { - return ( theWrappedObject->lineWrapMode()); + return ( theWrappedObject->status()); } -QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) +bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) { - return ( theWrappedObject->loadResource(type, name)); + return ( theWrappedObject->write()); } -int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const + + +PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) { - return ( theWrappedObject->maximumBlockCount()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) + QPinchGesture::childEvent(event0); +} +void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) { - ( theWrappedObject->mergeCurrentCharFormat(modifier)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) + QPinchGesture::customEvent(event0); +} +bool PythonQtShell_QPinchGesture::event(QEvent* event0) { - ( theWrappedObject->moveCursor(operation, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->overwriteMode()); + return QPinchGesture::event(event0); } - -QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const +bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->placeholderText()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const -{ - ( theWrappedObject->print(printer)); + return QPinchGesture::eventFilter(watched0, event1); } - -void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) +void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setBackgroundVisible(visible)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setCenterOnScroll(enabled)); + QPinchGesture::timerEvent(event0); } +QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) +{ +return new PythonQtShell_QPinchGesture(parent); } -void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCurrentCharFormat(format)); +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; + } } - -void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setCursorWidth(width)); +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; } - -void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) +QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setDocument(document)); + return ( theWrappedObject->centerPoint()); } -void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setDocumentTitle(title)); + return ( theWrappedObject->changeFlags()); } -void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) +QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setExtraSelections(selections)); + return ( theWrappedObject->lastCenterPoint()); } -void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) +qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setLineWrapMode(mode)); + return ( theWrappedObject->lastRotationAngle()); } -void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) +qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setMaximumBlockCount(maximum)); + return ( theWrappedObject->lastScaleFactor()); } -void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) +qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setOverwriteMode(overwrite)); + return ( theWrappedObject->rotationAngle()); } -void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) +qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const { - ( theWrappedObject->setPlaceholderText(placeholderText)); + return ( theWrappedObject->scaleFactor()); } -void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) +void PythonQtWrapper_QPinchGesture::setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) { - ( theWrappedObject->setReadOnly(ro)); + ( theWrappedObject->setCenterPoint(value)); } -void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) +void PythonQtWrapper_QPinchGesture::setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) { - ( theWrappedObject->setTabChangesFocus(b)); + ( theWrappedObject->setChangeFlags(value)); } -void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) +void PythonQtWrapper_QPinchGesture::setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) { - ( theWrappedObject->setTabStopDistance(distance)); + ( theWrappedObject->setLastCenterPoint(value)); } -void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) +void PythonQtWrapper_QPinchGesture::setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value) { - ( theWrappedObject->setTabStopWidth(width)); + ( theWrappedObject->setLastRotationAngle(value)); } -void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +void PythonQtWrapper_QPinchGesture::setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value) { - ( theWrappedObject->setTextCursor(cursor)); + ( theWrappedObject->setLastScaleFactor(value)); } -void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +void PythonQtWrapper_QPinchGesture::setRotationAngle(QPinchGesture* theWrappedObject, qreal value) { - ( theWrappedObject->setTextInteractionFlags(flags)); + ( theWrappedObject->setRotationAngle(value)); } -void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) +void PythonQtWrapper_QPinchGesture::setScaleFactor(QPinchGesture* theWrappedObject, qreal value) { - ( theWrappedObject->setUndoRedoEnabled(enable)); + ( theWrappedObject->setScaleFactor(value)); } -void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) +void PythonQtWrapper_QPinchGesture::setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) { - ( theWrappedObject->setWordWrapMode(policy)); + ( theWrappedObject->setStartCenterPoint(value)); } -bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPinchGesture::setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) { - return ( theWrappedObject->tabChangesFocus()); + ( theWrappedObject->setTotalChangeFlags(value)); } -qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPinchGesture::setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value) { - return ( theWrappedObject->tabStopDistance()); + ( theWrappedObject->setTotalRotationAngle(value)); } -int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QPinchGesture::setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value) { - return ( theWrappedObject->tabStopWidth()); + ( theWrappedObject->setTotalScaleFactor(value)); } -QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const +QPointF PythonQtWrapper_QPinchGesture::startCenterPoint(QPinchGesture* theWrappedObject) const { - return ( theWrappedObject->textCursor()); + return ( theWrappedObject->startCenterPoint()); } -Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::totalChangeFlags(QPinchGesture* theWrappedObject) const { - return ( theWrappedObject->textInteractionFlags()); + return ( theWrappedObject->totalChangeFlags()); } -QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const { - return ( theWrappedObject->toPlainText()); + return ( theWrappedObject->totalRotationAngle()); } -QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const { - return ( theWrappedObject->wordWrapMode()); + return ( theWrappedObject->totalScaleFactor()); } -void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); -} +QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat() +{ +return new QPixelFormat(); } -PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) +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 PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } +return new QPixelFormat(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum); } -QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const +QPixelFormat::AlphaPosition PythonQtWrapper_QPixelFormat::alphaPosition(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->surfaceEventType()); + return ( theWrappedObject->alphaPosition()); } +uchar PythonQtWrapper_QPixelFormat::alphaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaSize()); +} +QPixelFormat::AlphaUsage PythonQtWrapper_QPixelFormat::alphaUsage(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaUsage()); +} -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) +uchar PythonQtWrapper_QPixelFormat::bitsPerPixel(QPixelFormat* theWrappedObject) const { - ( theWrappedObject->append(t)); + return ( theWrappedObject->bitsPerPixel()); } -void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) +uchar PythonQtWrapper_QPixelFormat::blackSize(QPixelFormat* theWrappedObject) const { - ( theWrappedObject->append(l)); + return ( theWrappedObject->blackSize()); } -const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const +uchar PythonQtWrapper_QPixelFormat::blueSize(QPixelFormat* theWrappedObject) const { - return &( theWrappedObject->at(i)); + return ( theWrappedObject->blueSize()); } -QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const +uchar PythonQtWrapper_QPixelFormat::brightnessSize(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->boundingRect()); + return ( theWrappedObject->brightnessSize()); } -int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const +QPixelFormat::ByteOrder PythonQtWrapper_QPixelFormat::byteOrder(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->capacity()); + return ( theWrappedObject->byteOrder()); } -void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) +uchar PythonQtWrapper_QPixelFormat::channelCount(QPixelFormat* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->channelCount()); } -const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const +QPixelFormat::ColorModel PythonQtWrapper_QPixelFormat::colorModel(QPixelFormat* theWrappedObject) const { - return &( theWrappedObject->constFirst()); + return ( theWrappedObject->colorModel()); } -const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) const +uchar PythonQtWrapper_QPixelFormat::cyanSize(QPixelFormat* theWrappedObject) const { - return &( theWrappedObject->constLast()); + return ( theWrappedObject->cyanSize()); } -bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const +uchar PythonQtWrapper_QPixelFormat::greenSize(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->contains(t)); + return ( theWrappedObject->greenSize()); } -bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const +uchar PythonQtWrapper_QPixelFormat::hueSize(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->containsPoint(pt, fillRule)); + return ( theWrappedObject->hueSize()); } -int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const +uchar PythonQtWrapper_QPixelFormat::lightnessSize(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->lightnessSize()); } -int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const +uchar PythonQtWrapper_QPixelFormat::magentaSize(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->count(t)); + return ( theWrappedObject->magentaSize()); } -bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const +bool PythonQtWrapper_QPixelFormat::__ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) { - return ( theWrappedObject->empty()); + return ( (*theWrappedObject)!= fmt2); } -bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const +bool PythonQtWrapper_QPixelFormat::__eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) { - return ( theWrappedObject->endsWith(t)); + return ( (*theWrappedObject)== fmt2); } -QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) +QPixelFormat::AlphaPremultiplied PythonQtWrapper_QPixelFormat::premultiplied(QPixelFormat* theWrappedObject) const { - return &( theWrappedObject->fill(t, size)); + return ( theWrappedObject->premultiplied()); } -const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const +uchar PythonQtWrapper_QPixelFormat::redSize(QPixelFormat* theWrappedObject) const { - return &( theWrappedObject->first()); + return ( theWrappedObject->redSize()); } -QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) +uchar PythonQtWrapper_QPixelFormat::saturationSize(QPixelFormat* theWrappedObject) const { - return (QPolygonF::fromList(list)); + return ( theWrappedObject->saturationSize()); } -int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +uchar PythonQtWrapper_QPixelFormat::subEnum(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->indexOf(t, from)); + return ( theWrappedObject->subEnum()); } -QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const +QPixelFormat::TypeInterpretation PythonQtWrapper_QPixelFormat::typeInterpretation(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->intersected(r)); + return ( theWrappedObject->typeInterpretation()); } -bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const +uchar PythonQtWrapper_QPixelFormat::yellowSize(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->intersects(r)); + return ( theWrappedObject->yellowSize()); } -bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const +QPixelFormat::YUVLayout PythonQtWrapper_QPixelFormat::yuvLayout(QPixelFormat* theWrappedObject) const { - return ( theWrappedObject->isClosed()); + return ( theWrappedObject->yuvLayout()); } -bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); + + +PythonQtShell_QPixmapCache::~PythonQtShell_QPixmapCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QPixmapCache* PythonQtWrapper_QPixmapCache::new_QPixmapCache() +{ +return new PythonQtShell_QPixmapCache(); } -bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const +int PythonQtWrapper_QPixmapCache::static_QPixmapCache_cacheLimit() { - return ( theWrappedObject->isSharedWith(other)); + return (QPixmapCache::cacheLimit()); } -const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_clear() { - return &( theWrappedObject->last()); + (QPixmapCache::clear()); } -int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap) { - return ( theWrappedObject->lastIndexOf(t, from)); + return (QPixmapCache::find(key, pixmap)); } -int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const +QPixmap* PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key) { - return ( theWrappedObject->length()); + return (QPixmapCache::find(key)); } -QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap& pixmap) { - return ( theWrappedObject->mid(pos, len)); + return (QPixmapCache::find(key, pixmap)); } -void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap* pixmap) { - ( theWrappedObject->move(from, to)); + return (QPixmapCache::find(key, pixmap)); } -bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const +QPixmapCache::Key PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QPixmap& pixmap) { - return ( (*theWrappedObject)!= v); + return (QPixmapCache::insert(pixmap)); } -QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap) { - return ( (*theWrappedObject)* m); + return (QPixmapCache::insert(key, pixmap)); } -QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QPixmapCache::Key& key) { - return ( (*theWrappedObject)* m); + (QPixmapCache::remove(key)); } -void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QString& key) { - stream << (*theWrappedObject); + (QPixmapCache::remove(key)); } -QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap) { - return &( (*theWrappedObject)= other); + return (QPixmapCache::replace(key, pixmap)); } -bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_setCacheLimit(int arg__1) { - return ( (*theWrappedObject)== v); + (QPixmapCache::setCacheLimit(arg__1)); } -void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) + + +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 { - stream >> (*theWrappedObject); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) +bool PythonQtWrapper_QPixmapCache__Key::__ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const { - ( theWrappedObject->pop_back()); + return ( (*theWrappedObject)!= key); } -void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other) { - ( theWrappedObject->pop_front()); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, QPointF& t) +bool PythonQtWrapper_QPixmapCache__Key::__eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const { - ( theWrappedObject->prepend(t)); + return ( (*theWrappedObject)== key); } -void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) +void PythonQtWrapper_QPixmapCache__Key::swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other) { - ( theWrappedObject->prepend(t)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) + + +PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { - ( theWrappedObject->push_back(t)); +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(); + } + } } - -void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) + return QPlainTextDocumentLayout::blockBoundingRect(block0); +} +void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) { - ( theWrappedObject->push_front(t)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) + QPlainTextDocumentLayout::childEvent(event0); +} +void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) { - ( theWrappedObject->remove(i)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) + QPlainTextDocumentLayout::customEvent(event0); +} +void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) { - ( theWrappedObject->remove(i, n)); +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(); + } + } } - -int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) + QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); +} +QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { - return ( theWrappedObject->removeAll(t)); +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(); + } + } } - -void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) -{ - ( theWrappedObject->removeAt(i)); + return QPlainTextDocumentLayout::documentSize(); } - -void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) +void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { - ( theWrappedObject->removeFirst()); +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(); + } + } } - -void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->removeLast()); + QPlainTextDocumentLayout::draw(arg__1, arg__2); } - -bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) +void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { - return ( theWrappedObject->removeOne(t)); +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(); + } + } } - -void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) -{ - ( theWrappedObject->replace(i, t)); + QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); } - -void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) +bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) { - ( theWrappedObject->reserve(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); + return QPlainTextDocumentLayout::event(event0); } - -void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) +bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setSharable(sharable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->shrink_to_fit()); + return QPlainTextDocumentLayout::eventFilter(watched0, event1); } - -int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const +QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const { - return ( theWrappedObject->size()); +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(); + } + } } - -void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->squeeze()); + return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } - -bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) const +int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { - return ( theWrappedObject->startsWith(t)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const -{ - return ( theWrappedObject->subtracted(r)); + return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } - -void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) +int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { - ( theWrappedObject->swap(other)); +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(); + } + } } - -QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) -{ - return ( theWrappedObject->takeAt(i)); + return QPlainTextDocumentLayout::pageCount(); } - -QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) +void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { - return ( theWrappedObject->takeFirst()); +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(); + } + } } - -QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) -{ - return ( theWrappedObject->takeLast()); + QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); } - -QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const +void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { - return ( theWrappedObject->toList()); +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(); + } + } } - -QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->toPolygon()); + QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); } - -void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) +void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->translate(offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); + QPlainTextDocumentLayout::timerEvent(event0); } +QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) +{ +return new PythonQtShell_QPlainTextDocumentLayout(document); } -QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, const QPointF& offset) const -{ - return ( theWrappedObject->translated(offset)); +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; + } } - -QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const -{ - return ( theWrappedObject->translated(dx, dy)); +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; } - -QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const +int PythonQtWrapper_QPlainTextDocumentLayout::cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const { - return ( theWrappedObject->united(r)); + return ( theWrappedObject->cursorWidth()); } -QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const +void PythonQtWrapper_QPlainTextDocumentLayout::ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const { - return ( theWrappedObject->value(i)); + ( theWrappedObject->ensureBlockLayout(block)); } -QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const +void PythonQtWrapper_QPlainTextDocumentLayout::requestUpdate(QPlainTextDocumentLayout* theWrappedObject) { - return ( theWrappedObject->value(i, defaultValue)); + ( theWrappedObject->requestUpdate()); } -QString PythonQtWrapper_QPolygonF::py_toString(QPolygonF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); } -PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { +PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPrintDialog::accept() +void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7506,31 +6761,42 @@ if (_wrapper) { } } } - QPrintDialog::accept(); + QPlainTextEdit::actionEvent(event0); } -void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* 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("actionEvent"); + static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::actionEvent(event0); + return QPlainTextEdit::canInsertFromMimeData(source0); } -void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7540,9 +6806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7550,9 +6816,9 @@ if (_wrapper) { } } } - QPrintDialog::changeEvent(arg__1); + QPlainTextEdit::changeEvent(e0); } -void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) +void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7564,7 +6830,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7572,9 +6838,9 @@ if (_wrapper) { } } } - QPrintDialog::childEvent(event0); + QPlainTextEdit::childEvent(event0); } -void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7584,9 +6850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7594,9 +6860,9 @@ if (_wrapper) { } } } - QPrintDialog::closeEvent(arg__1); + QPlainTextEdit::closeEvent(event0); } -void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7606,9 +6872,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7616,9 +6882,42 @@ if (_wrapper) { } } } - QPrintDialog::contextMenuEvent(arg__1); + QPlainTextEdit::contextMenuEvent(e0); } -void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) +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 @@ -7630,7 +6929,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7638,9 +6937,9 @@ if (_wrapper) { } } } - QPrintDialog::customEvent(event0); + QPlainTextEdit::customEvent(event0); } -int PythonQtShell_QPrintDialog::devType() const +int PythonQtShell_QPlainTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7663,7 +6962,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7671,21 +6970,21 @@ if (_wrapper) { } } } - return QPrintDialog::devType(); + return QPlainTextEdit::devType(); } -void PythonQtShell_QPrintDialog::done(int result0) +void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&result0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7693,9 +6992,9 @@ if (_wrapper) { } } } - QPrintDialog::done(result0); + QPlainTextEdit::doSetTextCursor(cursor0); } -void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7705,9 +7004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7715,9 +7014,9 @@ if (_wrapper) { } } } - QPrintDialog::dragEnterEvent(event0); + QPlainTextEdit::dragEnterEvent(e0); } -void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7727,9 +7026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7737,9 +7036,9 @@ if (_wrapper) { } } } - QPrintDialog::dragLeaveEvent(event0); + QPlainTextEdit::dragLeaveEvent(e0); } -void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7749,9 +7048,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7759,9 +7058,9 @@ if (_wrapper) { } } } - QPrintDialog::dragMoveEvent(event0); + QPlainTextEdit::dragMoveEvent(e0); } -void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7771,9 +7070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7781,9 +7080,9 @@ if (_wrapper) { } } } - QPrintDialog::dropEvent(event0); + QPlainTextEdit::dropEvent(e0); } -void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) +void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7795,7 +7094,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7803,9 +7102,9 @@ if (_wrapper) { } } } - QPrintDialog::enterEvent(event0); + QPlainTextEdit::enterEvent(event0); } -bool PythonQtShell_QPrintDialog::event(QEvent* event0) +bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7816,7 +7115,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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); @@ -7828,7 +7127,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7836,9 +7135,9 @@ if (_wrapper) { } } } - return QPrintDialog::event(event0); + return QPlainTextEdit::event(e0); } -bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7861,40 +7160,7 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7902,9 +7168,9 @@ if (_wrapper) { } } } - return QPrintDialog::exec(); + return QPlainTextEdit::eventFilter(arg__1, arg__2); } -void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7914,9 +7180,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7924,9 +7190,9 @@ if (_wrapper) { } } } - QPrintDialog::focusInEvent(event0); + QPlainTextEdit::focusInEvent(e0); } -bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7949,7 +7215,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7957,9 +7223,9 @@ if (_wrapper) { } } } - return QPrintDialog::focusNextPrevChild(next0); + return QPlainTextEdit::focusNextPrevChild(next0); } -void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7969,9 +7235,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7979,9 +7245,9 @@ if (_wrapper) { } } } - QPrintDialog::focusOutEvent(event0); + QPlainTextEdit::focusOutEvent(e0); } -bool PythonQtShell_QPrintDialog::hasHeightForWidth() const +bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8004,7 +7270,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8012,9 +7278,9 @@ if (_wrapper) { } } } - return QPrintDialog::hasHeightForWidth(); + return QPlainTextEdit::hasHeightForWidth(); } -int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const +int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8037,7 +7303,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8045,9 +7311,9 @@ if (_wrapper) { } } } - return QPrintDialog::heightForWidth(arg__1); + return QPlainTextEdit::heightForWidth(arg__1); } -void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8059,7 +7325,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8067,9 +7333,9 @@ if (_wrapper) { } } } - QPrintDialog::hideEvent(event0); + QPlainTextEdit::hideEvent(event0); } -void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8081,7 +7347,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8089,9 +7355,9 @@ if (_wrapper) { } } } - QPrintDialog::initPainter(painter0); + QPlainTextEdit::initPainter(painter0); } -void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8103,7 +7369,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8111,9 +7377,9 @@ if (_wrapper) { } } } - QPrintDialog::inputMethodEvent(arg__1); + QPlainTextEdit::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8124,7 +7390,7 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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); @@ -8136,7 +7402,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8144,21 +7410,21 @@ if (_wrapper) { } } } - return QPrintDialog::inputMethodQuery(arg__1); + return QPlainTextEdit::inputMethodQuery(property0); } -void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8166,21 +7432,21 @@ if (_wrapper) { } } } - QPrintDialog::keyPressEvent(arg__1); + QPlainTextEdit::insertFromMimeData(source0); } -void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + 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}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8188,21 +7454,21 @@ if (_wrapper) { } } } - QPrintDialog::keyReleaseEvent(event0); + QPlainTextEdit::keyPressEvent(e0); } -void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8210,65 +7476,54 @@ if (_wrapper) { } } } - QPrintDialog::leaveEvent(event0); + QPlainTextEdit::keyReleaseEvent(e0); } -int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::metric(arg__1); + QPlainTextEdit::leaveEvent(event0); } -QSize PythonQtShell_QPrintDialog::minimumSizeHint() const +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("minimumSizeHint"); + static PyObject* name = PyString_FromString("loadResource"); 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}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8276,142 +7531,32 @@ if (_wrapper) { } } } - 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); + return QPlainTextEdit::loadResource(type0, name1); } -bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8419,32 +7564,32 @@ if (_wrapper) { } } } - return QPrintDialog::nativeEvent(eventType0, message1, result2); + return QPlainTextEdit::metric(arg__1); } -QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const +QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8452,21 +7597,21 @@ if (_wrapper) { } } } - return QPrintDialog::paintEngine(); + return QPlainTextEdit::minimumSizeHint(); } -void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8474,54 +7619,43 @@ if (_wrapper) { } } } - QPrintDialog::paintEvent(event0); + QPlainTextEdit::mouseDoubleClickEvent(e0); } -QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const +void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + 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("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::redirected(offset0); + QPlainTextEdit::mouseMoveEvent(e0); } -void PythonQtShell_QPrintDialog::reject() +void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8529,21 +7663,21 @@ if (_wrapper) { } } } - QPrintDialog::reject(); + QPlainTextEdit::mousePressEvent(e0); } -void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8551,21 +7685,21 @@ if (_wrapper) { } } } - QPrintDialog::resizeEvent(arg__1); + QPlainTextEdit::mouseReleaseEvent(e0); } -void PythonQtShell_QPrintDialog::setVisible(bool visible0) +void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8573,32 +7707,65 @@ if (_wrapper) { } } } - QPrintDialog::setVisible(visible0); + QPlainTextEdit::moveEvent(event0); } -QPainter* PythonQtShell_QPrintDialog::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + 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); - QPainter* returnValue{}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8606,21 +7773,21 @@ if (_wrapper) { } } } - return QPrintDialog::sharedPainter(); + return QPlainTextEdit::paintEngine(); } -void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8628,32 +7795,32 @@ if (_wrapper) { } } } - QPrintDialog::showEvent(arg__1); + QPlainTextEdit::paintEvent(e0); } -QSize PythonQtShell_QPrintDialog::sizeHint() const +QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8661,21 +7828,21 @@ if (_wrapper) { } } } - return QPrintDialog::sizeHint(); + return QPlainTextEdit::redirected(offset0); } -void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8683,21 +7850,21 @@ if (_wrapper) { } } } - QPrintDialog::tabletEvent(event0); + QPlainTextEdit::resizeEvent(e0); } -void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8705,21 +7872,21 @@ if (_wrapper) { } } } - QPrintDialog::timerEvent(event0); + QPlainTextEdit::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8727,84 +7894,54 @@ if (_wrapper) { } } } - 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)); + QPlainTextEdit::setVisible(visible0); } - -bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { - return ( theWrappedObject->testOption(option)); +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(); + } + } } - - - -PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPlainTextEdit::setupViewport(viewport0); } -bool PythonQtShell_QPrintEngine::abort() +QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("abort"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("abort", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8812,65 +7949,54 @@ if (_wrapper) { } } } - return bool(); + return QPlainTextEdit::sharedPainter(); } -int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return int(); + QPlainTextEdit::showEvent(arg__1); } -bool PythonQtShell_QPrintEngine::newPage() +QSize PythonQtShell_QPlainTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8878,32 +8004,76 @@ if (_wrapper) { } } } - return bool(); + return QPlainTextEdit::sizeHint(); } -QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const +void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("printerState"); + static PyObject* name = PyString_FromString("tabletEvent"); 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}; + 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("printerState", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QPrinter::PrinterState*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8911,32 +8081,32 @@ if (_wrapper) { } } } - return QPrinter::PrinterState(); + return QPlainTextEdit::viewportEvent(arg__1); } -QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const +QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("property"); + static PyObject* name = PyString_FromString("viewportSizeHint"); 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}; + 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("property", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8944,21 +8114,21 @@ if (_wrapper) { } } } - return QVariant(); + return QPlainTextEdit::viewportSizeHint(); } -void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) +void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setProperty"); + static PyObject* name = PyString_FromString("wheelEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8966,1329 +8136,776 @@ if (_wrapper) { } } } - + 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()); } -QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() -{ -return new PythonQtShell_QPrintEngine(); } -bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) +void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->abort()); + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); } -int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->metric(arg__1)); + return ( theWrappedObject->document()); } -bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) +QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->newPage()); + return ( theWrappedObject->documentTitle()); } -QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) { - return ( theWrappedObject->printerState()); + ( theWrappedObject->ensureCursorVisible()); } -QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const +QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->property(key)); + return ( theWrappedObject->extraSelections()); } -void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) { - ( theWrappedObject->setProperty(key, value)); + 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()); +} -PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); } -void PythonQtShell_QPrintPreviewDialog::accept() + +QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const { -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(); - } - } + return ( theWrappedObject->inputMethodQuery(query, argument)); } - QPrintPreviewDialog::accept(); + +void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) +{ + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); } -void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) + +bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isReadOnly()); } - QPrintPreviewDialog::actionEvent(event0); + +bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->isUndoRedoEnabled()); } -void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) + +QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->lineWrapMode()); } - QPrintPreviewDialog::changeEvent(arg__1); + +QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) +{ + return ( theWrappedObject->loadResource(type, name)); } -void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) + +int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->maximumBlockCount()); } - QPrintPreviewDialog::childEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCurrentCharFormat(modifier)); } -void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) + +void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { -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(); - } - } + ( theWrappedObject->moveCursor(operation, mode)); } - QPrintPreviewDialog::closeEvent(arg__1); + +bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->overwriteMode()); } -void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) + +QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->placeholderText()); } - QPrintPreviewDialog::contextMenuEvent(arg__1); + +void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +{ + ( theWrappedObject->print(printer)); } -void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBackgroundVisible(visible)); } - QPrintPreviewDialog::customEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setCenterOnScroll(enabled)); } -int PythonQtShell_QPrintPreviewDialog::devType() const + +void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) { -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(); - } - } + ( theWrappedObject->setCurrentCharFormat(format)); } - return QPrintPreviewDialog::devType(); + +void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); } -void PythonQtShell_QPrintPreviewDialog::done(int result0) + +void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) { -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(); - } - } + ( theWrappedObject->setDocument(document)); } - QPrintPreviewDialog::done(result0); + +void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) +{ + ( theWrappedObject->setDocumentTitle(title)); } -void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) { -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(); - } - } + ( theWrappedObject->setExtraSelections(selections)); } - QPrintPreviewDialog::dragEnterEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) +{ + ( theWrappedObject->setLineWrapMode(mode)); } -void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) { -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(); - } - } + ( theWrappedObject->setMaximumBlockCount(maximum)); } - QPrintPreviewDialog::dragLeaveEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) +{ + ( theWrappedObject->setOverwriteMode(overwrite)); } -void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) { -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(); - } - } + ( theWrappedObject->setPlaceholderText(placeholderText)); } - QPrintPreviewDialog::dragMoveEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) +{ + ( theWrappedObject->setReadOnly(ro)); } -void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) { -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(); - } - } + ( theWrappedObject->setTabChangesFocus(b)); } - QPrintPreviewDialog::dropEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) +{ + ( theWrappedObject->setTabStopDistance(distance)); } -void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) { -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(); - } - } + ( theWrappedObject->setTabStopWidth(width)); } - QPrintPreviewDialog::enterEvent(event0); + +void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +{ + ( theWrappedObject->setTextCursor(cursor)); } -bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) + +void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTextInteractionFlags(flags)); } - return QPrintPreviewDialog::event(event0); + +void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUndoRedoEnabled(enable)); } -bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) + +void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - 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(); - } - } + ( theWrappedObject->setWordWrapMode(policy)); } - return QPrintPreviewDialog::eventFilter(arg__1, arg__2); + +bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabChangesFocus()); } -int PythonQtShell_QPrintPreviewDialog::exec() + +qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const { -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 ( theWrappedObject->tabStopDistance()); +} + +int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->tabStopWidth()); +} + +QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textCursor()); } - return QPrintPreviewDialog::exec(); + +Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->textInteractionFlags()); } -void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) + +QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->toPlainText()); } - QPrintPreviewDialog::focusInEvent(event0); + +QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->wordWrapMode()); } -bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) { -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(); - } - } + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); } - return QPrintPreviewDialog::focusNextPrevChild(next0); + + + +PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) +QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) +{ +return new PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } + +QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->surfaceEventType()); } - QPrintPreviewDialog::focusOutEvent(event0); + + + +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)); } -bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const + +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) { -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(); - } - } + ( theWrappedObject->append(l)); } - return QPrintPreviewDialog::hasHeightForWidth(); + +const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const +{ + return &( theWrappedObject->at(i)); } -int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const + +QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) 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 ( theWrappedObject->boundingRect()); } - return QPrintPreviewDialog::heightForWidth(arg__1); + +int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->capacity()); } -void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) { -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(); - } - } + ( theWrappedObject->clear()); } - QPrintPreviewDialog::hideEvent(event0); + +const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->constFirst()); } -void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const + +const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) 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(); - } - } + return &( theWrappedObject->constLast()); } - QPrintPreviewDialog::initPainter(painter0); + +bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->contains(t)); } -void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) + +bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const { -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(); - } - } + return ( theWrappedObject->containsPoint(pt, fillRule)); } - QPrintPreviewDialog::inputMethodEvent(arg__1); + +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->count()); } -QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) 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 ( theWrappedObject->count(t)); +} + +bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->empty()); } - return QPrintPreviewDialog::inputMethodQuery(arg__1); + +bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->endsWith(t)); } -void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) + +QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) { -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(); - } - } + return &( theWrappedObject->fill(t, size)); } - QPrintPreviewDialog::keyPressEvent(arg__1); + +const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->first()); } -void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) + +QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) { -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(); - } - } + return (QPolygonF::fromList(list)); } - QPrintPreviewDialog::keyReleaseEvent(event0); + +int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +{ + return ( theWrappedObject->indexOf(t, from)); } -void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) + +QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const { -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(); - } - } + return ( theWrappedObject->intersected(r)); } - QPrintPreviewDialog::leaveEvent(event0); + +bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->intersects(r)); } -int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) 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 ( theWrappedObject->isClosed()); } - return QPrintPreviewDialog::metric(arg__1); + +bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->isEmpty()); } -QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const + +bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) 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 ( theWrappedObject->isSharedWith(other)); } - return QPrintPreviewDialog::minimumSizeHint(); + +const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const +{ + return &( theWrappedObject->last()); } -void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) + +int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const { -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(); - } - } + return ( theWrappedObject->lastIndexOf(t, from)); } - QPrintPreviewDialog::mouseDoubleClickEvent(event0); + +int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->length()); } -void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) + +QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const { -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(); - } - } + return ( theWrappedObject->mid(pos, len)); } - QPrintPreviewDialog::mouseMoveEvent(event0); + +void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) +{ + ( theWrappedObject->move(from, to)); } -void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const { -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(); - } - } + return ( (*theWrappedObject)!= v); } - QPrintPreviewDialog::mousePressEvent(event0); + +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); } -void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) + +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) { -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(); - } - } + return ( (*theWrappedObject)* m); } - QPrintPreviewDialog::mouseReleaseEvent(event0); + +void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) +{ + stream << (*theWrappedObject); } -void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) + +QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) { -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(); - } - } + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const +{ + return ( (*theWrappedObject)== v); } - QPrintPreviewDialog::moveEvent(event0); + +void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) +{ + stream >> (*theWrappedObject); } -bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) { -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(); - } - } + ( theWrappedObject->pop_back()); } - return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_front()); } -QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const + +void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) { -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(); - } - } + ( theWrappedObject->prepend(t)); } - return QPrintPreviewDialog::paintEngine(); + +void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->push_back(t)); } -void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) + +void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) { -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(); - } - } + ( theWrappedObject->push_front(t)); } - QPrintPreviewDialog::paintEvent(event0); + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); } -QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) { -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(); - } - } + ( theWrappedObject->remove(i, n)); } - return QPrintPreviewDialog::redirected(offset0); + +int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeAll(t)); } -void PythonQtShell_QPrintPreviewDialog::reject() + +void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) { -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(); - } - } + ( theWrappedObject->removeAt(i)); } - QPrintPreviewDialog::reject(); + +void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); } -void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) + +void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) { -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(); - } - } + ( theWrappedObject->removeLast()); } - QPrintPreviewDialog::resizeEvent(arg__1); + +bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeOne(t)); } -void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) + +void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) { -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(); - } - } + ( theWrappedObject->replace(i, t)); } - QPrintPreviewDialog::setVisible(visible0); + +void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); } -QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const + +void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) { -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(); - } - } + ( theWrappedObject->resize(size)); } - return QPrintPreviewDialog::sharedPainter(); + +void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); } -void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) + +void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) { -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(); - } - } + ( theWrappedObject->shrink_to_fit()); +} + +int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->size()); } - QPrintPreviewDialog::showEvent(arg__1); + +void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->squeeze()); } -QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const + +bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) 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 ( theWrappedObject->startsWith(t)); } - return QPrintPreviewDialog::sizeHint(); + +QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->subtracted(r)); } -void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) { -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(); - } - } + ( theWrappedObject->swap(other)); } - QPrintPreviewDialog::tabletEvent(event0); + +QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); } -void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) + +QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->takeFirst()); } - QPrintPreviewDialog::timerEvent(event0); + +QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); } -void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) + +QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->toList()); } - QPrintPreviewDialog::wheelEvent(event0); + +QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->toPolygon()); } -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); } +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} -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; - } +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); } -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; + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, const QPointF& offset) const +{ + return ( theWrappedObject->translated(offset)); } -void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const { - ( theWrappedObject->open(receiver, member)); + return ( theWrappedObject->translated(dx, dy)); } -QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) +QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const { - return ( theWrappedObject->printer()); + 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_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { +PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) +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 @@ -10300,7 +8917,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10308,9 +8925,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::actionEvent(event0); + QPrintDialog::actionEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) +void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10322,7 +8939,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10330,9 +8947,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::changeEvent(arg__1); + QPrintDialog::changeEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) +void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10344,7 +8961,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10352,9 +8969,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::childEvent(event0); + QPrintDialog::childEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10364,9 +8981,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10374,9 +8991,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::closeEvent(event0); + QPrintDialog::closeEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10386,9 +9003,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10396,9 +9013,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::contextMenuEvent(event0); + QPrintDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) +void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10410,7 +9027,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10418,9 +9035,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::customEvent(event0); + QPrintDialog::customEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::devType() const +int PythonQtShell_QPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10443,7 +9060,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10451,9 +9068,31 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::devType(); + 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_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10465,7 +9104,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10473,9 +9112,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragEnterEvent(event0); + QPrintDialog::dragEnterEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10487,7 +9126,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10495,9 +9134,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragLeaveEvent(event0); + QPrintDialog::dragLeaveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10509,7 +9148,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10517,9 +9156,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragMoveEvent(event0); + QPrintDialog::dragMoveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10531,7 +9170,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10539,9 +9178,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dropEvent(event0); + QPrintDialog::dropEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) +void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10553,7 +9192,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10561,9 +9200,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::enterEvent(event0); + QPrintDialog::enterEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) +bool PythonQtShell_QPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10574,19 +9213,52 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10594,32 +9266,32 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::event(event0); + return QPrintDialog::eventFilter(arg__1, arg__2); } -bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* event1) +int PythonQtShell_QPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10627,9 +9299,9 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::eventFilter(watched0, event1); + return QPrintDialog::exec(); } -void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10641,7 +9313,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10649,9 +9321,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusInEvent(event0); + QPrintDialog::focusInEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) +bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10674,7 +9346,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10682,9 +9354,9 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::focusNextPrevChild(next0); + return QPrintDialog::focusNextPrevChild(next0); } -void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10696,7 +9368,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10704,9 +9376,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusOutEvent(event0); + QPrintDialog::focusOutEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const +bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10729,7 +9401,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10737,9 +9409,9 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::hasHeightForWidth(); + return QPrintDialog::hasHeightForWidth(); } -int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const +int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10762,7 +9434,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10770,9 +9442,9 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::heightForWidth(arg__1); + return QPrintDialog::heightForWidth(arg__1); } -void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10784,7 +9456,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10792,9 +9464,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::hideEvent(event0); + QPrintDialog::hideEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10806,7 +9478,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10814,9 +9486,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::initPainter(painter0); + QPrintDialog::initPainter(painter0); } -void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10828,7 +9500,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10836,9 +9508,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::inputMethodEvent(arg__1); + QPrintDialog::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10861,7 +9533,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10869,9 +9541,9 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::inputMethodQuery(arg__1); + return QPrintDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10881,9 +9553,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10891,9 +9563,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::keyPressEvent(event0); + QPrintDialog::keyPressEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10905,7 +9577,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10913,9 +9585,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::keyReleaseEvent(event0); + QPrintDialog::keyReleaseEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10927,7 +9599,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10935,9 +9607,9 @@ if (_wrapper) { } } } - QPrintPreviewWidget::leaveEvent(event0); + QPrintDialog::leaveEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10960,7 +9632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10968,14 +9640,14 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::metric(arg__1); + return QPrintDialog::metric(arg__1); } -QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const +QSize PythonQtShell_QPrintDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -10987,244 +9659,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11232,21 +9673,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::redirected(offset0); + return QPrintDialog::minimumSizeHint(); } -void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11254,21 +9695,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::resizeEvent(event0); + QPrintDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) +void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11276,54 +9717,43 @@ if (_wrapper) { } } } - QPrintPreviewWidget::setVisible(visible0); + QPrintDialog::mouseMoveEvent(event0); } -QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const +void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::sharedPainter(); + QPrintDialog::mousePressEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11331,98 +9761,109 @@ if (_wrapper) { } } } - QPrintPreviewWidget::showEvent(event0); + QPrintDialog::mouseReleaseEvent(event0); } -QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const +void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("moveEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::sizeHint(); + QPrintDialog::moveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* 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("tabletEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::tabletEvent(event0); + return QPrintDialog::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) +QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::timerEvent(event0); + return QPrintDialog::paintEngine(); } -void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11430,89 +9871,32 @@ if (_wrapper) { } } } - 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); } + QPrintDialog::paintEvent(event0); } -int PythonQtShell_QPrinter::devType() const +QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11520,21 +9904,21 @@ if (_wrapper) { } } } - return QPrinter::devType(); + return QPrintDialog::redirected(offset0); } -void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("reject"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11542,98 +9926,76 @@ if (_wrapper) { } } } - QPrinter::initPainter(painter0); + QPrintDialog::reject(); } -int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrinter::metric(arg__1); + QPrintDialog::resizeEvent(arg__1); } -bool PythonQtShell_QPrinter::newPage() +void PythonQtShell_QPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + 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(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrinter::newPage(); + QPrintDialog::setVisible(visible0); } -QPaintEngine* PythonQtShell_QPrinter::paintEngine() const +QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11641,76 +10003,76 @@ if (_wrapper) { } } } - return QPrinter::paintEngine(); + return QPrintDialog::sharedPainter(); } -QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const +void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrinter::redirected(offset0); + QPrintDialog::showEvent(arg__1); } -void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) +QSize PythonQtShell_QPrintDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMargins"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrinter::setMargins(m0); + return QPrintDialog::sizeHint(); } -void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) +void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11718,21 +10080,21 @@ if (_wrapper) { } } } - QPrinter::setPageSize(arg__1); + QPrintDialog::tabletEvent(event0); } -void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) +void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&size0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11740,506 +10102,301 @@ if (_wrapper) { } } } - QPrinter::setPageSizeMM(size0); + QPrintDialog::timerEvent(event0); } -QPainter* PythonQtShell_QPrinter::sharedPainter() const +void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("wheelEvent"); 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}; + 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) { - 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); } + 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)); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setPrinterName(arg__1)); + QPrintDialog::wheelEvent(event0); } +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(printer, parent); } -void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setResolution(arg__1)); -} +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(parent); } -void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) -{ - ( theWrappedObject->setWinPageSize(winPageSize)); +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; + } } - -QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->supportedResolutions()); +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; } - -bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) { - return ( theWrappedObject->supportsMultipleCopies()); + ( theWrappedObject->open(receiver, member)); } -int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const { - return ( theWrappedObject->toPage()); + return ( theWrappedObject->options()); } -int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) { - return ( theWrappedObject->winPageSize()); + ( theWrappedObject->setOption(option, on)); } - - -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() +void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) { - return (QPrinterInfo::availablePrinterNames()); + ( theWrappedObject->setOptions(options)); } -QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() +bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const { - return (QPrinterInfo::availablePrinters()); + return ( theWrappedObject->testOption(option)); } -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()); +PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() +bool PythonQtShell_QPrintEngine::abort() { - return (QPrinterInfo::defaultPrinterName()); +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(); + } + } } - -QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->description()); + return bool(); } - -bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const +int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->isDefault()); +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(); + } + } } - -bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); + return int(); } - -bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const +bool PythonQtShell_QPrintEngine::newPage() { - return ( theWrappedObject->isRemote()); +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(); + } + } } - -QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->location()); + return bool(); } - -QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const +QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { - return ( theWrappedObject->makeAndModel()); +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(); + } + } } - -QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->maximumPhysicalPageSize()); + return QPrinter::PrinterState(); } - -QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const { - return ( theWrappedObject->minimumPhysicalPageSize()); +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(); + } + } } - -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) -{ - return (QPrinterInfo::printerInfo(printerName)); + return QVariant(); } - -QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const +void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) { - return ( theWrappedObject->printerName()); +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(); + } + } } - -QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->state()); + } +QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() +{ +return new PythonQtShell_QPrintEngine(); } -QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) { - return ( theWrappedObject->supportedDuplexModes()); + return ( theWrappedObject->abort()); } -QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const +int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->supportedPageSizes()); + return ( theWrappedObject->metric(arg__1)); } -QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) { - return ( theWrappedObject->supportedPaperSizes()); + return ( theWrappedObject->newPage()); } -QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const +QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const { - return ( theWrappedObject->supportedResolutions()); + return ( theWrappedObject->printerState()); } -QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const +QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const { - return ( theWrappedObject->supportedSizesWithNames()); + return ( theWrappedObject->property(key)); } -bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) { - return ( theWrappedObject->supportsCustomPageSizes()); + ( theWrappedObject->setProperty(key, value)); } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.h index dd23313e..05170dd7 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui6.h @@ -1,14 +1,12 @@ #include -#include #include #include #include -#include -#include #include #include #include #include +#include #include #include #include @@ -31,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -42,12 +41,13 @@ #include #include #include +#include #include #include +#include #include #include #include -#include #include #include #include @@ -62,21 +62,20 @@ #include #include #include -#include -#include -#include #include #include #include +#include #include #include #include #include -#include #include #include +#include #include #include +#include #include #include #include @@ -90,27 +89,203 @@ -class PythonQtShell_QPagedPaintDevice : public QPagedPaintDevice +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_QPagedPaintDevice():QPagedPaintDevice(),_wrapper(nullptr) {}; + PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPagedPaintDevice() override; + ~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; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -bool newPage() 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 setMargins(const QPagedPaintDevice::Margins& margins) override; -void setPageSize(QPagedPaintDevice::PageSize size) override; -void setPageSizeMM(const QSizeF& size) 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(); } +}; - PythonQtInstanceWrapper* _wrapper; +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(); } @@ -129,7 +304,6 @@ enum PageSize{ enum PdfVersion{ PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b, PdfVersion_1_6 = QPagedPaintDevice::PdfVersion_1_6}; public slots: -QPagedPaintDevice* new_QPagedPaintDevice(); void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; @@ -163,7 +337,7 @@ class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margi ~PythonQtShell_QPagedPaintDevice__Margins(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject @@ -204,7 +378,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice @@ -262,6 +436,36 @@ void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } +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: @@ -290,7 +494,7 @@ bool end() override; QPaintEngine::Type type() const override; void updateState(const QPaintEngineState& state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine @@ -403,7 +607,7 @@ class PythonQtShell_QPaintEngineState : public QPaintEngineState ~PythonQtShell_QPaintEngineState(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPaintEngineState : public QObject @@ -446,7 +650,7 @@ class PythonQtShell_QPaintEvent : public QPaintEvent ~PythonQtShell_QPaintEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPaintEvent : public QObject @@ -595,12 +799,15 @@ void delete_QPainter(QPainter* obj) { delete obj; } 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); @@ -810,7 +1017,7 @@ class PythonQtShell_QPainterPath__Element : public QPainterPath::Element ~PythonQtShell_QPainterPath__Element(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPainterPath__Element : public QObject @@ -849,7 +1056,7 @@ class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment ~PythonQtShell_QPainter__PixmapFragment(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPainter__PixmapFragment : public QObject @@ -904,7 +1111,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPanGesture : public QObject @@ -952,7 +1159,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPdfWriter : public QPdfWriter @@ -1009,7 +1216,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPicture : public QPicture @@ -1068,7 +1275,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin @@ -1149,7 +1356,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPinchGesture : public QObject @@ -1228,6 +1435,8 @@ void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } 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; @@ -1249,7 +1458,7 @@ class PythonQtShell_QPixmapCache : public QPixmapCache ~PythonQtShell_QPixmapCache(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPixmapCache : public QObject @@ -1261,7 +1470,9 @@ 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); @@ -1318,7 +1529,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPlainTextDocumentLayout : public QPlainTextDocumentLayout @@ -1421,7 +1632,7 @@ void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit @@ -1605,7 +1816,7 @@ class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent ~PythonQtShell_QPlatformSurfaceEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QPlatformSurfaceEvent : public QObject @@ -1672,7 +1883,6 @@ void delete_QPolygonF(QPolygonF* obj) { delete obj; } void readFrom(QPolygonF* theWrappedObject, QDataStream& stream); void pop_back(QPolygonF* theWrappedObject); void pop_front(QPolygonF* theWrappedObject); - void prepend(QPolygonF* theWrappedObject, QPointF& t); void prepend(QPolygonF* theWrappedObject, const QPointF& t); void push_back(QPolygonF* theWrappedObject, const QPointF& t); void push_front(QPolygonF* theWrappedObject, const QPointF& t); @@ -1773,7 +1983,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog @@ -1820,7 +2030,7 @@ QPrinter::PrinterState printerState() const override; QVariant property(QPrintEngine::PrintEnginePropertyKey key) const override; void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPrintEngine : public QPrintEngine @@ -1857,359 +2067,3 @@ void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } }; - - - -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::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 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; - bool __nonzero__(QPrinterInfo* obj) { return !obj->isNull(); } -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 564e9f71..98d7ac94 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -2,11 +2,8 @@ #include #include #include -#include -#include -#include +#include #include -#include #include #include #include @@ -18,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -26,18 +24,18 @@ #include #include #include -#include #include #include -#include -#include +#include #include #include #include #include #include -#include #include +#include +#include +#include #include #include #include @@ -46,6 +44,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -59,19 +60,17 @@ #include #include #include +#include #include #include +#include #include #include -#include #include -#include -#include -#include -#include #include #include #include +#include #include #include #include @@ -81,11 +80,33 @@ #include #include -PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { +PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) +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 @@ -97,7 +118,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -105,9 +126,9 @@ if (_wrapper) { } } } - QProgressBar::actionEvent(event0); + QPrintPreviewDialog::actionEvent(event0); } -void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) +void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -119,7 +140,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -127,9 +148,9 @@ if (_wrapper) { } } } - QProgressBar::changeEvent(arg__1); + QPrintPreviewDialog::changeEvent(arg__1); } -void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) +void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -141,7 +162,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -149,9 +170,9 @@ if (_wrapper) { } } } - QProgressBar::childEvent(event0); + QPrintPreviewDialog::childEvent(event0); } -void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -161,9 +182,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -171,9 +192,9 @@ if (_wrapper) { } } } - QProgressBar::closeEvent(event0); + QPrintPreviewDialog::closeEvent(arg__1); } -void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -183,9 +204,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -193,9 +214,9 @@ if (_wrapper) { } } } - QProgressBar::contextMenuEvent(event0); + QPrintPreviewDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QProgressBar::customEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -207,7 +228,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -215,9 +236,9 @@ if (_wrapper) { } } } - QProgressBar::customEvent(event0); + QPrintPreviewDialog::customEvent(event0); } -int PythonQtShell_QProgressBar::devType() const +int PythonQtShell_QPrintPreviewDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -240,7 +261,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -248,9 +269,31 @@ if (_wrapper) { } } } - return QProgressBar::devType(); + return QPrintPreviewDialog::devType(); } -void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) +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 @@ -262,7 +305,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -270,9 +313,9 @@ if (_wrapper) { } } } - QProgressBar::dragEnterEvent(event0); + QPrintPreviewDialog::dragEnterEvent(event0); } -void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -284,7 +327,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -292,9 +335,9 @@ if (_wrapper) { } } } - QProgressBar::dragLeaveEvent(event0); + QPrintPreviewDialog::dragLeaveEvent(event0); } -void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -306,7 +349,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -314,9 +357,9 @@ if (_wrapper) { } } } - QProgressBar::dragMoveEvent(event0); + QPrintPreviewDialog::dragMoveEvent(event0); } -void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -328,7 +371,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -336,9 +379,9 @@ if (_wrapper) { } } } - QProgressBar::dropEvent(event0); + QPrintPreviewDialog::dropEvent(event0); } -void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -350,7 +393,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -358,9 +401,9 @@ if (_wrapper) { } } } - QProgressBar::enterEvent(event0); + QPrintPreviewDialog::enterEvent(event0); } -bool PythonQtShell_QProgressBar::event(QEvent* e0) +bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -371,7 +414,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -383,7 +426,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -391,9 +434,9 @@ if (_wrapper) { } } } - return QProgressBar::event(e0); + return QPrintPreviewDialog::event(event0); } -bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -404,7 +447,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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); @@ -416,7 +459,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -424,9 +467,42 @@ if (_wrapper) { } } } - return QProgressBar::eventFilter(watched0, event1); + return QPrintPreviewDialog::eventFilter(arg__1, arg__2); } -void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) +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 @@ -438,7 +514,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -446,9 +522,9 @@ if (_wrapper) { } } } - QProgressBar::focusInEvent(event0); + QPrintPreviewDialog::focusInEvent(event0); } -bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) +bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -471,7 +547,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -479,9 +555,9 @@ if (_wrapper) { } } } - return QProgressBar::focusNextPrevChild(next0); + return QPrintPreviewDialog::focusNextPrevChild(next0); } -void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -493,7 +569,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -501,9 +577,9 @@ if (_wrapper) { } } } - QProgressBar::focusOutEvent(event0); + QPrintPreviewDialog::focusOutEvent(event0); } -bool PythonQtShell_QProgressBar::hasHeightForWidth() const +bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -526,7 +602,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -534,9 +610,9 @@ if (_wrapper) { } } } - return QProgressBar::hasHeightForWidth(); + return QPrintPreviewDialog::hasHeightForWidth(); } -int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -559,7 +635,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -567,9 +643,9 @@ if (_wrapper) { } } } - return QProgressBar::heightForWidth(arg__1); + return QPrintPreviewDialog::heightForWidth(arg__1); } -void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -581,7 +657,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -589,9 +665,9 @@ if (_wrapper) { } } } - QProgressBar::hideEvent(event0); + QPrintPreviewDialog::hideEvent(event0); } -void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -603,7 +679,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -611,9 +687,9 @@ if (_wrapper) { } } } - QProgressBar::initPainter(painter0); + QPrintPreviewDialog::initPainter(painter0); } -void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -625,7 +701,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -633,9 +709,9 @@ if (_wrapper) { } } } - QProgressBar::inputMethodEvent(arg__1); + QPrintPreviewDialog::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -658,7 +734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -666,9 +742,9 @@ if (_wrapper) { } } } - return QProgressBar::inputMethodQuery(arg__1); + return QPrintPreviewDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -678,9 +754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -688,9 +764,9 @@ if (_wrapper) { } } } - QProgressBar::keyPressEvent(event0); + QPrintPreviewDialog::keyPressEvent(arg__1); } -void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -702,7 +778,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -710,9 +786,9 @@ if (_wrapper) { } } } - QProgressBar::keyReleaseEvent(event0); + QPrintPreviewDialog::keyReleaseEvent(event0); } -void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -724,7 +800,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -732,9 +808,9 @@ if (_wrapper) { } } } - QProgressBar::leaveEvent(event0); + QPrintPreviewDialog::leaveEvent(event0); } -int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -757,7 +833,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -765,9 +841,9 @@ if (_wrapper) { } } } - return QProgressBar::metric(arg__1); + return QPrintPreviewDialog::metric(arg__1); } -QSize PythonQtShell_QProgressBar::minimumSizeHint() const +QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -790,7 +866,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -798,9 +874,9 @@ if (_wrapper) { } } } - return QProgressBar::minimumSizeHint(); + return QPrintPreviewDialog::minimumSizeHint(); } -void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -812,7 +888,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -820,9 +896,9 @@ if (_wrapper) { } } } - QProgressBar::mouseDoubleClickEvent(event0); + QPrintPreviewDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -834,7 +910,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -842,9 +918,9 @@ if (_wrapper) { } } } - QProgressBar::mouseMoveEvent(event0); + QPrintPreviewDialog::mouseMoveEvent(event0); } -void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -856,7 +932,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -864,9 +940,9 @@ if (_wrapper) { } } } - QProgressBar::mousePressEvent(event0); + QPrintPreviewDialog::mousePressEvent(event0); } -void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -878,7 +954,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -886,9 +962,9 @@ if (_wrapper) { } } } - QProgressBar::mouseReleaseEvent(event0); + QPrintPreviewDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -900,7 +976,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -908,9 +984,9 @@ if (_wrapper) { } } } - QProgressBar::moveEvent(event0); + QPrintPreviewDialog::moveEvent(event0); } -bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -933,7 +1009,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -941,9 +1017,9 @@ if (_wrapper) { } } } - return QProgressBar::nativeEvent(eventType0, message1, result2); + return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const +QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -966,7 +1042,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -974,9 +1050,9 @@ if (_wrapper) { } } } - return QProgressBar::paintEngine(); + return QPrintPreviewDialog::paintEngine(); } -void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -986,9 +1062,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -996,9 +1072,9 @@ if (_wrapper) { } } } - QProgressBar::paintEvent(arg__1); + QPrintPreviewDialog::paintEvent(event0); } -QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1021,7 +1097,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1029,9 +1105,31 @@ if (_wrapper) { } } } - return QProgressBar::redirected(offset0); + return QPrintPreviewDialog::redirected(offset0); } -void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) +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 @@ -1041,9 +1139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1051,9 +1149,9 @@ if (_wrapper) { } } } - QProgressBar::resizeEvent(event0); + QPrintPreviewDialog::resizeEvent(arg__1); } -void PythonQtShell_QProgressBar::setVisible(bool visible0) +void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1065,7 +1163,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1073,9 +1171,9 @@ if (_wrapper) { } } } - QProgressBar::setVisible(visible0); + QPrintPreviewDialog::setVisible(visible0); } -QPainter* PythonQtShell_QProgressBar::sharedPainter() const +QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1098,7 +1196,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1106,9 +1204,9 @@ if (_wrapper) { } } } - return QProgressBar::sharedPainter(); + return QPrintPreviewDialog::sharedPainter(); } -void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) +void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1118,9 +1216,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1128,9 +1226,9 @@ if (_wrapper) { } } } - QProgressBar::showEvent(event0); + QPrintPreviewDialog::showEvent(arg__1); } -QSize PythonQtShell_QProgressBar::sizeHint() const +QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1153,7 +1251,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1161,9 +1259,9 @@ if (_wrapper) { } } } - return QProgressBar::sizeHint(); + return QPrintPreviewDialog::sizeHint(); } -void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1175,7 +1273,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1183,42 +1281,9 @@ if (_wrapper) { } } } - 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(); + QPrintPreviewDialog::tabletEvent(event0); } -void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1230,7 +1295,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1238,9 +1303,9 @@ if (_wrapper) { } } } - QProgressBar::timerEvent(event0); + QPrintPreviewDialog::timerEvent(event0); } -void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1252,7 +1317,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1260,149 +1325,46 @@ if (_wrapper) { } } } - QProgressBar::wheelEvent(event0); + QPrintPreviewDialog::wheelEvent(event0); } -QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) { -return new PythonQtShell_QProgressBar(parent); } +return new PythonQtShell_QPrintPreviewDialog(printer, parent, flags); } -const QMetaObject* PythonQtShell_QProgressBar::metaObject() const { +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, &QProgressBar::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewDialog::staticMetaObject); } else { - return &QProgressBar::staticMetaObject; + return &QPrintPreviewDialog::staticMetaObject; } } -int PythonQtShell_QProgressBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProgressBar::qt_metacall(call, id, args); +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; } -Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->open(receiver, member)); } -QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const +QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) { - return ( theWrappedObject->format()); + return ( theWrappedObject->printer()); } -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()); +PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -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) +void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1414,7 +1376,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1422,9 +1384,9 @@ if (_wrapper) { } } } - QProgressDialog::actionEvent(event0); + QPrintPreviewWidget::actionEvent(event0); } -void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1434,9 +1396,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1444,9 +1406,9 @@ if (_wrapper) { } } } - QProgressDialog::changeEvent(event0); + QPrintPreviewWidget::changeEvent(arg__1); } -void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) +void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1458,7 +1420,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1466,9 +1428,9 @@ if (_wrapper) { } } } - QProgressDialog::childEvent(event0); + QPrintPreviewWidget::childEvent(event0); } -void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1480,7 +1442,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1488,9 +1450,9 @@ if (_wrapper) { } } } - QProgressDialog::closeEvent(event0); + QPrintPreviewWidget::closeEvent(event0); } -void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1500,9 +1462,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1510,9 +1472,9 @@ if (_wrapper) { } } } - QProgressDialog::contextMenuEvent(arg__1); + QPrintPreviewWidget::contextMenuEvent(event0); } -void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1524,7 +1486,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1532,9 +1494,9 @@ if (_wrapper) { } } } - QProgressDialog::customEvent(event0); + QPrintPreviewWidget::customEvent(event0); } -int PythonQtShell_QProgressDialog::devType() const +int PythonQtShell_QPrintPreviewWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1557,7 +1519,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1565,31 +1527,9 @@ if (_wrapper) { } } } - 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); + return QPrintPreviewWidget::devType(); } -void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1601,7 +1541,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1609,9 +1549,9 @@ if (_wrapper) { } } } - QProgressDialog::dragEnterEvent(event0); + QPrintPreviewWidget::dragEnterEvent(event0); } -void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1623,7 +1563,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1631,9 +1571,9 @@ if (_wrapper) { } } } - QProgressDialog::dragLeaveEvent(event0); + QPrintPreviewWidget::dragLeaveEvent(event0); } -void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1645,7 +1585,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1653,9 +1593,9 @@ if (_wrapper) { } } } - QProgressDialog::dragMoveEvent(event0); + QPrintPreviewWidget::dragMoveEvent(event0); } -void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1667,7 +1607,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1675,9 +1615,9 @@ if (_wrapper) { } } } - QProgressDialog::dropEvent(event0); + QPrintPreviewWidget::dropEvent(event0); } -void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1689,7 +1629,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1697,9 +1637,9 @@ if (_wrapper) { } } } - QProgressDialog::enterEvent(event0); + QPrintPreviewWidget::enterEvent(event0); } -bool PythonQtShell_QProgressDialog::event(QEvent* event0) +bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1722,7 +1662,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1730,9 +1670,9 @@ if (_wrapper) { } } } - return QProgressDialog::event(event0); + return QPrintPreviewWidget::event(event0); } -bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1743,7 +1683,7 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -1755,40 +1695,7 @@ if (_wrapper) { } } } - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1796,9 +1703,9 @@ if (_wrapper) { } } } - return QProgressDialog::exec(); + return QPrintPreviewWidget::eventFilter(watched0, event1); } -void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1810,7 +1717,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1818,9 +1725,9 @@ if (_wrapper) { } } } - QProgressDialog::focusInEvent(event0); + QPrintPreviewWidget::focusInEvent(event0); } -bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1843,7 +1750,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1851,9 +1758,9 @@ if (_wrapper) { } } } - return QProgressDialog::focusNextPrevChild(next0); + return QPrintPreviewWidget::focusNextPrevChild(next0); } -void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1865,7 +1772,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1873,9 +1780,9 @@ if (_wrapper) { } } } - QProgressDialog::focusOutEvent(event0); + QPrintPreviewWidget::focusOutEvent(event0); } -bool PythonQtShell_QProgressDialog::hasHeightForWidth() const +bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1898,7 +1805,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1906,9 +1813,9 @@ if (_wrapper) { } } } - return QProgressDialog::hasHeightForWidth(); + return QPrintPreviewWidget::hasHeightForWidth(); } -int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const +int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1931,7 +1838,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1939,9 +1846,9 @@ if (_wrapper) { } } } - return QProgressDialog::heightForWidth(arg__1); + return QPrintPreviewWidget::heightForWidth(arg__1); } -void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1953,7 +1860,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1961,9 +1868,9 @@ if (_wrapper) { } } } - QProgressDialog::hideEvent(event0); + QPrintPreviewWidget::hideEvent(event0); } -void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1975,7 +1882,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1983,9 +1890,9 @@ if (_wrapper) { } } } - QProgressDialog::initPainter(painter0); + QPrintPreviewWidget::initPainter(painter0); } -void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1997,7 +1904,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2005,9 +1912,9 @@ if (_wrapper) { } } } - QProgressDialog::inputMethodEvent(arg__1); + QPrintPreviewWidget::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2030,7 +1937,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2038,9 +1945,9 @@ if (_wrapper) { } } } - return QProgressDialog::inputMethodQuery(arg__1); + return QPrintPreviewWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2050,9 +1957,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2060,9 +1967,9 @@ if (_wrapper) { } } } - QProgressDialog::keyPressEvent(arg__1); + QPrintPreviewWidget::keyPressEvent(event0); } -void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2074,7 +1981,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2082,9 +1989,9 @@ if (_wrapper) { } } } - QProgressDialog::keyReleaseEvent(event0); + QPrintPreviewWidget::keyReleaseEvent(event0); } -void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2096,7 +2003,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2104,9 +2011,9 @@ if (_wrapper) { } } } - QProgressDialog::leaveEvent(event0); + QPrintPreviewWidget::leaveEvent(event0); } -int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2129,7 +2036,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2137,14 +2044,14 @@ if (_wrapper) { } } } - return QProgressDialog::metric(arg__1); + return QPrintPreviewWidget::metric(arg__1); } -QSize PythonQtShell_QProgressDialog::minimumSizeHint() const +QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -2156,13 +2063,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2170,9 +2077,9 @@ if (_wrapper) { } } } - return QProgressDialog::minimumSizeHint(); + return QPrintPreviewWidget::minimumSizeHint(); } -void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2184,7 +2091,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2192,9 +2099,9 @@ if (_wrapper) { } } } - QProgressDialog::mouseDoubleClickEvent(event0); + QPrintPreviewWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2206,7 +2113,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2214,9 +2121,9 @@ if (_wrapper) { } } } - QProgressDialog::mouseMoveEvent(event0); + QPrintPreviewWidget::mouseMoveEvent(event0); } -void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2228,7 +2135,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2236,9 +2143,9 @@ if (_wrapper) { } } } - QProgressDialog::mousePressEvent(event0); + QPrintPreviewWidget::mousePressEvent(event0); } -void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2250,7 +2157,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2258,9 +2165,9 @@ if (_wrapper) { } } } - QProgressDialog::mouseReleaseEvent(event0); + QPrintPreviewWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2272,7 +2179,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2280,9 +2187,9 @@ if (_wrapper) { } } } - QProgressDialog::moveEvent(event0); + QPrintPreviewWidget::moveEvent(event0); } -bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2305,7 +2212,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2313,9 +2220,9 @@ if (_wrapper) { } } } - return QProgressDialog::nativeEvent(eventType0, message1, result2); + return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const +QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2338,7 +2245,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2346,9 +2253,9 @@ if (_wrapper) { } } } - return QProgressDialog::paintEngine(); + return QPrintPreviewWidget::paintEngine(); } -void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2360,7 +2267,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2368,9 +2275,9 @@ if (_wrapper) { } } } - QProgressDialog::paintEvent(event0); + QPrintPreviewWidget::paintEvent(event0); } -QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2393,7 +2300,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2401,21 +2308,21 @@ if (_wrapper) { } } } - return QProgressDialog::redirected(offset0); + return QPrintPreviewWidget::redirected(offset0); } -void PythonQtShell_QProgressDialog::reject() +void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2423,21 +2330,21 @@ if (_wrapper) { } } } - QProgressDialog::reject(); + QPrintPreviewWidget::resizeEvent(event0); } -void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2445,36 +2352,14 @@ if (_wrapper) { } } } - QProgressDialog::resizeEvent(event0); + QPrintPreviewWidget::setVisible(visible0); } -void PythonQtShell_QProgressDialog::setVisible(bool visible0) +QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { 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"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QPainter*"}; @@ -2492,7 +2377,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2500,9 +2385,9 @@ if (_wrapper) { } } } - return QProgressDialog::sharedPainter(); + return QPrintPreviewWidget::sharedPainter(); } -void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) +void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2514,7 +2399,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2522,14 +2407,14 @@ if (_wrapper) { } } } - QProgressDialog::showEvent(event0); + QPrintPreviewWidget::showEvent(event0); } -QSize PythonQtShell_QProgressDialog::sizeHint() const +QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -2541,13 +2426,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2555,9 +2440,9 @@ if (_wrapper) { } } } - return QProgressDialog::sizeHint(); + return QPrintPreviewWidget::sizeHint(); } -void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2569,7 +2454,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2577,9 +2462,9 @@ if (_wrapper) { } } } - QProgressDialog::tabletEvent(event0); + QPrintPreviewWidget::tabletEvent(event0); } -void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2591,7 +2476,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2599,9 +2484,9 @@ if (_wrapper) { } } } - QProgressDialog::timerEvent(event0); + QPrintPreviewWidget::timerEvent(event0); } -void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2613,7 +2498,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2621,140 +2506,111 @@ if (_wrapper) { } } } - QProgressDialog::wheelEvent(event0); + QPrintPreviewWidget::wheelEvent(event0); } -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) { -return new PythonQtShell_QProgressDialog(parent, flags); } +return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags flags) +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) { -return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags); } +return new PythonQtShell_QPrintPreviewWidget(parent, flags); } -const QMetaObject* PythonQtShell_QProgressDialog::metaObject() const { +const QMetaObject* PythonQtShell_QPrintPreviewWidget::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewWidget::staticMetaObject); } else { - return &QProgressDialog::staticMetaObject; + return &QPrintPreviewWidget::staticMetaObject; } } -int PythonQtShell_QProgressDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProgressDialog::qt_metacall(call, id, args); +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; } -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) +int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->setAutoReset(reset)); + return ( theWrappedObject->currentPage()); } -void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) +QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->setBar(bar)); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) +int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->setCancelButton(button)); + return ( theWrappedObject->pageCount()); } -void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) +QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const { - ( theWrappedObject->setLabel(label)); + return ( theWrappedObject->viewMode()); } -int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const +qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const { - return ( theWrappedObject->value()); + return ( theWrappedObject->zoomFactor()); } -bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const +QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const { - return ( theWrappedObject->wasCanceled()); + return ( theWrappedObject->zoomMode()); } -PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { +PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) +int PythonQtShell_QPrinter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::childEvent(event0); + return QPrinter::devType(); } -void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) +void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2762,109 +2618,153 @@ if (_wrapper) { } } } - QProxyStyle::customEvent(event0); + QPrinter::initPainter(painter0); } -void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const +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("drawComplexControl"); + static PyObject* name = PyString_FromString("metric"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); + return QPrinter::metric(arg__1); } -void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +bool PythonQtShell_QPrinter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawControl"); + static PyObject* name = PyString_FromString("newPage"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::drawControl(element0, option1, painter2, widget3); + return QPrinter::newPage(); } -void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const +QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItemPixmap"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); + return QPrinter::paintEngine(); } -void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const +QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItemText"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); + return QPrinter::redirected(offset0); } -void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPrimitive"); + static PyObject* name = PyString_FromString("setMargins"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2872,98 +2772,76 @@ if (_wrapper) { } } } - QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); + QPrinter::setMargins(m0); } -bool PythonQtShell_QProxyStyle::event(QEvent* e0) +void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::event(e0); + QPrinter::setPageSize(arg__1); } -bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::eventFilter(watched0, event1); + QPrinter::setPageSizeMM(size0); } -QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +QPainter* PythonQtShell_QPrinter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("generatedIconPixmap"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("generatedIconPixmap", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPixmap*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2971,3843 +2849,589 @@ if (_wrapper) { } } } - return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); + return QPrinter::sharedPainter(); } -QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const +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) { -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 ( theWrappedObject->abort()); } - return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); + +int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->actualNumCopies()); } -QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const + +bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) 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 ( theWrappedObject->collateCopies()); } - return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); + +QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->colorMode()); } -QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const + +int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) 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 ( theWrappedObject->copyCount()); } - return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); + +QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->creator()); } -int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const + +QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) 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 ( theWrappedObject->docName()); } - return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); + +bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->doubleSidedPrinting()); } -int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const + +QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) 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 ( theWrappedObject->duplex()); } - return QProxyStyle::pixelMetric(metric0, option1, widget2); + +bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->fontEmbeddingEnabled()); } -void PythonQtShell_QProxyStyle::polish(QApplication* app0) + +int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->fromPage()); } - QProxyStyle::polish(app0); + +bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->fullPage()); } -void PythonQtShell_QProxyStyle::polish(QPalette& pal0) + +void PythonQtWrapper_QPrinter::getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const { -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(); - } - } + ( theWrappedObject->getPageMargins(left, top, right, bottom, unit)); } - QProxyStyle::polish(pal0); + +bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -void PythonQtShell_QProxyStyle::polish(QWidget* widget0) + +int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->numCopies()); } - QProxyStyle::polish(widget0); + +QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); } -QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const + +QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) 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, 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 ( theWrappedObject->outputFileName()); } - return QRadioButton::redirected(offset0); -} -void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) + +QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->outputFormat()); } - QRadioButton::resizeEvent(event0); -} -void PythonQtShell_QRadioButton::setVisible(bool visible0) + +QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->pageOrder()); } - QRadioButton::setVisible(visible0); -} -QPainter* PythonQtShell_QRadioButton::sharedPainter() const + +QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) 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(); + return ( theWrappedObject->pageRect()); } -void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) + +QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const { -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); + return ( theWrappedObject->pageRect(arg__1)); } -QSize PythonQtShell_QRadioButton::sizeHint() const + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) 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(); + return ( theWrappedObject->pageSize()); } -void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) + +QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const { -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); + return ( theWrappedObject->paperName()); } -void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) + +QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_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); + return ( theWrappedObject->paperRect()); } -void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) + +QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const { -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); + return ( theWrappedObject->paperRect(arg__1)); } -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; +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperSize()); } -void PythonQtWrapper_QRadioButton::initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const + +QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const { - ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_initStyleOption(button)); + return ( theWrappedObject->paperSize(unit)); } -QSize PythonQtWrapper_QRadioButton::minimumSizeHint(QRadioButton* theWrappedObject) const +QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->paperSource()); } -QSize PythonQtWrapper_QRadioButton::sizeHint(QRadioButton* theWrappedObject) const +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->pdfVersion()); } +QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printEngine()); +} +QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printProgram()); +} -PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printRange()); } -int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const + +QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) 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 ( theWrappedObject->printerName()); } - return QRasterWindow::metric(metric0); + +QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); } -QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const + +int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) 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 ( theWrappedObject->resolution()); } - return QRasterWindow::redirected(arg__1); + +void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) +{ + ( theWrappedObject->setCollateCopies(collate)); } -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; - } +void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) +{ + ( theWrappedObject->setColorMode(arg__1)); } -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; + +void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCopyCount(arg__1)); } -int PythonQtWrapper_QRasterWindow::metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const + +void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) { - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_metric(metric)); + ( theWrappedObject->setCreator(arg__1)); } -QPaintDevice* PythonQtWrapper_QRasterWindow::redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const +void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) { - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_redirected(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)); +} -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont() -{ -return new QRawFont(); } +void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) +{ + ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); +} -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) -{ -return new QRawFont(fontData, pixelSize, hintingPreference); } +void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setFontEmbeddingEnabled(enable)); +} -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QRawFont& other) -{ -return new QRawFont(other); } +void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +{ + ( theWrappedObject->setFromTo(fromPage, toPage)); +} -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) -{ -return new QRawFont(fileName, pixelSize, hintingPreference); } +void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFullPage(arg__1)); +} -QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const +void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) { - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes)); + ( theWrappedObject->setNumCopies(arg__1)); } -QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const +void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) { - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, layoutFlags)); + ( theWrappedObject->setOrientation(arg__1)); } -bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const +void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs)); + ( theWrappedObject->setOutputFileName(arg__1)); } -bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const +void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) { - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs, layoutFlags)); + ( theWrappedObject->setOutputFormat(format)); } -QImage PythonQtWrapper_QRawFont::alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType, const QTransform& transform) const +void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) { - return ( theWrappedObject->alphaMapForGlyph(glyphIndex, antialiasingType, transform)); + ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); } -qreal PythonQtWrapper_QRawFont::ascent(QRawFont* theWrappedObject) const +void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) { - return ( theWrappedObject->ascent()); + ( theWrappedObject->setPageOrder(arg__1)); } -qreal PythonQtWrapper_QRawFont::averageCharWidth(QRawFont* theWrappedObject) const +void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) { - return ( theWrappedObject->averageCharWidth()); + ( theWrappedObject->setPaperName(paperName)); } -QRectF PythonQtWrapper_QRawFont::boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) { - return ( theWrappedObject->boundingRect(glyphIndex)); + ( theWrappedObject->setPaperSize(arg__1)); } -qreal PythonQtWrapper_QRawFont::capHeight(QRawFont* theWrappedObject) const +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) { - return ( theWrappedObject->capHeight()); + ( theWrappedObject->setPaperSize(paperSize, unit)); } -qreal PythonQtWrapper_QRawFont::descent(QRawFont* theWrappedObject) const +void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) { - return ( theWrappedObject->descent()); + ( theWrappedObject->setPaperSource(arg__1)); } -QString PythonQtWrapper_QRawFont::familyName(QRawFont* theWrappedObject) const +void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) { - return ( theWrappedObject->familyName()); + ( theWrappedObject->setPdfVersion(version)); } -QByteArray PythonQtWrapper_QRawFont::fontTable(QRawFont* theWrappedObject, const char* tagName) const +void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->fontTable(tagName)); + ( theWrappedObject->setPrintProgram(arg__1)); } -QRawFont PythonQtWrapper_QRawFont::static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem) +void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) { - return (QRawFont::fromFont(font, writingSystem)); + ( theWrappedObject->setPrintRange(range)); } -bool PythonQtWrapper_QRawFont::glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const +void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->glyphIndexesForChars(chars, numChars, glyphIndexes, numGlyphs)); + ( theWrappedObject->setPrinterName(arg__1)); } -QVector PythonQtWrapper_QRawFont::glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const +void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) { - return ( theWrappedObject->glyphIndexesForString(text)); + ( theWrappedObject->setResolution(arg__1)); } -QFont::HintingPreference PythonQtWrapper_QRawFont::hintingPreference(QRawFont* theWrappedObject) const +void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) { - return ( theWrappedObject->hintingPreference()); + ( theWrappedObject->setWinPageSize(winPageSize)); } -bool PythonQtWrapper_QRawFont::isValid(QRawFont* theWrappedObject) const +QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->supportedResolutions()); } -qreal PythonQtWrapper_QRawFont::leading(QRawFont* theWrappedObject) const +bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const { - return ( theWrappedObject->leading()); + return ( theWrappedObject->supportsMultipleCopies()); } -qreal PythonQtWrapper_QRawFont::lineThickness(QRawFont* theWrappedObject) const +int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const { - return ( theWrappedObject->lineThickness()); + return ( theWrappedObject->toPage()); } -void PythonQtWrapper_QRawFont::loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) +int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const { - ( theWrappedObject->loadFromData(fontData, pixelSize, hintingPreference)); + return ( theWrappedObject->winPageSize()); } -void PythonQtWrapper_QRawFont::loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) + + +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() { - ( theWrappedObject->loadFromFile(fileName, pixelSize, hintingPreference)); + return (QPrinterInfo::availablePrinterNames()); } -qreal PythonQtWrapper_QRawFont::maxCharWidth(QRawFont* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() { - return ( theWrappedObject->maxCharWidth()); + return (QPrinterInfo::availablePrinters()); } -bool PythonQtWrapper_QRawFont::__ne__(QRawFont* theWrappedObject, const QRawFont& other) const +QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->defaultDuplexMode()); } -QRawFont* PythonQtWrapper_QRawFont::operator_assign(QRawFont* theWrappedObject, const QRawFont& other) +QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->defaultPageSize()); } -bool PythonQtWrapper_QRawFont::__eq__(QRawFont* theWrappedObject, const QRawFont& other) const +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() { - return ( (*theWrappedObject)== other); + return (QPrinterInfo::defaultPrinter()); } -QPainterPath PythonQtWrapper_QRawFont::pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const +QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() { - return ( theWrappedObject->pathForGlyph(glyphIndex)); + return (QPrinterInfo::defaultPrinterName()); } -qreal PythonQtWrapper_QRawFont::pixelSize(QRawFont* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->pixelSize()); + return ( theWrappedObject->description()); } -void PythonQtWrapper_QRawFont::setPixelSize(QRawFont* theWrappedObject, qreal pixelSize) +bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setPixelSize(pixelSize)); + return ( theWrappedObject->isDefault()); } -QFont::Style PythonQtWrapper_QRawFont::style(QRawFont* theWrappedObject) const +bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->style()); + return ( theWrappedObject->isNull()); } -QString PythonQtWrapper_QRawFont::styleName(QRawFont* theWrappedObject) const +bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->styleName()); + return ( theWrappedObject->isRemote()); } -QList PythonQtWrapper_QRawFont::supportedWritingSystems(QRawFont* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->supportedWritingSystems()); + return ( theWrappedObject->location()); } -bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, QChar character) const +QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->supportsCharacter(character)); + return ( theWrappedObject->makeAndModel()); } -bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const +QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->supportsCharacter(ucs4)); + return ( theWrappedObject->maximumPhysicalPageSize()); } -void PythonQtWrapper_QRawFont::swap(QRawFont* theWrappedObject, QRawFont& other) +QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->minimumPhysicalPageSize()); } -qreal PythonQtWrapper_QRawFont::underlinePosition(QRawFont* theWrappedObject) const +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) { - return ( theWrappedObject->underlinePosition()); + return (QPrinterInfo::printerInfo(printerName)); } -qreal PythonQtWrapper_QRawFont::unitsPerEm(QRawFont* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->unitsPerEm()); + return ( theWrappedObject->printerName()); } -int PythonQtWrapper_QRawFont::weight(QRawFont* theWrappedObject) const +QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->weight()); + return ( theWrappedObject->state()); } -qreal PythonQtWrapper_QRawFont::xHeight(QRawFont* theWrappedObject) const +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) { - return ( theWrappedObject->xHeight()); +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(); + } + } } - - - -PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProgressBar::closeEvent(event0); } -void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) +void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6815,9 +3439,9 @@ if (_wrapper) { } } } - QRegExpValidator::childEvent(event0); + QProgressBar::contextMenuEvent(event0); } -void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) +void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6829,7 +3453,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6837,32 +3461,32 @@ if (_wrapper) { } } } - QRegExpValidator::customEvent(event0); + QProgressBar::customEvent(event0); } -bool PythonQtShell_QRegExpValidator::event(QEvent* event0) +int PythonQtShell_QProgressBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6870,54 +3494,43 @@ if (_wrapper) { } } } - return QRegExpValidator::event(event0); + return QProgressBar::devType(); } -bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRegExpValidator::eventFilter(watched0, event1); + QProgressBar::dragEnterEvent(event0); } -void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const +void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6925,21 +3538,21 @@ if (_wrapper) { } } } - QRegExpValidator::fixup(arg__1); + QProgressBar::dragLeaveEvent(event0); } -void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) +void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6947,32 +3560,76 @@ if (_wrapper) { } } } - QRegExpValidator::timerEvent(event0); + QProgressBar::dragMoveEvent(event0); } -QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const +void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + 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("validate", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6980,58 +3637,54 @@ if (_wrapper) { } } } - 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()); + return QProgressBar::event(e0); } - -void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setRegExp(rx)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QProgressBar::eventFilter(watched0, event1); } -void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) +void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7039,87 +3692,87 @@ if (_wrapper) { } } } - QRegularExpressionValidator::childEvent(event0); + QProgressBar::focusInEvent(event0); } -void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) +bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRegularExpressionValidator::customEvent(event0); + return QProgressBar::focusNextPrevChild(next0); } -bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) +void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRegularExpressionValidator::event(event0); + QProgressBar::focusOutEvent(event0); } -bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7127,43 +3780,54 @@ if (_wrapper) { } } } - return QRegularExpressionValidator::eventFilter(watched0, event1); + return QProgressBar::hasHeightForWidth(); } -void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const +int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRegularExpressionValidator::fixup(arg__1); + return QProgressBar::heightForWidth(arg__1); } -void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) +void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7171,223 +3835,43 @@ if (_wrapper) { } } } - QRegularExpressionValidator::timerEvent(event0); + QProgressBar::hideEvent(event0); } -QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const +void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("initPainter"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } 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()); -} - - - -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); } + PyErr_Clear(); + } + } } -void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) + 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("actionEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7395,43 +3879,54 @@ if (_wrapper) { } } } - QRubberBand::actionEvent(event0); + QProgressBar::inputMethodEvent(arg__1); } -void PythonQtShell_QRubberBand::changeEvent(QEvent* 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("changeEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::changeEvent(arg__1); + return QProgressBar::inputMethodQuery(arg__1); } -void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) +void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7439,21 +3934,21 @@ if (_wrapper) { } } } - QRubberBand::childEvent(event0); + QProgressBar::keyPressEvent(event0); } -void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) +void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7461,21 +3956,21 @@ if (_wrapper) { } } } - QRubberBand::closeEvent(event0); + QProgressBar::keyReleaseEvent(event0); } -void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7483,54 +3978,65 @@ if (_wrapper) { } } } - QRubberBand::contextMenuEvent(event0); + QProgressBar::leaveEvent(event0); } -void PythonQtShell_QRubberBand::customEvent(QEvent* 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("customEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::customEvent(event0); + return QProgressBar::metric(arg__1); } -int PythonQtShell_QRubberBand::devType() const +QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7538,21 +4044,21 @@ if (_wrapper) { } } } - return QRubberBand::devType(); + return QProgressBar::minimumSizeHint(); } -void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7560,21 +4066,21 @@ if (_wrapper) { } } } - QRubberBand::dragEnterEvent(event0); + QProgressBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7582,21 +4088,21 @@ if (_wrapper) { } } } - QRubberBand::dragLeaveEvent(event0); + QProgressBar::mouseMoveEvent(event0); } -void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7604,43 +4110,186 @@ if (_wrapper) { } } } - QRubberBand::dragMoveEvent(event0); + QProgressBar::mousePressEvent(event0); } -void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) +void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + 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); } + 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; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::dropEvent(event0); + return QProgressBar::redirected(offset0); } -void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) +void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7648,65 +4297,54 @@ if (_wrapper) { } } } - QRubberBand::enterEvent(event0); + QProgressBar::resizeEvent(event0); } -bool PythonQtShell_QRubberBand::event(QEvent* e0) +void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRubberBand::event(e0); + QProgressBar::setVisible(visible0); } -bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1) +QPainter* PythonQtShell_QProgressBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7714,21 +4352,21 @@ if (_wrapper) { } } } - return QRubberBand::eventFilter(watched0, event1); + return QProgressBar::sharedPainter(); } -void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7736,32 +4374,32 @@ if (_wrapper) { } } } - QRubberBand::focusInEvent(event0); + QProgressBar::showEvent(event0); } -bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) +QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7769,21 +4407,21 @@ if (_wrapper) { } } } - return QRubberBand::focusNextPrevChild(next0); + return QProgressBar::sizeHint(); } -void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7791,32 +4429,32 @@ if (_wrapper) { } } } - QRubberBand::focusOutEvent(event0); + QProgressBar::tabletEvent(event0); } -bool PythonQtShell_QRubberBand::hasHeightForWidth() const +QString PythonQtShell_QProgressBar::text() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("text"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7824,54 +4462,43 @@ if (_wrapper) { } } } - return QRubberBand::hasHeightForWidth(); + return QProgressBar::text(); } -int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRubberBand::heightForWidth(arg__1); + QProgressBar::timerEvent(event0); } -void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) +void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7879,21 +4506,139 @@ if (_wrapper) { } } } - QRubberBand::hideEvent(event0); + 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_QRubberBand::initPainter(QPainter* painter0) const +void PythonQtShell_QProgressDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("accept"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7901,21 +4646,21 @@ if (_wrapper) { } } } - QRubberBand::initPainter(painter0); + QProgressDialog::accept(); } -void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7923,54 +4668,43 @@ if (_wrapper) { } } } - QRubberBand::inputMethodEvent(arg__1); + QProgressDialog::actionEvent(event0); } -QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRubberBand::inputMethodQuery(arg__1); + QProgressDialog::changeEvent(event0); } -void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7978,21 +4712,21 @@ if (_wrapper) { } } } - QRubberBand::keyPressEvent(event0); + QProgressDialog::childEvent(event0); } -void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8000,21 +4734,21 @@ if (_wrapper) { } } } - QRubberBand::keyReleaseEvent(event0); + QProgressDialog::closeEvent(event0); } -void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8022,65 +4756,54 @@ if (_wrapper) { } } } - QRubberBand::leaveEvent(event0); + QProgressDialog::contextMenuEvent(arg__1); } -int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRubberBand::metric(arg__1); + QProgressDialog::customEvent(event0); } -QSize PythonQtShell_QRubberBand::minimumSizeHint() const +int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8088,109 +4811,21 @@ if (_wrapper) { } } } - 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); + return QProgressDialog::devType(); } -void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8198,87 +4833,43 @@ if (_wrapper) { } } } - 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); + QProgressDialog::done(arg__1); } -QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QRubberBand::paintEngine(); + QProgressDialog::dragEnterEvent(event0); } -void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8286,54 +4877,43 @@ if (_wrapper) { } } } - QRubberBand::paintEvent(arg__1); + QProgressDialog::dragLeaveEvent(event0); } -QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const +void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRubberBand::redirected(offset0); + QProgressDialog::dragMoveEvent(event0); } -void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8341,21 +4921,21 @@ if (_wrapper) { } } } - QRubberBand::resizeEvent(arg__1); + QProgressDialog::dropEvent(event0); } -void PythonQtShell_QRubberBand::setVisible(bool visible0) +void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8363,32 +4943,32 @@ if (_wrapper) { } } } - QRubberBand::setVisible(visible0); + QProgressDialog::enterEvent(event0); } -QPainter* PythonQtShell_QRubberBand::sharedPainter() const +bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("event"); 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}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8396,54 +4976,65 @@ if (_wrapper) { } } } - return QRubberBand::sharedPainter(); + return QProgressDialog::event(event0); } -void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +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("showEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::showEvent(arg__1); + return QProgressDialog::eventFilter(arg__1, arg__2); } -QSize PythonQtShell_QRubberBand::sizeHint() const +int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8451,21 +5042,21 @@ if (_wrapper) { } } } - return QRubberBand::sizeHint(); + return QProgressDialog::exec(); } -void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8473,43 +5064,54 @@ if (_wrapper) { } } } - QRubberBand::tabletEvent(event0); + QProgressDialog::focusInEvent(event0); } -void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::timerEvent(event0); + return QProgressDialog::focusNextPrevChild(next0); } -void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8517,91 +5119,109 @@ if (_wrapper) { } } } - 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)); + QProgressDialog::focusOutEvent(event0); } - -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) +bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { - ( theWrappedObject->resize(w, h)); +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(); + } + } } - -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->setGeometry(r)); + return QProgressDialog::hasHeightForWidth(); } - -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) +int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { - ( theWrappedObject->setGeometry(x, y, w, h)); +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(); + } + } } - -QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const -{ - return ( theWrappedObject->shape()); + return QProgressDialog::heightForWidth(arg__1); } - - - -Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const +void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->orientation()); +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(); + } + } } - - - -PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProgressDialog::hideEvent(event0); } -void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) +void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8609,21 +5229,21 @@ if (_wrapper) { } } } - QScrollArea::actionEvent(event0); + QProgressDialog::initPainter(painter0); } -void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) +void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8631,43 +5251,54 @@ if (_wrapper) { } } } - QScrollArea::changeEvent(arg__1); + QProgressDialog::inputMethodEvent(arg__1); } -void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::childEvent(event0); + return QProgressDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) +void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8675,21 +5306,21 @@ if (_wrapper) { } } } - QScrollArea::closeEvent(event0); + QProgressDialog::keyPressEvent(arg__1); } -void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8697,21 +5328,21 @@ if (_wrapper) { } } } - QScrollArea::contextMenuEvent(arg__1); + QProgressDialog::keyReleaseEvent(event0); } -void PythonQtShell_QScrollArea::customEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8719,32 +5350,32 @@ if (_wrapper) { } } } - QScrollArea::customEvent(event0); + QProgressDialog::leaveEvent(event0); } -int PythonQtShell_QScrollArea::devType() const +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("devType"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8752,21 +5383,54 @@ if (_wrapper) { } } } - return QScrollArea::devType(); + return QProgressDialog::metric(arg__1); } -void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +QSize PythonQtShell_QProgressDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + 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*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8774,21 +5438,21 @@ if (_wrapper) { } } } - QScrollArea::dragEnterEvent(arg__1); + QProgressDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8796,21 +5460,21 @@ if (_wrapper) { } } } - QScrollArea::dragLeaveEvent(arg__1); + QProgressDialog::mouseMoveEvent(event0); } -void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8818,21 +5482,21 @@ if (_wrapper) { } } } - QScrollArea::dragMoveEvent(arg__1); + QProgressDialog::mousePressEvent(event0); } -void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) +void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8840,21 +5504,21 @@ if (_wrapper) { } } } - QScrollArea::dropEvent(arg__1); + QProgressDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8862,65 +5526,120 @@ if (_wrapper) { } } } - QScrollArea::enterEvent(event0); + QProgressDialog::moveEvent(event0); } -bool PythonQtShell_QScrollArea::event(QEvent* arg__1) +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("event"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::event(arg__1); + QProgressDialog::paintEvent(event0); } -bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); 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}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8928,21 +5647,21 @@ if (_wrapper) { } } } - return QScrollArea::eventFilter(arg__1, arg__2); + return QProgressDialog::redirected(offset0); } -void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("reject"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8950,54 +5669,43 @@ if (_wrapper) { } } } - QScrollArea::focusInEvent(event0); + QProgressDialog::reject(); } -bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) +void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::focusNextPrevChild(next0); + QProgressDialog::resizeEvent(event0); } -void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9005,32 +5713,32 @@ if (_wrapper) { } } } - QScrollArea::focusOutEvent(event0); + QProgressDialog::setVisible(visible0); } -bool PythonQtShell_QScrollArea::hasHeightForWidth() const +QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9038,76 +5746,76 @@ if (_wrapper) { } } } - return QScrollArea::hasHeightForWidth(); + return QProgressDialog::sharedPainter(); } -int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::heightForWidth(arg__1); + QProgressDialog::showEvent(event0); } -void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) +QSize PythonQtShell_QProgressDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::hideEvent(event0); + return QProgressDialog::sizeHint(); } -void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const +void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9115,21 +5823,21 @@ if (_wrapper) { } } } - QScrollArea::initPainter(painter0); + QProgressDialog::tabletEvent(event0); } -void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9137,54 +5845,140 @@ if (_wrapper) { } } } - QScrollArea::inputMethodEvent(arg__1); + QProgressDialog::timerEvent(event0); } -QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::inputMethodQuery(arg__1); + 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()); } -void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) + +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("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9192,21 +5986,21 @@ if (_wrapper) { } } } - QScrollArea::keyPressEvent(arg__1); + QProxyStyle::childEvent(event0); } -void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9214,21 +6008,21 @@ if (_wrapper) { } } } - QScrollArea::keyReleaseEvent(event0); + QProxyStyle::customEvent(event0); } -void PythonQtShell_QScrollArea::leaveEvent(QEvent* 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("leaveEvent"); + static PyObject* name = PyString_FromString("drawComplexControl"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9236,87 +6030,65 @@ if (_wrapper) { } } } - QScrollArea::leaveEvent(event0); + QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); } -int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("drawControl"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::metric(arg__1); + QProxyStyle::drawControl(element0, option1, painter2, widget3); } -QSize PythonQtShell_QScrollArea::minimumSizeHint() const +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("minimumSizeHint"); + static PyObject* name = PyString_FromString("drawItemPixmap"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::minimumSizeHint(); + QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); } -void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9324,21 +6096,21 @@ if (_wrapper) { } } } - QScrollArea::mouseDoubleClickEvent(arg__1); + QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); } -void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9346,98 +6118,131 @@ if (_wrapper) { } } } - QScrollArea::mouseMoveEvent(arg__1); + QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); } -void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +bool PythonQtShell_QProxyStyle::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mousePressEvent(arg__1); + return QProxyStyle::event(e0); } -void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mouseReleaseEvent(arg__1); + return QProxyStyle::eventFilter(watched0, event1); } -void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) +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("moveEvent"); + static PyObject* name = PyString_FromString("generatedIconPixmap"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::moveEvent(event0); + return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); } -bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("hitTestComplexControl"); 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}; + 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("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QStyle::SubControl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9445,32 +6250,32 @@ if (_wrapper) { } } } - return QScrollArea::nativeEvent(eventType0, message1, result2); + return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); } -QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +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("paintEngine"); + static PyObject* name = PyString_FromString("itemPixmapRect"); 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}; + 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("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9478,54 +6283,65 @@ if (_wrapper) { } } } - return QScrollArea::paintEngine(); + return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); } -void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +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("paintEvent"); + static PyObject* name = PyString_FromString("itemTextRect"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::paintEvent(arg__1); + return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); } -QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("layoutSpacing"); 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}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9533,43 +6349,54 @@ if (_wrapper) { } } } - return QScrollArea::redirected(offset0); + return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); } -void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +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("resizeEvent"); + static PyObject* name = PyString_FromString("pixelMetric"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::resizeEvent(arg__1); + return QProxyStyle::pixelMetric(metric0, option1, widget2); } -void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QProxyStyle::polish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("polish"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9577,21 +6404,21 @@ if (_wrapper) { } } } - QScrollArea::scrollContentsBy(dx0, dy1); + QProxyStyle::polish(app0); } -void PythonQtShell_QScrollArea::setVisible(bool visible0) +void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&pal0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9599,21 +6426,21 @@ if (_wrapper) { } } } - QScrollArea::setVisible(visible0); + QProxyStyle::polish(pal0); } -void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) +void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + 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*)&viewport0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9621,32 +6448,32 @@ if (_wrapper) { } } } - QScrollArea::setupViewport(viewport0); + QProxyStyle::polish(widget0); } -QPainter* PythonQtShell_QScrollArea::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("sizeFromContents"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9654,54 +6481,65 @@ if (_wrapper) { } } } - return QScrollArea::sharedPainter(); + return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); } -void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) +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("showEvent"); + static PyObject* name = PyString_FromString("standardIcon"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::showEvent(event0); + return QProxyStyle::standardIcon(standardIcon0, option1, widget2); } -QSize PythonQtShell_QScrollArea::sizeHint() const +QPalette PythonQtShell_QProxyStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPalette"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPalette*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9709,76 +6547,98 @@ if (_wrapper) { } } } - return QScrollArea::sizeHint(); + return QProxyStyle::standardPalette(); } -void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) +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("tabletEvent"); + static PyObject* name = PyString_FromString("standardPixmap"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::tabletEvent(event0); + return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); } -void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::timerEvent(event0); + return QProxyStyle::styleHint(hint0, option1, widget2, returnData3); } -bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +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("viewportEvent"); + static PyObject* name = PyString_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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}; + 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("viewportEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9786,54 +6646,98 @@ if (_wrapper) { } } } - return QScrollArea::viewportEvent(arg__1); + return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); } -QSize PythonQtShell_QScrollArea::viewportSizeHint() const +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("viewportSizeHint"); + static PyObject* name = PyString_FromString("subElementRect"); 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}; + 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("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::viewportSizeHint(); + QProxyStyle::unpolish(app0); } -void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9841,77 +6745,51 @@ if (_wrapper) { } } } - QScrollArea::wheelEvent(arg__1); + QProxyStyle::unpolish(widget0); } -QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* style) { -return new PythonQtShell_QScrollArea(parent); } +return new PythonQtShell_QProxyStyle(style); } -const QMetaObject* PythonQtShell_QScrollArea::metaObject() const { +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, &QScrollArea::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProxyStyle::staticMetaObject); } else { - return &QScrollArea::staticMetaObject; + return &QProxyStyle::staticMetaObject; } } -int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollArea::qt_metacall(call, id, args); +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; } -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) +QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const { - return ( theWrappedObject->takeWidget()); + return ( theWrappedObject->baseStyle()); } -QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const +QRect PythonQtWrapper_QProxyStyle::itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const { - return ( theWrappedObject->widget()); + return ( theWrappedObject->itemTextRect(fm, r, flags, enabled, text)); } -bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const +void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) { - return ( theWrappedObject->widgetResizable()); + ( theWrappedObject->setBaseStyle(style)); } -PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { +PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9923,7 +6801,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9931,9 +6809,9 @@ if (_wrapper) { } } } - QScrollBar::actionEvent(event0); + QPushButton::actionEvent(event0); } -void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) +void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9945,7 +6823,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9953,9 +6831,31 @@ if (_wrapper) { } } } - QScrollBar::changeEvent(e0); + QPushButton::changeEvent(e0); } -void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) +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 @@ -9967,7 +6867,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9975,9 +6875,9 @@ if (_wrapper) { } } } - QScrollBar::childEvent(event0); + QPushButton::childEvent(event0); } -void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9989,7 +6889,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9997,9 +6897,9 @@ if (_wrapper) { } } } - QScrollBar::closeEvent(event0); + QPushButton::closeEvent(event0); } -void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10009,9 +6909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10019,9 +6919,9 @@ if (_wrapper) { } } } - QScrollBar::contextMenuEvent(arg__1); + QPushButton::contextMenuEvent(event0); } -void PythonQtShell_QScrollBar::customEvent(QEvent* event0) +void PythonQtShell_QPushButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10033,7 +6933,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10041,9 +6941,9 @@ if (_wrapper) { } } } - QScrollBar::customEvent(event0); + QPushButton::customEvent(event0); } -int PythonQtShell_QScrollBar::devType() const +int PythonQtShell_QPushButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10066,7 +6966,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10074,9 +6974,9 @@ if (_wrapper) { } } } - return QScrollBar::devType(); + return QPushButton::devType(); } -void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10088,7 +6988,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10096,9 +6996,9 @@ if (_wrapper) { } } } - QScrollBar::dragEnterEvent(event0); + QPushButton::dragEnterEvent(event0); } -void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10110,7 +7010,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10118,9 +7018,9 @@ if (_wrapper) { } } } - QScrollBar::dragLeaveEvent(event0); + QPushButton::dragLeaveEvent(event0); } -void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10132,7 +7032,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10140,9 +7040,9 @@ if (_wrapper) { } } } - QScrollBar::dragMoveEvent(event0); + QPushButton::dragMoveEvent(event0); } -void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10154,7 +7054,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10162,9 +7062,9 @@ if (_wrapper) { } } } - QScrollBar::dropEvent(event0); + QPushButton::dropEvent(event0); } -void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) +void PythonQtShell_QPushButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10176,7 +7076,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10184,9 +7084,9 @@ if (_wrapper) { } } } - QScrollBar::enterEvent(event0); + QPushButton::enterEvent(event0); } -bool PythonQtShell_QScrollBar::event(QEvent* event0) +bool PythonQtShell_QPushButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10197,7 +7097,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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); @@ -10209,7 +7109,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10217,9 +7117,9 @@ if (_wrapper) { } } } - return QScrollBar::event(event0); + return QPushButton::event(e0); } -bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10242,7 +7142,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10250,9 +7150,9 @@ if (_wrapper) { } } } - return QScrollBar::eventFilter(watched0, event1); + return QPushButton::eventFilter(watched0, event1); } -void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10262,9 +7162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10272,9 +7172,9 @@ if (_wrapper) { } } } - QScrollBar::focusInEvent(event0); + QPushButton::focusInEvent(arg__1); } -bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) +bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10297,7 +7197,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10305,9 +7205,9 @@ if (_wrapper) { } } } - return QScrollBar::focusNextPrevChild(next0); + return QPushButton::focusNextPrevChild(next0); } -void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10317,9 +7217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10327,9 +7227,9 @@ if (_wrapper) { } } } - QScrollBar::focusOutEvent(event0); + QPushButton::focusOutEvent(arg__1); } -bool PythonQtShell_QScrollBar::hasHeightForWidth() const +bool PythonQtShell_QPushButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10352,7 +7252,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10360,9 +7260,9 @@ if (_wrapper) { } } } - return QScrollBar::hasHeightForWidth(); + return QPushButton::hasHeightForWidth(); } -int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10385,7 +7285,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10393,9 +7293,9 @@ if (_wrapper) { } } } - return QScrollBar::heightForWidth(arg__1); + return QPushButton::heightForWidth(arg__1); } -void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10405,9 +7305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10415,9 +7315,42 @@ if (_wrapper) { } } } - QScrollBar::hideEvent(arg__1); + QPushButton::hideEvent(event0); } -void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const +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 @@ -10429,7 +7362,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10437,9 +7370,9 @@ if (_wrapper) { } } } - QScrollBar::initPainter(painter0); + QPushButton::initPainter(painter0); } -void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10451,7 +7384,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10459,9 +7392,9 @@ if (_wrapper) { } } } - QScrollBar::inputMethodEvent(arg__1); + QPushButton::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10484,7 +7417,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10492,9 +7425,9 @@ if (_wrapper) { } } } - return QScrollBar::inputMethodQuery(arg__1); + return QPushButton::inputMethodQuery(arg__1); } -void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10504,9 +7437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10514,9 +7447,9 @@ if (_wrapper) { } } } - QScrollBar::keyPressEvent(ev0); + QPushButton::keyPressEvent(arg__1); } -void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10526,9 +7459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10536,9 +7469,9 @@ if (_wrapper) { } } } - QScrollBar::keyReleaseEvent(event0); + QPushButton::keyReleaseEvent(e0); } -void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) +void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10550,7 +7483,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10558,9 +7491,9 @@ if (_wrapper) { } } } - QScrollBar::leaveEvent(event0); + QPushButton::leaveEvent(event0); } -int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10583,7 +7516,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10591,14 +7524,14 @@ if (_wrapper) { } } } - return QScrollBar::metric(arg__1); + return QPushButton::metric(arg__1); } -QSize PythonQtShell_QScrollBar::minimumSizeHint() const +QSize PythonQtShell_QPushButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -10610,13 +7543,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10624,9 +7557,9 @@ if (_wrapper) { } } } - return QScrollBar::minimumSizeHint(); + return QPushButton::minimumSizeHint(); } -void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10638,7 +7571,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10646,9 +7579,9 @@ if (_wrapper) { } } } - QScrollBar::mouseDoubleClickEvent(event0); + QPushButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10658,9 +7591,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10668,9 +7601,9 @@ if (_wrapper) { } } } - QScrollBar::mouseMoveEvent(arg__1); + QPushButton::mouseMoveEvent(e0); } -void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10680,9 +7613,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10690,9 +7623,9 @@ if (_wrapper) { } } } - QScrollBar::mousePressEvent(arg__1); + QPushButton::mousePressEvent(e0); } -void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10702,9 +7635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10712,9 +7645,9 @@ if (_wrapper) { } } } - QScrollBar::mouseReleaseEvent(arg__1); + QPushButton::mouseReleaseEvent(e0); } -void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10726,7 +7659,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10734,9 +7667,9 @@ if (_wrapper) { } } } - QScrollBar::moveEvent(event0); + QPushButton::moveEvent(event0); } -bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10759,7 +7692,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10767,9 +7700,31 @@ if (_wrapper) { } } } - return QScrollBar::nativeEvent(eventType0, message1, result2); + return QPushButton::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const +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 @@ -10792,7 +7747,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10800,9 +7755,9 @@ if (_wrapper) { } } } - return QScrollBar::paintEngine(); + return QPushButton::paintEngine(); } -void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10814,7 +7769,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10822,9 +7777,9 @@ if (_wrapper) { } } } - QScrollBar::paintEvent(arg__1); + QPushButton::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10847,7 +7802,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10855,9 +7810,9 @@ if (_wrapper) { } } } - return QScrollBar::redirected(offset0); + return QPushButton::redirected(offset0); } -void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10869,7 +7824,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10877,9 +7832,9 @@ if (_wrapper) { } } } - QScrollBar::resizeEvent(event0); + QPushButton::resizeEvent(event0); } -void PythonQtShell_QScrollBar::setVisible(bool visible0) +void PythonQtShell_QPushButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10891,7 +7846,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10899,9 +7854,9 @@ if (_wrapper) { } } } - QScrollBar::setVisible(visible0); + QPushButton::setVisible(visible0); } -QPainter* PythonQtShell_QScrollBar::sharedPainter() const +QPainter* PythonQtShell_QPushButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10924,7 +7879,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10932,9 +7887,9 @@ if (_wrapper) { } } } - return QScrollBar::sharedPainter(); + return QPushButton::sharedPainter(); } -void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) +void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10946,7 +7901,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10954,9 +7909,9 @@ if (_wrapper) { } } } - QScrollBar::showEvent(event0); + QPushButton::showEvent(event0); } -QSize PythonQtShell_QScrollBar::sizeHint() const +QSize PythonQtShell_QPushButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10979,7 +7934,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10987,31 +7942,9 @@ if (_wrapper) { } } } - 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); + return QPushButton::sizeHint(); } -void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11023,7 +7956,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11031,9 +7964,9 @@ if (_wrapper) { } } } - QScrollBar::tabletEvent(event0); + QPushButton::tabletEvent(event0); } -void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11043,9 +7976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11053,9 +7986,9 @@ if (_wrapper) { } } } - QScrollBar::timerEvent(arg__1); + QPushButton::timerEvent(e0); } -void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11065,9 +7998,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11075,489 +8008,475 @@ if (_wrapper) { } } } - QScrollBar::wheelEvent(arg__1); + QPushButton::wheelEvent(event0); } -QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(QWidget* parent) { -return new PythonQtShell_QScrollBar(parent); } +return new PythonQtShell_QPushButton(parent); } -QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent) { -return new PythonQtShell_QScrollBar(arg__1, parent); } +return new PythonQtShell_QPushButton(icon, text, parent); } -const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { +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, &QScrollBar::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPushButton::staticMetaObject); } else { - return &QScrollBar::staticMetaObject; + return &QPushButton::staticMetaObject; } } -int PythonQtShell_QScrollBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollBar::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const +bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->autoDefault()); } -QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const +void PythonQtWrapper_QPushButton::initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const { - return ( theWrappedObject->sizeHint()); + ( ((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()); +} -QScrollEvent* PythonQtWrapper_QScrollEvent::new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState) -{ -return new QScrollEvent(contentPos, overshoot, scrollState); } +QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} -QPointF PythonQtWrapper_QScrollEvent::contentPos(QScrollEvent* theWrappedObject) const +QSize PythonQtWrapper_QPushButton::minimumSizeHint(QPushButton* theWrappedObject) const { - return ( theWrappedObject->contentPos()); + return ( theWrappedObject->minimumSizeHint()); } -QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const +void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) { - return ( theWrappedObject->overshootDistance()); + ( theWrappedObject->setAutoDefault(arg__1)); } -QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const +void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) { - return ( theWrappedObject->scrollState()); + ( 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)); +} -QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) +QSize PythonQtWrapper_QPushButton::sizeHint(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + + + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion() { -return new QScrollPrepareEvent(startPos); } +return new QQuaternion(); } -QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const +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->contentPos()); + return ( theWrappedObject->conjugate()); } -QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::conjugated(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->contentPosRange()); + return ( theWrappedObject->conjugated()); } -void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) +float PythonQtWrapper_QQuaternion::static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2) { - ( theWrappedObject->setContentPos(pos)); + return (QQuaternion::dotProduct(q1, q2)); } -void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis) { - ( theWrappedObject->setContentPosRange(rect)); + return (QQuaternion::fromAxes(xAxis, yAxis, zAxis)); } -void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle) { - ( theWrappedObject->setViewportSize(size)); + 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)); } -QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const { - return ( theWrappedObject->startPos()); + ( theWrappedObject->getAxisAndAngle(axis, angle)); } -QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const { - return ( theWrappedObject->viewportSize()); + ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); } - - -PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const +{ + ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); } -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 +QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const { - return ( (*theWrappedObject)!= sp); + return ( theWrappedObject->inverted()); } -QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) +bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const { - return &( (*theWrappedObject)= sp); + return ( theWrappedObject->isIdentity()); } -bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const { - return ( (*theWrappedObject)== sp); + return ( theWrappedObject->isNull()); } -QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const +float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->scrollMetric(metric)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) +float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const { - (QScrollerProperties::setDefaultScrollerProperties(sp)); + return ( theWrappedObject->lengthSquared()); } -void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) { - ( theWrappedObject->setScrollMetric(metric, value)); + return (QQuaternion::nlerp(q1, q2, t)); } -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() +void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) { - (QScrollerProperties::unsetDefaultScrollerProperties()); + ( theWrappedObject->normalize()); } - - -bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) +QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->allowsErrorInteraction()); + return ( theWrappedObject->normalized()); } -bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) +bool PythonQtWrapper_QQuaternion::__ne__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->allowsInteraction()); + return ( (*theWrappedObject)!= q2); } -void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - ( theWrappedObject->cancel()); + return ( (*theWrappedObject)* q2); } -QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const +QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) { - return ( theWrappedObject->discardCommand()); + return ( (*theWrappedObject)* vec); } -bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) { - return ( theWrappedObject->isPhase2()); + return ( (*theWrappedObject)* factor); } -void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - ( theWrappedObject->release()); + return &( (*theWrappedObject)*= quaternion); } -void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) { - ( theWrappedObject->requestPhase2()); + return &( (*theWrappedObject)*= factor); } -QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->restartCommand()); + return ( (*theWrappedObject)+ q2); } -QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const +QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - return ( theWrappedObject->restartHint()); + return &( (*theWrappedObject)+= quaternion); } -QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject) { - return ( theWrappedObject->sessionId()); + return (- (*theWrappedObject)); } -QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->sessionKey()); + return ( (*theWrappedObject)- q2); } -void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - ( theWrappedObject->setDiscardCommand(arg__1)); + return &( (*theWrappedObject)-= quaternion); } -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) +const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) { - ( theWrappedObject->setManagerProperty(name, value)); + return ( (*theWrappedObject)/ divisor); } -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) +QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) { - ( theWrappedObject->setManagerProperty(name, value)); + return &( (*theWrappedObject)/= divisor); } -void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) { - ( theWrappedObject->setRestartCommand(arg__1)); + arg__1 << (*theWrappedObject); } -void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) +bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - ( theWrappedObject->setRestartHint(arg__1)); + return ( (*theWrappedObject)== q2); } - - -PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) +void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& 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*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QShortcut::childEvent(event0); + arg__1 >> (*theWrappedObject); } -void PythonQtShell_QShortcut::customEvent(QEvent* event0) + +QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + return ( theWrappedObject->rotatedVector(vector)); } -bool PythonQtShell_QShortcut::event(QEvent* e0) + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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); + return (QQuaternion::rotationTo(from, to)); } -bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) + +float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::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); + return ( theWrappedObject->scalar()); } -void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[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); + ( theWrappedObject->setScalar(scalar)); } -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 context) -{ -return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, context); } +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) +{ + ( theWrappedObject->setVector(vector)); +} -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; - } +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) +{ + ( theWrappedObject->setVector(x, y, z)); } -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; + +void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); } -bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const + +void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) { - return ( theWrappedObject->autoRepeat()); + ( theWrappedObject->setY(y)); } -Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) { - return ( theWrappedObject->context()); + ( theWrappedObject->setZ(z)); } -int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) { - return ( theWrappedObject->id()); + return (QQuaternion::slerp(q1, q2, t)); } -bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const +QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->isEnabled()); + return ( theWrappedObject->toEulerAngles()); } -QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const +QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->key()); + return ( theWrappedObject->toVector4D()); } -QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const +QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->parentWidget()); + return ( theWrappedObject->vector()); } -void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) +float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setAutoRepeat(on)); + return ( theWrappedObject->x()); } -void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) +float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setContext(context)); + return ( theWrappedObject->y()); } -void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) +float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setEnabled(enable)); + return ( theWrappedObject->z()); } -void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) +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 { - ( theWrappedObject->setKey(key)); + return ( theWrappedObject->center()); } -void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) +qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const { - ( theWrappedObject->setWhatsThis(text)); + return ( theWrappedObject->centerRadius()); } -QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const +QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const { - return ( theWrappedObject->whatsThis()); + return ( theWrappedObject->focalPoint()); } +qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalRadius()); +} +qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->radius()); +} -PythonQtShell_QShortcutEvent::~PythonQtShell_QShortcutEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) +{ + ( theWrappedObject->setCenter(center)); } -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 +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) { - return ( theWrappedObject->isAmbiguous()); + ( theWrappedObject->setCenter(x, y)); } -const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const +void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) { - return &( theWrappedObject->key()); + ( theWrappedObject->setCenterRadius(radius)); } -int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) { - return ( theWrappedObject->shortcutId()); + ( 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)); +} -QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() -{ -return new QShowEvent(); } +void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setRadius(radius)); +} -PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { +PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) +void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11569,7 +8488,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11577,9 +8496,9 @@ if (_wrapper) { } } } - QSizeGrip::actionEvent(event0); + QRadioButton::actionEvent(event0); } -void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) +void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11589,9 +8508,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11599,9 +8540,9 @@ if (_wrapper) { } } } - QSizeGrip::changeEvent(arg__1); + QRadioButton::checkStateSet(); } -void PythonQtShell_QSizeGrip::childEvent(QChildEvent* event0) +void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11613,7 +8554,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11621,9 +8562,9 @@ if (_wrapper) { } } } - QSizeGrip::childEvent(event0); + QRadioButton::childEvent(event0); } -void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) +void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11635,7 +8576,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11643,9 +8584,9 @@ if (_wrapper) { } } } - QSizeGrip::closeEvent(event0); + QRadioButton::closeEvent(event0); } -void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11657,7 +8598,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11665,9 +8606,9 @@ if (_wrapper) { } } } - QSizeGrip::contextMenuEvent(event0); + QRadioButton::contextMenuEvent(event0); } -void PythonQtShell_QSizeGrip::customEvent(QEvent* event0) +void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11679,7 +8620,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11687,9 +8628,9 @@ if (_wrapper) { } } } - QSizeGrip::customEvent(event0); + QRadioButton::customEvent(event0); } -int PythonQtShell_QSizeGrip::devType() const +int PythonQtShell_QRadioButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11712,7 +8653,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11720,9 +8661,9 @@ if (_wrapper) { } } } - return QSizeGrip::devType(); + return QRadioButton::devType(); } -void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11734,7 +8675,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11742,9 +8683,9 @@ if (_wrapper) { } } } - QSizeGrip::dragEnterEvent(event0); + QRadioButton::dragEnterEvent(event0); } -void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11756,7 +8697,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11764,9 +8705,9 @@ if (_wrapper) { } } } - QSizeGrip::dragLeaveEvent(event0); + QRadioButton::dragLeaveEvent(event0); } -void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11778,7 +8719,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11786,9 +8727,9 @@ if (_wrapper) { } } } - QSizeGrip::dragMoveEvent(event0); + QRadioButton::dragMoveEvent(event0); } -void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) +void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11800,7 +8741,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11808,9 +8749,9 @@ if (_wrapper) { } } } - QSizeGrip::dropEvent(event0); + QRadioButton::dropEvent(event0); } -void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) +void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11822,7 +8763,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11830,9 +8771,9 @@ if (_wrapper) { } } } - QSizeGrip::enterEvent(event0); + QRadioButton::enterEvent(event0); } -bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) +bool PythonQtShell_QRadioButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11843,7 +8784,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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); @@ -11855,7 +8796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11863,9 +8804,9 @@ if (_wrapper) { } } } - return QSizeGrip::event(arg__1); + return QRadioButton::event(e0); } -bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11876,7 +8817,7 @@ if (_wrapper) { 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}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -11888,7 +8829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11896,9 +8837,9 @@ if (_wrapper) { } } } - return QSizeGrip::eventFilter(arg__1, arg__2); + return QRadioButton::eventFilter(watched0, event1); } -void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11908,9 +8849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11918,9 +8859,9 @@ if (_wrapper) { } } } - QSizeGrip::focusInEvent(event0); + QRadioButton::focusInEvent(e0); } -bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) +bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11943,7 +8884,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11951,9 +8892,9 @@ if (_wrapper) { } } } - return QSizeGrip::focusNextPrevChild(next0); + return QRadioButton::focusNextPrevChild(next0); } -void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11963,9 +8904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11973,9 +8914,9 @@ if (_wrapper) { } } } - QSizeGrip::focusOutEvent(event0); + QRadioButton::focusOutEvent(e0); } -bool PythonQtShell_QSizeGrip::hasHeightForWidth() const +bool PythonQtShell_QRadioButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11998,7 +8939,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12006,9 +8947,9 @@ if (_wrapper) { } } } - return QSizeGrip::hasHeightForWidth(); + return QRadioButton::hasHeightForWidth(); } -int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const +int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12031,7 +8972,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12039,9 +8980,9 @@ if (_wrapper) { } } } - return QSizeGrip::heightForWidth(arg__1); + return QRadioButton::heightForWidth(arg__1); } -void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) +void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12051,19 +8992,52 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&hideEvent0}; + void* args[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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::hideEvent(hideEvent0); + return QRadioButton::hitButton(arg__1); } -void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const +void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12075,7 +9049,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12083,9 +9057,9 @@ if (_wrapper) { } } } - QSizeGrip::initPainter(painter0); + QRadioButton::initPainter(painter0); } -void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12097,7 +9071,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12105,9 +9079,9 @@ if (_wrapper) { } } } - QSizeGrip::inputMethodEvent(arg__1); + QRadioButton::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12130,7 +9104,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12138,9 +9112,9 @@ if (_wrapper) { } } } - return QSizeGrip::inputMethodQuery(arg__1); + return QRadioButton::inputMethodQuery(arg__1); } -void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12150,9 +9124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12160,9 +9134,9 @@ if (_wrapper) { } } } - QSizeGrip::keyPressEvent(event0); + QRadioButton::keyPressEvent(e0); } -void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12172,9 +9146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12182,9 +9156,9 @@ if (_wrapper) { } } } - QSizeGrip::keyReleaseEvent(event0); + QRadioButton::keyReleaseEvent(e0); } -void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) +void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12196,7 +9170,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12204,9 +9178,9 @@ if (_wrapper) { } } } - QSizeGrip::leaveEvent(event0); + QRadioButton::leaveEvent(event0); } -int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12229,7 +9203,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12237,14 +9211,14 @@ if (_wrapper) { } } } - return QSizeGrip::metric(arg__1); + return QRadioButton::metric(arg__1); } -QSize PythonQtShell_QSizeGrip::minimumSizeHint() const +QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -12256,13 +9230,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12270,9 +9244,9 @@ if (_wrapper) { } } } - return QSizeGrip::minimumSizeHint(); + return QRadioButton::minimumSizeHint(); } -void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12284,7 +9258,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12292,9 +9266,9 @@ if (_wrapper) { } } } - QSizeGrip::mouseDoubleClickEvent(event0); + QRadioButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12306,7 +9280,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12314,9 +9288,9 @@ if (_wrapper) { } } } - QSizeGrip::mouseMoveEvent(arg__1); + QRadioButton::mouseMoveEvent(arg__1); } -void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12326,9 +9300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12336,9 +9310,9 @@ if (_wrapper) { } } } - QSizeGrip::mousePressEvent(arg__1); + QRadioButton::mousePressEvent(e0); } -void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12348,9 +9322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12358,9 +9332,9 @@ if (_wrapper) { } } } - QSizeGrip::mouseReleaseEvent(mouseEvent0); + QRadioButton::mouseReleaseEvent(e0); } -void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) +void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12370,9 +9344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&moveEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12380,9 +9354,9 @@ if (_wrapper) { } } } - QSizeGrip::moveEvent(moveEvent0); + QRadioButton::moveEvent(event0); } -bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12405,7 +9379,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12413,9 +9387,31 @@ if (_wrapper) { } } } - return QSizeGrip::nativeEvent(eventType0, message1, result2); + 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_QSizeGrip::paintEngine() const +QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12438,7 +9434,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12446,9 +9442,9 @@ if (_wrapper) { } } } - return QSizeGrip::paintEngine(); + return QRadioButton::paintEngine(); } -void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12460,7 +9456,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12468,9 +9464,9 @@ if (_wrapper) { } } } - QSizeGrip::paintEvent(arg__1); + QRadioButton::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12493,7 +9489,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12501,9 +9497,9 @@ if (_wrapper) { } } } - return QSizeGrip::redirected(offset0); + return QRadioButton::redirected(offset0); } -void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12515,7 +9511,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12523,9 +9519,9 @@ if (_wrapper) { } } } - QSizeGrip::resizeEvent(event0); + QRadioButton::resizeEvent(event0); } -void PythonQtShell_QSizeGrip::setVisible(bool arg__1) +void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12535,9 +9531,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12545,9 +9541,9 @@ if (_wrapper) { } } } - QSizeGrip::setVisible(arg__1); + QRadioButton::setVisible(visible0); } -QPainter* PythonQtShell_QSizeGrip::sharedPainter() const +QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12570,7 +9566,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12578,9 +9574,9 @@ if (_wrapper) { } } } - return QSizeGrip::sharedPainter(); + return QRadioButton::sharedPainter(); } -void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12590,9 +9586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12600,9 +9596,9 @@ if (_wrapper) { } } } - QSizeGrip::showEvent(showEvent0); + QRadioButton::showEvent(event0); } -QSize PythonQtShell_QSizeGrip::sizeHint() const +QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12625,7 +9621,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12633,9 +9629,9 @@ if (_wrapper) { } } } - return QSizeGrip::sizeHint(); + return QRadioButton::sizeHint(); } -void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12647,7 +9643,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12655,9 +9651,9 @@ if (_wrapper) { } } } - QSizeGrip::tabletEvent(event0); + QRadioButton::tabletEvent(event0); } -void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* event0) +void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12667,9 +9663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12677,9 +9673,9 @@ if (_wrapper) { } } } - QSizeGrip::timerEvent(event0); + QRadioButton::timerEvent(e0); } -void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12691,7 +9687,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12699,81 +9695,51 @@ if (_wrapper) { } } } - QSizeGrip::wheelEvent(event0); + QRadioButton::wheelEvent(event0); } -QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) +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_QSizeGrip(parent); } +return new PythonQtShell_QRadioButton(text, parent); } -const QMetaObject* PythonQtShell_QSizeGrip::metaObject() const { +const QMetaObject* PythonQtShell_QRadioButton::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSizeGrip::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioButton::staticMetaObject); } else { - return &QSizeGrip::staticMetaObject; + return &QRadioButton::staticMetaObject; } } -int PythonQtShell_QSizeGrip::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSizeGrip::qt_metacall(call, id, args); +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; } -QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const +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_QSlider::~PythonQtShell_QSlider() { +PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { 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) +void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12785,51 +9751,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12837,9 +9759,9 @@ if (_wrapper) { } } } - QSlider::contextMenuEvent(event0); + QRasterWindow::childEvent(event0); } -void PythonQtShell_QSlider::customEvent(QEvent* event0) +void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12851,7 +9773,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12859,9 +9781,9 @@ if (_wrapper) { } } } - QSlider::customEvent(event0); + QRasterWindow::customEvent(event0); } -int PythonQtShell_QSlider::devType() const +int PythonQtShell_QRasterWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12884,7 +9806,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12892,87 +9814,87 @@ if (_wrapper) { } } } - 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); + return QRasterWindow::devType(); } -void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::dragLeaveEvent(event0); + return QRasterWindow::event(event0); } -void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::dragMoveEvent(event0); + return QRasterWindow::eventFilter(watched0, event1); } -void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) +void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12980,21 +9902,21 @@ if (_wrapper) { } } } - QSlider::dropEvent(event0); + QRasterWindow::exposeEvent(arg__1); } -void PythonQtShell_QSlider::enterEvent(QEvent* event0) +void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13002,32 +9924,32 @@ if (_wrapper) { } } } - QSlider::enterEvent(event0); + QRasterWindow::focusInEvent(arg__1); } -bool PythonQtShell_QSlider::event(QEvent* event0) +QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13035,32 +9957,54 @@ if (_wrapper) { } } } - return QSlider::event(event0); + return QRasterWindow::focusObject(); } -bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13068,21 +10012,21 @@ if (_wrapper) { } } } - return QSlider::eventFilter(watched0, event1); + return QRasterWindow::format(); } -void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13090,54 +10034,43 @@ if (_wrapper) { } } } - QSlider::focusInEvent(event0); + QRasterWindow::hideEvent(arg__1); } -bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) +void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::focusNextPrevChild(next0); + QRasterWindow::initPainter(painter0); } -void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13145,65 +10078,54 @@ if (_wrapper) { } } } - QSlider::focusOutEvent(event0); + QRasterWindow::keyPressEvent(arg__1); } -bool PythonQtShell_QSlider::hasHeightForWidth() const +void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::hasHeightForWidth(); + QRasterWindow::keyReleaseEvent(arg__1); } -int PythonQtShell_QSlider::heightForWidth(int arg__1) const +int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13211,21 +10133,21 @@ if (_wrapper) { } } } - return QSlider::heightForWidth(arg__1); + return QRasterWindow::metric(metric0); } -void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) +void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13233,21 +10155,21 @@ if (_wrapper) { } } } - QSlider::hideEvent(event0); + QRasterWindow::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QSlider::initPainter(QPainter* painter0) const +void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13255,21 +10177,21 @@ if (_wrapper) { } } } - QSlider::initPainter(painter0); + QRasterWindow::mouseMoveEvent(arg__1); } -void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* 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("inputMethodEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13277,54 +10199,43 @@ if (_wrapper) { } } } - QSlider::inputMethodEvent(arg__1); + QRasterWindow::mousePressEvent(arg__1); } -QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::inputMethodQuery(arg__1); + QRasterWindow::mouseReleaseEvent(arg__1); } -void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13332,43 +10243,54 @@ if (_wrapper) { } } } - QSlider::keyPressEvent(ev0); + QRasterWindow::moveEvent(arg__1); } -void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::keyReleaseEvent(event0); + return QRasterWindow::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSlider::leaveEvent(QEvent* event0) +void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13376,32 +10298,32 @@ if (_wrapper) { } } } - QSlider::leaveEvent(event0); + QRasterWindow::paintEvent(event0); } -int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13409,32 +10331,54 @@ if (_wrapper) { } } } - return QSlider::metric(arg__1); + return QRasterWindow::redirected(arg__1); } -QSize PythonQtShell_QSlider::minimumSizeHint() const +void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + 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); - QSize returnValue{}; + 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("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13442,21 +10386,21 @@ if (_wrapper) { } } } - return QSlider::minimumSizeHint(); + return QRasterWindow::sharedPainter(); } -void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13464,43 +10408,87 @@ if (_wrapper) { } } } - QSlider::mouseDoubleClickEvent(event0); + QRasterWindow::showEvent(arg__1); } -void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) +QSize PythonQtShell_QRasterWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::mouseMoveEvent(ev0); + return QRasterWindow::surfaceType(); } -void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13508,21 +10496,21 @@ if (_wrapper) { } } } - QSlider::mousePressEvent(ev0); + QRasterWindow::tabletEvent(arg__1); } -void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13530,21 +10518,21 @@ if (_wrapper) { } } } - QSlider::mouseReleaseEvent(ev0); + QRasterWindow::timerEvent(event0); } -void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13552,87 +10540,296 @@ if (_wrapper) { } } } - QSlider::moveEvent(event0); + QRasterWindow::touchEvent(arg__1); } -bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::nativeEvent(eventType0, message1, result2); + 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); } } -QPaintEngine* PythonQtShell_QSlider::paintEngine() const +void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::paintEngine(); + QRegExpValidator::childEvent(event0); } -void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) +void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13640,32 +10837,32 @@ if (_wrapper) { } } } - QSlider::paintEvent(ev0); + QRegExpValidator::customEvent(event0); } -QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const +bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13673,43 +10870,54 @@ if (_wrapper) { } } } - return QSlider::redirected(offset0); + return QRegExpValidator::event(event0); } -void PythonQtShell_QSlider::resizeEvent(QResizeEvent* 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("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::resizeEvent(event0); + return QRegExpValidator::eventFilter(watched0, event1); } -void PythonQtShell_QSlider::setVisible(bool visible0) +void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13717,54 +10925,21 @@ if (_wrapper) { } } } - 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(); + QRegExpValidator::fixup(arg__1); } -void PythonQtShell_QSlider::showEvent(QShowEvent* event0) +void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13772,32 +10947,32 @@ if (_wrapper) { } } } - QSlider::showEvent(event0); + QRegExpValidator::timerEvent(event0); } -QSize PythonQtShell_QSlider::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("validate"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13805,65 +10980,58 @@ if (_wrapper) { } } } - return QSlider::sizeHint(); + return QRegExpValidator::validate(input0, pos1); } -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(); - } +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; } } - QSlider::sliderChange(change0); +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; } -void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) +const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const { -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(); - } - } + return &( theWrappedObject->regExp()); +} + +void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +{ + ( theWrappedObject->setRegExp(rx)); } - QSlider::tabletEvent(event0); + + + +PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13871,116 +11039,54 @@ if (_wrapper) { } } } - QSlider::timerEvent(arg__1); + QRegularExpressionValidator::childEvent(event0); } -void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + 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); } + QRegularExpressionValidator::customEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const +bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("buddy"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13988,32 +11094,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::buddy(index0); + return QRegularExpressionValidator::event(event0); } -bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canDropMimeData"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14021,54 +11127,43 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QRegularExpressionValidator::eventFilter(watched0, event1); } -bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const +void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::canFetchMore(parent0); + QRegularExpressionValidator::fixup(arg__1); } -void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* event0) +void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14076,32 +11171,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::childEvent(event0); + QRegularExpressionValidator::timerEvent(event0); } -int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const +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("columnCount"); + static PyObject* name = PyString_FromString("validate"); 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}; + 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("columnCount", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14109,21 +11204,194 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::columnCount(parent0); + 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 PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* event0) + +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("customEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14131,153 +11399,109 @@ if (_wrapper) { } } } - QSortFilterProxyModel::customEvent(event0); + QRubberBand::actionEvent(event0); } -QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const +void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("changeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::data(index0, role1); + QRubberBand::changeEvent(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::dropMimeData(data0, action1, row2, column3, parent4); + QRubberBand::childEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::event(QEvent* event0) +void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::event(event0); + QRubberBand::closeEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::eventFilter(watched0, event1); + QRubberBand::contextMenuEvent(event0); } -void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) +void PythonQtShell_QRubberBand::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14285,32 +11509,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::fetchMore(parent0); + QRubberBand::customEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const +int PythonQtShell_QRubberBand::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("filterAcceptsColumn"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("filterAcceptsColumn", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14318,197 +11542,142 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::filterAcceptsColumn(source_column0, source_parent1); + return QRubberBand::devType(); } -bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const +void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("filterAcceptsRow"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::filterAcceptsRow(source_row0, source_parent1); + QRubberBand::dragEnterEvent(event0); } -Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const +void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::flags(index0); + QRubberBand::dragLeaveEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const +void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::hasChildren(parent0); + QRubberBand::dragMoveEvent(event0); } -QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::headerData(section0, orientation1, role2); + QRubberBand::dropEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("enterEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::index(row0, column1, parent2); + QRubberBand::enterEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QRubberBand::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; + 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("insertColumns", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14516,32 +11685,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::insertColumns(column0, count1, parent2); + return QRubberBand::event(e0); } -bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14549,65 +11718,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::insertRows(row0, count1, parent2); + return QRubberBand::eventFilter(watched0, event1); } -QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const +void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemData"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::itemData(index0); + QRubberBand::focusInEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_left0, const QModelIndex& source_right1) const +bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("lessThan"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&source_left0, (void*)&source_right1}; + 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("lessThan", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14615,32 +11773,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::lessThan(source_left0, source_right1); + return QRubberBand::focusNextPrevChild(next0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapFromSource"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&sourceIndex0}; + void* args[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("mapFromSource", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14648,32 +11828,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mapFromSource(sourceIndex0); + return QRubberBand::hasHeightForWidth(); } -QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const +int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionFromSource"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {nullptr, (void*)&sourceSelection0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QItemSelection*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14681,131 +11861,98 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection0); + return QRubberBand::heightForWidth(arg__1); } -QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const +void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionToSource"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {nullptr, (void*)&proxySelection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapSelectionToSource(proxySelection0); + QRubberBand::hideEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapToSource"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&proxyIndex0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapToSource(proxyIndex0); + QRubberBand::initPainter(painter0); } -QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("match"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::match(start0, role1, value2, hits3, flags4); + QRubberBand::inputMethodEvent(arg__1); } -QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const +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("mimeData"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {nullptr, (void*)&indexes0}; + 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("mimeData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14813,131 +11960,98 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mimeData(indexes0); + return QRubberBand::inputMethodQuery(arg__1); } -QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const +void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mimeTypes(); + QRubberBand::keyPressEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + QRubberBand::keyReleaseEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); + static PyObject* name = PyString_FromString("leaveEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + QRubberBand::leaveEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const +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("parent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&child0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14945,32 +12059,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::parent(child0); + return QRubberBand::metric(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +QSize PythonQtShell_QRubberBand::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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}; + 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("removeColumns", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14978,54 +12092,43 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::removeColumns(column0, count1, parent2); + return QRubberBand::minimumSizeHint(); } -bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::removeRows(row0, count1, parent2); + QRubberBand::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSortFilterProxyModel::revert() +void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15033,131 +12136,98 @@ if (_wrapper) { } } } - QSortFilterProxyModel::revert(); + QRubberBand::mouseMoveEvent(event0); } -QHash PythonQtShell_QSortFilterProxyModel::roleNames() const +void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::roleNames(); + QRubberBand::mousePressEvent(event0); } -int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::rowCount(parent0); + QRubberBand::mouseReleaseEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("moveEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::setData(index0, value1, role2); + QRubberBand::moveEvent(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +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("setHeaderData"); + static PyObject* name = PyString_FromString("nativeEvent"); 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); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + 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("setHeaderData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15165,32 +12235,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::setHeaderData(section0, orientation1, value2, role3); + return QRubberBand::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setItemData"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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("setItemData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15198,21 +12268,21 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::setItemData(index0, roles1); + return QRubberBand::paintEngine(); } -void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSourceModel"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15220,32 +12290,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::setSourceModel(sourceModel0); + QRubberBand::paintEvent(arg__1); } -QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sibling"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("sibling", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15253,21 +12323,43 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::sibling(row0, column1, idx2); + return QRubberBand::redirected(offset0); } -void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) +void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sort"); + static PyObject* name = PyString_FromString("resizeEvent"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15275,32 +12367,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::sort(column0, order1); + QRubberBand::setVisible(visible0); } -QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const +QPainter* PythonQtShell_QRubberBand::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("span", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15308,65 +12400,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::span(index0); + return QRubberBand::sharedPainter(); } -bool PythonQtShell_QSortFilterProxyModel::submit() +void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); + static PyObject* name = PyString_FromString("showEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::submit(); + QRubberBand::showEvent(arg__1); } -Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const +QSize PythonQtShell_QRubberBand::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15374,42 +12455,31 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::supportedDragActions(); + return QRubberBand::sizeHint(); } -Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const +void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("tabletEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::supportedDropActions(); + QRubberBand::tabletEvent(event0); } -void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* event0) +void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15421,7 +12491,29 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + 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 { @@ -15429,241 +12521,422 @@ if (_wrapper) { } } } - QSortFilterProxyModel::timerEvent(event0); + QRubberBand::wheelEvent(event0); } -QSortFilterProxyModel* PythonQtWrapper_QSortFilterProxyModel::new_QSortFilterProxyModel(QObject* parent) +QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) { -return new PythonQtShell_QSortFilterProxyModel(parent); } +return new PythonQtShell_QRubberBand(arg__1, arg__2); } -const QMetaObject* PythonQtShell_QSortFilterProxyModel::metaObject() const { +const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSortFilterProxyModel::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); } else { - return &QSortFilterProxyModel::staticMetaObject; + return &QRubberBand::staticMetaObject; } } -int PythonQtShell_QSortFilterProxyModel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSortFilterProxyModel::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QSortFilterProxyModel::dynamicSortFilter(QSortFilterProxyModel* theWrappedObject) const +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->dynamicSortFilter()); + return ( theWrappedObject->logicalDotsPerInchY()); } -bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const +QString PythonQtWrapper_QScreen::manufacturer(QScreen* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsColumn(source_column, source_parent)); + return ( theWrappedObject->manufacturer()); } -bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const +QRect PythonQtWrapper_QScreen::mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const { - return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsRow(source_row, source_parent)); + return ( theWrappedObject->mapBetween(a, b, rect)); } -Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::filterCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +QString PythonQtWrapper_QScreen::model(QScreen* theWrappedObject) const { - return ( theWrappedObject->filterCaseSensitivity()); + return ( theWrappedObject->model()); } -int PythonQtWrapper_QSortFilterProxyModel::filterKeyColumn(QSortFilterProxyModel* theWrappedObject) const +QString PythonQtWrapper_QScreen::name(QScreen* theWrappedObject) const { - return ( theWrappedObject->filterKeyColumn()); + return ( theWrappedObject->name()); } -QRegExp PythonQtWrapper_QSortFilterProxyModel::filterRegExp(QSortFilterProxyModel* theWrappedObject) const +Qt::ScreenOrientation PythonQtWrapper_QScreen::nativeOrientation(QScreen* theWrappedObject) const { - return ( theWrappedObject->filterRegExp()); + return ( theWrappedObject->nativeOrientation()); } -QRegularExpression PythonQtWrapper_QSortFilterProxyModel::filterRegularExpression(QSortFilterProxyModel* theWrappedObject) const +Qt::ScreenOrientation PythonQtWrapper_QScreen::orientation(QScreen* theWrappedObject) const { - return ( theWrappedObject->filterRegularExpression()); + return ( theWrappedObject->orientation()); } -int PythonQtWrapper_QSortFilterProxyModel::filterRole(QSortFilterProxyModel* theWrappedObject) const +Qt::ScreenOrientations PythonQtWrapper_QScreen::orientationUpdateMask(QScreen* theWrappedObject) const { - return ( theWrappedObject->filterRole()); + return ( theWrappedObject->orientationUpdateMask()); } -void PythonQtWrapper_QSortFilterProxyModel::invalidateFilter(QSortFilterProxyModel* theWrappedObject) +qreal PythonQtWrapper_QScreen::physicalDotsPerInch(QScreen* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_invalidateFilter()); + return ( theWrappedObject->physicalDotsPerInch()); } -bool PythonQtWrapper_QSortFilterProxyModel::isRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject) const +qreal PythonQtWrapper_QScreen::physicalDotsPerInchX(QScreen* theWrappedObject) const { - return ( theWrappedObject->isRecursiveFilteringEnabled()); + return ( theWrappedObject->physicalDotsPerInchX()); } -bool PythonQtWrapper_QSortFilterProxyModel::isSortLocaleAware(QSortFilterProxyModel* theWrappedObject) const +qreal PythonQtWrapper_QScreen::physicalDotsPerInchY(QScreen* theWrappedObject) const { - return ( theWrappedObject->isSortLocaleAware()); + return ( theWrappedObject->physicalDotsPerInchY()); } -bool PythonQtWrapper_QSortFilterProxyModel::lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const +QSizeF PythonQtWrapper_QScreen::physicalSize(QScreen* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_lessThan(source_left, source_right)); + return ( theWrappedObject->physicalSize()); } -void PythonQtWrapper_QSortFilterProxyModel::setDynamicSortFilter(QSortFilterProxyModel* theWrappedObject, bool enable) +Qt::ScreenOrientation PythonQtWrapper_QScreen::primaryOrientation(QScreen* theWrappedObject) const { - ( theWrappedObject->setDynamicSortFilter(enable)); + return ( theWrappedObject->primaryOrientation()); } -void PythonQtWrapper_QSortFilterProxyModel::setFilterCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +qreal PythonQtWrapper_QScreen::refreshRate(QScreen* theWrappedObject) const { - ( theWrappedObject->setFilterCaseSensitivity(cs)); + return ( theWrappedObject->refreshRate()); } -void PythonQtWrapper_QSortFilterProxyModel::setFilterKeyColumn(QSortFilterProxyModel* theWrappedObject, int column) +QString PythonQtWrapper_QScreen::serialNumber(QScreen* theWrappedObject) const { - ( theWrappedObject->setFilterKeyColumn(column)); + return ( theWrappedObject->serialNumber()); } -void PythonQtWrapper_QSortFilterProxyModel::setFilterRole(QSortFilterProxyModel* theWrappedObject, int role) +void PythonQtWrapper_QScreen::setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask) { - ( theWrappedObject->setFilterRole(role)); + ( theWrappedObject->setOrientationUpdateMask(mask)); } -void PythonQtWrapper_QSortFilterProxyModel::setRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject, bool recursive) +QSize PythonQtWrapper_QScreen::size(QScreen* theWrappedObject) const { - ( theWrappedObject->setRecursiveFilteringEnabled(recursive)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QSortFilterProxyModel::setSortCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) +QTransform PythonQtWrapper_QScreen::transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const { - ( theWrappedObject->setSortCaseSensitivity(cs)); + return ( theWrappedObject->transformBetween(a, b, target)); } -void PythonQtWrapper_QSortFilterProxyModel::setSortLocaleAware(QSortFilterProxyModel* theWrappedObject, bool on) +QRect PythonQtWrapper_QScreen::virtualGeometry(QScreen* theWrappedObject) const { - ( theWrappedObject->setSortLocaleAware(on)); + return ( theWrappedObject->virtualGeometry()); } -void PythonQtWrapper_QSortFilterProxyModel::setSortRole(QSortFilterProxyModel* theWrappedObject, int role) +QList PythonQtWrapper_QScreen::virtualSiblings(QScreen* theWrappedObject) const { - ( theWrappedObject->setSortRole(role)); + return ( theWrappedObject->virtualSiblings()); } -Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::sortCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const +QSize PythonQtWrapper_QScreen::virtualSize(QScreen* theWrappedObject) const { - return ( theWrappedObject->sortCaseSensitivity()); + return ( theWrappedObject->virtualSize()); +} + +QString PythonQtWrapper_QScreen::py_toString(QScreen* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -int PythonQtWrapper_QSortFilterProxyModel::sortColumn(QSortFilterProxyModel* theWrappedObject) const + + +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->sortColumn()); + return ( theWrappedObject->orientation()); } -Qt::SortOrder PythonQtWrapper_QSortFilterProxyModel::sortOrder(QSortFilterProxyModel* theWrappedObject) const +QScreen* PythonQtWrapper_QScreenOrientationChangeEvent::screen(QScreenOrientationChangeEvent* theWrappedObject) const { - return ( theWrappedObject->sortOrder()); + return ( theWrappedObject->screen()); } -int PythonQtWrapper_QSortFilterProxyModel::sortRole(QSortFilterProxyModel* theWrappedObject) const + + +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) { - return ( theWrappedObject->sortRole()); +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(); + } + } } - - - -PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QScrollArea::closeEvent(event0); } -QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const +void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("controlTypes"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::controlTypes(); + QScrollArea::contextMenuEvent(arg__1); } -Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const +void PythonQtShell_QScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("customEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::expandingDirections(); + QScrollArea::customEvent(event0); } -QRect PythonQtShell_QSpacerItem::geometry() const +int PythonQtShell_QScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("geometry"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15671,87 +12944,65 @@ if (_wrapper) { } } } - return QSpacerItem::geometry(); + return QScrollArea::devType(); } -bool PythonQtShell_QSpacerItem::hasHeightForWidth() const +void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::hasHeightForWidth(); + QScrollArea::dragEnterEvent(arg__1); } -int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const +void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::heightForWidth(arg__1); + QScrollArea::dragLeaveEvent(arg__1); } -void PythonQtShell_QSpacerItem::invalidate() +void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15759,98 +13010,76 @@ if (_wrapper) { } } } - QSpacerItem::invalidate(); + QScrollArea::dragMoveEvent(arg__1); } -bool PythonQtShell_QSpacerItem::isEmpty() const +void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isEmpty"); + static PyObject* name = PyString_FromString("dropEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::isEmpty(); + QScrollArea::dropEvent(arg__1); } -QSize PythonQtShell_QSpacerItem::maximumSize() const +void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("enterEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::maximumSize(); + QScrollArea::enterEvent(event0); } -int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const +bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; + 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("minimumHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15858,32 +13087,32 @@ if (_wrapper) { } } } - return QSpacerItem::minimumHeightForWidth(arg__1); + return QScrollArea::event(arg__1); } -QSize PythonQtShell_QSpacerItem::minimumSize() const +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("minimumSize"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + 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("minimumSize", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15891,21 +13120,21 @@ if (_wrapper) { } } } - return QSpacerItem::minimumSize(); + return QScrollArea::eventFilter(arg__1, arg__2); } -void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) +void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15913,32 +13142,32 @@ if (_wrapper) { } } } - QSpacerItem::setGeometry(arg__1); + QScrollArea::focusInEvent(event0); } -QSize PythonQtShell_QSpacerItem::sizeHint() const +bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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}; + 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("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15946,32 +13175,54 @@ if (_wrapper) { } } } - return QSpacerItem::sizeHint(); + 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); } -QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() +bool PythonQtShell_QScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("spacerItem"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSpacerItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15979,32 +13230,32 @@ if (_wrapper) { } } } - return QSpacerItem::spacerItem(); + return QScrollArea::hasHeightForWidth(); } -QWidget* PythonQtShell_QSpacerItem::widget() +int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widget"); + static PyObject* name = PyString_FromString("heightForWidth"); 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}; + 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("widget", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QWidget**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16012,41 +13263,21 @@ if (_wrapper) { } } } - 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); } + return QScrollArea::heightForWidth(arg__1); } -void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) +void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16054,21 +13285,21 @@ if (_wrapper) { } } } - QSpinBox::actionEvent(event0); + QScrollArea::hideEvent(event0); } -void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) +void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16076,21 +13307,21 @@ if (_wrapper) { } } } - QSpinBox::changeEvent(event0); + QScrollArea::initPainter(painter0); } -void PythonQtShell_QSpinBox::childEvent(QChildEvent* event0) +void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16098,43 +13329,54 @@ if (_wrapper) { } } } - QSpinBox::childEvent(event0); + QScrollArea::inputMethodEvent(arg__1); } -void PythonQtShell_QSpinBox::clear() +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("clear"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::clear(); + return QScrollArea::inputMethodQuery(arg__1); } -void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16142,21 +13384,21 @@ if (_wrapper) { } } } - QSpinBox::closeEvent(event0); + QScrollArea::keyPressEvent(arg__1); } -void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16164,21 +13406,21 @@ if (_wrapper) { } } } - QSpinBox::contextMenuEvent(event0); + QScrollArea::keyReleaseEvent(event0); } -void PythonQtShell_QSpinBox::customEvent(QEvent* event0) +void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16186,32 +13428,32 @@ if (_wrapper) { } } } - QSpinBox::customEvent(event0); + QScrollArea::leaveEvent(event0); } -int PythonQtShell_QSpinBox::devType() const +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("devType"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16219,43 +13461,54 @@ if (_wrapper) { } } } - return QSpinBox::devType(); + return QScrollArea::metric(arg__1); } -void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) +QSize PythonQtShell_QScrollArea::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::dragEnterEvent(event0); + return QScrollArea::minimumSizeHint(); } -void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16263,21 +13516,21 @@ if (_wrapper) { } } } - QSpinBox::dragLeaveEvent(event0); + QScrollArea::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16285,21 +13538,21 @@ if (_wrapper) { } } } - QSpinBox::dragMoveEvent(event0); + QScrollArea::mouseMoveEvent(arg__1); } -void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16307,21 +13560,21 @@ if (_wrapper) { } } } - QSpinBox::dropEvent(event0); + QScrollArea::mousePressEvent(arg__1); } -void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) +void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16329,65 +13582,54 @@ if (_wrapper) { } } } - QSpinBox::enterEvent(event0); + QScrollArea::mouseReleaseEvent(arg__1); } -bool PythonQtShell_QSpinBox::event(QEvent* event0) +void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::event(event0); + QScrollArea::moveEvent(event0); } -bool PythonQtShell_QSpinBox::eventFilter(QObject* watched0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16395,76 +13637,32 @@ if (_wrapper) { } } } - 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); + return QScrollArea::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) +QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("paintEngine"); 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}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16472,21 +13670,21 @@ if (_wrapper) { } } } - return QSpinBox::focusNextPrevChild(next0); + return QScrollArea::paintEngine(); } -void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16494,32 +13692,32 @@ if (_wrapper) { } } } - QSpinBox::focusOutEvent(event0); + QScrollArea::paintEvent(arg__1); } -bool PythonQtShell_QSpinBox::hasHeightForWidth() const +QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("redirected"); 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}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16527,54 +13725,43 @@ if (_wrapper) { } } } - return QSpinBox::hasHeightForWidth(); + return QScrollArea::redirected(offset0); } -int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const +void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("resizeEvent"); 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); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::heightForWidth(arg__1); + QScrollArea::resizeEvent(arg__1); } -void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16582,21 +13769,21 @@ if (_wrapper) { } } } - QSpinBox::hideEvent(event0); + QScrollArea::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const +void PythonQtShell_QScrollArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16604,21 +13791,21 @@ if (_wrapper) { } } } - QSpinBox::initPainter(painter0); + QScrollArea::setVisible(visible0); } -void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16626,32 +13813,32 @@ if (_wrapper) { } } } - QSpinBox::inputMethodEvent(arg__1); + QScrollArea::setupViewport(viewport0); } -QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPainter* PythonQtShell_QScrollArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("sharedPainter"); 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}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16659,21 +13846,21 @@ if (_wrapper) { } } } - return QSpinBox::inputMethodQuery(arg__1); + return QScrollArea::sharedPainter(); } -void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16681,21 +13868,54 @@ if (_wrapper) { } } } - QSpinBox::keyPressEvent(event0); + QScrollArea::showEvent(event0); } -void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) +QSize PythonQtShell_QScrollArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16703,21 +13923,21 @@ if (_wrapper) { } } } - QSpinBox::keyReleaseEvent(event0); + QScrollArea::tabletEvent(event0); } -void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) +void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16725,32 +13945,32 @@ if (_wrapper) { } } } - QSpinBox::leaveEvent(event0); + QScrollArea::timerEvent(event0); } -int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; + 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("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16758,14 +13978,14 @@ if (_wrapper) { } } } - return QSpinBox::metric(arg__1); + return QScrollArea::viewportEvent(arg__1); } -QSize PythonQtShell_QSpinBox::minimumSizeHint() const +QSize PythonQtShell_QScrollArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -16777,13 +13997,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16791,21 +14011,21 @@ if (_wrapper) { } } } - return QSpinBox::minimumSizeHint(); + return QScrollArea::viewportSizeHint(); } -void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16813,43 +14033,89 @@ if (_wrapper) { } } } - QSpinBox::mouseDoubleClickEvent(event0); + QScrollArea::wheelEvent(arg__1); } -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(); - } +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; } } - QSpinBox::mouseMoveEvent(event0); +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_QSpinBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16857,21 +14123,21 @@ if (_wrapper) { } } } - QSpinBox::mousePressEvent(event0); + QScrollBar::actionEvent(event0); } -void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16879,21 +14145,21 @@ if (_wrapper) { } } } - QSpinBox::mouseReleaseEvent(event0); + QScrollBar::changeEvent(e0); } -void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) +void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16901,87 +14167,65 @@ if (_wrapper) { } } } - QSpinBox::moveEvent(event0); + QScrollBar::childEvent(event0); } -bool PythonQtShell_QSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("closeEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::nativeEvent(eventType0, message1, result2); + QScrollBar::closeEvent(event0); } -QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const +void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::paintEngine(); + QScrollBar::contextMenuEvent(arg__1); } -void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) +void PythonQtShell_QScrollBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16989,32 +14233,32 @@ if (_wrapper) { } } } - QSpinBox::paintEvent(event0); + QScrollBar::customEvent(event0); } -QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const +int PythonQtShell_QScrollBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("devType"); 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}; + 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("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17022,21 +14266,21 @@ if (_wrapper) { } } } - return QSpinBox::redirected(offset0); + return QScrollBar::devType(); } -void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17044,21 +14288,21 @@ if (_wrapper) { } } } - QSpinBox::resizeEvent(event0); + QScrollBar::dragEnterEvent(event0); } -void PythonQtShell_QSpinBox::setVisible(bool visible0) +void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17066,54 +14310,43 @@ if (_wrapper) { } } } - QSpinBox::setVisible(visible0); + QScrollBar::dragLeaveEvent(event0); } -QPainter* PythonQtShell_QSpinBox::sharedPainter() const +void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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}; + 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) { - 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::sharedPainter(); + QScrollBar::dragMoveEvent(event0); } -void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) +void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17121,87 +14354,87 @@ if (_wrapper) { } } } - QSpinBox::showEvent(event0); + QScrollBar::dropEvent(event0); } -QSize PythonQtShell_QSpinBox::sizeHint() const +void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("enterEvent"); 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}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::sizeHint(); + QScrollBar::enterEvent(event0); } -void PythonQtShell_QSpinBox::stepBy(int steps0) +bool PythonQtShell_QScrollBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&steps0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::stepBy(steps0); + return QScrollBar::event(event0); } -QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const +bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepEnabled"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17209,21 +14442,21 @@ if (_wrapper) { } } } - return QSpinBox::stepEnabled(); + return QScrollBar::eventFilter(watched0, event1); } -void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17231,32 +14464,32 @@ if (_wrapper) { } } } - QSpinBox::tabletEvent(event0); + QScrollBar::focusInEvent(event0); } -QString PythonQtShell_QSpinBox::textFromValue(int val0) const +bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("textFromValue"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "int"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {nullptr, (void*)&val0}; + 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("textFromValue", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17264,21 +14497,21 @@ if (_wrapper) { } } } - return QSpinBox::textFromValue(val0); + return QScrollBar::focusNextPrevChild(next0); } -void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) +void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17286,32 +14519,32 @@ if (_wrapper) { } } } - QSpinBox::timerEvent(event0); + QScrollBar::focusOutEvent(event0); } -QValidator::State PythonQtShell_QSpinBox::validate(QString& input0, int& pos1) const +bool PythonQtShell_QScrollBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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}; + 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("validate", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17319,32 +14552,32 @@ if (_wrapper) { } } } - return QSpinBox::validate(input0, pos1); + return QScrollBar::hasHeightForWidth(); } -int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const +int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valueFromText"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QString&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {nullptr, (void*)&text0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17352,151 +14585,43 @@ if (_wrapper) { } } } - return QSpinBox::valueFromText(text0); + return QScrollBar::heightForWidth(arg__1); } -void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + 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::setSuffix(QSpinBox* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setSuffix(suffix)); -} - -int PythonQtWrapper_QSpinBox::singleStep(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - -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)); + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QSplashScreen::~PythonQtShell_QSplashScreen() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QScrollBar::hideEvent(arg__1); } -void PythonQtShell_QSplashScreen::actionEvent(QActionEvent* event0) +void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17504,21 +14629,21 @@ if (_wrapper) { } } } - QSplashScreen::actionEvent(event0); + QScrollBar::initPainter(painter0); } -void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) +void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17526,43 +14651,54 @@ if (_wrapper) { } } } - QSplashScreen::changeEvent(arg__1); + QScrollBar::inputMethodEvent(arg__1); } -void PythonQtShell_QSplashScreen::childEvent(QChildEvent* event0) +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("childEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplashScreen::childEvent(event0); + return QScrollBar::inputMethodQuery(arg__1); } -void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) +void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17570,21 +14706,21 @@ if (_wrapper) { } } } - QSplashScreen::closeEvent(event0); + QScrollBar::keyPressEvent(ev0); } -void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17592,21 +14728,21 @@ if (_wrapper) { } } } - QSplashScreen::contextMenuEvent(event0); + QScrollBar::keyReleaseEvent(event0); } -void PythonQtShell_QSplashScreen::customEvent(QEvent* event0) +void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("customEvent"); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17614,32 +14750,32 @@ if (_wrapper) { } } } - QSplashScreen::customEvent(event0); + QScrollBar::leaveEvent(event0); } -int PythonQtShell_QSplashScreen::devType() const +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("devType"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17647,43 +14783,54 @@ if (_wrapper) { } } } - return QSplashScreen::devType(); + return QScrollBar::metric(arg__1); } -void PythonQtShell_QSplashScreen::dragEnterEvent(QDragEnterEvent* event0) +QSize PythonQtShell_QScrollBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplashScreen::dragEnterEvent(event0); + return QScrollBar::minimumSizeHint(); } -void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17691,21 +14838,21 @@ if (_wrapper) { } } } - QSplashScreen::dragLeaveEvent(event0); + QScrollBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17713,21 +14860,21 @@ if (_wrapper) { } } } - QSplashScreen::dragMoveEvent(event0); + QScrollBar::mouseMoveEvent(arg__1); } -void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) +void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawContents"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17735,21 +14882,21 @@ if (_wrapper) { } } } - QSplashScreen::drawContents(painter0); + QScrollBar::mousePressEvent(arg__1); } -void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) +void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17757,21 +14904,21 @@ if (_wrapper) { } } } - QSplashScreen::dropEvent(event0); + QScrollBar::mouseReleaseEvent(arg__1); } -void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) +void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17779,32 +14926,32 @@ if (_wrapper) { } } } - QSplashScreen::enterEvent(event0); + QScrollBar::moveEvent(event0); } -bool PythonQtShell_QSplashScreen::event(QEvent* e0) +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("event"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + 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("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17812,32 +14959,32 @@ if (_wrapper) { } } } - return QSplashScreen::event(e0); + return QScrollBar::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QSplashScreen::eventFilter(QObject* watched0, QEvent* event1) +QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17845,21 +14992,21 @@ if (_wrapper) { } } } - return QSplashScreen::eventFilter(watched0, event1); + return QScrollBar::paintEngine(); } -void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17867,32 +15014,32 @@ if (_wrapper) { } } } - QSplashScreen::focusInEvent(event0); + QScrollBar::paintEvent(arg__1); } -bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) +QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + 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("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17900,21 +15047,21 @@ if (_wrapper) { } } } - return QSplashScreen::focusNextPrevChild(next0); + return QScrollBar::redirected(offset0); } -void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17922,87 +15069,21 @@ if (_wrapper) { } } } - 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); + QScrollBar::resizeEvent(event0); } -void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) +void PythonQtShell_QScrollBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18010,43 +15091,54 @@ if (_wrapper) { } } } - QSplashScreen::hideEvent(event0); + QScrollBar::setVisible(visible0); } -void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const +QPainter* PythonQtShell_QScrollBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + 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(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplashScreen::initPainter(painter0); + return QScrollBar::sharedPainter(); } -void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18054,32 +15146,32 @@ if (_wrapper) { } } } - QSplashScreen::inputMethodEvent(arg__1); + QScrollBar::showEvent(event0); } -QVariant PythonQtShell_QSplashScreen::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QSize PythonQtShell_QScrollBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("sizeHint"); 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}; + 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("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18087,21 +15179,21 @@ if (_wrapper) { } } } - return QSplashScreen::inputMethodQuery(arg__1); + return QScrollBar::sizeHint(); } -void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18109,21 +15201,21 @@ if (_wrapper) { } } } - QSplashScreen::keyPressEvent(event0); + QScrollBar::sliderChange(change0); } -void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18131,21 +15223,43 @@ if (_wrapper) { } } } - QSplashScreen::keyReleaseEvent(event0); + QScrollBar::tabletEvent(event0); } -void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) +void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18153,318 +15267,348 @@ if (_wrapper) { } } } - QSplashScreen::leaveEvent(event0); + 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); } -int PythonQtShell_QSplashScreen::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) { -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 &( (*theWrappedObject)= sp); } - return QSplashScreen::metric(arg__1); + +bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +{ + return ( (*theWrappedObject)== sp); } -QSize PythonQtShell_QSplashScreen::minimumSizeHint() const + +QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) 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 ( theWrappedObject->scrollMetric(metric)); } - return QSplashScreen::minimumSizeHint(); + +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) +{ + (QScrollerProperties::setDefaultScrollerProperties(sp)); } -void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) { -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(); - } - } + ( theWrappedObject->setScrollMetric(metric, value)); } - QSplashScreen::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() +{ + (QScrollerProperties::unsetDefaultScrollerProperties()); } -void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) + + + +bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) { -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(); - } - } + return ( theWrappedObject->allowsErrorInteraction()); } - QSplashScreen::mouseMoveEvent(event0); + +bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) +{ + return ( theWrappedObject->allowsInteraction()); } -void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) + +void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) { -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(); - } - } + ( theWrappedObject->cancel()); } - QSplashScreen::mousePressEvent(arg__1); + +QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->discardCommand()); } -void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const { -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(); - } - } + return ( theWrappedObject->isPhase2()); } - QSplashScreen::mouseReleaseEvent(event0); + +void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) +{ + ( theWrappedObject->release()); } -void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) { -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(); - } - } + ( theWrappedObject->requestPhase2()); } - QSplashScreen::moveEvent(event0); + +QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->restartCommand()); } -bool PythonQtShell_QSplashScreen::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const { -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 ( theWrappedObject->restartHint()); } - return QSplashScreen::nativeEvent(eventType0, message1, result2); + +QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->sessionId()); } -QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const + +QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) 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 ( theWrappedObject->sessionKey()); +} + +void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setDiscardCommand(arg__1)); } - return QSplashScreen::paintEngine(); + +void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setManagerProperty(name, value)); } -void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) + +void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) { -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(); - } - } + ( theWrappedObject->setManagerProperty(name, value)); } - QSplashScreen::paintEvent(event0); + +void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setRestartCommand(arg__1)); } -QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const + +void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) { -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(); - } - } + ( theWrappedObject->setRestartHint(arg__1)); } - return QSplashScreen::redirected(offset0); + + + +PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18472,21 +15616,21 @@ if (_wrapper) { } } } - QSplashScreen::resizeEvent(event0); + QShortcut::childEvent(event0); } -void PythonQtShell_QSplashScreen::setVisible(bool visible0) +void PythonQtShell_QShortcut::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18494,32 +15638,32 @@ if (_wrapper) { } } } - QSplashScreen::setVisible(visible0); + QShortcut::customEvent(event0); } -QPainter* PythonQtShell_QSplashScreen::sharedPainter() const +bool PythonQtShell_QShortcut::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("event"); 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}; + 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("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18527,54 +15671,32 @@ if (_wrapper) { } } } - 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); + return QShortcut::event(e0); } -QSize PythonQtShell_QSplashScreen::sizeHint() const +bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); 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}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18582,31 +15704,9 @@ if (_wrapper) { } } } - 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); + return QShortcut::eventFilter(watched0, event1); } -void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* event0) +void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -18618,29 +15718,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18648,52 +15726,118 @@ if (_wrapper) { } } } - QSplashScreen::wheelEvent(event0); + QShortcut::timerEvent(event0); } -QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(QWidget* parent, const QPixmap& pixmap, Qt::WindowFlags f) +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) { -return new PythonQtShell_QSplashScreen(parent, pixmap, f); } +return new PythonQtShell_QShortcut(parent); } -QSplashScreen* PythonQtWrapper_QSplashScreen::new_QSplashScreen(const QPixmap& pixmap, Qt::WindowFlags f) +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context) { -return new PythonQtShell_QSplashScreen(pixmap, f); } +return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, context); } -const QMetaObject* PythonQtShell_QSplashScreen::metaObject() const { +const QMetaObject* PythonQtShell_QShortcut::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplashScreen::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QShortcut::staticMetaObject); } else { - return &QSplashScreen::staticMetaObject; + return &QShortcut::staticMetaObject; } } -int PythonQtShell_QSplashScreen::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSplashScreen::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QSplashScreen::drawContents(QSplashScreen* theWrappedObject, QPainter* painter) +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) { - ( ((PythonQtPublicPromoter_QSplashScreen*)theWrappedObject)->promoted_drawContents(painter)); + ( theWrappedObject->setWhatsThis(text)); } -void PythonQtWrapper_QSplashScreen::finish(QSplashScreen* theWrappedObject, QWidget* w) +QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const { - ( theWrappedObject->finish(w)); + return ( theWrappedObject->whatsThis()); +} + + + +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); } -QString PythonQtWrapper_QSplashScreen::message(QSplashScreen* theWrappedObject) const +bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const { - return ( theWrappedObject->message()); + return ( theWrappedObject->isAmbiguous()); } -const QPixmap PythonQtWrapper_QSplashScreen::pixmap(QSplashScreen* theWrappedObject) const +const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const { - return ( theWrappedObject->pixmap()); + return &( theWrappedObject->key()); } -void PythonQtWrapper_QSplashScreen::setPixmap(QSplashScreen* theWrappedObject, const QPixmap& pixmap) +int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const { - ( theWrappedObject->setPixmap(pixmap)); + return ( theWrappedObject->shortcutId()); } + +QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() +{ +return new QShowEvent(); } + + diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.h index c1190159..a8af339d 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -1,10 +1,7 @@ #include -#include #include -#include -#include +#include #include -#include #include #include #include @@ -16,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -24,18 +22,18 @@ #include #include #include -#include #include #include -#include -#include +#include #include #include #include #include #include -#include #include +#include +#include +#include #include #include #include @@ -44,6 +42,11 @@ #include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -58,21 +61,19 @@ #include #include #include +#include #include #include +#include #include #include #include #include -#include #include -#include -#include -#include -#include #include #include #include +#include #include #include #include @@ -84,6 +85,363 @@ +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::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 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: @@ -140,7 +498,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProgressBar : public QProgressBar @@ -251,7 +609,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog @@ -339,7 +697,7 @@ void unpolish(QWidget* widget) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProxyStyle : public QProxyStyle @@ -471,7 +829,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPushButton : public QPushButton @@ -565,6 +923,7 @@ void delete_QQuaternion(QQuaternion* obj) { delete obj; } 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); @@ -689,7 +1048,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioButton : public QRadioButton @@ -734,14 +1093,44 @@ class PythonQtShell_QRasterWindow : public QRasterWindow public: PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRasterWindow(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRasterWindow : public QRasterWindow @@ -758,9 +1147,7 @@ class PythonQtWrapper_QRasterWindow : public QObject public slots: QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } - int metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} - QPaintDevice* redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const; QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} }; @@ -847,7 +1234,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator @@ -889,7 +1276,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRegularExpressionValidator : public QRegularExpressionValidator @@ -920,7 +1307,7 @@ class PythonQtShell_QResizeEvent : public QResizeEvent ~PythonQtShell_QResizeEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QResizeEvent : public QObject @@ -941,6 +1328,11 @@ 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; @@ -1026,7 +1418,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRubberBand : public QRubberBand @@ -1075,12 +1467,60 @@ void delete_QRubberBand(QRubberBand* obj) { delete obj; } +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; + 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; }; @@ -1146,7 +1586,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QScrollArea : public QScrollArea @@ -1250,7 +1690,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QScrollBar : public QScrollBar @@ -1338,6 +1778,40 @@ void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } +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: @@ -1347,7 +1821,7 @@ class PythonQtShell_QScrollerProperties : public QScrollerProperties ~PythonQtShell_QScrollerProperties() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QScrollerProperties : public QObject @@ -1422,7 +1896,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QShortcut : public QShortcut @@ -1465,7 +1939,7 @@ class PythonQtShell_QShortcutEvent : public QShortcutEvent ~PythonQtShell_QShortcutEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QShortcutEvent : public QObject @@ -1492,646 +1966,3 @@ 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; -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 setSuffix(QSpinBox* theWrappedObject, const QString& suffix); - int singleStep(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(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(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); -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index c87e3f1a..af37d5aa 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include @@ -12,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -22,8 +24,11 @@ #include #include #include +#include #include +#include #include +#include #include #include #include @@ -37,9 +42,16 @@ #include #include #include +#include #include +#include #include +#include #include +#include +#include +#include +#include #include #include #include @@ -58,11 +70,11 @@ #include #include -PythonQtShell_QSplitter::~PythonQtShell_QSplitter() { +PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSplitter::actionEvent(QActionEvent* event0) +void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -74,7 +86,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -82,9 +94,9 @@ if (_wrapper) { } } } - QSplitter::actionEvent(event0); + QSizeGrip::actionEvent(event0); } -void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) +void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -96,7 +108,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -104,9 +116,9 @@ if (_wrapper) { } } } - QSplitter::changeEvent(arg__1); + QSizeGrip::changeEvent(arg__1); } -void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) +void PythonQtShell_QSizeGrip::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -116,9 +128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -126,9 +138,9 @@ if (_wrapper) { } } } - QSplitter::childEvent(arg__1); + QSizeGrip::childEvent(event0); } -void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -140,7 +152,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -148,9 +160,9 @@ if (_wrapper) { } } } - QSplitter::closeEvent(event0); + QSizeGrip::closeEvent(event0); } -void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -162,7 +174,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -170,42 +182,9 @@ if (_wrapper) { } } } - 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(); + QSizeGrip::contextMenuEvent(event0); } -void PythonQtShell_QSplitter::customEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -217,7 +196,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -225,9 +204,9 @@ if (_wrapper) { } } } - QSplitter::customEvent(event0); + QSizeGrip::customEvent(event0); } -int PythonQtShell_QSplitter::devType() const +int PythonQtShell_QSizeGrip::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -250,7 +229,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -258,9 +237,9 @@ if (_wrapper) { } } } - return QSplitter::devType(); + return QSizeGrip::devType(); } -void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -272,7 +251,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -280,9 +259,9 @@ if (_wrapper) { } } } - QSplitter::dragEnterEvent(event0); + QSizeGrip::dragEnterEvent(event0); } -void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -294,7 +273,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -302,9 +281,9 @@ if (_wrapper) { } } } - QSplitter::dragLeaveEvent(event0); + QSizeGrip::dragLeaveEvent(event0); } -void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -316,7 +295,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -324,9 +303,9 @@ if (_wrapper) { } } } - QSplitter::dragMoveEvent(event0); + QSizeGrip::dragMoveEvent(event0); } -void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) +void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -338,7 +317,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -346,9 +325,9 @@ if (_wrapper) { } } } - QSplitter::dropEvent(event0); + QSizeGrip::dropEvent(event0); } -void PythonQtShell_QSplitter::enterEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -360,7 +339,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -368,9 +347,9 @@ if (_wrapper) { } } } - QSplitter::enterEvent(event0); + QSizeGrip::enterEvent(event0); } -bool PythonQtShell_QSplitter::event(QEvent* arg__1) +bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -393,7 +372,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -401,9 +380,9 @@ if (_wrapper) { } } } - return QSplitter::event(arg__1); + return QSizeGrip::event(arg__1); } -bool PythonQtShell_QSplitter::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -414,7 +393,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + 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); @@ -426,7 +405,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -434,9 +413,9 @@ if (_wrapper) { } } } - return QSplitter::eventFilter(watched0, event1); + return QSizeGrip::eventFilter(arg__1, arg__2); } -void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -448,7 +427,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -456,9 +435,9 @@ if (_wrapper) { } } } - QSplitter::focusInEvent(event0); + QSizeGrip::focusInEvent(event0); } -bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) +bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -481,7 +460,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -489,9 +468,9 @@ if (_wrapper) { } } } - return QSplitter::focusNextPrevChild(next0); + return QSizeGrip::focusNextPrevChild(next0); } -void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -503,7 +482,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -511,9 +490,9 @@ if (_wrapper) { } } } - QSplitter::focusOutEvent(event0); + QSizeGrip::focusOutEvent(event0); } -bool PythonQtShell_QSplitter::hasHeightForWidth() const +bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -536,7 +515,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -544,9 +523,9 @@ if (_wrapper) { } } } - return QSplitter::hasHeightForWidth(); + return QSizeGrip::hasHeightForWidth(); } -int PythonQtShell_QSplitter::heightForWidth(int arg__1) const +int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -569,7 +548,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -577,9 +556,9 @@ if (_wrapper) { } } } - return QSplitter::heightForWidth(arg__1); + return QSizeGrip::heightForWidth(arg__1); } -void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) +void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -589,9 +568,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -599,9 +578,9 @@ if (_wrapper) { } } } - QSplitter::hideEvent(event0); + QSizeGrip::hideEvent(hideEvent0); } -void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const +void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -613,7 +592,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -621,9 +600,9 @@ if (_wrapper) { } } } - QSplitter::initPainter(painter0); + QSizeGrip::initPainter(painter0); } -void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -635,7 +614,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -643,9 +622,9 @@ if (_wrapper) { } } } - QSplitter::inputMethodEvent(arg__1); + QSizeGrip::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QSplitter::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -668,7 +647,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -676,9 +655,9 @@ if (_wrapper) { } } } - return QSplitter::inputMethodQuery(arg__1); + return QSizeGrip::inputMethodQuery(arg__1); } -void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -690,7 +669,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -698,9 +677,9 @@ if (_wrapper) { } } } - QSplitter::keyPressEvent(event0); + QSizeGrip::keyPressEvent(event0); } -void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -712,7 +691,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -720,9 +699,9 @@ if (_wrapper) { } } } - QSplitter::keyReleaseEvent(event0); + QSizeGrip::keyReleaseEvent(event0); } -void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -734,7 +713,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -742,9 +721,9 @@ if (_wrapper) { } } } - QSplitter::leaveEvent(event0); + QSizeGrip::leaveEvent(event0); } -int PythonQtShell_QSplitter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -767,7 +746,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -775,14 +754,14 @@ if (_wrapper) { } } } - return QSplitter::metric(arg__1); + return QSizeGrip::metric(arg__1); } -QSize PythonQtShell_QSplitter::minimumSizeHint() const +QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -794,13 +773,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -808,9 +787,9 @@ if (_wrapper) { } } } - return QSplitter::minimumSizeHint(); + return QSizeGrip::minimumSizeHint(); } -void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -822,7 +801,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -830,9 +809,9 @@ if (_wrapper) { } } } - QSplitter::mouseDoubleClickEvent(event0); + QSizeGrip::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -842,9 +821,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -852,9 +831,9 @@ if (_wrapper) { } } } - QSplitter::mouseMoveEvent(event0); + QSizeGrip::mouseMoveEvent(arg__1); } -void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -864,9 +843,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -874,9 +853,9 @@ if (_wrapper) { } } } - QSplitter::mousePressEvent(event0); + QSizeGrip::mousePressEvent(arg__1); } -void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -886,9 +865,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -896,9 +875,9 @@ if (_wrapper) { } } } - QSplitter::mouseReleaseEvent(event0); + QSizeGrip::mouseReleaseEvent(mouseEvent0); } -void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) +void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -908,9 +887,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&moveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -918,9 +897,9 @@ if (_wrapper) { } } } - QSplitter::moveEvent(event0); + QSizeGrip::moveEvent(moveEvent0); } -bool PythonQtShell_QSplitter::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -943,7 +922,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -951,9 +930,9 @@ if (_wrapper) { } } } - return QSplitter::nativeEvent(eventType0, message1, result2); + return QSizeGrip::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QSplitter::paintEngine() const +QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -976,7 +955,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -984,9 +963,9 @@ if (_wrapper) { } } } - return QSplitter::paintEngine(); + return QSizeGrip::paintEngine(); } -void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -998,7 +977,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1006,9 +985,9 @@ if (_wrapper) { } } } - QSplitter::paintEvent(arg__1); + QSizeGrip::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1031,7 +1010,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1039,9 +1018,9 @@ if (_wrapper) { } } } - return QSplitter::redirected(offset0); + return QSizeGrip::redirected(offset0); } -void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1051,9 +1030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1061,9 +1040,9 @@ if (_wrapper) { } } } - QSplitter::resizeEvent(arg__1); + QSizeGrip::resizeEvent(event0); } -void PythonQtShell_QSplitter::setVisible(bool visible0) +void PythonQtShell_QSizeGrip::setVisible(bool arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1073,9 +1052,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1083,9 +1062,9 @@ if (_wrapper) { } } } - QSplitter::setVisible(visible0); + QSizeGrip::setVisible(arg__1); } -QPainter* PythonQtShell_QSplitter::sharedPainter() const +QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1108,7 +1087,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1116,9 +1095,9 @@ if (_wrapper) { } } } - return QSplitter::sharedPainter(); + return QSizeGrip::sharedPainter(); } -void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) +void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1128,9 +1107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1138,9 +1117,9 @@ if (_wrapper) { } } } - QSplitter::showEvent(event0); + QSizeGrip::showEvent(showEvent0); } -QSize PythonQtShell_QSplitter::sizeHint() const +QSize PythonQtShell_QSizeGrip::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1163,7 +1142,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1171,9 +1150,9 @@ if (_wrapper) { } } } - return QSplitter::sizeHint(); + return QSizeGrip::sizeHint(); } -void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1185,7 +1164,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1193,9 +1172,9 @@ if (_wrapper) { } } } - QSplitter::tabletEvent(event0); + QSizeGrip::tabletEvent(event0); } -void PythonQtShell_QSplitter::timerEvent(QTimerEvent* event0) +void PythonQtShell_QSizeGrip::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1207,7 +1186,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1215,9 +1194,9 @@ if (_wrapper) { } } } - QSplitter::timerEvent(event0); + QSizeGrip::timerEvent(event0); } -void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1229,7 +1208,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1237,252 +1216,103 @@ if (_wrapper) { } } } - QSplitter::wheelEvent(event0); + QSizeGrip::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) +QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) { -return new PythonQtShell_QSplitter(arg__1, parent); } +return new PythonQtShell_QSizeGrip(parent); } -const QMetaObject* PythonQtShell_QSplitter::metaObject() const { +const QMetaObject* PythonQtShell_QSizeGrip::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSplitter::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSizeGrip::staticMetaObject); } else { - return &QSplitter::staticMetaObject; + return &QSizeGrip::staticMetaObject; } } -int PythonQtShell_QSplitter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSplitter::qt_metacall(call, id, args); +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; } -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 +QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->sizeHint()); } -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()); +PythonQtShell_QSlider::~PythonQtShell_QSlider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -int PythonQtWrapper_QSplitter::indexOf(QSplitter* theWrappedObject, QWidget* w) const +void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->indexOf(w)); +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(); + } + } } - -void PythonQtWrapper_QSplitter::insertWidget(QSplitter* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->insertWidget(index, widget)); + QSlider::actionEvent(event0); } - -bool PythonQtWrapper_QSplitter::isCollapsible(QSplitter* theWrappedObject, int index) const +void PythonQtShell_QSlider::changeEvent(QEvent* e0) { - return ( theWrappedObject->isCollapsible(index)); +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(); + } + } } - -QSize PythonQtWrapper_QSplitter::minimumSizeHint(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); + QSlider::changeEvent(e0); } - -void PythonQtWrapper_QSplitter::moveSplitter(QSplitter* theWrappedObject, int pos, int index) +void PythonQtShell_QSlider::childEvent(QChildEvent* event0) { - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_moveSplitter(pos, index)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QSplitter::opaqueResize(QSplitter* theWrappedObject) const -{ - return ( theWrappedObject->opaqueResize()); + QSlider::childEvent(event0); } - -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) +void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1494,7 +1324,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1502,9 +1332,9 @@ if (_wrapper) { } } } - QSplitterHandle::closeEvent(event0); + QSlider::closeEvent(event0); } -void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1516,7 +1346,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1524,9 +1354,9 @@ if (_wrapper) { } } } - QSplitterHandle::contextMenuEvent(event0); + QSlider::contextMenuEvent(event0); } -void PythonQtShell_QSplitterHandle::customEvent(QEvent* event0) +void PythonQtShell_QSlider::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1538,7 +1368,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1546,9 +1376,9 @@ if (_wrapper) { } } } - QSplitterHandle::customEvent(event0); + QSlider::customEvent(event0); } -int PythonQtShell_QSplitterHandle::devType() const +int PythonQtShell_QSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1571,7 +1401,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1579,9 +1409,9 @@ if (_wrapper) { } } } - return QSplitterHandle::devType(); + return QSlider::devType(); } -void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1593,7 +1423,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1601,9 +1431,9 @@ if (_wrapper) { } } } - QSplitterHandle::dragEnterEvent(event0); + QSlider::dragEnterEvent(event0); } -void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1615,7 +1445,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1623,9 +1453,9 @@ if (_wrapper) { } } } - QSplitterHandle::dragLeaveEvent(event0); + QSlider::dragLeaveEvent(event0); } -void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1637,7 +1467,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1645,9 +1475,9 @@ if (_wrapper) { } } } - QSplitterHandle::dragMoveEvent(event0); + QSlider::dragMoveEvent(event0); } -void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) +void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1659,7 +1489,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1667,9 +1497,9 @@ if (_wrapper) { } } } - QSplitterHandle::dropEvent(event0); + QSlider::dropEvent(event0); } -void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) +void PythonQtShell_QSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1681,7 +1511,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1689,9 +1519,9 @@ if (_wrapper) { } } } - QSplitterHandle::enterEvent(event0); + QSlider::enterEvent(event0); } -bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) +bool PythonQtShell_QSlider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1702,7 +1532,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -1714,7 +1544,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1722,9 +1552,9 @@ if (_wrapper) { } } } - return QSplitterHandle::event(arg__1); + return QSlider::event(event0); } -bool PythonQtShell_QSplitterHandle::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1747,7 +1577,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1755,9 +1585,9 @@ if (_wrapper) { } } } - return QSplitterHandle::eventFilter(watched0, event1); + return QSlider::eventFilter(watched0, event1); } -void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1769,7 +1599,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1777,9 +1607,9 @@ if (_wrapper) { } } } - QSplitterHandle::focusInEvent(event0); + QSlider::focusInEvent(event0); } -bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) +bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1802,7 +1632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1810,9 +1640,9 @@ if (_wrapper) { } } } - return QSplitterHandle::focusNextPrevChild(next0); + return QSlider::focusNextPrevChild(next0); } -void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1824,7 +1654,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1832,9 +1662,9 @@ if (_wrapper) { } } } - QSplitterHandle::focusOutEvent(event0); + QSlider::focusOutEvent(event0); } -bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const +bool PythonQtShell_QSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1857,7 +1687,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1865,9 +1695,9 @@ if (_wrapper) { } } } - return QSplitterHandle::hasHeightForWidth(); + return QSlider::hasHeightForWidth(); } -int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const +int PythonQtShell_QSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1890,7 +1720,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1898,9 +1728,9 @@ if (_wrapper) { } } } - return QSplitterHandle::heightForWidth(arg__1); + return QSlider::heightForWidth(arg__1); } -void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) +void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1912,7 +1742,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1920,9 +1750,9 @@ if (_wrapper) { } } } - QSplitterHandle::hideEvent(event0); + QSlider::hideEvent(event0); } -void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const +void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1934,7 +1764,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1942,9 +1772,9 @@ if (_wrapper) { } } } - QSplitterHandle::initPainter(painter0); + QSlider::initPainter(painter0); } -void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1956,7 +1786,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1964,9 +1794,9 @@ if (_wrapper) { } } } - QSplitterHandle::inputMethodEvent(arg__1); + QSlider::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1989,7 +1819,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1997,9 +1827,9 @@ if (_wrapper) { } } } - return QSplitterHandle::inputMethodQuery(arg__1); + return QSlider::inputMethodQuery(arg__1); } -void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2009,9 +1839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2019,9 +1849,9 @@ if (_wrapper) { } } } - QSplitterHandle::keyPressEvent(event0); + QSlider::keyPressEvent(ev0); } -void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2033,7 +1863,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2041,9 +1871,9 @@ if (_wrapper) { } } } - QSplitterHandle::keyReleaseEvent(event0); + QSlider::keyReleaseEvent(event0); } -void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) +void PythonQtShell_QSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2055,7 +1885,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2063,9 +1893,9 @@ if (_wrapper) { } } } - QSplitterHandle::leaveEvent(event0); + QSlider::leaveEvent(event0); } -int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2088,7 +1918,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2096,14 +1926,14 @@ if (_wrapper) { } } } - return QSplitterHandle::metric(arg__1); + return QSlider::metric(arg__1); } -QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const +QSize PythonQtShell_QSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -2115,13 +1945,13 @@ if (_wrapper) { 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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2129,9 +1959,9 @@ if (_wrapper) { } } } - return QSplitterHandle::minimumSizeHint(); + return QSlider::minimumSizeHint(); } -void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2143,7 +1973,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2151,9 +1981,9 @@ if (_wrapper) { } } } - QSplitterHandle::mouseDoubleClickEvent(event0); + QSlider::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2163,9 +1993,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2173,9 +2003,9 @@ if (_wrapper) { } } } - QSplitterHandle::mouseMoveEvent(arg__1); + QSlider::mouseMoveEvent(ev0); } -void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2185,9 +2015,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2195,9 +2025,9 @@ if (_wrapper) { } } } - QSplitterHandle::mousePressEvent(arg__1); + QSlider::mousePressEvent(ev0); } -void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2207,9 +2037,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2217,9 +2047,9 @@ if (_wrapper) { } } } - QSplitterHandle::mouseReleaseEvent(arg__1); + QSlider::mouseReleaseEvent(ev0); } -void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) +void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2231,7 +2061,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2239,9 +2069,9 @@ if (_wrapper) { } } } - QSplitterHandle::moveEvent(event0); + QSlider::moveEvent(event0); } -bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2264,7 +2094,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2272,9 +2102,9 @@ if (_wrapper) { } } } - return QSplitterHandle::nativeEvent(eventType0, message1, result2); + return QSlider::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const +QPaintEngine* PythonQtShell_QSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2297,7 +2127,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2305,9 +2135,9 @@ if (_wrapper) { } } } - return QSplitterHandle::paintEngine(); + return QSlider::paintEngine(); } -void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2317,9 +2147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2327,9 +2157,9 @@ if (_wrapper) { } } } - QSplitterHandle::paintEvent(arg__1); + QSlider::paintEvent(ev0); } -QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2352,7 +2182,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2360,9 +2190,9 @@ if (_wrapper) { } } } - return QSplitterHandle::redirected(offset0); + return QSlider::redirected(offset0); } -void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2372,9 +2202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2382,9 +2212,9 @@ if (_wrapper) { } } } - QSplitterHandle::resizeEvent(arg__1); + QSlider::resizeEvent(event0); } -void PythonQtShell_QSplitterHandle::setVisible(bool visible0) +void PythonQtShell_QSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2396,7 +2226,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2404,9 +2234,9 @@ if (_wrapper) { } } } - QSplitterHandle::setVisible(visible0); + QSlider::setVisible(visible0); } -QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const +QPainter* PythonQtShell_QSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2429,7 +2259,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2437,9 +2267,9 @@ if (_wrapper) { } } } - return QSplitterHandle::sharedPainter(); + return QSlider::sharedPainter(); } -void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) +void PythonQtShell_QSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2451,7 +2281,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2459,9 +2289,9 @@ if (_wrapper) { } } } - QSplitterHandle::showEvent(event0); + QSlider::showEvent(event0); } -QSize PythonQtShell_QSplitterHandle::sizeHint() const +QSize PythonQtShell_QSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2484,7 +2314,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2492,21 +2322,21 @@ if (_wrapper) { } } } - return QSplitterHandle::sizeHint(); + return QSlider::sizeHint(); } -void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2514,21 +2344,21 @@ if (_wrapper) { } } } - QSplitterHandle::tabletEvent(event0); + QSlider::sliderChange(change0); } -void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* event0) +void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2536,21 +2366,43 @@ if (_wrapper) { } } } - QSplitterHandle::timerEvent(event0); + QSlider::tabletEvent(event0); } -void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_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*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2558,79 +2410,7790 @@ if (_wrapper) { } } } - QSplitterHandle::wheelEvent(event0); + QSlider::wheelEvent(e0); } -QSplitterHandle* PythonQtWrapper_QSplitterHandle::new_QSplitterHandle(Qt::Orientation o, QSplitter* parent) +QSlider* PythonQtWrapper_QSlider::new_QSlider(QWidget* parent) { -return new PythonQtShell_QSplitterHandle(o, parent); } +return new PythonQtShell_QSlider(parent); } -const QMetaObject* PythonQtShell_QSplitterHandle::metaObject() const { +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, &QSplitterHandle::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSlider::staticMetaObject); } else { - return &QSplitterHandle::staticMetaObject; + return &QSlider::staticMetaObject; } } -int PythonQtShell_QSplitterHandle::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSplitterHandle::qt_metacall(call, id, args); +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; } -int PythonQtWrapper_QSplitterHandle::closestLegalPosition(QSplitterHandle* theWrappedObject, int p) +void PythonQtWrapper_QSlider::initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const { - return ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_closestLegalPosition(p)); + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QSplitterHandle::moveSplitter(QSplitterHandle* theWrappedObject, int p) +QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->promoted_moveSplitter(p)); + return ( theWrappedObject->minimumSizeHint()); } -bool PythonQtWrapper_QSplitterHandle::opaqueResize(QSplitterHandle* theWrappedObject) const +void PythonQtWrapper_QSlider::setTickInterval(QSlider* theWrappedObject, int ti) { - return ( theWrappedObject->opaqueResize()); + ( theWrappedObject->setTickInterval(ti)); } -Qt::Orientation PythonQtWrapper_QSplitterHandle::orientation(QSplitterHandle* theWrappedObject) const +void PythonQtWrapper_QSlider::setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position) { - return ( theWrappedObject->orientation()); + ( theWrappedObject->setTickPosition(position)); } -void PythonQtWrapper_QSplitterHandle::setOrientation(QSplitterHandle* theWrappedObject, Qt::Orientation o) +QSize PythonQtWrapper_QSlider::sizeHint(QSlider* theWrappedObject) const { - ( theWrappedObject->setOrientation(o)); + return ( theWrappedObject->sizeHint()); } -QSize PythonQtWrapper_QSplitterHandle::sizeHint(QSplitterHandle* theWrappedObject) const +int PythonQtWrapper_QSlider::tickInterval(QSlider* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + 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(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); } - -QSplitter* PythonQtWrapper_QSplitterHandle::splitter(QSplitterHandle* theWrappedObject) const +int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { - return ( theWrappedObject->splitter()); +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(); + } + } } - - - -PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QStackedLayout::indexOf(arg__1); } -void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) +void PythonQtShell_QStackedLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("invalidate"); 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}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2638,32 +10201,32 @@ if (_wrapper) { } } } - QStackedLayout::addItem(item0); + QStackedLayout::invalidate(); } -int PythonQtShell_QStackedLayout::count() const +bool PythonQtShell_QStackedLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2671,32 +10234,65 @@ if (_wrapper) { } } } - return QStackedLayout::count(); + return QStackedLayout::isEmpty(); } -bool PythonQtShell_QStackedLayout::hasHeightForWidth() const +QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + 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); - bool returnValue{}; + 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("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2704,32 +10300,32 @@ if (_wrapper) { } } } - return QStackedLayout::hasHeightForWidth(); + return QStackedLayout::layout(); } -int PythonQtShell_QStackedLayout::heightForWidth(int width0) const +QSize PythonQtShell_QStackedLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("maximumSize"); 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}; + 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("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2737,32 +10333,32 @@ if (_wrapper) { } } } - return QStackedLayout::heightForWidth(width0); + return QStackedLayout::maximumSize(); } -QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const +int PythonQtShell_QStackedLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; + int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (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); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2770,7 +10366,7 @@ if (_wrapper) { } } } - return QStackedLayout::itemAt(arg__1); + return QStackedLayout::minimumHeightForWidth(arg__1); } QSize PythonQtShell_QStackedLayout::minimumSize() const { @@ -2795,7 +10391,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2817,7 +10413,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2850,7 +10446,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2860,6 +10456,39 @@ if (_wrapper) { } return QStackedLayout::sizeHint(); } +QSpacerItem* PythonQtShell_QStackedLayout::spacerItem() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("spacerItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSpacerItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStackedLayout::spacerItem(); +} QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { if (_wrapper) { @@ -2883,7 +10512,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2893,10 +10522,36 @@ if (_wrapper) { } 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); } @@ -2914,21 +10569,11 @@ int PythonQtShell_QStackedLayout::qt_metacall(QMetaObject::Call call, int id, vo int result = QStackedLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QStackedLayout::addItem(QStackedLayout* theWrappedObject, QLayoutItem* item) -{ - ( theWrappedObject->addItem(item)); -} - int PythonQtWrapper_QStackedLayout::addWidget(QStackedLayout* theWrappedObject, QWidget* w) { return ( theWrappedObject->addWidget(w)); } -int PythonQtWrapper_QStackedLayout::count(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - int PythonQtWrapper_QStackedLayout::currentIndex(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->currentIndex()); @@ -2939,56 +10584,21 @@ QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrapp return ( theWrappedObject->currentWidget()); } -bool PythonQtWrapper_QStackedLayout::hasHeightForWidth(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QStackedLayout::heightForWidth(QStackedLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w) { return ( theWrappedObject->insertWidget(index, w)); } -QLayoutItem* PythonQtWrapper_QStackedLayout::itemAt(QStackedLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->itemAt(arg__1)); -} - -QSize PythonQtWrapper_QStackedLayout::minimumSize(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -void PythonQtWrapper_QStackedLayout::setGeometry(QStackedLayout* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - void PythonQtWrapper_QStackedLayout::setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode) { ( theWrappedObject->setStackingMode(stackingMode)); } -QSize PythonQtWrapper_QStackedLayout::sizeHint(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - QStackedLayout::StackingMode PythonQtWrapper_QStackedLayout::stackingMode(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->stackingMode()); } -QLayoutItem* PythonQtWrapper_QStackedLayout::takeAt(QStackedLayout* theWrappedObject, int arg__1) -{ - return ( theWrappedObject->takeAt(arg__1)); -} - QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject, int arg__1) const { return ( theWrappedObject->widget(arg__1)); @@ -3012,7 +10622,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3034,7 +10644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3056,7 +10666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3078,7 +10688,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3100,7 +10710,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3122,7 +10732,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3155,7 +10765,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3177,7 +10787,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3199,7 +10809,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3221,7 +10831,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3243,7 +10853,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3265,7 +10875,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3298,7 +10908,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3331,7 +10941,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3353,7 +10963,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3386,7 +10996,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3408,7 +11018,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3441,7 +11051,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3474,7 +11084,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3496,7 +11106,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3518,7 +11128,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3540,7 +11150,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3573,7 +11183,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3595,7 +11205,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3617,7 +11227,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3639,7 +11249,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3672,7 +11282,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3705,7 +11315,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3727,7 +11337,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3749,7 +11359,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3771,7 +11381,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3793,7 +11403,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3815,7 +11425,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3848,7 +11458,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3881,7 +11491,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3903,7 +11513,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3936,7 +11546,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3958,7 +11568,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3980,7 +11590,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4013,7 +11623,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4035,7 +11645,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4068,7 +11678,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4090,7 +11700,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4112,7 +11722,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4134,7 +11744,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4230,7 +11840,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4263,7 +11873,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4285,7 +11895,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4307,7 +11917,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4340,7 +11950,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4362,7 +11972,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4856,7 +12466,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4889,7 +12499,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4922,7 +12532,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4944,7 +12554,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4977,7 +12587,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4999,7 +12609,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5032,7 +12642,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5065,7 +12675,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5098,7 +12708,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5131,7 +12741,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5153,7 +12763,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5186,7 +12796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5219,7 +12829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5252,7 +12862,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5285,7 +12895,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5318,7 +12928,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5351,7 +12961,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5384,7 +12994,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5417,7 +13027,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5450,7 +13060,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5483,7 +13093,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5516,7 +13126,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5549,7 +13159,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5582,7 +13192,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5615,7 +13225,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5648,7 +13258,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5670,7 +13280,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5703,7 +13313,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5736,7 +13346,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5769,7 +13379,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5802,7 +13412,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5835,7 +13445,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5868,7 +13478,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5890,7 +13500,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5923,7 +13533,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5956,7 +13566,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5989,7 +13599,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6022,7 +13632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6044,7 +13654,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6352,7 +13962,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6374,7 +13984,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6396,7 +14006,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6418,7 +14028,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6440,7 +14050,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6462,7 +14072,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6495,7 +14105,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6517,7 +14127,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6539,7 +14149,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6561,7 +14171,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6583,7 +14193,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6605,7 +14215,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6638,7 +14248,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6671,7 +14281,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6693,7 +14303,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6726,7 +14336,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6748,7 +14358,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6781,7 +14391,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6814,7 +14424,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6836,7 +14446,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6858,7 +14468,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6880,7 +14490,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6913,7 +14523,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6935,7 +14545,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6957,7 +14567,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6979,7 +14589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7012,7 +14622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7045,7 +14655,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7067,7 +14677,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7089,7 +14699,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7111,7 +14721,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7133,7 +14743,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7155,7 +14765,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7188,7 +14798,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7221,7 +14831,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7243,7 +14853,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7276,7 +14886,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7298,7 +14908,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7320,7 +14930,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7353,7 +14963,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7375,7 +14985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7408,7 +15018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7430,7 +15040,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7452,7 +15062,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7474,7 +15084,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7591,7 +15201,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7624,7 +15234,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7657,7 +15267,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7679,7 +15289,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7701,7 +15311,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7734,7 +15344,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7767,7 +15377,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7800,7 +15410,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7833,7 +15443,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7855,7 +15465,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7888,7 +15498,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7921,7 +15531,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7954,7 +15564,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7987,7 +15597,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8020,7 +15630,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8053,7 +15663,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8086,7 +15696,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8119,7 +15729,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8152,7 +15762,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8185,7 +15795,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8218,7 +15828,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8251,7 +15861,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8284,7 +15894,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8306,7 +15916,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8339,7 +15949,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8372,7 +15982,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8405,7 +16015,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8438,7 +16048,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8471,7 +16081,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8504,7 +16114,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8526,7 +16136,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8559,7 +16169,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8592,7 +16202,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8625,7 +16235,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8658,7 +16268,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8680,7 +16290,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9217,108 +16827,3 @@ QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV 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)); -} - - - -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); } - - - -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); } - - - -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); } - - - -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); } - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.h index df6804e5..8e402ff0 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -10,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -20,8 +22,11 @@ #include #include #include +#include #include +#include #include +#include #include #include #include @@ -35,9 +40,16 @@ #include #include #include +#include #include +#include #include +#include #include +#include +#include +#include +#include #include #include #include @@ -60,6 +72,652 @@ +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(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(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: @@ -117,7 +775,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitter : public QSplitter @@ -244,7 +902,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitterHandle : public QSplitterHandle @@ -296,23 +954,39 @@ 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(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout @@ -333,33 +1007,26 @@ class PythonQtWrapper_QStackedLayout : public QObject public: public slots: QStackedLayout* new_QStackedLayout(); +QStackedLayout* new_QStackedLayout(QLayout* parentLayout); QStackedLayout* new_QStackedLayout(QWidget* parent); void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } - void addItem(QStackedLayout* theWrappedObject, QLayoutItem* item); void py_q_addItem(QStackedLayout* theWrappedObject, QLayoutItem* item){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_addItem(item));} int addWidget(QStackedLayout* theWrappedObject, QWidget* w); - int count(QStackedLayout* theWrappedObject) const; int py_q_count(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_count());} int currentIndex(QStackedLayout* theWrappedObject) const; QWidget* currentWidget(QStackedLayout* theWrappedObject) const; - bool hasHeightForWidth(QStackedLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QStackedLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QStackedLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_heightForWidth(width));} int insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w); - QLayoutItem* itemAt(QStackedLayout* theWrappedObject, int arg__1) const; QLayoutItem* py_q_itemAt(QStackedLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_itemAt(arg__1));} - QSize minimumSize(QStackedLayout* theWrappedObject) const; QSize py_q_minimumSize(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_minimumSize());} - void setGeometry(QStackedLayout* theWrappedObject, const QRect& rect); void py_q_setGeometry(QStackedLayout* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); - QSize sizeHint(QStackedLayout* theWrappedObject) const; QSize py_q_sizeHint(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_sizeHint());} QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; - QLayoutItem* takeAt(QStackedLayout* theWrappedObject, int arg__1); 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(); } }; @@ -421,7 +1088,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedWidget : public QStackedWidget @@ -469,7 +1136,7 @@ void setData(const QVariant& value, int role = Qt::UserRole + 1) override; int type() const override; void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItem : public QStandardItem @@ -645,7 +1312,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItemModel : public QStandardItemModel @@ -830,7 +1497,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStatusBar : public QStatusBar @@ -933,7 +1600,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStringListModel : public QStringListModel @@ -1078,7 +1745,7 @@ class PythonQtShell_QStyleFactory : public QStyleFactory ~PythonQtShell_QStyleFactory(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleFactory : public QObject @@ -1103,7 +1770,7 @@ class PythonQtShell_QStyleHintReturn : public QStyleHintReturn ~PythonQtShell_QStyleHintReturn(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturn : public QObject @@ -1137,7 +1804,7 @@ class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask ~PythonQtShell_QStyleHintReturnMask(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturnMask : public QObject @@ -1167,7 +1834,7 @@ class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant ~PythonQtShell_QStyleHintReturnVariant(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturnVariant : public QObject @@ -1240,7 +1907,7 @@ class PythonQtShell_QStyleOption : public QStyleOption ~PythonQtShell_QStyleOption(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOption : public QObject @@ -1291,7 +1958,7 @@ class PythonQtShell_QStyleOptionButton : public QStyleOptionButton ~PythonQtShell_QStyleOptionButton(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionButton : public QObject @@ -1335,7 +2002,7 @@ class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox ~PythonQtShell_QStyleOptionComboBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionComboBox : public QObject @@ -1379,7 +2046,7 @@ class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget ~PythonQtShell_QStyleOptionDockWidget(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionDockWidget : public QObject @@ -1419,7 +2086,7 @@ class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 ~PythonQtShell_QStyleOptionDockWidgetV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject @@ -1448,7 +2115,7 @@ class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect ~PythonQtShell_QStyleOptionFocusRect(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFocusRect : public QObject @@ -1482,7 +2149,7 @@ class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame ~PythonQtShell_QStyleOptionFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrame : public QObject @@ -1524,7 +2191,7 @@ class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 ~PythonQtShell_QStyleOptionFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrameV2 : public QObject @@ -1540,274 +2207,3 @@ 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); -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; } -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; } -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; } -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; } -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; } -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index 7c19717a..6e07bdc2 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -2,42 +2,30 @@ #include #include #include -#include #include #include #include -#include -#include -#include #include #include #include #include -#include #include #include #include #include #include -#include -#include -#include #include #include -#include #include #include #include -#include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -47,25 +35,121 @@ #include #include #include -#include #include #include #include #include #include -#include -#include -#include -#include -#include -#include -#include #include #include #include #include #include -#include + +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)); +} + + + +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); } + + + +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); } + + + +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); } + + + +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); } + + PythonQtShell_QStyleOptionProgressBarV2::~PythonQtShell_QStyleOptionProgressBarV2() { PythonQtPrivate* priv = PythonQt::priv(); @@ -443,7 +527,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -476,7 +560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -498,7 +582,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -531,7 +615,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -564,7 +648,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -586,7 +670,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -636,7 +720,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -669,7 +753,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -691,7 +775,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -713,7 +797,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -746,7 +830,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -779,7 +863,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -812,7 +896,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -845,7 +929,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -878,7 +962,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -900,7 +984,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -922,7 +1006,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -955,7 +1039,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -977,7 +1061,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -999,7 +1083,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1032,7 +1116,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1054,7 +1138,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1076,7 +1160,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1124,2645 +1208,3 @@ void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelega } - -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)); -} - -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 arg__1) -{ - ( theWrappedObject->setElideMode(arg__1)); -} - -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 arg__2) -{ - ( theWrappedObject->setTabEnabled(index, arg__2)); -} - -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::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()); -} - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.h index df360353..5f9ab064 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -1,42 +1,29 @@ #include -#include #include #include #include #include -#include -#include -#include #include #include #include #include -#include #include #include #include #include -#include #include -#include -#include -#include #include #include -#include #include #include #include -#include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -46,27 +33,288 @@ #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_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); +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; } +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; } +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; } +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; } +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; } +}; + + @@ -78,7 +326,7 @@ class PythonQtShell_QStyleOptionProgressBarV2 : public QStyleOptionProgressBarV2 ~PythonQtShell_QStyleOptionProgressBarV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject @@ -107,7 +355,7 @@ class PythonQtShell_QStyleOptionRubberBand : public QStyleOptionRubberBand ~PythonQtShell_QStyleOptionRubberBand(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionRubberBand : public QObject @@ -143,7 +391,7 @@ class PythonQtShell_QStyleOptionSizeGrip : public QStyleOptionSizeGrip ~PythonQtShell_QStyleOptionSizeGrip(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSizeGrip : public QObject @@ -177,7 +425,7 @@ class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider ~PythonQtShell_QStyleOptionSlider(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSlider : public QObject @@ -233,7 +481,7 @@ class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox ~PythonQtShell_QStyleOptionSpinBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSpinBox : public QObject @@ -271,7 +519,7 @@ class PythonQtShell_QStyleOptionTab : public QStyleOptionTab ~PythonQtShell_QStyleOptionTab(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTab : public QObject @@ -338,7 +586,7 @@ class PythonQtShell_QStyleOptionTabBarBase : public QStyleOptionTabBarBase ~PythonQtShell_QStyleOptionTabBarBase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBase : public QObject @@ -376,7 +624,7 @@ class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 ~PythonQtShell_QStyleOptionTabBarBaseV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject @@ -403,7 +651,7 @@ class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 ~PythonQtShell_QStyleOptionTabV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV2 : public QObject @@ -430,7 +678,7 @@ class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 ~PythonQtShell_QStyleOptionTabV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV3 : public QObject @@ -459,7 +707,7 @@ class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFra ~PythonQtShell_QStyleOptionTabWidgetFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject @@ -505,7 +753,7 @@ class PythonQtShell_QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetF ~PythonQtShell_QStyleOptionTabWidgetFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrameV2 : public QObject @@ -534,7 +782,7 @@ class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar ~PythonQtShell_QStyleOptionTitleBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTitleBar : public QObject @@ -574,7 +822,7 @@ class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar ~PythonQtShell_QStyleOptionToolBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBar : public QObject @@ -624,7 +872,7 @@ class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox ~PythonQtShell_QStyleOptionToolBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBox : public QObject @@ -666,7 +914,7 @@ class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 ~PythonQtShell_QStyleOptionToolBoxV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject @@ -695,7 +943,7 @@ class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton ~PythonQtShell_QStyleOptionToolButton(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolButton : public QObject @@ -747,7 +995,7 @@ class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem ~PythonQtShell_QStyleOptionViewItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItem : public QObject @@ -816,7 +1064,7 @@ class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 ~PythonQtShell_QStyleOptionViewItemV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject @@ -843,7 +1091,7 @@ class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 ~PythonQtShell_QStyleOptionViewItemV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject @@ -870,7 +1118,7 @@ class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 ~PythonQtShell_QStyleOptionViewItemV4(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject @@ -927,7 +1175,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin @@ -976,7 +1224,7 @@ void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate @@ -1019,476 +1267,3 @@ void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } }; - - - -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; - 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 arg__1); - 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 arg__2); - 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 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));} -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp index 0db257c2..f100efce 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -258,6 +258,14 @@ static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **clas *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) @@ -429,10 +437,11 @@ PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCr 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, 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()->registerClass(&QColumnView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -474,7 +483,8 @@ PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQ 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, 0); +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); @@ -499,6 +509,8 @@ PythonQt::priv()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtC 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); @@ -523,10 +535,11 @@ PythonQt::priv()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", P 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::priv()->registerClass(&QGridLayout::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, 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); @@ -555,6 +568,8 @@ PythonQt::priv()->registerClass(&QKeyEventTransition::staticMetaObject, "QtGui", 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); @@ -563,7 +578,6 @@ PythonQt::priv()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQ 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()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QMdiArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMdiSubWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMenu::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); @@ -574,7 +588,7 @@ PythonQt::priv()->registerClass(&QMouseEventTransition::staticMetaObject, "QtGui 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, nullptr, module, PythonQt::Type_NonZero); +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); @@ -596,10 +610,12 @@ PythonQt::priv()->registerClass(&QOpenGLWindow::staticMetaObject, "QtGui", Pytho 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, PythonQtSetInstanceWrapperOnShell, module, 0); +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); @@ -617,7 +633,7 @@ PythonQt::self()->addParentClass("QPicture", "QPaintDevice",PythonQtUpcastingOff 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, 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); @@ -646,11 +662,13 @@ PythonQt::priv()->registerClass(&QRegularExpressionValidator::staticMetaObject, 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(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -665,7 +683,7 @@ PythonQt::priv()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCr 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, 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); @@ -771,7 +789,6 @@ PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject 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()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QTreeView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTreeWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTreeWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); @@ -779,7 +796,7 @@ PythonQt::priv()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateOb 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, 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); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp index 26da4ee6..ec64cd89 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -36,15 +37,19 @@ #include #include #include +#include #include #include #include +#include #include #include #include #include #include #include +#include +#include #include PythonQtShell_QBitmap::~PythonQtShell_QBitmap() { @@ -74,7 +79,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -96,7 +101,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -129,7 +134,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -162,7 +167,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -195,7 +200,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -228,7 +233,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -267,11 +272,6 @@ void PythonQtWrapper_QBitmap::clear(QBitmap* theWrappedObject) ( theWrappedObject->clear()); } -QBitmap PythonQtWrapper_QBitmap::static_QBitmap_fromImage(QImage& image, Qt::ImageConversionFlags flags) -{ - return (QBitmap::fromImage(image, flags)); -} - QBitmap PythonQtWrapper_QBitmap::static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags) { return (QBitmap::fromImage(image, flags)); @@ -448,10 +448,6 @@ QColor* PythonQtWrapper_QColor::new_QColor() { return new QColor(); } -QColor* PythonQtWrapper_QColor::new_QColor(QLatin1String name) -{ -return new QColor(name); } - QColor* PythonQtWrapper_QColor::new_QColor(QRgba64 rgba64) { return new QColor(rgba64); } @@ -666,11 +662,6 @@ bool PythonQtWrapper_QColor::isValid(QColor* theWrappedObject) const return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QColor::static_QColor_isValidColor(QLatin1String arg__1) -{ - return (QColor::isValidColor(arg__1)); -} - bool PythonQtWrapper_QColor::static_QColor_isValidColor(const QString& name) { return (QColor::isValidColor(name)); @@ -826,11 +817,6 @@ void PythonQtWrapper_QColor::setHsvF(QColor* theWrappedObject, qreal h, qreal ( theWrappedObject->setHsvF(h, s, v, a)); } -void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, QLatin1String name) -{ - ( theWrappedObject->setNamedColor(name)); -} - void PythonQtWrapper_QColor::setNamedColor(QColor* theWrappedObject, const QString& name) { ( theWrappedObject->setNamedColor(name)); @@ -990,6 +976,21 @@ 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)); @@ -1614,7 +1615,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1636,7 +1637,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1669,7 +1670,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1702,7 +1703,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1735,7 +1736,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1768,7 +1769,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2168,6 +2169,11 @@ 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)); @@ -2337,9 +2343,9 @@ bool PythonQtWrapper_QKeySequence::__ge__(QKeySequence* theWrappedObject, const return ( (*theWrappedObject)>= other); } -void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& out) +void PythonQtWrapper_QKeySequence::readFrom(QKeySequence* theWrappedObject, QDataStream& in) { - out >> (*theWrappedObject); + in >> (*theWrappedObject); } int PythonQtWrapper_QKeySequence::operator_subscript(QKeySequence* theWrappedObject, uint i) const @@ -2546,6 +2552,359 @@ QString PythonQtWrapper_QMatrix::py_toString(QMatrix* obj) { +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(); } @@ -2990,7 +3349,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3012,7 +3371,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3045,7 +3404,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3078,7 +3437,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3111,7 +3470,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3144,7 +3503,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3613,11 +3972,6 @@ void PythonQtWrapper_QPolygon::pop_front(QPolygon* theWrappedObject) ( theWrappedObject->pop_front()); } -void PythonQtWrapper_QPolygon::prepend(QPolygon* theWrappedObject, QPoint& t) -{ - ( theWrappedObject->prepend(t)); -} - void PythonQtWrapper_QPolygon::prepend(QPolygon* theWrappedObject, const QPoint& t) { ( theWrappedObject->prepend(t)); @@ -4439,3 +4793,337 @@ QString PythonQtWrapper_QTextLength::py_toString(QTextLength* obj) { } + +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.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h index 3aa4b470..2dbf000f 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -34,15 +35,19 @@ #include #include #include +#include #include #include #include +#include #include #include #include #include #include #include +#include +#include #include @@ -66,7 +71,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QBitmap : public QObject @@ -81,7 +86,6 @@ 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(QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); 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); @@ -145,7 +149,6 @@ enum Spec{ Invalid = QColor::Invalid, Rgb = QColor::Rgb, Hsv = QColor::Hsv, Cmyk = QColor::Cmyk, Hsl = QColor::Hsl}; public slots: QColor* new_QColor(); -QColor* new_QColor(QLatin1String name); QColor* new_QColor(QRgba64 rgba64); QColor* new_QColor(Qt::GlobalColor color); QColor* new_QColor(const QColor& color); @@ -191,7 +194,6 @@ void delete_QColor(QColor* obj) { delete obj; } int hue(QColor* theWrappedObject) const; qreal hueF(QColor* theWrappedObject) const; bool isValid(QColor* theWrappedObject) const; - bool static_QColor_isValidColor(QLatin1String arg__1); bool static_QColor_isValidColor(const QString& name); QColor lighter(QColor* theWrappedObject, int f = 150) const; int lightness(QColor* theWrappedObject) const; @@ -223,7 +225,6 @@ void delete_QColor(QColor* obj) { delete obj; } 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, QLatin1String name); void setNamedColor(QColor* theWrappedObject, const QString& name); void setRed(QColor* theWrappedObject, int red); void setRedF(QColor* theWrappedObject, qreal red); @@ -268,6 +269,9 @@ void delete_QCursor(QCursor* obj) { delete obj; } 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); @@ -457,7 +461,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImage : public QImage @@ -567,6 +571,7 @@ void delete_QImage(QImage* obj) { delete obj; } 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; @@ -586,7 +591,11 @@ void delete_QImage(QImage* obj) { delete obj; } 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; } @@ -594,7 +603,11 @@ PyObject* bits(QImage* image) { return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height()); } -#if QT_VERSION >= QT_VERSION_CHECK(4,7,0) +#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()); } @@ -649,7 +662,7 @@ void delete_QKeySequence(QKeySequence* obj) { delete obj; } 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& out); + 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; @@ -709,6 +722,92 @@ void delete_QMatrix(QMatrix* obj) { delete obj; } +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: @@ -838,7 +937,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPixmap : public QPixmap @@ -962,7 +1061,6 @@ void delete_QPolygon(QPolygon* obj) { delete obj; } void readFrom(QPolygon* theWrappedObject, QDataStream& stream); void pop_back(QPolygon* theWrappedObject); void pop_front(QPolygon* theWrappedObject); - void prepend(QPolygon* theWrappedObject, QPoint& t); void prepend(QPolygon* theWrappedObject, const QPoint& t); void push_back(QPolygon* theWrappedObject, const QPoint& t); void push_front(QPolygon* theWrappedObject, const QPoint& t); @@ -1210,3 +1308,84 @@ void delete_QTextLength(QTextLength* obj) { delete obj; } }; + + + +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.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp index 1c8e83f2..4e48e23b 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp @@ -14,6 +14,7 @@ PythonQt::priv()->registerCPPClass("QImage", "", "QtGui", PythonQtCreateObject

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); @@ -23,6 +24,7 @@ PythonQt::priv()->registerCPPClass("QRegion", "", "QtGui", PythonQtCreateObject< 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.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index 8e868e22..cd453358 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -55,7 +56,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -77,7 +78,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -110,7 +111,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -143,7 +144,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -176,7 +177,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -209,7 +210,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -242,7 +243,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -275,7 +276,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -308,7 +309,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -341,7 +342,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -374,7 +375,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -407,7 +408,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -440,7 +441,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -462,7 +463,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -563,7 +564,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -596,7 +597,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -618,7 +619,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -640,7 +641,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -673,7 +674,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -706,7 +707,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -739,7 +740,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -772,7 +773,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -805,7 +806,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -838,7 +839,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -871,7 +872,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -904,7 +905,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -926,7 +927,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -948,7 +949,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -970,7 +971,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -992,7 +993,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1014,7 +1015,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1036,7 +1037,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1069,7 +1070,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1091,7 +1092,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1124,7 +1125,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1146,7 +1147,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1168,7 +1169,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1190,7 +1191,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1223,7 +1224,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1379,7 +1380,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1412,7 +1413,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1445,7 +1446,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1467,7 +1468,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1489,7 +1490,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1522,7 +1523,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1555,7 +1556,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1588,7 +1589,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1621,7 +1622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1654,7 +1655,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1687,7 +1688,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1720,7 +1721,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1753,7 +1754,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1775,7 +1776,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1797,7 +1798,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1819,7 +1820,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1841,7 +1842,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1863,7 +1864,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1885,7 +1886,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1907,7 +1908,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1940,7 +1941,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1962,7 +1963,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1995,7 +1996,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2017,7 +2018,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2039,7 +2040,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2061,7 +2062,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2094,7 +2095,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2260,7 +2261,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2293,7 +2294,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2326,7 +2327,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2348,7 +2349,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2370,7 +2371,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2432,7 +2433,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2454,7 +2455,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2487,7 +2488,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2520,7 +2521,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2553,7 +2554,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2586,7 +2587,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2619,7 +2620,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2652,7 +2653,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2674,7 +2675,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2707,7 +2708,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2729,7 +2730,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2925,7 +2926,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2958,7 +2959,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2980,7 +2981,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3002,7 +3003,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3035,7 +3036,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3068,7 +3069,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3101,7 +3102,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3134,7 +3135,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3156,7 +3157,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3178,7 +3179,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3304,7 +3305,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3337,7 +3338,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3359,7 +3360,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3381,7 +3382,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3414,7 +3415,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3447,7 +3448,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3480,7 +3481,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3513,7 +3514,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3546,7 +3547,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3568,7 +3569,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3590,7 +3591,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3612,7 +3613,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3645,7 +3646,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3678,7 +3679,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3700,7 +3701,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3733,7 +3734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3755,7 +3756,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3777,7 +3778,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4103,7 +4104,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4125,7 +4126,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4158,7 +4159,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4180,7 +4181,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4213,7 +4214,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4246,7 +4247,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4268,7 +4269,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4301,7 +4302,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4334,7 +4335,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4356,7 +4357,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4558,7 +4559,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4580,7 +4581,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4613,7 +4614,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4646,7 +4647,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4668,7 +4669,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4823,7 +4824,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4856,7 +4857,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4878,7 +4879,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4900,7 +4901,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4933,7 +4934,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4966,7 +4967,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4999,7 +5000,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5032,7 +5033,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5054,7 +5055,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5076,7 +5077,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5141,7 +5142,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5163,7 +5164,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5196,7 +5197,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5229,7 +5230,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5251,7 +5252,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5416,7 +5417,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5449,7 +5450,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5471,7 +5472,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5493,7 +5494,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5526,7 +5527,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5559,7 +5560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5592,7 +5593,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5625,7 +5626,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5647,7 +5648,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5669,7 +5670,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5734,7 +5735,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5756,7 +5757,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5789,7 +5790,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5822,7 +5823,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5844,7 +5845,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5904,7 +5905,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5926,7 +5927,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5959,7 +5960,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5992,7 +5993,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6025,7 +6026,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6058,7 +6059,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6080,7 +6081,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6156,7 +6157,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6178,7 +6179,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6200,7 +6201,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6233,7 +6234,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6266,7 +6267,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6288,7 +6289,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6321,7 +6322,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6343,7 +6344,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6414,7 +6415,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6447,7 +6448,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6480,7 +6481,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6513,7 +6514,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6576,7 +6577,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6609,7 +6610,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6642,7 +6643,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6675,7 +6676,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6751,7 +6752,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6784,7 +6785,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6806,7 +6807,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6828,7 +6829,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6861,7 +6862,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6894,7 +6895,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6927,7 +6928,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6960,7 +6961,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6982,7 +6983,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7004,7 +7005,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7192,7 +7193,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7214,7 +7215,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7236,7 +7237,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7269,7 +7270,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7302,7 +7303,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7324,7 +7325,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7357,7 +7358,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7379,7 +7380,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7450,7 +7451,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7472,7 +7473,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7494,7 +7495,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7527,7 +7528,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7560,7 +7561,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7593,7 +7594,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7615,7 +7616,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7637,7 +7638,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7708,7 +7709,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7741,7 +7742,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7763,7 +7764,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7785,7 +7786,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7818,7 +7819,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7851,7 +7852,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7884,7 +7885,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7906,7 +7907,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7928,7 +7929,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7961,7 +7962,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7994,7 +7995,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8016,7 +8017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8209,7 +8210,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8231,7 +8232,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8253,7 +8254,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8286,7 +8287,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8319,7 +8320,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8352,7 +8353,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8385,7 +8386,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8418,7 +8419,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8451,7 +8452,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8473,7 +8474,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8543,7 +8544,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8565,7 +8566,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8598,7 +8599,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8631,7 +8632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8664,7 +8665,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8697,7 +8698,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8719,7 +8720,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8752,7 +8753,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8785,7 +8786,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8807,7 +8808,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8877,7 +8878,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8899,7 +8900,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8932,7 +8933,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8965,7 +8966,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8998,7 +8999,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9031,7 +9032,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9064,7 +9065,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9086,7 +9087,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9108,7 +9109,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h index fa31b9b1..71f89189 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h @@ -77,7 +77,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo @@ -158,7 +158,7 @@ qreal volume() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioInput : public QAbstractAudioInput @@ -274,7 +274,7 @@ qreal volume() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioOutput : public QAbstractAudioOutput @@ -372,7 +372,7 @@ QAbstractVideoBuffer::MapMode mapMode() const override; void release() override; void unmap() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoBuffer : public QAbstractVideoBuffer @@ -433,7 +433,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoSurface : public QAbstractVideoSurface @@ -550,7 +550,7 @@ void unbind(QObject* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoder : public QAudioDecoder @@ -615,7 +615,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoderControl : public QAudioDecoderControl @@ -758,7 +758,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl @@ -851,7 +851,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioInput : public QObject @@ -906,7 +906,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioInputSelectorControl : public QAudioInputSelectorControl @@ -955,7 +955,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioOutput : public QObject @@ -1012,7 +1012,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioOutputSelectorControl : public QAudioOutputSelectorControl @@ -1060,7 +1060,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioProbe : public QObject @@ -1095,7 +1095,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioRecorder : public QObject @@ -1132,7 +1132,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioRoleControl : public QAudioRoleControl @@ -1172,7 +1172,7 @@ QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::M QAbstractAudioInput* createInput(const QByteArray& device) override; QAbstractAudioOutput* createOutput(const QByteArray& device) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface @@ -1217,7 +1217,7 @@ QAbstractAudioOutput* createOutput(const QByteArray& device) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemPlugin : public QAudioSystemPlugin @@ -1271,7 +1271,7 @@ void unbind(QObject* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCamera : public QCamera @@ -1345,7 +1345,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl @@ -1391,7 +1391,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl @@ -1441,7 +1441,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraControl : public QCameraControl @@ -1539,7 +1539,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraExposureControl : public QCameraExposureControl @@ -1593,7 +1593,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFeedbackControl : public QCameraFeedbackControl @@ -1649,7 +1649,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFlashControl : public QCameraFlashControl diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index cb0649cc..a7965cc9 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -25,11 +25,16 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include #include +#include #include #include #include @@ -48,9 +53,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -59,6 +66,7 @@ #include #include #include +#include #include #include #include @@ -158,7 +166,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -180,7 +188,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -213,7 +221,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -246,7 +254,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -279,7 +287,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -312,7 +320,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -345,7 +353,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -378,7 +386,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -411,7 +419,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -444,7 +452,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -466,7 +474,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -488,7 +496,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -510,7 +518,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -532,7 +540,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -671,7 +679,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -693,7 +701,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -726,7 +734,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -759,7 +767,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -792,7 +800,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -825,7 +833,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -847,7 +855,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -972,7 +980,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1005,7 +1013,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1027,7 +1035,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1049,7 +1057,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1082,7 +1090,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1115,7 +1123,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1148,7 +1156,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1181,7 +1189,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1203,7 +1211,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1225,7 +1233,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1392,7 +1400,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1414,7 +1422,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1447,7 +1455,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1480,7 +1488,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1513,7 +1521,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1546,7 +1554,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1579,7 +1587,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1601,7 +1609,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1623,7 +1631,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1770,7 +1778,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1803,7 +1811,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1825,7 +1833,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1847,7 +1855,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1880,7 +1888,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1913,7 +1921,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1935,7 +1943,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1990,7 +1998,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2012,7 +2020,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2045,7 +2053,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2078,7 +2086,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2111,7 +2119,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2133,7 +2141,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2166,7 +2174,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2188,7 +2196,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2210,7 +2218,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2275,7 +2283,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2297,7 +2305,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2319,7 +2327,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2341,7 +2349,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2363,7 +2371,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2385,7 +2393,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2418,7 +2426,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2440,7 +2448,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2462,7 +2470,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2484,7 +2492,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2506,7 +2514,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2528,7 +2536,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2561,7 +2569,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2594,7 +2602,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2616,7 +2624,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2649,7 +2657,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2671,7 +2679,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2704,7 +2712,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2737,7 +2745,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2759,7 +2767,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2781,7 +2789,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2803,7 +2811,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2836,7 +2844,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2858,7 +2866,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2880,7 +2888,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2902,7 +2910,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2935,7 +2943,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2968,7 +2976,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3001,7 +3009,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3023,7 +3031,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3045,7 +3053,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3067,7 +3075,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3089,7 +3097,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3111,7 +3119,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3144,7 +3152,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3177,7 +3185,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3199,7 +3207,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3232,7 +3240,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3254,7 +3262,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3287,7 +3295,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3309,7 +3317,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3342,7 +3350,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3364,7 +3372,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3397,7 +3405,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3419,7 +3427,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3441,7 +3449,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3463,7 +3471,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3525,6 +3533,11 @@ QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::operator_ 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()); @@ -3598,7 +3611,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3620,7 +3633,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3653,7 +3666,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3686,7 +3699,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3719,7 +3732,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3741,7 +3754,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3763,7 +3776,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3796,7 +3809,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3856,7 +3869,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3878,7 +3891,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3911,7 +3924,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3944,7 +3957,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3966,7 +3979,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3999,7 +4012,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4021,7 +4034,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4054,7 +4067,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4114,7 +4127,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4147,7 +4160,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4180,7 +4193,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4202,7 +4215,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4235,7 +4248,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4268,7 +4281,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4301,7 +4314,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4334,7 +4347,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4367,7 +4380,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4400,7 +4413,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4422,7 +4435,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4444,7 +4457,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4536,6 +4549,28 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsVideoItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsVideoItem::boundingRect() const { if (_wrapper) { @@ -4559,7 +4594,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4569,66 +4604,52 @@ if (_wrapper) { } return QGraphicsVideoItem::boundingRect(); } -QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("childEvent"); 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}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsVideoItem::itemChange(change0, value1); + QGraphicsVideoItem::childEvent(event0); } -QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const +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("mediaObject"); + static PyObject* name = PyString_FromString("collidesWithItem"); 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}; + 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("mediaObject", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QMediaObject**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4636,54 +4657,65 @@ if (_wrapper) { } } } - return QGraphicsVideoItem::mediaObject(); + return QGraphicsVideoItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +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("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsVideoItem::paint(painter0, option1, widget2); + return QGraphicsVideoItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) +bool PythonQtShell_QGraphicsVideoItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&object0}; + 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("setMediaObject", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4691,21 +4723,21 @@ if (_wrapper) { } } } - return QGraphicsVideoItem::setMediaObject(object0); + return QGraphicsVideoItem::contains(point0); } -void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsVideoItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4713,88 +4745,985 @@ if (_wrapper) { } } } - QGraphicsVideoItem::timerEvent(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; + QGraphicsVideoItem::contextMenuEvent(event0); } -Qt::AspectRatioMode PythonQtWrapper_QGraphicsVideoItem::aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { - return ( theWrappedObject->aspectRatioMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsVideoItem::boundingRect(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); + QGraphicsVideoItem::customEvent(event0); } - -QVariant PythonQtWrapper_QGraphicsVideoItem::itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +void PythonQtShell_QGraphicsVideoItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_itemChange(change, value)); +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(); + } + } } - -QMediaObject* PythonQtWrapper_QGraphicsVideoItem::mediaObject(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); + QGraphicsVideoItem::dragEnterEvent(event0); } - -QSizeF PythonQtWrapper_QGraphicsVideoItem::nativeSize(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->nativeSize()); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsVideoItem::offset(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->offset()); + QGraphicsVideoItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsVideoItem::paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +void PythonQtShell_QGraphicsVideoItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->paint(painter, option, widget)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode) -{ - ( theWrappedObject->setAspectRatioMode(mode)); + QGraphicsVideoItem::dragMoveEvent(event0); } - -bool PythonQtWrapper_QGraphicsVideoItem::setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object) +void PythonQtShell_QGraphicsVideoItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_setMediaObject(object)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset) -{ - ( theWrappedObject->setOffset(offset)); + QGraphicsVideoItem::dropEvent(event0); } - -void PythonQtWrapper_QGraphicsVideoItem::setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size) +bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { - ( theWrappedObject->setSize(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -QSizeF PythonQtWrapper_QGraphicsVideoItem::size(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->size()); + return QGraphicsVideoItem::event(ev0); } - -void PythonQtWrapper_QGraphicsVideoItem::timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event) +bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* watched0, QEvent* event1) { - ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_timerEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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()); } @@ -4815,7 +5744,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4837,7 +5766,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4870,7 +5799,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4903,7 +5832,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4936,7 +5865,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4969,7 +5898,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4991,7 +5920,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5024,7 +5953,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5057,7 +5986,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5079,7 +6008,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5234,7 +6163,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5256,7 +6185,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5289,7 +6218,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5322,7 +6251,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5344,7 +6273,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5400,7 +6329,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5422,7 +6351,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5444,7 +6373,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5477,7 +6406,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5510,7 +6439,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5532,7 +6461,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5593,7 +6522,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5626,7 +6555,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5668,7 +6597,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5701,7 +6630,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5734,7 +6663,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5756,7 +6685,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5789,7 +6718,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5822,7 +6751,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5844,7 +6773,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5877,7 +6806,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5899,7 +6828,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6039,7 +6968,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6061,7 +6990,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6094,7 +7023,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6127,7 +7056,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6149,7 +7078,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6194,7 +7123,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6227,7 +7156,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6249,7 +7178,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6282,7 +7211,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6315,7 +7244,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6348,7 +7277,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6381,7 +7310,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6403,7 +7332,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6425,7 +7354,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6447,7 +7376,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6517,7 +7446,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6550,7 +7479,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6572,7 +7501,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6605,7 +7534,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6638,7 +7567,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6660,7 +7589,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6682,7 +7611,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6748,7 +7677,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6781,7 +7710,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6803,7 +7732,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6825,7 +7754,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6858,7 +7787,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6891,7 +7820,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6924,7 +7853,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6957,7 +7886,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6979,7 +7908,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7001,7 +7930,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7117,7 +8046,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7150,7 +8079,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7172,7 +8101,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7194,7 +8123,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7227,7 +8156,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7260,7 +8189,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7293,7 +8222,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7326,7 +8255,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7348,7 +8277,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7370,7 +8299,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7571,7 +8500,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7604,7 +8533,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7626,7 +8555,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7648,7 +8577,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7681,7 +8610,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7714,7 +8643,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7747,7 +8676,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7780,7 +8709,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7813,7 +8742,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7846,7 +8775,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7879,7 +8808,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7912,7 +8841,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7945,7 +8874,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7978,7 +8907,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8000,7 +8929,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8022,7 +8951,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8055,7 +8984,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8088,7 +9017,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8110,7 +9039,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8132,7 +9061,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8154,7 +9083,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8176,7 +9105,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8198,7 +9127,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8231,7 +9160,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8253,7 +9182,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8275,7 +9204,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8308,7 +9237,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h index 3c70b233..fe042bf1 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h @@ -30,12 +30,17 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include #include #include +#include #include #include #include @@ -62,9 +67,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -73,6 +80,7 @@ #include #include #include +#include #include #include #include @@ -135,7 +143,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFocusControl : public QCameraFocusControl @@ -223,7 +231,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCapture : public QCameraImageCapture @@ -290,7 +298,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCaptureControl : public QCameraImageCaptureControl @@ -372,7 +380,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageProcessingControl : public QCameraImageProcessingControl @@ -446,7 +454,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraInfoControl : public QCameraInfoControl @@ -490,7 +498,7 @@ void unlock(QCamera::LockTypes locks) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraLocksControl : public QCameraLocksControl @@ -578,7 +586,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinder : public QCameraViewfinder @@ -614,6 +622,7 @@ void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete o 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; @@ -650,7 +659,7 @@ QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParame const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl @@ -699,7 +708,7 @@ QCameraViewfinderSettings viewfinderSettings() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 @@ -749,7 +758,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraZoomControl : public QCameraZoomControl @@ -798,7 +807,7 @@ class PythonQtShell_QCamera__FrameRateRange : public QCamera::FrameRateRange ~PythonQtShell_QCamera__FrameRateRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QCamera__FrameRateRange : public QObject @@ -825,18 +834,54 @@ class PythonQtShell_QGraphicsVideoItem : public QGraphicsVideoItem public: PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsVideoItem(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsVideoItem : public QGraphicsVideoItem @@ -859,23 +904,17 @@ public slots: QGraphicsVideoItem* new_QGraphicsVideoItem(QGraphicsItem* parent = nullptr); void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsVideoItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_boundingRect());} - QVariant itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_itemChange(change, value));} - QMediaObject* mediaObject(QGraphicsVideoItem* theWrappedObject) const; QMediaObject* py_q_mediaObject(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_mediaObject());} QSizeF nativeSize(QGraphicsVideoItem* theWrappedObject) const; QPointF offset(QGraphicsVideoItem* theWrappedObject) const; - void paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_paint(painter, option, widget));} void setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode); - bool setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object); 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 timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_timerEvent(event));} }; @@ -903,7 +942,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageEncoderControl : public QImageEncoderControl @@ -981,7 +1020,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaAudioProbeControl : public QObject @@ -1012,7 +1051,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaAvailabilityControl : public QMediaAvailabilityControl @@ -1044,7 +1083,7 @@ class PythonQtShell_QMediaBindableInterface : public QMediaBindableInterface QMediaObject* mediaObject() const override; bool setMediaObject(QMediaObject* object) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaBindableInterface : public QMediaBindableInterface @@ -1089,7 +1128,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaContainerControl : public QMediaContainerControl @@ -1163,7 +1202,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaControl : public QObject @@ -1198,7 +1237,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl @@ -1249,7 +1288,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaNetworkAccessControl : public QMediaNetworkAccessControl @@ -1294,7 +1333,7 @@ void unbind(QObject* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaObject : public QMediaObject @@ -1357,7 +1396,7 @@ void unbind(QObject* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayer : public QMediaPlayer @@ -1453,7 +1492,7 @@ int volume() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayerControl : public QMediaPlayerControl diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp index bc385c27..91f32cb8 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -47,7 +48,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -69,7 +70,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -102,7 +103,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -135,7 +136,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -168,7 +169,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -201,7 +202,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -223,7 +224,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -393,7 +394,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -415,7 +416,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -448,7 +449,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -481,7 +482,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -514,7 +515,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -547,7 +548,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -569,7 +570,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -779,7 +780,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -801,7 +802,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -823,7 +824,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -856,7 +857,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -889,7 +890,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -922,7 +923,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -955,7 +956,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -988,7 +989,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1010,7 +1011,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1043,7 +1044,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1065,7 +1066,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1087,7 +1088,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1120,7 +1121,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1153,7 +1154,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1175,7 +1176,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1208,7 +1209,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1441,7 +1442,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1463,7 +1464,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1496,7 +1497,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1529,7 +1530,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1551,7 +1552,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1584,7 +1585,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1606,7 +1607,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1672,7 +1673,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1705,7 +1706,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1758,7 +1759,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1806,7 +1807,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1828,7 +1829,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1948,7 +1949,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1970,7 +1971,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2036,7 +2037,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2069,7 +2070,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2122,7 +2123,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2155,7 +2156,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2197,7 +2198,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2219,7 +2220,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2252,7 +2253,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2285,7 +2286,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2318,7 +2319,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2351,7 +2352,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2373,7 +2374,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2406,7 +2407,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2439,7 +2440,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2461,7 +2462,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2552,6 +2553,11 @@ bool PythonQtWrapper_QMediaTimeInterval::__ne__(QMediaTimeInterval* theWrappedO 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); @@ -2725,7 +2731,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2747,7 +2753,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2780,7 +2786,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2813,7 +2819,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2835,7 +2841,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2891,7 +2897,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2913,7 +2919,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2935,7 +2941,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2968,7 +2974,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3001,7 +3007,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3034,7 +3040,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3067,7 +3073,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3089,7 +3095,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3160,7 +3166,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3182,7 +3188,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3204,7 +3210,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3237,7 +3243,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3270,7 +3276,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3303,7 +3309,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3336,7 +3342,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3369,7 +3375,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3391,7 +3397,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3413,7 +3419,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3485,7 +3491,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3507,7 +3513,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3540,7 +3546,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3573,7 +3579,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3606,7 +3612,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3639,7 +3645,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3661,7 +3667,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3751,7 +3757,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3773,7 +3779,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3806,7 +3812,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3839,7 +3845,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3872,7 +3878,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3905,7 +3911,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3938,7 +3944,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3971,7 +3977,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4004,7 +4010,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4037,7 +4043,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4059,7 +4065,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4092,7 +4098,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4125,7 +4131,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4147,7 +4153,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4248,7 +4254,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4281,7 +4287,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4303,7 +4309,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4325,7 +4331,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4358,7 +4364,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4391,7 +4397,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4424,7 +4430,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4457,7 +4463,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4479,7 +4485,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4501,7 +4507,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4642,7 +4648,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4664,7 +4670,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4686,7 +4692,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4708,7 +4714,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4741,7 +4747,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4774,7 +4780,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4807,7 +4813,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4840,7 +4846,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4873,7 +4879,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4906,7 +4912,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4939,7 +4945,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4972,7 +4978,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5005,7 +5011,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5038,7 +5044,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5071,7 +5077,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5104,7 +5110,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5126,7 +5132,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5148,7 +5154,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5170,7 +5176,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5192,7 +5198,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5214,7 +5220,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5236,7 +5242,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5258,7 +5264,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5280,7 +5286,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5313,7 +5319,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5335,7 +5341,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5368,7 +5374,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5401,7 +5407,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5423,7 +5429,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5445,7 +5451,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5478,7 +5484,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5653,7 +5659,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5675,7 +5681,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5708,7 +5714,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5741,7 +5747,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5763,7 +5769,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5838,7 +5844,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5860,7 +5866,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5893,7 +5899,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5926,7 +5932,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5948,7 +5954,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6068,7 +6074,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6090,7 +6096,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6123,7 +6129,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6156,7 +6162,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6189,7 +6195,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6222,7 +6228,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6255,7 +6261,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6288,7 +6294,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6321,7 +6327,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6343,7 +6349,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6365,7 +6371,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6550,7 +6556,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6572,7 +6578,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6605,7 +6611,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6638,7 +6644,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6660,7 +6666,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6693,7 +6699,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6726,7 +6732,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6759,7 +6765,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6781,7 +6787,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6814,7 +6820,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6847,7 +6853,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7126,7 +7132,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7148,7 +7154,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7181,7 +7187,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7214,7 +7220,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7236,7 +7242,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h index 2fa08190..256aabff 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h @@ -61,7 +61,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlaylist : public QMediaPlaylist @@ -128,7 +128,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorder : public QMediaRecorder @@ -211,7 +211,7 @@ qreal volume() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorderControl : public QMediaRecorderControl @@ -319,7 +319,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaService : public QMediaService @@ -354,7 +354,7 @@ class PythonQtShell_QMediaServiceCameraInfoInterface : public QMediaServiceCamer int cameraOrientation(const QByteArray& device) const override; QCamera::Position cameraPosition(const QByteArray& device) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface @@ -388,7 +388,7 @@ class PythonQtShell_QMediaServiceDefaultDeviceInterface : public QMediaServiceDe QByteArray defaultDevice(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface @@ -420,7 +420,7 @@ class PythonQtShell_QMediaServiceProviderFactoryInterface : public QMediaService QMediaService* create(const QString& key) override; void release(QMediaService* service) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface @@ -488,7 +488,7 @@ void release(QMediaService* service) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin @@ -523,7 +523,7 @@ class PythonQtShell_QMediaServiceSupportedDevicesInterface : public QMediaServic QString deviceDescription(const QByteArray& service, const QByteArray& device) override; QList devices(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface @@ -558,7 +558,7 @@ class PythonQtShell_QMediaServiceSupportedFormatsInterface : public QMediaServic QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const override; QStringList supportedMimeTypes() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface @@ -603,7 +603,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaStreamsControl : public QMediaStreamsControl @@ -653,6 +653,7 @@ void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } 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; @@ -717,7 +718,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaVideoProbeControl : public QObject @@ -750,7 +751,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataReaderControl : public QMetaDataReaderControl @@ -798,7 +799,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataWriterControl : public QMetaDataWriterControl @@ -868,7 +869,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioData : public QRadioData @@ -925,7 +926,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioDataControl : public QRadioDataControl @@ -991,7 +992,7 @@ void unbind(QObject* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTuner : public QRadioTuner @@ -1070,7 +1071,7 @@ int volume() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTunerControl : public QRadioTunerControl @@ -1182,7 +1183,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSound : public QObject @@ -1221,17 +1222,12 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSoundEffect : public QObject { Q_OBJECT public: -Q_ENUMS(Loop Status ) -enum Loop{ - Infinite = QSoundEffect::Infinite}; -enum Status{ - Null = QSoundEffect::Null, Loading = QSoundEffect::Loading, Ready = QSoundEffect::Ready, Error = QSoundEffect::Error}; public slots: QSoundEffect* new_QSoundEffect(QObject* parent = nullptr); void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } @@ -1277,7 +1273,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl @@ -1369,7 +1365,7 @@ QVideoEncoderSettings videoSettings() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl @@ -1479,7 +1475,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVideoProbe : public QObject diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp index c81b6c95..951bf42f 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -56,7 +57,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -78,7 +79,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -111,7 +112,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -144,7 +145,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -166,7 +167,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -199,7 +200,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -221,7 +222,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -437,7 +438,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -459,7 +460,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -481,7 +482,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -503,7 +504,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -525,7 +526,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -547,7 +548,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -580,7 +581,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -602,7 +603,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -624,7 +625,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -646,7 +647,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -668,7 +669,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -690,7 +691,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -723,7 +724,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -756,7 +757,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -778,7 +779,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -811,7 +812,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -833,7 +834,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -866,7 +867,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -899,7 +900,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -921,7 +922,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -943,7 +944,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -965,7 +966,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -998,7 +999,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1020,7 +1021,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1042,7 +1043,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1064,7 +1065,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1097,7 +1098,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1130,7 +1131,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1163,7 +1164,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1185,7 +1186,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1207,7 +1208,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1229,7 +1230,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1251,7 +1252,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1273,7 +1274,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1306,7 +1307,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1339,7 +1340,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1361,7 +1362,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1394,7 +1395,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1416,7 +1417,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1449,7 +1450,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1471,7 +1472,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1504,7 +1505,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1526,7 +1527,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1559,7 +1560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1581,7 +1582,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1603,7 +1604,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1625,7 +1626,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1711,7 +1712,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1744,7 +1745,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1766,7 +1767,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1799,7 +1800,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1821,7 +1822,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1854,7 +1855,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1887,7 +1888,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1920,7 +1921,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1953,7 +1954,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1986,7 +1987,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2008,7 +2009,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2030,7 +2031,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2052,7 +2053,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2074,7 +2075,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2096,7 +2097,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2118,7 +2119,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2140,7 +2141,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2173,7 +2174,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2294,7 +2295,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2327,7 +2328,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2349,7 +2350,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2382,7 +2383,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2404,7 +2405,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2437,7 +2438,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2470,7 +2471,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2503,7 +2504,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2536,7 +2537,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2569,7 +2570,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2602,7 +2603,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2624,7 +2625,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2657,7 +2658,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2679,7 +2680,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2701,7 +2702,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2723,7 +2724,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2745,7 +2746,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2767,7 +2768,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2789,7 +2790,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2811,7 +2812,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2833,7 +2834,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2855,7 +2856,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2888,7 +2889,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h index f3d1e375..cf960875 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -61,7 +62,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoRendererControl : public QVideoRendererControl @@ -192,7 +193,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidget : public QVideoWidget @@ -270,7 +271,7 @@ QWidget* videoWidget() override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidgetControl : public QVideoWidgetControl @@ -361,7 +362,7 @@ WId winId() const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWindowControl : public QVideoWindowControl diff --git a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp index e3444439..1a9ca308 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp @@ -56,6 +56,7 @@ PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl2::staticMetaOb 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); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.cpp index 8a305d54..57854f38 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -34,11 +35,13 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include @@ -69,7 +72,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -91,7 +94,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -113,7 +116,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -135,7 +138,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -168,7 +171,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -201,7 +204,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -234,7 +237,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -256,7 +259,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -289,7 +292,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -322,7 +325,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -355,7 +358,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -377,7 +380,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -399,7 +402,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -490,7 +493,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -523,7 +526,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -556,7 +559,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -589,7 +592,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -611,7 +614,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -633,7 +636,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -655,7 +658,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -677,7 +680,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -699,7 +702,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -721,7 +724,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -754,7 +757,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -787,7 +790,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -820,7 +823,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -853,7 +856,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -886,7 +889,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -919,7 +922,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -952,7 +955,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -985,7 +988,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1007,7 +1010,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1040,7 +1043,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1062,7 +1065,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1095,7 +1098,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1117,7 +1120,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1150,7 +1153,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1183,7 +1186,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1216,7 +1219,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1238,7 +1241,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1271,7 +1274,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1304,7 +1307,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1337,7 +1340,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1370,7 +1373,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1403,7 +1406,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1768,7 +1771,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1790,7 +1793,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1823,7 +1826,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1856,7 +1859,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1878,7 +1881,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2120,6 +2123,495 @@ QList PythonQtWrapper_QDnsTextRecord::values(QDnsTextRecord* theWr +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(); } @@ -2482,7 +2974,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2504,7 +2996,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2537,7 +3029,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2570,7 +3062,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2592,7 +3084,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2721,7 +3213,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2743,7 +3235,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2776,7 +3268,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2809,7 +3301,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2842,7 +3334,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2864,7 +3356,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2897,7 +3389,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2919,7 +3411,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3065,7 +3557,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3098,7 +3590,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3131,7 +3623,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3164,7 +3656,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3186,7 +3678,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3208,7 +3700,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3230,7 +3722,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3263,7 +3755,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3296,7 +3788,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3329,7 +3821,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3362,7 +3854,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3395,7 +3887,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3428,7 +3920,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3461,7 +3953,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3494,7 +3986,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3527,7 +4019,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3560,7 +4052,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3582,7 +4074,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3615,7 +4107,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3648,7 +4140,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3681,7 +4173,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3811,7 +4303,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3844,7 +4336,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3866,7 +4358,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3899,7 +4391,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3932,7 +4424,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3954,7 +4446,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4196,6 +4688,11 @@ void PythonQtWrapper_QNetworkAddressEntry::clearAddressLifetime(QNetworkAddressE ( theWrappedObject->clearAddressLifetime()); } +QNetworkAddressEntry::DnsEligibilityStatus PythonQtWrapper_QNetworkAddressEntry::dnsEligibility(QNetworkAddressEntry* theWrappedObject) const +{ + return ( theWrappedObject->dnsEligibility()); +} + QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const { return ( theWrappedObject->ip()); @@ -4251,6 +4748,11 @@ void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* th ( theWrappedObject->setBroadcast(newBroadcast)); } +void PythonQtWrapper_QNetworkAddressEntry::setDnsEligibility(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry::DnsEligibilityStatus status) +{ + ( theWrappedObject->setDnsEligibility(status)); +} + void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp) { ( theWrappedObject->setIp(newIp)); @@ -4489,7 +4991,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4511,7 +5013,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4544,7 +5046,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4577,7 +5079,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4599,7 +5101,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4796,7 +5298,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4829,7 +5331,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4851,7 +5353,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4884,7 +5386,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4917,7 +5419,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4950,7 +5452,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4983,7 +5485,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5016,7 +5518,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5038,7 +5540,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5071,7 +5573,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5104,7 +5606,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5304,7 +5806,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5326,7 +5828,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5348,7 +5850,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5370,7 +5872,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5403,7 +5905,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5436,7 +5938,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5469,7 +5971,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5502,7 +6004,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5524,7 +6026,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5557,7 +6059,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5590,7 +6092,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5623,7 +6125,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5645,7 +6147,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5667,7 +6169,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5822,348 +6324,3 @@ QString PythonQtWrapper_QNetworkInterface::py_toString(QNetworkInterface* obj) { } - -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; -} - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.h index a0796cea..8f89bd86 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -33,11 +34,13 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include @@ -66,7 +69,7 @@ void updateMetaData(const QNetworkCacheMetaData& metaData) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractNetworkCache : public QAbstractNetworkCache @@ -150,7 +153,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSocket : public QAbstractSocket @@ -347,7 +350,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDnsLookup : public QObject @@ -438,6 +441,135 @@ void delete_QDnsTextRecord(QDnsTextRecord* obj) { delete obj; } +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: @@ -570,7 +702,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHttpMultiPart : public QObject @@ -622,7 +754,7 @@ class PythonQtShell_QIPv6Address : public QIPv6Address ~PythonQtShell_QIPv6Address(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QIPv6Address : public QObject @@ -659,7 +791,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalServer : public QLocalServer @@ -739,7 +871,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket @@ -819,7 +951,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager @@ -887,12 +1019,16 @@ void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } class PythonQtWrapper_QNetworkAddressEntry : public QObject { Q_OBJECT public: +Q_ENUMS(DnsEligibilityStatus ) +enum DnsEligibilityStatus{ + DnsEligibilityUnknown = QNetworkAddressEntry::DnsEligibilityUnknown, DnsIneligible = QNetworkAddressEntry::DnsIneligible, DnsEligible = QNetworkAddressEntry::DnsEligible}; public slots: QNetworkAddressEntry* new_QNetworkAddressEntry(); QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; void clearAddressLifetime(QNetworkAddressEntry* theWrappedObject); + QNetworkAddressEntry::DnsEligibilityStatus dnsEligibility(QNetworkAddressEntry* theWrappedObject) const; QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; bool isLifetimeKnown(QNetworkAddressEntry* theWrappedObject) const; bool isPermanent(QNetworkAddressEntry* theWrappedObject) const; @@ -904,6 +1040,7 @@ void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } int prefixLength(QNetworkAddressEntry* theWrappedObject) const; void setAddressLifetime(QNetworkAddressEntry* theWrappedObject, QDeadlineTimer preferred, QDeadlineTimer validity); void setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast); + void setDnsEligibility(QNetworkAddressEntry* theWrappedObject, QNetworkAddressEntry::DnsEligibilityStatus status); void setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp); void setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask); void setPrefixLength(QNetworkAddressEntry* theWrappedObject, int length); @@ -1004,7 +1141,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNetworkConfigurationManager : public QObject @@ -1089,7 +1226,7 @@ bool validateCookie(const QNetworkCookie& cookie, const QUrl& url) const over const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkCookieJar : public QNetworkCookieJar @@ -1188,7 +1325,7 @@ void updateMetaData(const QNetworkCacheMetaData& metaData) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkDiskCache : public QNetworkDiskCache @@ -1267,126 +1404,3 @@ void delete_QNetworkInterface(QNetworkInterface* obj) { delete obj; } }; - - - -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*); -}; - - diff --git a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 191dda9c..cca33d3e 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -21,10 +22,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -38,6 +41,351 @@ #include #include +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); } @@ -54,7 +402,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -87,7 +435,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -120,7 +468,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -153,7 +501,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -186,7 +534,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -208,7 +556,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -230,7 +578,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -252,7 +600,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -285,7 +633,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -318,7 +666,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -340,7 +688,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -362,7 +710,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -395,7 +743,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -428,7 +776,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -461,7 +809,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -494,7 +842,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -527,7 +875,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -560,7 +908,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -593,7 +941,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -615,7 +963,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -637,7 +985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -670,7 +1018,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -692,7 +1040,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -714,7 +1062,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -747,7 +1095,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -780,7 +1128,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -813,7 +1161,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -950,6 +1298,11 @@ void PythonQtWrapper_QNetworkReply::setRequest(QNetworkReply* theWrappedObject, ( ((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)); @@ -960,6 +1313,11 @@ void PythonQtWrapper_QNetworkReply::setUrl(QNetworkReply* theWrappedObject, cons ( ((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)); @@ -1060,11 +1418,21 @@ void PythonQtWrapper_QNetworkRequest::setRawHeader(QNetworkRequest* theWrappedOb ( theWrappedObject->setRawHeader(headerName, value)); } +void PythonQtWrapper_QNetworkRequest::setSslConfiguration(QNetworkRequest* theWrappedObject, const QSslConfiguration& configuration) +{ + ( theWrappedObject->setSslConfiguration(configuration)); +} + 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)); @@ -1093,7 +1461,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1115,7 +1483,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1137,7 +1505,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1159,7 +1527,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1192,7 +1560,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1225,7 +1593,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1247,7 +1615,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1720,6 +2088,21 @@ QSslConfiguration PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_d 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()); @@ -1855,6 +2238,21 @@ void PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_setDefaultConfi (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)); @@ -1933,6 +2331,80 @@ bool PythonQtWrapper_QSslConfiguration::testSslOption(QSslConfiguration* theWra #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() { @@ -2180,6 +2652,11 @@ QSslPreSharedKeyAuthenticator* PythonQtWrapper_QSslPreSharedKeyAuthenticator::o 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()); @@ -2231,7 +2708,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2264,7 +2741,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2297,7 +2774,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2330,7 +2807,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2352,7 +2829,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2374,7 +2851,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2396,7 +2873,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2418,7 +2895,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2440,7 +2917,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2473,7 +2950,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2506,7 +2983,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2539,7 +3016,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2572,7 +3049,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2605,7 +3082,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2638,7 +3115,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2671,7 +3148,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2704,7 +3181,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2726,7 +3203,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2759,7 +3236,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2781,7 +3258,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2814,7 +3291,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2836,7 +3313,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2869,7 +3346,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2902,7 +3379,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2935,7 +3412,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2957,7 +3434,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2990,7 +3467,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3023,7 +3500,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3056,7 +3533,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3089,7 +3566,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3122,7 +3599,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3443,7 +3920,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3465,7 +3942,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3498,7 +3975,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3531,7 +4008,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3564,7 +4041,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3586,7 +4063,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3619,7 +4096,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3641,7 +4118,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3797,7 +4274,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3830,7 +4307,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3863,7 +4340,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3896,7 +4373,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3918,7 +4395,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3940,7 +4417,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3962,7 +4439,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3984,7 +4461,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4006,7 +4483,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4028,7 +4505,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4061,7 +4538,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4094,7 +4571,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4127,7 +4604,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4160,7 +4637,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4193,7 +4670,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4226,7 +4703,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4259,7 +4736,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4292,7 +4769,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4314,7 +4791,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4347,7 +4824,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4369,7 +4846,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4402,7 +4879,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4424,7 +4901,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4457,7 +4934,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4490,7 +4967,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4523,7 +5000,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4545,7 +5022,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4578,7 +5055,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4611,7 +5088,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4644,7 +5121,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4677,7 +5154,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4710,7 +5187,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4766,7 +5243,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4799,7 +5276,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4832,7 +5309,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4865,7 +5342,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4887,7 +5364,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4909,7 +5386,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4931,7 +5408,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4953,7 +5430,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4975,7 +5452,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4997,7 +5474,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5030,7 +5507,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5063,7 +5540,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5096,7 +5573,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5129,7 +5606,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5162,7 +5639,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5195,7 +5672,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5228,7 +5705,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5261,7 +5738,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5283,7 +5760,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5316,7 +5793,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5338,7 +5815,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5371,7 +5848,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5393,7 +5870,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5426,7 +5903,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5459,7 +5936,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5492,7 +5969,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5514,7 +5991,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5547,7 +6024,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5580,7 +6057,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5613,7 +6090,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5646,7 +6123,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5679,7 +6156,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5767,3 +6244,5 @@ qint64 PythonQtWrapper_QUdpSocket::writeDatagram(QUdpSocket* theWrappedObject, } + + diff --git a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.h b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.h index ef647fcf..e33fe963 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network1.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -25,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -40,6 +42,129 @@ +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: @@ -77,7 +202,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply @@ -139,9 +264,11 @@ void delete_QNetworkReply(QNetworkReply* obj) { delete obj; } 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; @@ -188,7 +315,9 @@ void delete_QNetworkRequest(QNetworkRequest* obj) { delete obj; } void setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object); 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 setUrl(QNetworkRequest* theWrappedObject, const QUrl& url); + QSslConfiguration sslConfiguration(QNetworkRequest* theWrappedObject) const; void swap(QNetworkRequest* theWrappedObject, QNetworkRequest& other); QUrl url(QNetworkRequest* theWrappedObject) const; }; @@ -214,7 +343,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkSession : public QNetworkSession @@ -412,7 +541,7 @@ class PythonQtShell_QSslConfiguration : public QSslConfiguration ~PythonQtShell_QSslConfiguration(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSslConfiguration : public QObject @@ -430,6 +559,9 @@ void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } 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; @@ -457,6 +589,9 @@ void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } 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); @@ -481,6 +616,38 @@ void delete_QSslConfiguration(QSslConfiguration* obj) { delete obj; } +#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 @@ -582,6 +749,7 @@ void delete_QSslPreSharedKeyAuthenticator(QSslPreSharedKeyAuthenticator* obj) { 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); @@ -636,7 +804,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSslSocket : public QSslSocket @@ -774,7 +942,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTcpServer : public QTcpServer @@ -863,7 +1031,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTcpSocket : public QObject @@ -921,7 +1089,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUdpSocket : public QObject @@ -946,3 +1114,16 @@ void delete_QUdpSocket(QUdpSocket* obj) { delete obj; } }; + + + +class PythonQtWrapper_QtNetwork : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QDtlsError ) +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)}; +public slots: +}; + + diff --git a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp index a974a118..a5b54ad4 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp @@ -15,6 +15,9 @@ PythonQt::priv()->registerClass(&QDnsLookup::staticMetaObject, "QtNetwork", Pyth 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); @@ -55,6 +58,9 @@ PythonQt::priv()->registerCPPClass("QSslCipher", "", "QtNetwork", PythonQtCreate 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 @@ -72,6 +78,7 @@ PythonQt::priv()->registerClass(&QSslSocket::staticMetaObject, "QtNetwork", Pyth 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); @@ -101,4 +108,7 @@ PythonQtRegisterListTemplateConverterForKnownClass(QVector, QHstsPolicy); #ifndef QT_NO_SSL PythonQtRegisterListTemplateConverterForKnownClass(QVector, QSslEllipticCurve); #endif +#ifndef QT_NO_SSL +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QSslError); +#endif } diff --git a/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index e7a26a03..816d614b 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -250,7 +251,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -283,7 +284,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -305,7 +306,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -327,7 +328,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -349,7 +350,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -887,7 +888,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -909,7 +910,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -942,7 +943,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -975,7 +976,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1008,7 +1009,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1041,7 +1042,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1759,7 +1760,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1781,7 +1782,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1814,7 +1815,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1847,7 +1848,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1880,7 +1881,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1913,7 +1914,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2044,7 +2045,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2066,7 +2067,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2099,7 +2100,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2132,7 +2133,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2154,7 +2155,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2253,7 +2254,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2275,7 +2276,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2308,7 +2309,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2341,7 +2342,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2374,7 +2375,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2396,7 +2397,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3000,7 +3001,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3022,7 +3023,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3044,7 +3045,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3066,7 +3067,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3088,7 +3089,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3110,7 +3111,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3143,7 +3144,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3165,7 +3166,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3187,7 +3188,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3209,7 +3210,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3231,7 +3232,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3253,7 +3254,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3286,7 +3287,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3319,7 +3320,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3341,7 +3342,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3374,7 +3375,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3396,7 +3397,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3418,7 +3419,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3440,7 +3441,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3473,7 +3474,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3506,7 +3507,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3528,7 +3529,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3550,7 +3551,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3572,7 +3573,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3594,7 +3595,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3616,7 +3617,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3649,7 +3650,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3671,7 +3672,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3693,7 +3694,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3715,7 +3716,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3748,7 +3749,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3781,7 +3782,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3803,7 +3804,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3825,7 +3826,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3847,7 +3848,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3869,7 +3870,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3891,7 +3892,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3924,7 +3925,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3957,7 +3958,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3979,7 +3980,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4001,7 +4002,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4023,7 +4024,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4056,7 +4057,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4078,7 +4079,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4100,7 +4101,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4122,7 +4123,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4144,7 +4145,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4177,7 +4178,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4199,7 +4200,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4232,7 +4233,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4254,7 +4255,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4276,7 +4277,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4298,7 +4299,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4320,7 +4321,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4342,7 +4343,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h index 9c13a78d..2f830413 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -103,7 +104,7 @@ class PythonQtShell_QGLColormap : public QGLColormap ~PythonQtShell_QGLColormap(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLColormap : public QGLColormap @@ -150,7 +151,7 @@ void doneCurrent() override; void makeCurrent() override; void swapBuffers() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLContext : public QGLContext @@ -329,7 +330,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject @@ -538,7 +539,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer @@ -602,7 +603,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QGLShader : public QObject @@ -650,7 +651,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram @@ -850,7 +851,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLWidget : public QGLWidget diff --git a/generated_cpp_5.12.12/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp index b11cf537..afcaf8ab 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp @@ -50,7 +50,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -72,7 +72,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -105,7 +105,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -138,7 +138,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -160,7 +160,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -221,6 +221,11 @@ QJSValue PythonQtWrapper_QJSEngine::newArray(QJSEngine* theWrappedObject, uint 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()); @@ -236,6 +241,11 @@ QJSValue PythonQtWrapper_QJSEngine::newQObject(QJSEngine* theWrappedObject, QOb return ( theWrappedObject->newQObject(object)); } +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)); @@ -255,10 +265,6 @@ QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QJSValue& other) { return new QJSValue(other); } -QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QLatin1String& value) -{ -return new QJSValue(value); } - QJSValue* PythonQtWrapper_QJSValue::new_QJSValue(const QString& value) { return new QJSValue(value); } @@ -309,6 +315,11 @@ bool PythonQtWrapper_QJSValue::equals(QJSValue* theWrappedObject, const QJSValu 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)); @@ -504,7 +515,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -541,7 +552,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -563,7 +574,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -596,7 +607,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -629,7 +640,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -651,7 +662,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -725,7 +736,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -747,7 +758,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -769,7 +780,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -802,7 +813,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -824,7 +835,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -857,7 +868,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -890,7 +901,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -912,7 +923,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1052,7 +1063,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1074,7 +1085,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1107,7 +1118,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1140,7 +1151,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1162,7 +1173,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1317,7 +1328,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1339,7 +1350,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1372,7 +1383,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1405,7 +1416,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1427,7 +1438,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1708,7 +1719,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1730,7 +1741,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1763,7 +1774,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1796,7 +1807,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1818,7 +1829,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1946,7 +1957,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1968,7 +1979,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2005,7 +2016,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2027,7 +2038,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2221,7 +2232,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2243,7 +2254,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2276,7 +2287,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2309,7 +2320,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2331,7 +2342,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2401,7 +2412,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2425,6 +2436,11 @@ void PythonQtWrapper_QQmlIncubationController::incubateFor(QQmlIncubationControl ( 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()); @@ -2453,7 +2469,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2475,7 +2491,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2575,21 +2591,11 @@ QQmlInfo* PythonQtWrapper_QQmlInfo::__lshift__(QQmlInfo* theWrappedObject, cons return &( (*theWrappedObject) <py_q_incubatingObjectCountChanged(arg__1));} @@ -695,7 +700,7 @@ class PythonQtShell_QQmlIncubator : public QQmlIncubator void setInitialState(QObject* arg__1) override; void statusChanged(QQmlIncubator::Status arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlIncubator : public QQmlIncubator @@ -748,9 +753,7 @@ void delete_QQmlInfo(QQmlInfo* obj) { delete obj; } QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, bool t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, char t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QByteArray& t); - QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QLatin1String& t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QString& t); - QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QStringRef& t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const QUrl& t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const char* t); QQmlInfo* __lshift__(QQmlInfo* theWrappedObject, const void* t); @@ -808,7 +811,7 @@ class PythonQtShell_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessMa QNetworkAccessManager* create(QObject* parent) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlNetworkAccessManagerFactory : public QQmlNetworkAccessManagerFactory @@ -840,7 +843,7 @@ class PythonQtShell_QQmlParserStatus : public QQmlParserStatus void classBegin() override; void componentComplete() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlParserStatus : public QQmlParserStatus @@ -936,7 +939,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlPropertyMap : public QQmlPropertyMap @@ -978,7 +981,7 @@ class PythonQtShell_QQmlPropertyValueSource : public QQmlPropertyValueSource void setTarget(const QQmlProperty& arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlPropertyValueSource : public QQmlPropertyValueSource @@ -1032,7 +1035,7 @@ class PythonQtShell_QQmlTypesExtensionInterface : public QQmlTypesExtensionInter void registerTypes(const char* uri) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQmlTypesExtensionInterface : public QQmlTypesExtensionInterface diff --git a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp index 8485924f..0f47d301 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -50,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -57,6 +59,7 @@ #include #include #include +#include #include #include #include @@ -99,7 +102,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -132,7 +135,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -154,7 +157,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -187,7 +190,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -209,7 +212,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -242,7 +245,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -275,7 +278,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -297,7 +300,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -319,7 +322,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -341,7 +344,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -363,7 +366,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -396,7 +399,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -418,7 +421,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -440,7 +443,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -462,7 +465,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -484,7 +487,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -506,7 +509,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -528,7 +531,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -550,7 +553,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -583,7 +586,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -616,7 +619,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -638,7 +641,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -660,7 +663,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -682,7 +685,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -704,7 +707,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -726,7 +729,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -748,7 +751,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -770,7 +773,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -792,7 +795,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -825,7 +828,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -847,7 +850,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -869,7 +872,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -902,7 +905,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -924,7 +927,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -946,7 +949,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -968,7 +971,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1049,7 +1052,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1071,7 +1074,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1093,7 +1096,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1178,7 +1181,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1211,7 +1214,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1233,7 +1236,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1266,7 +1269,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1288,7 +1291,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1321,7 +1324,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1343,7 +1346,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1365,7 +1368,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1387,7 +1390,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1409,7 +1412,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1442,7 +1445,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1464,7 +1467,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1486,7 +1489,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1508,7 +1511,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1530,7 +1533,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1552,7 +1555,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1574,7 +1577,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1596,7 +1599,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1629,7 +1632,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1662,7 +1665,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1684,7 +1687,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1706,7 +1709,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1728,7 +1731,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1750,7 +1753,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1772,7 +1775,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1794,7 +1797,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1816,7 +1819,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1838,7 +1841,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1871,7 +1874,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1893,7 +1896,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1915,7 +1918,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1948,7 +1951,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1970,7 +1973,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1992,7 +1995,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2014,7 +2017,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2806,7 +2809,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2839,7 +2842,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2861,7 +2864,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2894,7 +2897,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2916,7 +2919,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2949,7 +2952,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2971,7 +2974,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2993,7 +2996,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3015,7 +3018,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3037,7 +3040,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3070,7 +3073,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3092,7 +3095,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3114,7 +3117,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3136,7 +3139,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3158,7 +3161,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3180,7 +3183,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3202,7 +3205,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3224,7 +3227,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3257,7 +3260,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3290,7 +3293,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3312,7 +3315,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3334,7 +3337,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3356,7 +3359,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3378,7 +3381,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3400,7 +3403,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3422,7 +3425,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3444,7 +3447,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3466,7 +3469,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3488,7 +3491,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3521,7 +3524,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3543,7 +3546,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3565,7 +3568,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3598,7 +3601,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3620,7 +3623,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3642,7 +3645,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3664,7 +3667,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3814,7 +3817,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3836,7 +3839,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3869,7 +3872,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3902,7 +3905,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3935,7 +3938,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3957,7 +3960,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4047,7 +4050,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4069,7 +4072,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4102,7 +4105,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4135,7 +4138,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4157,7 +4160,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4207,7 +4210,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4229,7 +4232,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4251,7 +4254,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4284,7 +4287,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4317,7 +4320,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4339,7 +4342,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4399,7 +4402,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4421,7 +4424,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4454,7 +4457,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4487,7 +4490,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4509,7 +4512,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4531,7 +4534,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4564,7 +4567,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4586,7 +4589,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4619,7 +4622,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4641,7 +4644,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4663,7 +4666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4685,7 +4688,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4707,7 +4710,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4729,7 +4732,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4751,7 +4754,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4773,7 +4776,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4795,7 +4798,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4828,7 +4831,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4850,7 +4853,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4872,7 +4875,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4905,7 +4908,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4938,7 +4941,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4960,7 +4963,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4982,7 +4985,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5004,7 +5007,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5026,7 +5029,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5133,7 +5136,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5155,7 +5158,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5177,7 +5180,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5199,7 +5202,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5221,7 +5224,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5243,7 +5246,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5276,7 +5279,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5298,7 +5301,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5320,7 +5323,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5342,7 +5345,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5364,7 +5367,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5386,7 +5389,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5419,7 +5422,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5452,7 +5455,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5474,7 +5477,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5507,7 +5510,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5529,7 +5532,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5562,7 +5565,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5595,7 +5598,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5617,7 +5620,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5639,7 +5642,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5661,7 +5664,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5694,7 +5697,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5716,7 +5719,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5738,7 +5741,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5760,7 +5763,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5793,7 +5796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5826,7 +5829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5848,7 +5851,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5870,7 +5873,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5892,7 +5895,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5914,7 +5917,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5936,7 +5939,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5969,7 +5972,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6002,7 +6005,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6024,7 +6027,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6057,7 +6060,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6079,7 +6082,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6101,7 +6104,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6134,7 +6137,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6156,7 +6159,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6189,7 +6192,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6211,7 +6214,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6233,7 +6236,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6255,7 +6258,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6383,7 +6386,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6405,7 +6408,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6438,7 +6441,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6471,7 +6474,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6493,7 +6496,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6515,7 +6518,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6548,7 +6551,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6570,7 +6573,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6603,7 +6606,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6625,7 +6628,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6647,7 +6650,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6669,7 +6672,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6691,7 +6694,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6713,7 +6716,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6735,7 +6738,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6757,7 +6760,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6779,7 +6782,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6812,7 +6815,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6834,7 +6837,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6856,7 +6859,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6889,7 +6892,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6922,7 +6925,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6944,7 +6947,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6966,7 +6969,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6988,7 +6991,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7010,7 +7013,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7141,6 +7144,11 @@ QSize PythonQtWrapper_QQuickWindow::renderTargetSize(QQuickWindow* theWrappedOb return ( theWrappedObject->renderTargetSize()); } +QSGRendererInterface* PythonQtWrapper_QQuickWindow::rendererInterface(QQuickWindow* theWrappedObject) const +{ + return ( theWrappedObject->rendererInterface()); +} + void PythonQtWrapper_QQuickWindow::resetOpenGLState(QQuickWindow* theWrappedObject) { ( theWrappedObject->resetOpenGLState()); @@ -7196,6 +7204,11 @@ void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObjec ( 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)); @@ -7236,7 +7249,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7258,7 +7271,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7291,7 +7304,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7324,7 +7337,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7346,7 +7359,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7368,7 +7381,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7390,7 +7403,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7521,7 +7534,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7543,7 +7556,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7621,7 +7634,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7643,7 +7656,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7695,7 +7708,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7717,7 +7730,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7739,7 +7752,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7772,7 +7785,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7805,7 +7818,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7838,7 +7851,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7871,7 +7884,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7904,7 +7917,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7937,7 +7950,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7970,7 +7983,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8003,7 +8016,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8036,7 +8049,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8058,7 +8071,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8091,7 +8104,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8141,7 +8154,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8163,7 +8176,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8196,7 +8209,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8229,7 +8242,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8251,7 +8264,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8308,6 +8321,11 @@ void PythonQtWrapper_QSGEngine::invalidate(QSGEngine* theWrappedObject) ( theWrappedObject->invalidate()); } +QSGRendererInterface* PythonQtWrapper_QSGEngine::rendererInterface(QSGEngine* theWrappedObject) const +{ + return ( theWrappedObject->rendererInterface()); +} + PythonQtShell_QSGFlatColorMaterial::~PythonQtShell_QSGFlatColorMaterial() { @@ -8337,7 +8355,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8595,7 +8613,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8617,7 +8635,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8844,7 +8862,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8866,7 +8884,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8888,7 +8906,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8910,7 +8928,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8932,7 +8950,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8954,7 +8972,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8976,7 +8994,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9049,7 +9067,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9071,7 +9089,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.h b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.h index ed9438b4..bbe4d77d 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick0.h @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -50,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -59,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -122,7 +125,7 @@ void windowDeactivateEvent() override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickFramebufferObject : public QQuickFramebufferObject @@ -171,7 +174,7 @@ QOpenGLFramebufferObject* createFramebufferObject(const QSize& size) override; void render() override; void synchronize(QQuickFramebufferObject* arg__1) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickFramebufferObject__Renderer : public QQuickFramebufferObject::Renderer @@ -273,7 +276,7 @@ void windowDeactivateEvent() override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickItem : public QQuickItem @@ -624,7 +627,7 @@ void windowDeactivateEvent() override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickPaintedItem : public QQuickPaintedItem @@ -695,7 +698,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickRenderControl : public QQuickRenderControl @@ -740,7 +743,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QQuickTextDocument : public QObject @@ -772,7 +775,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickTransform : public QQuickTransform @@ -836,7 +839,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickView : public QQuickView @@ -946,7 +949,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickWidget : public QQuickWidget @@ -1081,7 +1084,7 @@ void wheelEvent(QWheelEvent* arg__1) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QQuickWindow : public QQuickWindow @@ -1161,6 +1164,7 @@ void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } 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(); @@ -1173,6 +1177,7 @@ void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } 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));} @@ -1202,7 +1207,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGAbstractRenderer : public QSGAbstractRenderer @@ -1254,7 +1259,7 @@ class PythonQtShell_QSGBasicGeometryNode : public QSGBasicGeometryNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGBasicGeometryNode : public QObject @@ -1286,7 +1291,7 @@ class PythonQtShell_QSGClipNode : public QSGClipNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGClipNode : public QObject @@ -1329,7 +1334,7 @@ bool updateTexture() override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGDynamicTexture : public QSGDynamicTexture @@ -1366,7 +1371,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGEngine : public QObject @@ -1384,6 +1389,7 @@ void delete_QSGEngine(QSGEngine* obj) { delete obj; } QSGAbstractRenderer* createRenderer(QSGEngine* theWrappedObject) const; void initialize(QSGEngine* theWrappedObject, QOpenGLContext* context); void invalidate(QSGEngine* theWrappedObject); + QSGRendererInterface* rendererInterface(QSGEngine* theWrappedObject) const; }; @@ -1399,7 +1405,7 @@ class PythonQtShell_QSGFlatColorMaterial : public QSGFlatColorMaterial QSGMaterialType* type() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGFlatColorMaterial : public QSGFlatColorMaterial @@ -1431,7 +1437,7 @@ class PythonQtShell_QSGGeometry : public QSGGeometry ~PythonQtShell_QSGGeometry() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry : public QObject @@ -1503,7 +1509,7 @@ class PythonQtShell_QSGGeometryNode : public QSGGeometryNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometryNode : public QObject @@ -1531,7 +1537,7 @@ class PythonQtShell_QSGGeometry__Attribute : public QSGGeometry::Attribute ~PythonQtShell_QSGGeometry__Attribute(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__Attribute : public QObject @@ -1568,7 +1574,7 @@ class PythonQtShell_QSGGeometry__AttributeSet : public QSGGeometry::AttributeSet ~PythonQtShell_QSGGeometry__AttributeSet(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__AttributeSet : public QObject @@ -1596,7 +1602,7 @@ class PythonQtShell_QSGGeometry__ColoredPoint2D : public QSGGeometry::ColoredPoi ~PythonQtShell_QSGGeometry__ColoredPoint2D(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__ColoredPoint2D : public QObject @@ -1632,7 +1638,7 @@ class PythonQtShell_QSGGeometry__Point2D : public QSGGeometry::Point2D ~PythonQtShell_QSGGeometry__Point2D(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__Point2D : public QObject @@ -1660,7 +1666,7 @@ class PythonQtShell_QSGGeometry__TexturedPoint2D : public QSGGeometry::TexturedP ~PythonQtShell_QSGGeometry__TexturedPoint2D(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGGeometry__TexturedPoint2D : public QObject @@ -1748,7 +1754,7 @@ class PythonQtShell_QSGMaterialType : public QSGMaterialType ~PythonQtShell_QSGMaterialType(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGMaterialType : public QObject @@ -1778,7 +1784,7 @@ void setPadding(qreal left, qreal top, qreal right, qreal bottom) override; void setTexture(QSGTexture* texture) override; void update() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGNinePatchNode : public QSGNinePatchNode @@ -1824,7 +1830,7 @@ class PythonQtShell_QSGNode : public QSGNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGNode : public QSGNode diff --git a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp index fbc99151..a2ded1c9 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp @@ -36,7 +36,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -58,7 +58,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -80,7 +80,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -102,7 +102,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -124,7 +124,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -146,7 +146,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -168,7 +168,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -190,7 +190,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -212,7 +212,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -234,7 +234,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -327,7 +327,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -349,7 +349,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -419,7 +419,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -452,7 +452,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -474,7 +474,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -507,7 +507,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -529,7 +529,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -551,7 +551,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -619,7 +619,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -641,7 +641,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -674,7 +674,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -696,7 +696,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -718,7 +718,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -791,7 +791,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -824,7 +824,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -857,7 +857,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -890,7 +890,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -923,7 +923,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -956,7 +956,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -989,7 +989,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1040,6 +1040,168 @@ int PythonQtWrapper_QSGRenderNode__RenderState::stencilValue(QSGRenderNode::Ren +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()); +} + +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); } @@ -1067,7 +1229,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1089,7 +1251,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1128,7 +1290,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1150,7 +1312,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1172,7 +1334,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1205,7 +1367,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1238,7 +1400,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1271,7 +1433,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1304,7 +1466,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1337,7 +1499,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1370,7 +1532,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1403,7 +1565,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1436,7 +1598,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1469,7 +1631,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1491,7 +1653,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1647,7 +1809,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1684,7 +1846,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1706,7 +1868,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1739,7 +1901,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1772,7 +1934,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1805,7 +1967,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1827,7 +1989,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1888,7 +2050,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1910,7 +2072,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.h b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.h index cdbbc3cd..15ad8b97 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick1.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -41,7 +42,7 @@ void leaveTransformNode(QSGTransformNode* arg__1) override; void visitChildren(QSGNode* n) override; void visitNode(QSGNode* n) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGNodeVisitor : public QSGNodeVisitor @@ -110,7 +111,7 @@ class PythonQtShell_QSGOpacityNode : public QSGOpacityNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGOpacityNode : public QSGOpacityNode @@ -150,7 +151,7 @@ QRectF rect() const override; void setColor(const QColor& color) override; void setRect(const QRectF& rect) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGRectangleNode : public QSGRectangleNode @@ -195,7 +196,7 @@ QRectF rect() const override; void releaseResources() override; void render(const QSGRenderNode::RenderState* state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGRenderNode : public QSGRenderNode @@ -246,7 +247,7 @@ QRect scissorRect() const override; bool stencilEnabled() const override; int stencilValue() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGRenderNode__RenderState : public QSGRenderNode::RenderState @@ -286,6 +287,61 @@ void delete_QSGRenderNode__RenderState(QSGRenderNode::RenderState* obj) { delete +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}; +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}; +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());} + 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: @@ -296,7 +352,7 @@ class PythonQtShell_QSGRootNode : public QSGRootNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGRootNode : public QObject @@ -335,7 +391,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGTexture : public QSGTexture @@ -406,7 +462,7 @@ class PythonQtShell_QSGTextureMaterial : public QSGTextureMaterial QSGMaterialType* type() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGTextureMaterial : public QSGTextureMaterial @@ -444,7 +500,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSGTextureProvider : public QSGTextureProvider @@ -476,7 +532,7 @@ class PythonQtShell_QSGTransformNode : public QSGTransformNode bool isSubtreeBlocked() const override; void preprocess() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSGTransformNode : public QObject diff --git a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp index 35fcc1eb..4f597f46 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp @@ -41,6 +41,7 @@ PythonQt::priv()->registerCPPClass("QSGOpacityNode", "QSGNode", "QtQuick", Pytho 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); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index 3833d986..3935bd51 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include @@ -297,7 +298,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -330,7 +331,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -352,7 +353,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -374,7 +375,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -407,7 +408,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -440,7 +441,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -462,7 +463,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -495,7 +496,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -528,7 +529,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -561,7 +562,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -594,7 +595,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -627,7 +628,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -660,7 +661,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -693,7 +694,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -726,7 +727,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -759,7 +760,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -792,7 +793,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -825,7 +826,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -858,7 +859,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -880,7 +881,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -902,7 +903,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -924,7 +925,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -957,7 +958,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -990,7 +991,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1023,7 +1024,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1056,7 +1057,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1089,7 +1090,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1111,7 +1112,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1144,7 +1145,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1340,7 +1341,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1913,7 +1914,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1946,7 +1947,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1979,7 +1980,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2001,7 +2002,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2023,7 +2024,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2056,7 +2057,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2078,7 +2079,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2111,7 +2112,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2144,7 +2145,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2177,7 +2178,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2210,7 +2211,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2232,7 +2233,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2265,7 +2266,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2298,7 +2299,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2331,7 +2332,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2364,7 +2365,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2397,7 +2398,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2430,7 +2431,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2463,7 +2464,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2496,7 +2497,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2529,7 +2530,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2562,7 +2563,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2595,7 +2596,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2628,7 +2629,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2650,7 +2651,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2683,7 +2684,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2716,7 +2717,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2738,7 +2739,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2771,7 +2772,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2804,7 +2805,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2837,7 +2838,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2870,7 +2871,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2903,7 +2904,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2936,7 +2937,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2958,7 +2959,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2991,7 +2992,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3024,7 +3025,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3057,7 +3058,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3090,7 +3091,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3112,7 +3113,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3460,7 +3461,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3493,7 +3494,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3526,7 +3527,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3548,7 +3549,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3570,7 +3571,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3603,7 +3604,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3625,7 +3626,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3658,7 +3659,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3691,7 +3692,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3724,7 +3725,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3757,7 +3758,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3790,7 +3791,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3812,7 +3813,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3845,7 +3846,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3878,7 +3879,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3911,7 +3912,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3944,7 +3945,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3977,7 +3978,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4010,7 +4011,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4043,7 +4044,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4076,7 +4077,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4109,7 +4110,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4142,7 +4143,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4175,7 +4176,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4208,7 +4209,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4241,7 +4242,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4274,7 +4275,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4296,7 +4297,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4329,7 +4330,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4362,7 +4363,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4395,7 +4396,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4417,7 +4418,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4439,7 +4440,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4472,7 +4473,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4505,7 +4506,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4538,7 +4539,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4571,7 +4572,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4604,7 +4605,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4637,7 +4638,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4659,7 +4660,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4681,7 +4682,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4714,7 +4715,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4747,7 +4748,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4769,7 +4770,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4791,7 +4792,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4813,7 +4814,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4846,7 +4847,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4868,7 +4869,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4901,7 +4902,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4934,7 +4935,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4967,7 +4968,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5000,7 +5001,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5022,7 +5023,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5055,7 +5056,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5120,7 +5121,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5142,7 +5143,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5175,7 +5176,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5197,7 +5198,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5230,7 +5231,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5263,7 +5264,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5296,7 +5297,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5329,7 +5330,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5362,7 +5363,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5395,7 +5396,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5428,7 +5429,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5461,7 +5462,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5494,7 +5495,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5527,7 +5528,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5560,7 +5561,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5593,7 +5594,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5626,7 +5627,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5659,7 +5660,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5692,7 +5693,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5725,7 +5726,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5747,7 +5748,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5769,7 +5770,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5791,7 +5792,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5813,7 +5814,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5835,7 +5836,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5857,7 +5858,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5879,7 +5880,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5912,7 +5913,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6205,7 +6206,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6238,7 +6239,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6271,7 +6272,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6293,7 +6294,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6315,7 +6316,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6348,7 +6349,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6370,7 +6371,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6403,7 +6404,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6436,7 +6437,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6469,7 +6470,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6502,7 +6503,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6535,7 +6536,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6557,7 +6558,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6590,7 +6591,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6623,7 +6624,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6656,7 +6657,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6689,7 +6690,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6722,7 +6723,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6755,7 +6756,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6788,7 +6789,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6821,7 +6822,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6854,7 +6855,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6887,7 +6888,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6920,7 +6921,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6953,7 +6954,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6986,7 +6987,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7019,7 +7020,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7041,7 +7042,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7074,7 +7075,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7107,7 +7108,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7129,7 +7130,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7151,7 +7152,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7184,7 +7185,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7217,7 +7218,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7250,7 +7251,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7283,7 +7284,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7316,7 +7317,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7349,7 +7350,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7371,7 +7372,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7393,7 +7394,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7426,7 +7427,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7459,7 +7460,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7481,7 +7482,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7503,7 +7504,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7536,7 +7537,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7558,7 +7559,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7591,7 +7592,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7624,7 +7625,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7657,7 +7658,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7690,7 +7691,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7712,7 +7713,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7745,7 +7746,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.h index 59a1b55e..0db1e07a 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_sql/com_trolltech_qt_sql0.h @@ -32,6 +32,7 @@ #include #include #include +#include #include @@ -68,7 +69,7 @@ class PythonQtShell_QSqlDatabase : public QSqlDatabase ~PythonQtShell_QSqlDatabase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSqlDatabase : public QObject @@ -168,7 +169,7 @@ bool unsubscribeFromNotification(const QString& name) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriver : public QSqlDriver @@ -286,7 +287,7 @@ class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase QSqlDriver* createObject() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriverCreatorBase : public QSqlDriverCreatorBase @@ -520,7 +521,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlQueryModel : public QSqlQueryModel @@ -728,7 +729,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlRelationalTableModel : public QSqlRelationalTableModel @@ -820,7 +821,7 @@ void setQuery(const QString& query) override; void setSelect(bool s) override; int size() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlResult : public QSqlResult @@ -1065,7 +1066,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlTableModel : public QSqlTableModel diff --git a/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index f54e9846..d2965405 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -22,10 +22,15 @@ #include #include #include +#include +#include #include +#include +#include #include #include #include +#include #include #include #include @@ -35,9 +40,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -47,6 +54,7 @@ #include #include #include +#include #include #include #include @@ -55,30 +63,803 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsSvgItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::boundingRect(); +} +void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::childEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::contains(point0); +} +void PythonQtShell_QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::customEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dropEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::event(ev0); +} +bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsSvgItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::extension(variant0); +} +void PythonQtShell_QGraphicsSvgItem::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsSvgItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"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[] ={"QRectF"}; + 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); - QRectF returnValue{}; + 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("boundingRect", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -86,7 +867,7 @@ if (_wrapper) { } } } - return QGraphicsSvgItem::boundingRect(); + return QGraphicsSvgItem::opaqueArea(); } void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { @@ -100,7 +881,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -110,6 +891,182 @@ if (_wrapper) { } 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) { @@ -133,7 +1090,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -143,6 +1100,28 @@ if (_wrapper) { } return QGraphicsSvgItem::type(); } +void PythonQtShell_QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::wheelEvent(event0); +} QGraphicsSvgItem* PythonQtWrapper_QGraphicsSvgItem::new_QGraphicsSvgItem(QGraphicsItem* parentItem) { return new PythonQtShell_QGraphicsSvgItem(parentItem); } @@ -164,11 +1143,6 @@ int PythonQtShell_QGraphicsSvgItem::qt_metacall(QMetaObject::Call call, int id, int result = QGraphicsSvgItem::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QRectF PythonQtWrapper_QGraphicsSvgItem::boundingRect(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - QString PythonQtWrapper_QGraphicsSvgItem::elementId(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->elementId()); @@ -184,11 +1158,6 @@ QSize PythonQtWrapper_QGraphicsSvgItem::maximumCacheSize(QGraphicsSvgItem* theW return ( theWrappedObject->maximumCacheSize()); } -void PythonQtWrapper_QGraphicsSvgItem::paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - QSvgRenderer* PythonQtWrapper_QGraphicsSvgItem::renderer(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->renderer()); @@ -214,11 +1183,6 @@ void PythonQtWrapper_QGraphicsSvgItem::setSharedRenderer(QGraphicsSvgItem* theWr ( theWrappedObject->setSharedRenderer(renderer)); } -int PythonQtWrapper_QGraphicsSvgItem::type(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { @@ -248,7 +1212,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -270,7 +1234,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -303,7 +1267,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -336,7 +1300,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -369,7 +1333,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -402,7 +1366,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -514,7 +1478,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -536,7 +1500,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -569,7 +1533,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -602,7 +1566,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -624,7 +1588,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -756,7 +1720,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -778,7 +1742,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -800,7 +1764,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -822,7 +1786,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -844,7 +1808,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -866,7 +1830,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -899,7 +1863,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -921,7 +1885,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -943,7 +1907,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -965,7 +1929,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -987,7 +1951,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1009,7 +1973,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1042,7 +2006,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1075,7 +2039,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1097,7 +2061,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1130,7 +2094,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1152,7 +2116,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1185,7 +2149,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1218,7 +2182,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1240,7 +2204,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1262,7 +2226,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1284,7 +2248,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1317,7 +2281,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1339,7 +2303,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1361,7 +2325,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1383,7 +2347,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1416,7 +2380,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1449,7 +2413,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1471,7 +2435,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1493,7 +2457,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1515,7 +2479,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1537,7 +2501,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1559,7 +2523,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1592,7 +2556,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1625,7 +2589,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1647,7 +2611,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1680,7 +2644,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1702,7 +2666,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1724,7 +2688,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1757,7 +2721,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1779,7 +2743,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1812,7 +2776,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1834,7 +2798,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1856,7 +2820,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1878,7 +2842,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.h index 47801dc0..7907e3a4 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_svg/com_trolltech_qt_svg0.h @@ -20,10 +20,15 @@ #include #include #include +#include +#include #include +#include +#include #include #include #include +#include #include #include #include @@ -33,9 +38,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -46,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -58,15 +66,52 @@ class PythonQtShell_QGraphicsSvgItem : public QGraphicsSvgItem PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(nullptr) {}; PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsSvgItem(); + ~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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSvgItem : public QGraphicsSvgItem @@ -86,19 +131,16 @@ public slots: QGraphicsSvgItem* new_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr); QGraphicsSvgItem* new_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr); void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSvgItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_boundingRect());} QString elementId(QGraphicsSvgItem* theWrappedObject) const; bool isCachingEnabled(QGraphicsSvgItem* theWrappedObject) const; QSize maximumCacheSize(QGraphicsSvgItem* theWrappedObject) const; - void paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QSvgRenderer* renderer(QGraphicsSvgItem* theWrappedObject) const; void setCachingEnabled(QGraphicsSvgItem* theWrappedObject, bool arg__1); void setElementId(QGraphicsSvgItem* theWrappedObject, const QString& id); void setMaximumCacheSize(QGraphicsSvgItem* theWrappedObject, const QSize& size); void setSharedRenderer(QGraphicsSvgItem* theWrappedObject, QSvgRenderer* renderer); - int type(QGraphicsSvgItem* theWrappedObject) const; int py_q_type(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_type());} }; @@ -120,7 +162,7 @@ QPaintEngine* paintEngine() const override; QPaintDevice* redirected(QPoint* offset) const override; QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator @@ -179,7 +221,7 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSvgRenderer : public QObject @@ -269,7 +311,7 @@ void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget diff --git a/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp index f0a02865..c1f4b512 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -33,7 +34,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -66,7 +67,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -99,7 +100,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -109,6 +110,39 @@ if (_wrapper) { } 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) { @@ -132,7 +166,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -154,7 +188,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -187,7 +221,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -220,7 +254,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -242,7 +276,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -299,6 +333,11 @@ QActionGroup* PythonQtWrapper_QUiLoader::createActionGroup(QUiLoader* theWrappe 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)); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h index 0a3774ad..3c35bef4 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -27,6 +28,7 @@ class PythonQtShell_QUiLoader : public QUiLoader 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; @@ -35,13 +37,14 @@ void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; + 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); } }; @@ -59,6 +62,8 @@ void delete_QUiLoader(QUiLoader* obj) { delete obj; } 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; diff --git a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 256e7306..d2b7a43a 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -1180,7 +1180,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1213,7 +1213,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1246,7 +1246,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1279,7 +1279,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1312,7 +1312,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1345,7 +1345,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1378,7 +1378,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1400,7 +1400,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1433,7 +1433,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1466,7 +1466,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1499,7 +1499,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1532,7 +1532,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1635,7 +1635,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1668,7 +1668,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1701,7 +1701,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1759,7 +1759,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1792,7 +1792,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1825,7 +1825,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1858,7 +1858,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1921,7 +1921,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1954,7 +1954,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1987,7 +1987,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2020,7 +2020,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2053,7 +2053,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2086,7 +2086,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2119,7 +2119,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2152,7 +2152,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2185,7 +2185,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2218,7 +2218,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2251,7 +2251,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2284,7 +2284,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2317,7 +2317,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2350,7 +2350,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2383,7 +2383,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2416,7 +2416,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2449,7 +2449,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2482,7 +2482,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2504,7 +2504,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2537,7 +2537,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2570,7 +2570,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2603,7 +2603,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2636,7 +2636,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2669,7 +2669,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2702,7 +2702,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2735,7 +2735,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2768,7 +2768,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2801,7 +2801,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2844,7 +2844,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2877,7 +2877,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2930,7 +2930,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2963,7 +2963,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2996,7 +2996,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3029,7 +3029,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3092,7 +3092,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3114,7 +3114,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3147,7 +3147,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3180,7 +3180,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3202,7 +3202,7 @@ if (_wrapper) { static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3224,7 +3224,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3246,7 +3246,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3328,7 +3328,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3361,7 +3361,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3394,7 +3394,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3427,7 +3427,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3460,7 +3460,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3493,7 +3493,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3526,7 +3526,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3559,7 +3559,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3642,7 +3642,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3675,7 +3675,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3763,7 +3763,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3796,7 +3796,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3829,7 +3829,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3862,7 +3862,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3895,7 +3895,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3928,7 +3928,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3961,7 +3961,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3994,7 +3994,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4027,7 +4027,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4060,7 +4060,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4093,7 +4093,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4126,7 +4126,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4148,7 +4148,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4170,7 +4170,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4192,7 +4192,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4214,7 +4214,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4236,7 +4236,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4258,7 +4258,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4280,7 +4280,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4302,7 +4302,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4445,7 +4445,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4478,7 +4478,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4511,7 +4511,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4544,7 +4544,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4577,7 +4577,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4610,7 +4610,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4643,7 +4643,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4676,7 +4676,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4709,7 +4709,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4742,7 +4742,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4775,7 +4775,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4808,7 +4808,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4841,7 +4841,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4874,7 +4874,7 @@ if (_wrapper) { } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4896,7 +4896,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4918,7 +4918,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4940,7 +4940,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4962,7 +4962,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4984,7 +4984,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5006,7 +5006,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5028,7 +5028,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5050,7 +5050,7 @@ if (_wrapper) { 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.h index 036fafe0..cc0abf4e 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml0.h @@ -441,7 +441,7 @@ class PythonQtShell_QXmlAttributes : public QXmlAttributes ~PythonQtShell_QXmlAttributes() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QXmlAttributes : public QObject @@ -496,7 +496,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlContentHandler : public QXmlContentHandler @@ -562,7 +562,7 @@ QString errorString() const override; bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDTDHandler : public QXmlDTDHandler @@ -602,7 +602,7 @@ QString errorString() const override; bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; bool internalEntityDecl(const QString& name, const QString& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDeclHandler : public QXmlDeclHandler @@ -669,7 +669,7 @@ 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; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDefaultHandler : public QXmlDefaultHandler @@ -754,7 +754,7 @@ class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver QString errorString() const override; bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlEntityResolver : public QXmlEntityResolver @@ -791,7 +791,7 @@ QString errorString() const override; bool fatalError(const QXmlParseException& exception) override; bool warning(const QXmlParseException& exception) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlErrorHandler : public QXmlErrorHandler @@ -838,7 +838,7 @@ void reset() override; void setData(const QByteArray& dat) override; void setData(const QString& dat) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource @@ -896,7 +896,7 @@ bool startCDATA() override; bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; bool startEntity(const QString& name) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLexicalHandler : public QXmlLexicalHandler @@ -949,7 +949,7 @@ class PythonQtShell_QXmlLocator : public QXmlLocator int columnNumber() const override; int lineNumber() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLocator : public QXmlLocator @@ -1020,7 +1020,7 @@ void setFeature(const QString& name, bool value) override; void setLexicalHandler(QXmlLexicalHandler* handler) override; void setProperty(const QString& name, void* value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlReader : public QXmlReader @@ -1129,7 +1129,7 @@ void setFeature(const QString& name, bool value) override; void setLexicalHandler(QXmlLexicalHandler* handler) override; void setProperty(const QString& name, void* value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlSimpleReader : public QXmlSimpleReader diff --git a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp index 2801b028..fdc07e71 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp @@ -207,11 +207,6 @@ bool PythonQtWrapper_QXmlStreamAttributes::__eq__(QXmlStreamAttributes* theWrap return ( (*theWrappedObject)== v); } -void PythonQtWrapper_QXmlStreamAttributes::prepend(QXmlStreamAttributes* theWrappedObject, QXmlStreamAttribute& t) -{ - ( theWrappedObject->prepend(t)); -} - void PythonQtWrapper_QXmlStreamAttributes::prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) { ( theWrappedObject->prepend(t)); diff --git a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.h index bce1b147..c9601def 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.h +++ b/generated_cpp_5.12.12/com_trolltech_qt_xml/com_trolltech_qt_xml1.h @@ -70,7 +70,6 @@ void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } 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, QXmlStreamAttribute& t); void prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); void remove(QXmlStreamAttributes* theWrappedObject, int i); void remove(QXmlStreamAttributes* theWrappedObject, int i, int n); diff --git a/generated_cpp_5.15 b/generated_cpp_5.15 index e6599ee2..a0a3b719 120000 --- a/generated_cpp_5.15 +++ b/generated_cpp_5.15 @@ -1 +1 @@ -generated_cpp_5.15.3 \ No newline at end of file +generated_cpp_5.15.2 \ No newline at end of file diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core.pri similarity index 65% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core.pri rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core.pri index d9003d9f..e4f3f13a 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core.pri @@ -2,9 +2,13 @@ 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.2/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.cpp new file mode 100644 index 00000000..6a5d15eb --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core0.h new file mode 100644 index 00000000..b5eae4f6 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp similarity index 53% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp index a60d2c3e..39280cfc 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.cpp @@ -1,1134 +1,779 @@ -#include "com_trolltech_qt_core0.h" +#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 +#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); } +QDeferredDeleteEvent* PythonQtWrapper_QDeferredDeleteEvent::new_QDeferredDeleteEvent() +{ +return new QDeferredDeleteEvent(); } + +int PythonQtWrapper_QDeferredDeleteEvent::loopLevel(QDeferredDeleteEvent* theWrappedObject) const +{ + return ( theWrappedObject->loopLevel()); } -int PythonQtShell_QAbstractAnimation::duration() const + + + +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 { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->absoluteFilePath(fileName)); } - return int(); + +QString PythonQtWrapper_QDir::absolutePath(QDir* theWrappedObject) const +{ + return ( theWrappedObject->absolutePath()); } -bool PythonQtShell_QAbstractAnimation::event(QEvent* event0) + +void PythonQtWrapper_QDir::static_QDir_addSearchPath(const QString& prefix, const QString& path) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + (QDir::addSearchPath(prefix, path)); } - return QAbstractAnimation::event(event0); + +QString PythonQtWrapper_QDir::canonicalPath(QDir* theWrappedObject) const +{ + return ( theWrappedObject->canonicalPath()); } -void PythonQtShell_QAbstractAnimation::updateCurrentTime(int currentTime0) + +bool PythonQtWrapper_QDir::cd(QDir* theWrappedObject, const QString& dirName) { -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] = {NULL, (void*)¤tTime0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->cd(dirName)); } - + +bool PythonQtWrapper_QDir::cdUp(QDir* theWrappedObject) +{ + return ( theWrappedObject->cdUp()); } -void PythonQtShell_QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction0) + +QString PythonQtWrapper_QDir::static_QDir_cleanPath(const QString& path) { -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] = {NULL, (void*)&direction0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QDir::cleanPath(path)); } - QAbstractAnimation::updateDirection(direction0); + +uint PythonQtWrapper_QDir::count(QDir* theWrappedObject) const +{ + return ( theWrappedObject->count()); } -void PythonQtShell_QAbstractAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) + +QDir PythonQtWrapper_QDir::static_QDir_current() { -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] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QDir::current()); } - QAbstractAnimation::updateState(newState0, oldState1); + +QString PythonQtWrapper_QDir::static_QDir_currentPath() +{ + return (QDir::currentPath()); } -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; - } +QString PythonQtWrapper_QDir::dirName(QDir* theWrappedObject) const +{ + return ( theWrappedObject->dirName()); } -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; + +QList PythonQtWrapper_QDir::static_QDir_drives() +{ + return (QDir::drives()); } -int PythonQtWrapper_QAbstractAnimation::currentLoop(QAbstractAnimation* theWrappedObject) const + +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const { - return ( theWrappedObject->currentLoop()); + return ( theWrappedObject->entryInfoList(filters, sort)); } -int PythonQtWrapper_QAbstractAnimation::currentLoopTime(QAbstractAnimation* theWrappedObject) const +QList PythonQtWrapper_QDir::entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const { - return ( theWrappedObject->currentLoopTime()); + return ( theWrappedObject->entryInfoList(nameFilters, filters, sort)); } -int PythonQtWrapper_QAbstractAnimation::currentTime(QAbstractAnimation* theWrappedObject) const +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, QDir::Filters filters, QDir::SortFlags sort) const { - return ( theWrappedObject->currentTime()); + return ( theWrappedObject->entryList(filters, sort)); } -QAbstractAnimation::Direction PythonQtWrapper_QAbstractAnimation::direction(QAbstractAnimation* theWrappedObject) const +QStringList PythonQtWrapper_QDir::entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort) const { - return ( theWrappedObject->direction()); + return ( theWrappedObject->entryList(nameFilters, filters, sort)); } -int PythonQtWrapper_QAbstractAnimation::duration(QAbstractAnimation* theWrappedObject) const +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject) const { - return ( theWrappedObject->duration()); + return ( theWrappedObject->exists()); } -bool PythonQtWrapper_QAbstractAnimation::event(QAbstractAnimation* theWrappedObject, QEvent* event) +bool PythonQtWrapper_QDir::exists(QDir* theWrappedObject, const QString& name) const { - return ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_event(event)); + return ( theWrappedObject->exists(name)); } -QAnimationGroup* PythonQtWrapper_QAbstractAnimation::group(QAbstractAnimation* theWrappedObject) const +QString PythonQtWrapper_QDir::filePath(QDir* theWrappedObject, const QString& fileName) const { - return ( theWrappedObject->group()); + return ( theWrappedObject->filePath(fileName)); } -int PythonQtWrapper_QAbstractAnimation::loopCount(QAbstractAnimation* theWrappedObject) const +QDir::Filters PythonQtWrapper_QDir::filter(QDir* theWrappedObject) const { - return ( theWrappedObject->loopCount()); + return ( theWrappedObject->filter()); } -void PythonQtWrapper_QAbstractAnimation::setDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction) +QString PythonQtWrapper_QDir::static_QDir_fromNativeSeparators(const QString& pathName) { - ( theWrappedObject->setDirection(direction)); + return (QDir::fromNativeSeparators(pathName)); } -void PythonQtWrapper_QAbstractAnimation::setLoopCount(QAbstractAnimation* theWrappedObject, int loopCount) +QDir PythonQtWrapper_QDir::static_QDir_home() { - ( theWrappedObject->setLoopCount(loopCount)); + return (QDir::home()); } -QAbstractAnimation::State PythonQtWrapper_QAbstractAnimation::state(QAbstractAnimation* theWrappedObject) const +QString PythonQtWrapper_QDir::static_QDir_homePath() { - return ( theWrappedObject->state()); + return (QDir::homePath()); } -int PythonQtWrapper_QAbstractAnimation::totalDuration(QAbstractAnimation* theWrappedObject) const +bool PythonQtWrapper_QDir::isAbsolute(QDir* theWrappedObject) const { - return ( theWrappedObject->totalDuration()); + return ( theWrappedObject->isAbsolute()); } -void PythonQtWrapper_QAbstractAnimation::updateCurrentTime(QAbstractAnimation* theWrappedObject, int currentTime) +bool PythonQtWrapper_QDir::static_QDir_isAbsolutePath(const QString& path) { - ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateCurrentTime(currentTime)); + return (QDir::isAbsolutePath(path)); } -void PythonQtWrapper_QAbstractAnimation::updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction) +bool PythonQtWrapper_QDir::isEmpty(QDir* theWrappedObject, QDir::Filters filters) const { - ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateDirection(direction)); + return ( theWrappedObject->isEmpty(filters)); } -void PythonQtWrapper_QAbstractAnimation::updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState) +bool PythonQtWrapper_QDir::isReadable(QDir* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractAnimation*)theWrappedObject)->promoted_updateState(newState, oldState)); + 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)); +} -PythonQtShell_QAbstractItemModel::~PythonQtShell_QAbstractItemModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QDir::isRoot(QDir* theWrappedObject) const +{ + return ( theWrappedObject->isRoot()); } -QModelIndex PythonQtShell_QAbstractItemModel::buddy(const QModelIndex& index0) const + +QChar PythonQtWrapper_QDir::static_QDir_listSeparator() { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QDir::listSeparator()); } - return QAbstractItemModel::buddy(index0); + +bool PythonQtWrapper_QDir::makeAbsolute(QDir* theWrappedObject) +{ + return ( theWrappedObject->makeAbsolute()); } -bool PythonQtShell_QAbstractItemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const + +bool PythonQtWrapper_QDir::static_QDir_match(const QString& filter, const QString& fileName) { -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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 (QDir::match(filter, fileName)); } - return QAbstractItemModel::canDropMimeData(data0, action1, row2, column3, parent4); + +bool PythonQtWrapper_QDir::static_QDir_match(const QStringList& filters, const QString& fileName) +{ + return (QDir::match(filters, fileName)); } -bool PythonQtShell_QAbstractItemModel::canFetchMore(const QModelIndex& parent0) const + +bool PythonQtWrapper_QDir::mkdir(QDir* theWrappedObject, const QString& dirName) 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] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mkdir(dirName)); } - return QAbstractItemModel::canFetchMore(parent0); + +bool PythonQtWrapper_QDir::mkpath(QDir* theWrappedObject, const QString& dirPath) const +{ + return ( theWrappedObject->mkpath(dirPath)); } -int PythonQtShell_QAbstractItemModel::columnCount(const QModelIndex& parent0) const + +QStringList PythonQtWrapper_QDir::nameFilters(QDir* theWrappedObject) 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] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->nameFilters()); } - return int(); + +QStringList PythonQtWrapper_QDir::static_QDir_nameFiltersFromString(const QString& nameFilter) +{ + return (QDir::nameFiltersFromString(nameFilter)); } -QVariant PythonQtShell_QAbstractItemModel::data(const QModelIndex& index0, int role1) const + +bool PythonQtWrapper_QDir::__ne__(QDir* theWrappedObject, const QDir& dir) 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] = {NULL, (void*)&index0, (void*)&role1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( (*theWrappedObject)!= dir); } - return QVariant(); + +bool PythonQtWrapper_QDir::__eq__(QDir* theWrappedObject, const QDir& dir) const +{ + return ( (*theWrappedObject)== dir); } -bool PythonQtShell_QAbstractItemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) + +QString PythonQtWrapper_QDir::operator_subscript(QDir* theWrappedObject, int arg__1) const { -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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( (*theWrappedObject)[arg__1]); } - return QAbstractItemModel::dropMimeData(data0, action1, row2, column3, parent4); + +QString PythonQtWrapper_QDir::path(QDir* theWrappedObject) const +{ + return ( theWrappedObject->path()); } -void PythonQtShell_QAbstractItemModel::fetchMore(const QModelIndex& parent0) + +void PythonQtWrapper_QDir::refresh(QDir* theWrappedObject) const { -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] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->refresh()); } - QAbstractItemModel::fetchMore(parent0); + +QString PythonQtWrapper_QDir::relativeFilePath(QDir* theWrappedObject, const QString& fileName) const +{ + return ( theWrappedObject->relativeFilePath(fileName)); } -Qt::ItemFlags PythonQtShell_QAbstractItemModel::flags(const QModelIndex& index0) const + +bool PythonQtWrapper_QDir::remove(QDir* theWrappedObject, const QString& fileName) { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->remove(fileName)); } - return QAbstractItemModel::flags(index0); + +bool PythonQtWrapper_QDir::removeRecursively(QDir* theWrappedObject) +{ + return ( theWrappedObject->removeRecursively()); } -bool PythonQtShell_QAbstractItemModel::hasChildren(const QModelIndex& parent0) const + +bool PythonQtWrapper_QDir::rename(QDir* theWrappedObject, const QString& oldName, const QString& newName) { -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] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rename(oldName, newName)); } - return QAbstractItemModel::hasChildren(parent0); + +bool PythonQtWrapper_QDir::rmdir(QDir* theWrappedObject, const QString& dirName) const +{ + return ( theWrappedObject->rmdir(dirName)); } -QVariant PythonQtShell_QAbstractItemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const + +bool PythonQtWrapper_QDir::rmpath(QDir* theWrappedObject, const QString& dirPath) 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->rmpath(dirPath)); } - return QAbstractItemModel::headerData(section0, orientation1, role2); + +QDir PythonQtWrapper_QDir::static_QDir_root() +{ + return (QDir::root()); } -QModelIndex PythonQtShell_QAbstractItemModel::index(int row0, int column1, const QModelIndex& parent2) const + +QString PythonQtWrapper_QDir::static_QDir_rootPath() { -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] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 (QDir::rootPath()); } - return QModelIndex(); + +QStringList PythonQtWrapper_QDir::static_QDir_searchPaths(const QString& prefix) +{ + return (QDir::searchPaths(prefix)); } -bool PythonQtShell_QAbstractItemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) + +QChar PythonQtWrapper_QDir::static_QDir_separator() { -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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 (QDir::separator()); } - return QAbstractItemModel::insertColumns(column0, count1, parent2); + +bool PythonQtWrapper_QDir::static_QDir_setCurrent(const QString& path) +{ + return (QDir::setCurrent(path)); } -bool PythonQtShell_QAbstractItemModel::insertRows(int row0, int count1, const QModelIndex& parent2) + +void PythonQtWrapper_QDir::setFilter(QDir* theWrappedObject, QDir::Filters filter) { -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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFilter(filter)); } - return QAbstractItemModel::insertRows(row0, count1, parent2); + +void PythonQtWrapper_QDir::setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters) +{ + ( theWrappedObject->setNameFilters(nameFilters)); } -QMap PythonQtShell_QAbstractItemModel::itemData(const QModelIndex& index0) const + +void PythonQtWrapper_QDir::setPath(QDir* theWrappedObject, const QString& path) { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPath(path)); } - return QAbstractItemModel::itemData(index0); + +void PythonQtWrapper_QDir::static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths) +{ + (QDir::setSearchPaths(prefix, searchPaths)); } -QList PythonQtShell_QAbstractItemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const + +void PythonQtWrapper_QDir::setSorting(QDir* theWrappedObject, QDir::SortFlags sort) { -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] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSorting(sort)); } - return QAbstractItemModel::match(start0, role1, value2, hits3, flags4); + +QDir::SortFlags PythonQtWrapper_QDir::sorting(QDir* theWrappedObject) const +{ + return ( theWrappedObject->sorting()); } -QMimeData* PythonQtShell_QAbstractItemModel::mimeData(const QList& indexes0) const + +void PythonQtWrapper_QDir::swap(QDir* theWrappedObject, QDir& other) { -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] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - return QAbstractItemModel::mimeData(indexes0); + +QDir PythonQtWrapper_QDir::static_QDir_temp() +{ + return (QDir::temp()); } -QStringList PythonQtShell_QAbstractItemModel::mimeTypes() const + +QString PythonQtWrapper_QDir::static_QDir_tempPath() { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QDir::tempPath()); +} + +QString PythonQtWrapper_QDir::static_QDir_toNativeSeparators(const QString& pathName) +{ + return (QDir::toNativeSeparators(pathName)); } - return QAbstractItemModel::mimeTypes(); + +QString PythonQtWrapper_QDir::py_toString(QDir* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -bool PythonQtShell_QAbstractItemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) + + + +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 { -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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->fileInfo()); } - return QAbstractItemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + +QString PythonQtWrapper_QDirIterator::fileName(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); } -bool PythonQtShell_QAbstractItemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) + +QString PythonQtWrapper_QDirIterator::filePath(QDirIterator* theWrappedObject) const { -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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->filePath()); } - return QAbstractItemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + +bool PythonQtWrapper_QDirIterator::hasNext(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->hasNext()); } -QModelIndex PythonQtShell_QAbstractItemModel::parent(const QModelIndex& child0) const + +QString PythonQtWrapper_QDirIterator::next(QDirIterator* theWrappedObject) { -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] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->next()); } - return QModelIndex(); + +QString PythonQtWrapper_QDirIterator::path(QDirIterator* theWrappedObject) const +{ + return ( theWrappedObject->path()); } -bool PythonQtShell_QAbstractItemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) + + + +QDynamicPropertyChangeEvent* PythonQtWrapper_QDynamicPropertyChangeEvent::new_QDynamicPropertyChangeEvent(const QByteArray& name) +{ +return new QDynamicPropertyChangeEvent(name); } + +QByteArray PythonQtWrapper_QDynamicPropertyChangeEvent::propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const { -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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->propertyName()); } - return QAbstractItemModel::removeColumns(column0, count1, parent2); + + + +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)); } -bool PythonQtShell_QAbstractItemModel::removeRows(int row0, int count1, const QModelIndex& parent2) + +void PythonQtWrapper_QEasingCurve::addTCBSegment(QEasingCurve* theWrappedObject, const QPointF& nextPoint, qreal t, qreal c, qreal b) { -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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addTCBSegment(nextPoint, t, c, b)); } - return QAbstractItemModel::removeRows(row0, count1, parent2); + +qreal PythonQtWrapper_QEasingCurve::amplitude(QEasingCurve* theWrappedObject) const +{ + return ( theWrappedObject->amplitude()); } -void PythonQtShell_QAbstractItemModel::revert() + +bool PythonQtWrapper_QEasingCurve::__ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - QAbstractItemModel::revert(); + +void PythonQtWrapper_QEasingCurve::writeTo(QEasingCurve* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); } -QHash PythonQtShell_QAbstractItemModel::roleNames() const + +QEasingCurve* PythonQtWrapper_QEasingCurve::operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + 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)); } - return QAbstractItemModel::roleNames(); + +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); } } -int PythonQtShell_QAbstractItemModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QEventLoop::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return int(); + QEventLoop::childEvent(event0); } -bool PythonQtShell_QAbstractItemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QEventLoop::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractItemModel::setData(index0, value1, role2); + QEventLoop::customEvent(event0); } -bool PythonQtShell_QAbstractItemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +bool PythonQtShell_QEventLoop::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1136,32 +781,32 @@ if (_wrapper) { } } } - return QAbstractItemModel::setHeaderData(section0, orientation1, value2, role3); + return QEventLoop::event(event0); } -bool PythonQtShell_QAbstractItemModel::setItemData(const QModelIndex& index0, const QMap& roles1) +bool PythonQtShell_QEventLoop::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setItemData"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1169,54 +814,96 @@ if (_wrapper) { } } } - return QAbstractItemModel::setItemData(index0, roles1); + return QEventLoop::eventFilter(watched0, event1); } -QModelIndex PythonQtShell_QAbstractItemModel::sibling(int row0, int column1, const QModelIndex& idx2) const +void PythonQtShell_QEventLoop::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sibling"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractItemModel::sibling(row0, column1, idx2); + QEventLoop::timerEvent(event0); } -void PythonQtShell_QAbstractItemModel::sort(int column0, Qt::SortOrder order1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE +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("sort"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&column0, (void*)&order1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1224,65 +911,54 @@ if (_wrapper) { } } } - QAbstractItemModel::sort(column0, order1); + QEventTransition::childEvent(event0); } -QSize PythonQtShell_QAbstractItemModel::span(const QModelIndex& index0) const +void PythonQtShell_QEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractItemModel::span(index0); + QEventTransition::customEvent(event0); } -bool PythonQtShell_QAbstractItemModel::submit() +bool PythonQtShell_QEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1290,32 +966,32 @@ if (_wrapper) { } } } - return QAbstractItemModel::submit(); + return QEventTransition::event(e0); } -Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDragActions() const +bool PythonQtShell_QEventTransition::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1323,32 +999,32 @@ if (_wrapper) { } } } - return QAbstractItemModel::supportedDragActions(); + return QEventTransition::eventFilter(watched0, event1); } -Qt::DropActions PythonQtShell_QAbstractItemModel::supportedDropActions() const +bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("eventTest"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1356,355 +1032,204 @@ if (_wrapper) { } } } - return QAbstractItemModel::supportedDropActions(); + 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); } -QAbstractItemModel* PythonQtWrapper_QAbstractItemModel::new_QAbstractItemModel(QObject* parent) +QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState) { -return new PythonQtShell_QAbstractItemModel(parent); } +return new PythonQtShell_QEventTransition(object, type, sourceState); } + +QEventTransition* PythonQtWrapper_QEventTransition::new_QEventTransition(QState* sourceState) +{ +return new PythonQtShell_QEventTransition(sourceState); } -const QMetaObject* PythonQtShell_QAbstractItemModel::metaObject() const { +const QMetaObject* PythonQtShell_QEventTransition::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractItemModel::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QEventTransition::staticMetaObject); } else { - return &QAbstractItemModel::staticMetaObject; + return &QEventTransition::staticMetaObject; } } -int PythonQtShell_QAbstractItemModel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QAbstractItemModel::qt_metacall(call, id, args); +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; } -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) +QObject* PythonQtWrapper_QEventTransition::eventSource(QEventTransition* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginRemoveColumns(parent, first, last)); + return ( theWrappedObject->eventSource()); } -void PythonQtWrapper_QAbstractItemModel::beginRemoveRows(QAbstractItemModel* theWrappedObject, const QModelIndex& parent, int first, int last) +QEvent::Type PythonQtWrapper_QEventTransition::eventType(QEventTransition* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginRemoveRows(parent, first, last)); + return ( theWrappedObject->eventType()); } -void PythonQtWrapper_QAbstractItemModel::beginResetModel(QAbstractItemModel* theWrappedObject) +void PythonQtWrapper_QEventTransition::setEventSource(QEventTransition* theWrappedObject, QObject* object) { - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_beginResetModel()); + ( theWrappedObject->setEventSource(object)); } -QModelIndex PythonQtWrapper_QAbstractItemModel::buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QEventTransition::setEventType(QEventTransition* theWrappedObject, QEvent::Type type) { - return ( theWrappedObject->buddy(index)); + ( theWrappedObject->setEventType(type)); } -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)); +PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QAbstractItemModel::changePersistentIndexList(QAbstractItemModel* theWrappedObject, const QList& from, const QList& to) +QStringList PythonQtShell_QFactoryInterface::keys() const { - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_changePersistentIndexList(from, to)); +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(); + } + } } - -int PythonQtWrapper_QAbstractItemModel::columnCount(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const -{ - return ( theWrappedObject->columnCount(parent)); + return QStringList(); } +QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() +{ +return new PythonQtShell_QFactoryInterface(); } -QModelIndex PythonQtWrapper_QAbstractItemModel::createIndex(QAbstractItemModel* theWrappedObject, int row, int column, quintptr id) const +QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_createIndex(row, column, id)); + return ( theWrappedObject->keys()); } -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)); +PythonQtShell_QFile::~PythonQtShell_QFile() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -bool PythonQtWrapper_QAbstractItemModel::dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +bool PythonQtShell_QFile::atEnd() const { - return ( theWrappedObject->dropMimeData(data, action, row, column, parent)); +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(); + } + } } - -void PythonQtWrapper_QAbstractItemModel::encodeData(QAbstractItemModel* theWrappedObject, const QList& indexes, QDataStream& stream) const -{ - ( ((PythonQtPublicPromoter_QAbstractItemModel*)theWrappedObject)->promoted_encodeData(indexes, stream)); + return QFile::atEnd(); } - -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 +qint64 PythonQtShell_QFile::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("buddy"); + static PyObject* name = PyString_FromString("bytesAvailable"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1712,32 +1237,32 @@ if (_wrapper) { } } } - return QAbstractListModel::buddy(index0); + return QFile::bytesAvailable(); } -bool PythonQtShell_QAbstractListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +qint64 PythonQtShell_QFile::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canDropMimeData"); + static PyObject* name = PyString_FromString("bytesToWrite"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1745,32 +1270,32 @@ if (_wrapper) { } } } - return QAbstractListModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QFile::bytesToWrite(); } -bool PythonQtShell_QAbstractListModel::canFetchMore(const QModelIndex& parent0) const +bool PythonQtShell_QFile::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); + static PyObject* name = PyString_FromString("canReadLine"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1778,87 +1303,65 @@ if (_wrapper) { } } } - return QAbstractListModel::canFetchMore(parent0); + return QFile::canReadLine(); } -QVariant PythonQtShell_QAbstractListModel::data(const QModelIndex& index0, int role1) const +void PythonQtShell_QFile::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&index0, (void*)&role1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QVariant(); + QFile::childEvent(event0); } -bool PythonQtShell_QAbstractListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +void PythonQtShell_QFile::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("close"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractListModel::dropMimeData(data0, action1, row2, column3, parent4); + QFile::close(); } -void PythonQtShell_QAbstractListModel::fetchMore(const QModelIndex& parent0) +void PythonQtShell_QFile::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1866,32 +1369,32 @@ if (_wrapper) { } } } - QAbstractListModel::fetchMore(parent0); + QFile::customEvent(event0); } -Qt::ItemFlags PythonQtShell_QAbstractListModel::flags(const QModelIndex& index0) const +bool PythonQtShell_QFile::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((Qt::ItemFlags*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1899,32 +1402,32 @@ if (_wrapper) { } } } - return QAbstractListModel::flags(index0); + return QFile::event(event0); } -QVariant PythonQtShell_QAbstractListModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +bool PythonQtShell_QFile::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1932,32 +1435,32 @@ if (_wrapper) { } } } - return QAbstractListModel::headerData(section0, orientation1, role2); + return QFile::eventFilter(watched0, event1); } -QModelIndex PythonQtShell_QAbstractListModel::index(int row0, int column1, const QModelIndex& parent2) const +QString PythonQtShell_QFile::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("fileName"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1965,32 +1468,32 @@ if (_wrapper) { } } } - return QAbstractListModel::index(row0, column1, parent2); + return QFile::fileName(); } -bool PythonQtShell_QAbstractListModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QFile::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("isSequential"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1998,32 +1501,32 @@ if (_wrapper) { } } } - return QAbstractListModel::insertColumns(column0, count1, parent2); + return QFile::isSequential(); } -bool PythonQtShell_QAbstractListModel::insertRows(int row0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QFile::open(QIODevice::OpenMode flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); + static PyObject* name = PyString_FromString("open"); 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); + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2031,32 +1534,32 @@ if (_wrapper) { } } } - return QAbstractListModel::insertRows(row0, count1, parent2); + return QFile::open(flags0); } -QMap PythonQtShell_QAbstractListModel::itemData(const QModelIndex& index0) const +QFileDevice::Permissions PythonQtShell_QFile::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemData"); + static PyObject* name = PyString_FromString("permissions"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); } else { - returnValue = *((QMap*)args[0]); + returnValue = *((QFileDevice::Permissions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2064,32 +1567,32 @@ if (_wrapper) { } } } - return QAbstractListModel::itemData(index0); + return QFile::permissions(); } -QList PythonQtShell_QAbstractListModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +qint64 PythonQtShell_QFile::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("match"); + static PyObject* name = PyString_FromString("pos"); 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] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2097,32 +1600,32 @@ if (_wrapper) { } } } - return QAbstractListModel::match(start0, role1, value2, hits3, flags4); + return QFile::pos(); } -QMimeData* PythonQtShell_QAbstractListModel::mimeData(const QList& indexes0) const +qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("readData"); 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] = {NULL, (void*)&indexes0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2130,32 +1633,32 @@ if (_wrapper) { } } } - return QAbstractListModel::mimeData(indexes0); + return QFile::readData(data0, maxlen1); } -QStringList PythonQtShell_QAbstractListModel::mimeTypes() const +qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("readLineData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2163,32 +1666,32 @@ if (_wrapper) { } } } - return QAbstractListModel::mimeTypes(); + return QFile::readLineData(data0, maxlen1); } -bool PythonQtShell_QAbstractListModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +bool PythonQtShell_QFile::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); + static PyObject* name = PyString_FromString("reset"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2196,32 +1699,32 @@ if (_wrapper) { } } } - return QAbstractListModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + return QFile::reset(); } -bool PythonQtShell_QAbstractListModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +bool PythonQtShell_QFile::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); + static PyObject* name = PyString_FromString("resize"); 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); + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[2] = {nullptr, (void*)&sz0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2229,32 +1732,32 @@ if (_wrapper) { } } } - return QAbstractListModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + return QFile::resize(sz0); } -bool PythonQtShell_QAbstractListModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QFile::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); + static PyObject* name = PyString_FromString("seek"); 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); + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2262,32 +1765,32 @@ if (_wrapper) { } } } - return QAbstractListModel::removeColumns(column0, count1, parent2); + return QFile::seek(offset0); } -bool PythonQtShell_QAbstractListModel::removeRows(int row0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); + static PyObject* name = PyString_FromString("setPermissions"); 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); + static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[2] = {nullptr, (void*)&permissionSpec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2295,54 +1798,32 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QAbstractListModel::revert(); + return QFile::setPermissions(permissionSpec0); } -QHash PythonQtShell_QAbstractListModel::roleNames() const +qint64 PythonQtShell_QFile::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QHash"}; + static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue{}; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { - returnValue = *((QHash*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2350,65 +1831,54 @@ if (_wrapper) { } } } - return QAbstractListModel::roleNames(); + return QFile::size(); } -int PythonQtShell_QAbstractListModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QFile::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return int(); + QFile::timerEvent(event0); } -bool PythonQtShell_QAbstractListModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("waitForBytesWritten"); 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); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2416,32 +1886,32 @@ if (_wrapper) { } } } - return QAbstractListModel::setData(index0, value1, role2); + return QFile::waitForBytesWritten(msecs0); } -bool PythonQtShell_QAbstractListModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +bool PythonQtShell_QFile::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("waitForReadyRead"); 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); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2449,32 +1919,32 @@ if (_wrapper) { } } } - return QAbstractListModel::setHeaderData(section0, orientation1, value2, role3); + return QFile::waitForReadyRead(msecs0); } -bool PythonQtShell_QAbstractListModel::setItemData(const QModelIndex& index0, const QMap& roles1) +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("setItemData"); + static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2482,120 +1952,172 @@ if (_wrapper) { } } } - return QAbstractListModel::setItemData(index0, roles1); + return QFile::writeData(data0, len1); } -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] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QAbstractListModel::sibling(row0, column1, idx2); +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; } -void PythonQtShell_QAbstractListModel::sort(int column0, Qt::SortOrder order1) +bool PythonQtWrapper_QFile::static_QFile_copy(const QString& fileName, const QString& newName) { -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] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QFile::copy(fileName, newName)); } - QAbstractListModel::sort(column0, order1); + +bool PythonQtWrapper_QFile::copy(QFile* theWrappedObject, const QString& newName) +{ + return ( theWrappedObject->copy(newName)); } -QSize PythonQtShell_QAbstractListModel::span(const QModelIndex& index0) const + +QString PythonQtWrapper_QFile::static_QFile_decodeName(const QByteArray& localFileName) { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + 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()); } - return QAbstractListModel::span(index0); + +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_QAbstractListModel::submit() +bool PythonQtShell_QFileDevice::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2603,32 +2125,32 @@ if (_wrapper) { } } } - return QAbstractListModel::submit(); + return QFileDevice::atEnd(); } -Qt::DropActions PythonQtShell_QAbstractListModel::supportedDragActions() const +qint64 PythonQtShell_QFileDevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("bytesAvailable"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2636,32 +2158,32 @@ if (_wrapper) { } } } - return QAbstractListModel::supportedDragActions(); + return QFileDevice::bytesAvailable(); } -Qt::DropActions PythonQtShell_QAbstractListModel::supportedDropActions() const +qint64 PythonQtShell_QFileDevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2669,55 +2191,32 @@ if (_wrapper) { } } } - return QAbstractListModel::supportedDropActions(); -} -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); } + return QFileDevice::bytesToWrite(); } -bool PythonQtShell_QAbstractState::event(QEvent* e0) +bool PythonQtShell_QFileDevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2725,21 +2224,21 @@ if (_wrapper) { } } } - return QAbstractState::event(e0); + return QFileDevice::canReadLine(); } -void PythonQtShell_QAbstractState::onEntry(QEvent* event0) +void PythonQtShell_QFileDevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2747,21 +2246,21 @@ if (_wrapper) { } } } - + QFileDevice::childEvent(event0); } -void PythonQtShell_QAbstractState::onExit(QEvent* event0) +void PythonQtShell_QFileDevice::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); + static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2769,62 +2268,31 @@ if (_wrapper) { } } } - -} -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()); -} - -bool PythonQtWrapper_QAbstractState::event(QAbstractState* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QAbstractState*)theWrappedObject)->promoted_event(e)); -} - -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)); + QFileDevice::close(); } - -QState* PythonQtWrapper_QAbstractState::parentState(QAbstractState* theWrappedObject) const +void PythonQtShell_QFileDevice::customEvent(QEvent* event0) { - return ( theWrappedObject->parentState()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QAbstractTransition::~PythonQtShell_QAbstractTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFileDevice::customEvent(event0); } -bool PythonQtShell_QAbstractTransition::event(QEvent* e0) +bool PythonQtShell_QFileDevice::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2835,19 +2303,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2855,32 +2323,32 @@ if (_wrapper) { } } } - return QAbstractTransition::event(e0); + return QFileDevice::event(event0); } -bool PythonQtShell_QAbstractTransition::eventTest(QEvent* 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("eventTest"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2888,147 +2356,65 @@ if (_wrapper) { } } } - return bool(); + return QFileDevice::eventFilter(watched0, event1); } -void PythonQtShell_QAbstractTransition::onTransition(QEvent* event0) +QString PythonQtShell_QFileDevice::fileName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); + static PyObject* name = PyString_FromString("fileName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - -} -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)); + return QFileDevice::fileName(); } - -QList PythonQtWrapper_QAbstractTransition::animations(QAbstractTransition* theWrappedObject) const -{ - return ( theWrappedObject->animations()); -} - -bool PythonQtWrapper_QAbstractTransition::event(QAbstractTransition* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QAbstractTransition*)theWrappedObject)->promoted_event(e)); -} - -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); } -} -int PythonQtShell_QAnimationGroup::duration() const +bool PythonQtShell_QFileDevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); + static PyObject* name = PyString_FromString("isSequential"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3036,32 +2422,32 @@ if (_wrapper) { } } } - return int(); + return QFileDevice::isSequential(); } -bool PythonQtShell_QAnimationGroup::event(QEvent* event0) +bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3069,172 +2455,131 @@ if (_wrapper) { } } } - return QAnimationGroup::event(event0); + return QFileDevice::open(mode0); } -void PythonQtShell_QAnimationGroup::updateCurrentTime(int currentTime0) +QFileDevice::Permissions PythonQtShell_QFileDevice::permissions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); + static PyObject* name = PyString_FromString("permissions"); 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] = {NULL, (void*)¤tTime0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + } else { + returnValue = *((QFileDevice::Permissions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - + return QFileDevice::permissions(); } -void PythonQtShell_QAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +qint64 PythonQtShell_QFileDevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); + static PyObject* name = PyString_FromString("pos"); 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] = {NULL, (void*)&direction0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QAnimationGroup::updateDirection(direction0); + return QFileDevice::pos(); } -void PythonQtShell_QAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateState"); + static PyObject* name = PyString_FromString("readData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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_QBuffer::~PythonQtShell_QBuffer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QFileDevice::readData(data0, maxlen1); } -bool PythonQtShell_QBuffer::atEnd() const +qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("readLineData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3242,32 +2587,32 @@ if (_wrapper) { } } } - return QBuffer::atEnd(); + return QFileDevice::readLineData(data0, maxlen1); } -qint64 PythonQtShell_QBuffer::bytesAvailable() const +bool PythonQtShell_QFileDevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3275,32 +2620,32 @@ if (_wrapper) { } } } - return QBuffer::bytesAvailable(); + return QFileDevice::reset(); } -qint64 PythonQtShell_QBuffer::bytesToWrite() const +bool PythonQtShell_QFileDevice::resize(qint64 sz0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("resize"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3308,32 +2653,32 @@ if (_wrapper) { } } } - return QBuffer::bytesToWrite(); + return QFileDevice::resize(sz0); } -bool PythonQtShell_QBuffer::canReadLine() const +bool PythonQtShell_QFileDevice::seek(qint64 offset0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3341,65 +2686,87 @@ if (_wrapper) { } } } - return QBuffer::canReadLine(); + return QFileDevice::seek(offset0); } -void PythonQtShell_QBuffer::close() +bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); + static PyObject* name = PyString_FromString("setPermissions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QBuffer::close(); + return QFileDevice::setPermissions(permissionSpec0); } -void PythonQtShell_QBuffer::connectNotify(const QMetaMethod& arg__1) +qint64 PythonQtShell_QFileDevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("connectNotify"); + static PyObject* name = PyString_FromString("size"); 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] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QBuffer::connectNotify(arg__1); + return QFileDevice::size(); } -void PythonQtShell_QBuffer::disconnectNotify(const QMetaMethod& arg__1) +void PythonQtShell_QFileDevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("disconnectNotify"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QMetaMethod&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3407,32 +2774,32 @@ if (_wrapper) { } } } - QBuffer::disconnectNotify(arg__1); + QFileDevice::timerEvent(event0); } -bool PythonQtShell_QBuffer::isSequential() const +bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3440,32 +2807,32 @@ if (_wrapper) { } } } - return QBuffer::isSequential(); + return QFileDevice::waitForBytesWritten(msecs0); } -bool PythonQtShell_QBuffer::open(QIODevice::OpenMode openMode0) +bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); + static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&openMode0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3473,273 +2840,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&off0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QBuffer::size(); -} -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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); + return QFileDevice::waitForReadyRead(msecs0); } -qint64 PythonQtShell_QBuffer::writeData(const char* data0, qint64 len1) +qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3750,19 +2853,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3770,745 +2873,665 @@ if (_wrapper) { } } } - return QBuffer::writeData(data0, len1); + return QFileDevice::writeData(data0, len1); } -QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QByteArray* buf, QObject* parent) +QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice() { -return new PythonQtShell_QBuffer(buf, parent); } +return new PythonQtShell_QFileDevice(); } -QBuffer* PythonQtWrapper_QBuffer::new_QBuffer(QObject* parent) +QFileDevice* PythonQtWrapper_QFileDevice::new_QFileDevice(QObject* parent) { -return new PythonQtShell_QBuffer(parent); } +return new PythonQtShell_QFileDevice(parent); } -const QMetaObject* PythonQtShell_QBuffer::metaObject() const { +const QMetaObject* PythonQtShell_QFileDevice::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QBuffer::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileDevice::staticMetaObject); } else { - return &QBuffer::staticMetaObject; + return &QFileDevice::staticMetaObject; } } -int PythonQtShell_QBuffer::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QBuffer::qt_metacall(call, id, args); +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; } -const QByteArray* PythonQtWrapper_QBuffer::buffer(QBuffer* theWrappedObject) const +QFileDevice::FileError PythonQtWrapper_QFileDevice::error(QFileDevice* theWrappedObject) const { - return &( theWrappedObject->buffer()); + return ( theWrappedObject->error()); } -void PythonQtWrapper_QBuffer::connectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1) +QString PythonQtWrapper_QFileDevice::fileName(QFileDevice* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_connectNotify(arg__1)); + return ( theWrappedObject->fileName()); } -const QByteArray* PythonQtWrapper_QBuffer::data(QBuffer* theWrappedObject) const +QDateTime PythonQtWrapper_QFileDevice::fileTime(QFileDevice* theWrappedObject, QFileDevice::FileTime time) const { - return &( theWrappedObject->data()); + return ( theWrappedObject->fileTime(time)); } -void PythonQtWrapper_QBuffer::disconnectNotify(QBuffer* theWrappedObject, const QMetaMethod& arg__1) +bool PythonQtWrapper_QFileDevice::flush(QFileDevice* theWrappedObject) { - ( ((PythonQtPublicPromoter_QBuffer*)theWrappedObject)->promoted_disconnectNotify(arg__1)); + return ( theWrappedObject->flush()); } -void PythonQtWrapper_QBuffer::setBuffer(QBuffer* theWrappedObject, QByteArray* a) +int PythonQtWrapper_QFileDevice::handle(QFileDevice* theWrappedObject) const { - ( theWrappedObject->setBuffer(a)); + return ( theWrappedObject->handle()); } -void PythonQtWrapper_QBuffer::setData(QBuffer* theWrappedObject, const QByteArray& data) +uchar* PythonQtWrapper_QFileDevice::map(QFileDevice* theWrappedObject, qint64 offset, qint64 size, QFileDevice::MemoryMapFlags flags) { - ( theWrappedObject->setData(data)); + return ( theWrappedObject->map(offset, size, flags)); } - - -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 +QFileDevice::Permissions PythonQtWrapper_QFileDevice::permissions(QFileDevice* theWrappedObject) const { - return ( theWrappedObject->indexIn(ba, from)); + return ( theWrappedObject->permissions()); } -int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const char* str, int len, int from) const +bool PythonQtWrapper_QFileDevice::resize(QFileDevice* theWrappedObject, qint64 sz) { - return ( theWrappedObject->indexIn(str, len, from)); + return ( theWrappedObject->resize(sz)); } -QByteArray PythonQtWrapper_QByteArrayMatcher::pattern(QByteArrayMatcher* theWrappedObject) const +bool PythonQtWrapper_QFileDevice::setFileTime(QFileDevice* theWrappedObject, const QDateTime& newDate, QFileDevice::FileTime fileTime) { - return ( theWrappedObject->pattern()); + return ( theWrappedObject->setFileTime(newDate, fileTime)); } -void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern) -{ - ( theWrappedObject->setPattern(pattern)); -} - - - -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 +bool PythonQtWrapper_QFileDevice::setPermissions(QFileDevice* theWrappedObject, QFileDevice::Permissions permissionSpec) { - return ( theWrappedObject->added()); + return ( theWrappedObject->setPermissions(permissionSpec)); } -QObject* PythonQtWrapper_QChildEvent::child(QChildEvent* theWrappedObject) const +bool PythonQtWrapper_QFileDevice::unmap(QFileDevice* theWrappedObject, uchar* address) { - return ( theWrappedObject->child()); + return ( theWrappedObject->unmap(address)); } -bool PythonQtWrapper_QChildEvent::polished(QChildEvent* theWrappedObject) const +void PythonQtWrapper_QFileDevice::unsetError(QFileDevice* theWrappedObject) { - return ( theWrappedObject->polished()); + ( theWrappedObject->unsetError()); } -bool PythonQtWrapper_QChildEvent::removed(QChildEvent* theWrappedObject) const -{ - return ( theWrappedObject->removed()); -} +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo() +{ +return new QFileInfo(); } -QCommandLineOption PythonQtWrapper_QCommandLineParser::addHelpOption(QCommandLineParser* theWrappedObject) -{ - return ( theWrappedObject->addHelpOption()); -} +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QDir& dir, const QString& file) +{ +return new QFileInfo(dir, file); } -bool PythonQtWrapper_QCommandLineParser::addOption(QCommandLineParser* theWrappedObject, const QCommandLineOption& commandLineOption) -{ - return ( theWrappedObject->addOption(commandLineOption)); -} +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QFile& file) +{ +return new QFileInfo(file); } -bool PythonQtWrapper_QCommandLineParser::addOptions(QCommandLineParser* theWrappedObject, const QList& options) -{ - return ( theWrappedObject->addOptions(options)); -} +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QFileInfo& fileinfo) +{ +return new QFileInfo(fileinfo); } -void PythonQtWrapper_QCommandLineParser::addPositionalArgument(QCommandLineParser* theWrappedObject, const QString& name, const QString& description, const QString& syntax) -{ - ( theWrappedObject->addPositionalArgument(name, description, syntax)); -} +QFileInfo* PythonQtWrapper_QFileInfo::new_QFileInfo(const QString& file) +{ +return new QFileInfo(file); } -QCommandLineOption PythonQtWrapper_QCommandLineParser::addVersionOption(QCommandLineParser* theWrappedObject) +QDir PythonQtWrapper_QFileInfo::absoluteDir(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->addVersionOption()); + return ( theWrappedObject->absoluteDir()); } -QString PythonQtWrapper_QCommandLineParser::applicationDescription(QCommandLineParser* theWrappedObject) const +QString PythonQtWrapper_QFileInfo::absoluteFilePath(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->applicationDescription()); + return ( theWrappedObject->absoluteFilePath()); } -void PythonQtWrapper_QCommandLineParser::clearPositionalArguments(QCommandLineParser* theWrappedObject) +QString PythonQtWrapper_QFileInfo::absolutePath(QFileInfo* theWrappedObject) const { - ( theWrappedObject->clearPositionalArguments()); + return ( theWrappedObject->absolutePath()); } -QString PythonQtWrapper_QCommandLineParser::errorText(QCommandLineParser* theWrappedObject) const +QString PythonQtWrapper_QFileInfo::baseName(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->errorText()); + return ( theWrappedObject->baseName()); } -QString PythonQtWrapper_QCommandLineParser::helpText(QCommandLineParser* theWrappedObject) const +QDateTime PythonQtWrapper_QFileInfo::birthTime(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->helpText()); + return ( theWrappedObject->birthTime()); } -bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +QString PythonQtWrapper_QFileInfo::bundleName(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->isSet(option)); + return ( theWrappedObject->bundleName()); } -bool PythonQtWrapper_QCommandLineParser::isSet(QCommandLineParser* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QFileInfo::caching(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->isSet(name)); + return ( theWrappedObject->caching()); } -QStringList PythonQtWrapper_QCommandLineParser::optionNames(QCommandLineParser* theWrappedObject) const +QString PythonQtWrapper_QFileInfo::canonicalFilePath(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->optionNames()); + return ( theWrappedObject->canonicalFilePath()); } -bool PythonQtWrapper_QCommandLineParser::parse(QCommandLineParser* theWrappedObject, const QStringList& arguments) +QString PythonQtWrapper_QFileInfo::canonicalPath(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->parse(arguments)); + return ( theWrappedObject->canonicalPath()); } -QStringList PythonQtWrapper_QCommandLineParser::positionalArguments(QCommandLineParser* theWrappedObject) const +QString PythonQtWrapper_QFileInfo::completeBaseName(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->positionalArguments()); + return ( theWrappedObject->completeBaseName()); } -void PythonQtWrapper_QCommandLineParser::process(QCommandLineParser* theWrappedObject, const QCoreApplication& app) +QString PythonQtWrapper_QFileInfo::completeSuffix(QFileInfo* theWrappedObject) const { - ( theWrappedObject->process(app)); + return ( theWrappedObject->completeSuffix()); } -void PythonQtWrapper_QCommandLineParser::process(QCommandLineParser* theWrappedObject, const QStringList& arguments) +QDateTime PythonQtWrapper_QFileInfo::created(QFileInfo* theWrappedObject) const { - ( theWrappedObject->process(arguments)); + return ( theWrappedObject->created()); } -void PythonQtWrapper_QCommandLineParser::setApplicationDescription(QCommandLineParser* theWrappedObject, const QString& description) +QDir PythonQtWrapper_QFileInfo::dir(QFileInfo* theWrappedObject) const { - ( theWrappedObject->setApplicationDescription(description)); + return ( theWrappedObject->dir()); } -void PythonQtWrapper_QCommandLineParser::setOptionsAfterPositionalArgumentsMode(QCommandLineParser* theWrappedObject, QCommandLineParser::OptionsAfterPositionalArgumentsMode mode) +bool PythonQtWrapper_QFileInfo::exists(QFileInfo* theWrappedObject) const { - ( theWrappedObject->setOptionsAfterPositionalArgumentsMode(mode)); + return ( theWrappedObject->exists()); } -void PythonQtWrapper_QCommandLineParser::setSingleDashWordOptionMode(QCommandLineParser* theWrappedObject, QCommandLineParser::SingleDashWordOptionMode parsingMode) +bool PythonQtWrapper_QFileInfo::static_QFileInfo_exists(const QString& file) { - ( theWrappedObject->setSingleDashWordOptionMode(parsingMode)); + return (QFileInfo::exists(file)); } -void PythonQtWrapper_QCommandLineParser::showHelp(QCommandLineParser* theWrappedObject, int exitCode) +QString PythonQtWrapper_QFileInfo::fileName(QFileInfo* theWrappedObject) const { - ( theWrappedObject->showHelp(exitCode)); + return ( theWrappedObject->fileName()); } -void PythonQtWrapper_QCommandLineParser::showVersion(QCommandLineParser* theWrappedObject) +QString PythonQtWrapper_QFileInfo::filePath(QFileInfo* theWrappedObject) const { - ( theWrappedObject->showVersion()); + return ( theWrappedObject->filePath()); } -QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_tr(const char* sourceText, const char* disambiguation, int n) +QString PythonQtWrapper_QFileInfo::group(QFileInfo* theWrappedObject) const { - return (QCommandLineParser::tr(sourceText, disambiguation, n)); + return ( theWrappedObject->group()); } -QString PythonQtWrapper_QCommandLineParser::static_QCommandLineParser_trUtf8(const char* sourceText, const char* disambiguation, int n) +uint PythonQtWrapper_QFileInfo::groupId(QFileInfo* theWrappedObject) const { - return (QCommandLineParser::trUtf8(sourceText, disambiguation, n)); + return ( theWrappedObject->groupId()); } -QStringList PythonQtWrapper_QCommandLineParser::unknownOptionNames(QCommandLineParser* theWrappedObject) const +bool PythonQtWrapper_QFileInfo::isAbsolute(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->unknownOptionNames()); + return ( theWrappedObject->isAbsolute()); } -QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +bool PythonQtWrapper_QFileInfo::isBundle(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->value(option)); + return ( theWrappedObject->isBundle()); } -QString PythonQtWrapper_QCommandLineParser::value(QCommandLineParser* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QFileInfo::isDir(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->value(name)); + return ( theWrappedObject->isDir()); } -QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QCommandLineOption& option) const +bool PythonQtWrapper_QFileInfo::isExecutable(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->values(option)); + return ( theWrappedObject->isExecutable()); } -QStringList PythonQtWrapper_QCommandLineParser::values(QCommandLineParser* theWrappedObject, const QString& name) const +bool PythonQtWrapper_QFileInfo::isFile(QFileInfo* theWrappedObject) const { - return ( theWrappedObject->values(name)); + return ( theWrappedObject->isFile()); } - - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_addLibraryPath(const QString& arg__1) +bool PythonQtWrapper_QFileInfo::isHidden(QFileInfo* theWrappedObject) const { - (QCoreApplication::addLibraryPath(arg__1)); + return ( theWrappedObject->isHidden()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationDirPath() +bool PythonQtWrapper_QFileInfo::isJunction(QFileInfo* theWrappedObject) const { - return (QCoreApplication::applicationDirPath()); + return ( theWrappedObject->isJunction()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationFilePath() +bool PythonQtWrapper_QFileInfo::isNativePath(QFileInfo* theWrappedObject) const { - return (QCoreApplication::applicationFilePath()); + return ( theWrappedObject->isNativePath()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationName() +bool PythonQtWrapper_QFileInfo::isReadable(QFileInfo* theWrappedObject) const { - return (QCoreApplication::applicationName()); + return ( theWrappedObject->isReadable()); } -qint64 PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationPid() +bool PythonQtWrapper_QFileInfo::isRelative(QFileInfo* theWrappedObject) const { - return (QCoreApplication::applicationPid()); + return ( theWrappedObject->isRelative()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_applicationVersion() +bool PythonQtWrapper_QFileInfo::isRoot(QFileInfo* theWrappedObject) const { - return (QCoreApplication::applicationVersion()); + return ( theWrappedObject->isRoot()); } -QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_arguments() +bool PythonQtWrapper_QFileInfo::isShortcut(QFileInfo* theWrappedObject) const { - return (QCoreApplication::arguments()); + return ( theWrappedObject->isShortcut()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_closingDown() +bool PythonQtWrapper_QFileInfo::isSymLink(QFileInfo* theWrappedObject) const { - return (QCoreApplication::closingDown()); + return ( theWrappedObject->isSymLink()); } -bool PythonQtWrapper_QCoreApplication::event(QCoreApplication* theWrappedObject, QEvent* arg__1) +bool PythonQtWrapper_QFileInfo::isSymbolicLink(QFileInfo* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QCoreApplication*)theWrappedObject)->promoted_event(arg__1)); + return ( theWrappedObject->isSymbolicLink()); } -QAbstractEventDispatcher* PythonQtWrapper_QCoreApplication::static_QCoreApplication_eventDispatcher() +bool PythonQtWrapper_QFileInfo::isWritable(QFileInfo* theWrappedObject) const { - return (QCoreApplication::eventDispatcher()); + return ( theWrappedObject->isWritable()); } -int PythonQtWrapper_QCoreApplication::static_QCoreApplication_exec() +QDateTime PythonQtWrapper_QFileInfo::lastModified(QFileInfo* theWrappedObject) const { - return (QCoreApplication::exec()); + return ( theWrappedObject->lastModified()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_exit(int retcode) +QDateTime PythonQtWrapper_QFileInfo::lastRead(QFileInfo* theWrappedObject) const { - (QCoreApplication::exit(retcode)); + return ( theWrappedObject->lastRead()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_flush() +bool PythonQtWrapper_QFileInfo::makeAbsolute(QFileInfo* theWrappedObject) { - (QCoreApplication::flush()); + return ( theWrappedObject->makeAbsolute()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_hasPendingEvents() +QDateTime PythonQtWrapper_QFileInfo::metadataChangeTime(QFileInfo* theWrappedObject) const { - return (QCoreApplication::hasPendingEvents()); + return ( theWrappedObject->metadataChangeTime()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_installTranslator(QTranslator* messageFile) +QString PythonQtWrapper_QFileInfo::owner(QFileInfo* theWrappedObject) const { - return (QCoreApplication::installTranslator(messageFile)); + return ( theWrappedObject->owner()); } -QCoreApplication* PythonQtWrapper_QCoreApplication::static_QCoreApplication_instance() +uint PythonQtWrapper_QFileInfo::ownerId(QFileInfo* theWrappedObject) const { - return (QCoreApplication::instance()); + return ( theWrappedObject->ownerId()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isQuitLockEnabled() +QString PythonQtWrapper_QFileInfo::path(QFileInfo* theWrappedObject) const { - return (QCoreApplication::isQuitLockEnabled()); + return ( theWrappedObject->path()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_isSetuidAllowed() +bool PythonQtWrapper_QFileInfo::permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const { - return (QCoreApplication::isSetuidAllowed()); + return ( theWrappedObject->permission(permissions)); } -QStringList PythonQtWrapper_QCoreApplication::static_QCoreApplication_libraryPaths() +QFile::Permissions PythonQtWrapper_QFileInfo::permissions(QFileInfo* theWrappedObject) const { - return (QCoreApplication::libraryPaths()); + return ( theWrappedObject->permissions()); } -bool PythonQtWrapper_QCoreApplication::notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2) +void PythonQtWrapper_QFileInfo::refresh(QFileInfo* theWrappedObject) { - return ( theWrappedObject->notify(arg__1, arg__2)); + ( theWrappedObject->refresh()); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationDomain() +void PythonQtWrapper_QFileInfo::setCaching(QFileInfo* theWrappedObject, bool on) { - return (QCoreApplication::organizationDomain()); + ( theWrappedObject->setCaching(on)); } -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_organizationName() +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file) { - return (QCoreApplication::organizationName()); + ( theWrappedObject->setFile(dir, file)); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_postEvent(QObject* receiver, PythonQtPassOwnershipToCPP event, int priority) +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QFile& file) { - (QCoreApplication::postEvent(receiver, event, priority)); + ( theWrappedObject->setFile(file)); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags) +void PythonQtWrapper_QFileInfo::setFile(QFileInfo* theWrappedObject, const QString& file) { - (QCoreApplication::processEvents(flags)); + ( theWrappedObject->setFile(file)); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime) +qint64 PythonQtWrapper_QFileInfo::size(QFileInfo* theWrappedObject) const { - (QCoreApplication::processEvents(flags, maxtime)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeLibraryPath(const QString& arg__1) +QString PythonQtWrapper_QFileInfo::suffix(QFileInfo* theWrappedObject) const { - (QCoreApplication::removeLibraryPath(arg__1)); + return ( theWrappedObject->suffix()); } -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType) +void PythonQtWrapper_QFileInfo::swap(QFileInfo* theWrappedObject, QFileInfo& other) { - (QCoreApplication::removePostedEvents(receiver, eventType)); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_removeTranslator(QTranslator* messageFile) +QString PythonQtWrapper_QFileInfo::symLinkTarget(QFileInfo* theWrappedObject) const { - return (QCoreApplication::removeTranslator(messageFile)); + return ( theWrappedObject->symLinkTarget()); } -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event) -{ - return (QCoreApplication::sendEvent(receiver, event)); +QString PythonQtWrapper_QFileInfo::py_toString(QFileInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -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)); +PythonQtShell_QFileSelector::~PythonQtShell_QFileSelector() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on) +void PythonQtShell_QFileSelector::childEvent(QChildEvent* event0) { - (QCoreApplication::setAttribute(attribute, on)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setEventDispatcher(QAbstractEventDispatcher* eventDispatcher) -{ - (QCoreApplication::setEventDispatcher(eventDispatcher)); + QFileSelector::childEvent(event0); } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setLibraryPaths(const QStringList& arg__1) +void PythonQtShell_QFileSelector::customEvent(QEvent* event0) { - (QCoreApplication::setLibraryPaths(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationDomain(const QString& orgDomain) -{ - (QCoreApplication::setOrganizationDomain(orgDomain)); + QFileSelector::customEvent(event0); } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setOrganizationName(const QString& orgName) +bool PythonQtShell_QFileSelector::event(QEvent* event0) { - (QCoreApplication::setOrganizationName(orgName)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setQuitLockEnabled(bool enabled) -{ - (QCoreApplication::setQuitLockEnabled(enabled)); + return QFileSelector::event(event0); } - -void PythonQtWrapper_QCoreApplication::static_QCoreApplication_setSetuidAllowed(bool allow) +bool PythonQtShell_QFileSelector::eventFilter(QObject* watched0, QEvent* event1) { - (QCoreApplication::setSetuidAllowed(allow)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_startingUp() -{ - return (QCoreApplication::startingUp()); + return QFileSelector::eventFilter(watched0, event1); } - -bool PythonQtWrapper_QCoreApplication::static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute) +void PythonQtShell_QFileSelector::timerEvent(QTimerEvent* event0) { - return (QCoreApplication::testAttribute(attribute)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QCoreApplication::static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, int n) -{ - return (QCoreApplication::translate(context, key, disambiguation, n)); + QFileSelector::timerEvent(event0); } +QFileSelector* PythonQtWrapper_QFileSelector::new_QFileSelector(QObject* parent) +{ +return new PythonQtShell_QFileSelector(parent); } - - -bool PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, QIODevice* device) -{ - return ( theWrappedObject->addData(device)); +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; + } } - -void PythonQtWrapper_QCryptographicHash::addData(QCryptographicHash* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->addData(data)); +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; } - -QByteArray PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method) +QStringList PythonQtWrapper_QFileSelector::allSelectors(QFileSelector* theWrappedObject) const { - return (QCryptographicHash::hash(data, method)); + return ( theWrappedObject->allSelectors()); } -int PythonQtWrapper_QCryptographicHash::static_QCryptographicHash_hashLength(QCryptographicHash::Algorithm method) +QStringList PythonQtWrapper_QFileSelector::extraSelectors(QFileSelector* theWrappedObject) const { - return (QCryptographicHash::hashLength(method)); + return ( theWrappedObject->extraSelectors()); } -void PythonQtWrapper_QCryptographicHash::reset(QCryptographicHash* theWrappedObject) +QString PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QString& filePath) const { - ( theWrappedObject->reset()); + return ( theWrappedObject->select(filePath)); } -QByteArray PythonQtWrapper_QCryptographicHash::result(QCryptographicHash* theWrappedObject) const +QUrl PythonQtWrapper_QFileSelector::select(QFileSelector* theWrappedObject, const QUrl& filePath) const { - return ( theWrappedObject->result()); + return ( theWrappedObject->select(filePath)); } - - -void PythonQtWrapper_QDataStream::abortTransaction(QDataStream* theWrappedObject) +void PythonQtWrapper_QFileSelector::setExtraSelectors(QFileSelector* theWrappedObject, const QStringList& list) { - ( theWrappedObject->abortTransaction()); + ( theWrappedObject->setExtraSelectors(list)); } -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()); +PythonQtShell_QFileSystemWatcher::~PythonQtShell_QFileSystemWatcher() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const +void PythonQtShell_QFileSystemWatcher::childEvent(QChildEvent* event0) { - return ( theWrappedObject->device()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QDataStream::FloatingPointPrecision PythonQtWrapper_QDataStream::floatingPointPrecision(QDataStream* theWrappedObject) const -{ - return ( theWrappedObject->floatingPointPrecision()); + QFileSystemWatcher::childEvent(event0); } - -void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) +void PythonQtShell_QFileSystemWatcher::customEvent(QEvent* event0) { - ( theWrappedObject->resetStatus()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDataStream::rollbackTransaction(QDataStream* theWrappedObject) -{ - ( theWrappedObject->rollbackTransaction()); + QFileSystemWatcher::customEvent(event0); } - -void PythonQtWrapper_QDataStream::setByteOrder(QDataStream* theWrappedObject, QDataStream::ByteOrder arg__1) +bool PythonQtShell_QFileSystemWatcher::event(QEvent* event0) { - ( theWrappedObject->setByteOrder(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*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDataStream::setDevice(QDataStream* theWrappedObject, QIODevice* arg__1) -{ - ( theWrappedObject->setDevice(arg__1)); + return QFileSystemWatcher::event(event0); } - -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()); -} - - - -QDeferredDeleteEvent* PythonQtWrapper_QDeferredDeleteEvent::new_QDeferredDeleteEvent() -{ -return new QDeferredDeleteEvent(); } - -int PythonQtWrapper_QDeferredDeleteEvent::loopLevel(QDeferredDeleteEvent* theWrappedObject) const -{ - return ( theWrappedObject->loopLevel()); -} - - - -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()); -} - - - -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); -} - -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); } -} -bool PythonQtShell_QEventLoop::event(QEvent* 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("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4516,67 +3539,132 @@ if (_wrapper) { } } } - return QEventLoop::event(event0); + return QFileSystemWatcher::eventFilter(watched0, event1); } -QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent) +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_QEventLoop(parent); } +return new PythonQtShell_QFileSystemWatcher(parent); } -const QMetaObject* PythonQtShell_QEventLoop::metaObject() const { +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, &QEventLoop::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSystemWatcher::staticMetaObject); } else { - return &QEventLoop::staticMetaObject; + return &QFileSystemWatcher::staticMetaObject; } } -int PythonQtShell_QEventLoop::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QEventLoop::qt_metacall(call, id, args); +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_QEventLoop::event(QEventLoop* theWrappedObject, QEvent* event) -{ - return ( theWrappedObject->event(event)); -} - -int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +bool PythonQtWrapper_QFileSystemWatcher::addPath(QFileSystemWatcher* theWrappedObject, const QString& file) { - return ( theWrappedObject->exec(flags)); + return ( theWrappedObject->addPath(file)); } -void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode) +QStringList PythonQtWrapper_QFileSystemWatcher::addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) { - ( theWrappedObject->exit(returnCode)); + return ( theWrappedObject->addPaths(files)); } -bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const +QStringList PythonQtWrapper_QFileSystemWatcher::directories(QFileSystemWatcher* theWrappedObject) const { - return ( theWrappedObject->isRunning()); + return ( theWrappedObject->directories()); } -bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags) +QStringList PythonQtWrapper_QFileSystemWatcher::files(QFileSystemWatcher* theWrappedObject) const { - return ( theWrappedObject->processEvents(flags)); + return ( theWrappedObject->files()); } -void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime) +bool PythonQtWrapper_QFileSystemWatcher::removePath(QFileSystemWatcher* theWrappedObject, const QString& file) { - ( theWrappedObject->processEvents(flags, maximumTime)); + return ( theWrappedObject->removePath(file)); } -void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject) +QStringList PythonQtWrapper_QFileSystemWatcher::removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files) { - ( theWrappedObject->wakeUp()); + return ( theWrappedObject->removePaths(files)); } -PythonQtShell_QEventTransition::~PythonQtShell_QEventTransition() { +PythonQtShell_QFinalState::~PythonQtShell_QFinalState() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QEventTransition::event(QEvent* e0) +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 @@ -4587,19 +3675,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4607,32 +3695,32 @@ if (_wrapper) { } } } - return QEventTransition::event(e0); + return QFinalState::event(e0); } -bool PythonQtShell_QEventTransition::eventTest(QEvent* event0) +bool PythonQtShell_QFinalState::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventTest"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4640,21 +3728,21 @@ if (_wrapper) { } } } - return QEventTransition::eventTest(event0); + return QFinalState::eventFilter(watched0, event1); } -void PythonQtShell_QEventTransition::onTransition(QEvent* event0) +void PythonQtShell_QFinalState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onTransition"); + static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4662,193 +3750,143 @@ if (_wrapper) { } } } - QEventTransition::onTransition(event0); + QFinalState::onEntry(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) +void PythonQtShell_QFinalState::onExit(QEvent* event0) { - ( theWrappedObject->setEventType(type)); +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(); + } + } } - - - -PythonQtShell_QFactoryInterface::~PythonQtShell_QFactoryInterface() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFinalState::onExit(event0); } -QStringList PythonQtShell_QFactoryInterface::keys() const +void PythonQtShell_QFinalState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keys"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("keys", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QStringList(); + QFinalState::timerEvent(event0); } -QFactoryInterface* PythonQtWrapper_QFactoryInterface::new_QFactoryInterface() +QFinalState* PythonQtWrapper_QFinalState::new_QFinalState(QState* parent) { -return new PythonQtShell_QFactoryInterface(); } +return new PythonQtShell_QFinalState(parent); } -QStringList PythonQtWrapper_QFactoryInterface::keys(QFactoryInterface* theWrappedObject) const -{ - return ( theWrappedObject->keys()); +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_QFile::~PythonQtShell_QFile() { +PythonQtShell_QHistoryState::~PythonQtShell_QHistoryState() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QFile::atEnd() const +void PythonQtShell_QHistoryState::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::atEnd(); + QHistoryState::childEvent(event0); } -qint64 PythonQtShell_QFile::bytesAvailable() const +void PythonQtShell_QHistoryState::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::bytesAvailable(); + QHistoryState::customEvent(event0); } -qint64 PythonQtShell_QFile::bytesToWrite() const +bool PythonQtShell_QHistoryState::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4856,32 +3894,32 @@ if (_wrapper) { } } } - return QFile::bytesToWrite(); + return QHistoryState::event(e0); } -bool PythonQtShell_QFile::canReadLine() const +bool PythonQtShell_QHistoryState::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4889,21 +3927,21 @@ if (_wrapper) { } } } - return QFile::canReadLine(); + return QHistoryState::eventFilter(watched0, event1); } -void PythonQtShell_QFile::close() +void PythonQtShell_QHistoryState::onEntry(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("close"); + static PyObject* name = PyString_FromString("onEntry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4911,131 +3949,133 @@ if (_wrapper) { } } } - QFile::close(); + QHistoryState::onEntry(event0); } -QString PythonQtShell_QFile::fileName() const +void PythonQtShell_QHistoryState::onExit(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fileName"); + static PyObject* name = PyString_FromString("onExit"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::fileName(); + QHistoryState::onExit(event0); } -bool PythonQtShell_QFile::isSequential() const +void PythonQtShell_QHistoryState::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFile::isSequential(); + QHistoryState::timerEvent(event0); } -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] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QFile::open(flags0); +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; } -QFileDevice::Permissions PythonQtShell_QFile::permissions() const +QAbstractState* PythonQtWrapper_QHistoryState::defaultState(QHistoryState* theWrappedObject) 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { - returnValue = *((QFileDevice::Permissions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5043,32 +4083,32 @@ if (_wrapper) { } } } - return QFile::permissions(); + return QIODevice::atEnd(); } -qint64 PythonQtShell_QFile::pos() const +qint64 PythonQtShell_QIODevice::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5076,32 +4116,32 @@ if (_wrapper) { } } } - return QFile::pos(); + return QIODevice::bytesAvailable(); } -qint64 PythonQtShell_QFile::readData(char* data0, qint64 maxlen1) +qint64 PythonQtShell_QIODevice::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("bytesToWrite"); 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); + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5109,32 +4149,32 @@ if (_wrapper) { } } } - return QFile::readData(data0, maxlen1); + return QIODevice::bytesToWrite(); } -qint64 PythonQtShell_QFile::readLineData(char* data0, qint64 maxlen1) +bool PythonQtShell_QIODevice::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("canReadLine"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5142,32 +4182,98 @@ if (_wrapper) { } } } - return QFile::readLineData(data0, maxlen1); + return QIODevice::canReadLine(); } -bool PythonQtShell_QFile::reset() +void PythonQtShell_QIODevice::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5175,32 +4281,32 @@ if (_wrapper) { } } } - return QFile::reset(); + return QIODevice::event(event0); } -bool PythonQtShell_QFile::resize(qint64 sz0) +bool PythonQtShell_QIODevice::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sz0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5208,32 +4314,32 @@ if (_wrapper) { } } } - return QFile::resize(sz0); + return QIODevice::eventFilter(watched0, event1); } -bool PythonQtShell_QFile::seek(qint64 offset0) +bool PythonQtShell_QIODevice::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); + static PyObject* name = PyString_FromString("isSequential"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5241,32 +4347,32 @@ if (_wrapper) { } } } - return QFile::seek(offset0); + return QIODevice::isSequential(); } -bool PythonQtShell_QFile::setPermissions(QFileDevice::Permissions permissionSpec0) +bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&permissionSpec0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5274,32 +4380,32 @@ if (_wrapper) { } } } - return QFile::setPermissions(permissionSpec0); + return QIODevice::open(mode0); } -qint64 PythonQtShell_QFile::size() const +qint64 PythonQtShell_QIODevice::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5307,32 +4413,32 @@ if (_wrapper) { } } } - return QFile::size(); + return QIODevice::pos(); } -bool PythonQtShell_QFile::waitForBytesWritten(int msecs0) +qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("readData"); 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] = {NULL, (void*)&msecs0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5340,32 +4446,32 @@ if (_wrapper) { } } } - return QFile::waitForBytesWritten(msecs0); + return qint64(); } -bool PythonQtShell_QFile::waitForReadyRead(int msecs0) +qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("readLineData"); 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] = {NULL, (void*)&msecs0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5373,32 +4479,32 @@ if (_wrapper) { } } } - return QFile::waitForReadyRead(msecs0); + return QIODevice::readLineData(data0, maxlen1); } -qint64 PythonQtShell_QFile::writeData(const char* data0, qint64 len1) +bool PythonQtShell_QIODevice::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("reset"); 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] = {NULL, (void*)&data0, (void*)&len1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5406,172 +4512,32 @@ if (_wrapper) { } } } - return QFile::writeData(data0, len1); + return QIODevice::reset(); } -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 +bool PythonQtShell_QIODevice::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5579,32 +4545,32 @@ if (_wrapper) { } } } - return QFileDevice::atEnd(); + return QIODevice::seek(pos0); } -qint64 PythonQtShell_QFileDevice::bytesAvailable() const +qint64 PythonQtShell_QIODevice::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5612,120 +4578,54 @@ if (_wrapper) { } } } - return QFileDevice::bytesAvailable(); + return QIODevice::size(); } -qint64 PythonQtShell_QFileDevice::bytesToWrite() const +void PythonQtShell_QIODevice::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDevice::bytesToWrite(); + QIODevice::timerEvent(event0); } -bool PythonQtShell_QFileDevice::canReadLine() const +bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + 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::canReadLine(); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFileDevice::close(); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5733,32 +4633,32 @@ if (_wrapper) { } } } - return QFileDevice::fileName(); + return QIODevice::waitForBytesWritten(msecs0); } -bool PythonQtShell_QFileDevice::isSequential() const +bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5766,32 +4666,32 @@ if (_wrapper) { } } } - return QFileDevice::isSequential(); + return QIODevice::waitForReadyRead(msecs0); } -bool PythonQtShell_QFileDevice::open(QIODevice::OpenMode mode0) +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("open"); + static PyObject* name = PyString_FromString("writeData"); 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] = {NULL, (void*)&mode0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5799,296 +4699,284 @@ if (_wrapper) { } } } - return QFileDevice::open(mode0); + return qint64(); } -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QFileDevice::permissions(); +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; } -qint64 PythonQtShell_QFileDevice::pos() const +bool PythonQtWrapper_QIODevice::atEnd(QIODevice* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QFileDevice::pos(); + return ( theWrappedObject->atEnd()); } -qint64 PythonQtShell_QFileDevice::readData(char* data0, qint64 maxlen1) + +qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const { -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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); + return ( theWrappedObject->bytesAvailable()); } -qint64 PythonQtShell_QFileDevice::readLineData(char* data0, qint64 maxlen1) + +qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const { -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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); + return ( theWrappedObject->bytesToWrite()); } -bool PythonQtShell_QFileDevice::reset() + +bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->canReadLine()); } - return QFileDevice::reset(); + +void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) +{ + ( theWrappedObject->close()); } -bool PythonQtShell_QFileDevice::resize(qint64 sz0) + +void PythonQtWrapper_QIODevice::commitTransaction(QIODevice* theWrappedObject) { -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] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->commitTransaction()); } - return QFileDevice::resize(sz0); + +int PythonQtWrapper_QIODevice::currentReadChannel(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->currentReadChannel()); } -bool PythonQtShell_QFileDevice::seek(qint64 offset0) + +int PythonQtWrapper_QIODevice::currentWriteChannel(QIODevice* theWrappedObject) const { -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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->currentWriteChannel()); } - return QFileDevice::seek(offset0); + +QString PythonQtWrapper_QIODevice::errorString(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->errorString()); } -bool PythonQtShell_QFileDevice::setPermissions(QFileDevice::Permissions permissionSpec0) + +bool PythonQtWrapper_QIODevice::getChar(QIODevice* theWrappedObject, char* c) { -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] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->getChar(c)); } - return QFileDevice::setPermissions(permissionSpec0); + +bool PythonQtWrapper_QIODevice::isOpen(QIODevice* theWrappedObject) const +{ + return ( theWrappedObject->isOpen()); } -qint64 PythonQtShell_QFileDevice::size() const + +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("size"); + static PyObject* name = PyString_FromString("buddy"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6096,32 +4984,32 @@ if (_wrapper) { } } } - return QFileDevice::size(); + return QIdentityProxyModel::buddy(index0); } -bool PythonQtShell_QFileDevice::waitForBytesWritten(int msecs0) +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("waitForBytesWritten"); + static PyObject* name = PyString_FromString("canDropMimeData"); 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); + 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[2] = {NULL, (void*)&msecs0}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6129,32 +5017,32 @@ if (_wrapper) { } } } - return QFileDevice::waitForBytesWritten(msecs0); + return QIdentityProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); } -bool PythonQtShell_QFileDevice::waitForReadyRead(int msecs0) +bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6162,32 +5050,54 @@ if (_wrapper) { } } } - return QFileDevice::waitForReadyRead(msecs0); + return QIdentityProxyModel::canFetchMore(parent0); } -qint64 PythonQtShell_QFileDevice::writeData(const char* data0, qint64 len1) +void PythonQtShell_QIdentityProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&data0, (void*)&len1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6195,267 +5105,97 @@ if (_wrapper) { } } } - return QFileDevice::writeData(data0, len1); + return QIdentityProxyModel::columnCount(parent0); } -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()); -} - - - -QFileSelector* PythonQtWrapper_QFileSelector::new_QFileSelector(QObject* parent) -{ -return new QFileSelector(parent); } - -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)); -} - - - -QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(QObject* parent) -{ -return new QFileSystemWatcher(parent); } - -QFileSystemWatcher* PythonQtWrapper_QFileSystemWatcher::new_QFileSystemWatcher(const QStringList& paths, QObject* parent) -{ -return new QFileSystemWatcher(paths, parent); } - -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); } -} -bool PythonQtShell_QFinalState::event(QEvent* e0) +void PythonQtShell_QIdentityProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFinalState::event(e0); + QIdentityProxyModel::customEvent(event0); } -void PythonQtShell_QFinalState::onEntry(QEvent* 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("onEntry"); + static PyObject* name = PyString_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFinalState::onEntry(event0); + return QIdentityProxyModel::data(proxyIndex0, role1); } -void PythonQtShell_QFinalState::onExit(QEvent* event0) +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("onExit"); + static PyObject* name = PyString_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFinalState::onExit(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); } + return QIdentityProxyModel::dropMimeData(data0, action1, row2, column3, parent4); } -bool PythonQtShell_QHistoryState::event(QEvent* e0) +bool PythonQtShell_QIdentityProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6466,19 +5206,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6486,43 +5226,54 @@ if (_wrapper) { } } } - return QHistoryState::event(e0); + return QIdentityProxyModel::event(event0); } -void PythonQtShell_QHistoryState::onEntry(QEvent* 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("onEntry"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHistoryState::onEntry(event0); + return QIdentityProxyModel::eventFilter(watched0, event1); } -void PythonQtShell_QHistoryState::onExit(QEvent* event0) +void PythonQtShell_QIdentityProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6530,89 +5281,32 @@ if (_wrapper) { } } } - QHistoryState::onExit(event0); + QIdentityProxyModel::fetchMore(parent0); } -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 +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("atEnd"); + static PyObject* name = PyString_FromString("flags"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6620,32 +5314,32 @@ if (_wrapper) { } } } - return QIODevice::atEnd(); + return QIdentityProxyModel::flags(index0); } -qint64 PythonQtShell_QIODevice::bytesAvailable() const +bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("hasChildren"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6653,32 +5347,32 @@ if (_wrapper) { } } } - return QIODevice::bytesAvailable(); + return QIdentityProxyModel::hasChildren(parent0); } -qint64 PythonQtShell_QIODevice::bytesToWrite() const +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("bytesToWrite"); + static PyObject* name = PyString_FromString("headerData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6686,32 +5380,32 @@ if (_wrapper) { } } } - return QIODevice::bytesToWrite(); + return QIdentityProxyModel::headerData(section0, orientation1, role2); } -bool PythonQtShell_QIODevice::canReadLine() const +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("canReadLine"); + static PyObject* name = PyString_FromString("index"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6719,54 +5413,65 @@ if (_wrapper) { } } } - return QIODevice::canReadLine(); + return QIdentityProxyModel::index(row0, column1, parent2); } -void PythonQtShell_QIODevice::close() +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("close"); + static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QIODevice::close(); + return QIdentityProxyModel::insertColumns(column0, count1, parent2); } -bool PythonQtShell_QIODevice::isSequential() const +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("isSequential"); + static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6774,32 +5479,32 @@ if (_wrapper) { } } } - return QIODevice::isSequential(); + return QIdentityProxyModel::insertRows(row0, count1, parent2); } -bool PythonQtShell_QIODevice::open(QIODevice::OpenMode mode0) +QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6807,32 +5512,32 @@ if (_wrapper) { } } } - return QIODevice::open(mode0); + return QIdentityProxyModel::itemData(index0); } -qint64 PythonQtShell_QIODevice::pos() const +QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); + static PyObject* name = PyString_FromString("mapFromSource"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6840,32 +5545,32 @@ if (_wrapper) { } } } - return QIODevice::pos(); + return QIdentityProxyModel::mapFromSource(sourceIndex0); } -qint64 PythonQtShell_QIODevice::readData(char* data0, qint64 maxlen1) +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("mapSelectionFromSource"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6873,32 +5578,32 @@ if (_wrapper) { } } } - return qint64(); + return QIdentityProxyModel::mapSelectionFromSource(selection0); } -qint64 PythonQtShell_QIODevice::readLineData(char* data0, qint64 maxlen1) +QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("mapSelectionToSource"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6906,32 +5611,32 @@ if (_wrapper) { } } } - return QIODevice::readLineData(data0, maxlen1); + return QIdentityProxyModel::mapSelectionToSource(selection0); } -bool PythonQtShell_QIODevice::reset() +QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("mapToSource"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6939,32 +5644,32 @@ if (_wrapper) { } } } - return QIODevice::reset(); + return QIdentityProxyModel::mapToSource(proxyIndex0); } -bool PythonQtShell_QIODevice::seek(qint64 pos0) +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("seek"); + static PyObject* name = PyString_FromString("match"); 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] = {NULL, (void*)&pos0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6972,32 +5677,32 @@ if (_wrapper) { } } } - return QIODevice::seek(pos0); + return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); } -qint64 PythonQtShell_QIODevice::size() const +QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("mimeData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7005,32 +5710,32 @@ if (_wrapper) { } } } - return QIODevice::size(); + return QIdentityProxyModel::mimeData(indexes0); } -bool PythonQtShell_QIODevice::waitForBytesWritten(int msecs0) +QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("mimeTypes"); 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] = {NULL, (void*)&msecs0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7038,32 +5743,32 @@ if (_wrapper) { } } } - return QIODevice::waitForBytesWritten(msecs0); + return QIdentityProxyModel::mimeTypes(); } -bool PythonQtShell_QIODevice::waitForReadyRead(int msecs0) +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("waitForReadyRead"); + static PyObject* name = PyString_FromString("moveColumns"); 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); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7071,32 +5776,32 @@ if (_wrapper) { } } } - return QIODevice::waitForReadyRead(msecs0); + return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -qint64 PythonQtShell_QIODevice::writeData(const char* data0, qint64 len1) +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("writeData"); + static PyObject* name = PyString_FromString("moveRows"); 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] = {NULL, (void*)&data0, (void*)&len1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7104,284 +5809,219 @@ if (_wrapper) { } } } - return qint64(); + return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -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; +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(); + } } } -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()); + return QIdentityProxyModel::parent(child0); } - -qint64 PythonQtWrapper_QIODevice::bytesAvailable(QIODevice* theWrappedObject) const +bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) { - return ( theWrappedObject->bytesAvailable()); +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(); + } + } } - -qint64 PythonQtWrapper_QIODevice::bytesToWrite(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->bytesToWrite()); + return QIdentityProxyModel::removeColumns(column0, count1, parent2); } - -bool PythonQtWrapper_QIODevice::canReadLine(QIODevice* theWrappedObject) const +bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) { - return ( theWrappedObject->canReadLine()); +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(); + } + } } - -void PythonQtWrapper_QIODevice::close(QIODevice* theWrappedObject) -{ - ( theWrappedObject->close()); + return QIdentityProxyModel::removeRows(row0, count1, parent2); } - -void PythonQtWrapper_QIODevice::commitTransaction(QIODevice* theWrappedObject) +void PythonQtShell_QIdentityProxyModel::revert() { - ( theWrappedObject->commitTransaction()); +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(); + } + } } - -int PythonQtWrapper_QIODevice::currentReadChannel(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->currentReadChannel()); + QIdentityProxyModel::revert(); } - -int PythonQtWrapper_QIODevice::currentWriteChannel(QIODevice* theWrappedObject) const +QHash PythonQtShell_QIdentityProxyModel::roleNames() const { - return ( theWrappedObject->currentWriteChannel()); +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(); + } + } } - -QString PythonQtWrapper_QIODevice::errorString(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); + return QIdentityProxyModel::roleNames(); } - -bool PythonQtWrapper_QIODevice::getChar(QIODevice* theWrappedObject, char* c) +int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const { - return ( theWrappedObject->getChar(c)); +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(); + } + } } - -bool PythonQtWrapper_QIODevice::isOpen(QIODevice* theWrappedObject) const -{ - return ( theWrappedObject->isOpen()); + return QIdentityProxyModel::rowCount(parent0); } - -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 +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("buddy"); + static PyObject* name = PyString_FromString("setData"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7389,32 +6029,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::buddy(index0); + return QIdentityProxyModel::setData(index0, value1, role2); } -bool PythonQtShell_QIdentityProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +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("canDropMimeData"); + static PyObject* name = PyString_FromString("setHeaderData"); 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); + static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7422,32 +6062,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); } -bool PythonQtShell_QIdentityProxyModel::canFetchMore(const QModelIndex& parent0) const +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("canFetchMore"); + static PyObject* name = PyString_FromString("setItemData"); 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); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7455,65 +6095,54 @@ if (_wrapper) { } } } - return QIdentityProxyModel::canFetchMore(parent0); + return QIdentityProxyModel::setItemData(index0, roles1); } -int PythonQtShell_QIdentityProxyModel::columnCount(const QModelIndex& parent0) const +void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("columnCount"); + static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::columnCount(parent0); + QIdentityProxyModel::setSourceModel(sourceModel0); } -QVariant PythonQtShell_QIdentityProxyModel::data(const QModelIndex& proxyIndex0, int role1) const +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("data"); + static PyObject* name = PyString_FromString("sibling"); 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] = {NULL, (void*)&proxyIndex0, (void*)&role1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7521,54 +6150,21 @@ if (_wrapper) { } } } - return QIdentityProxyModel::data(proxyIndex0, role1); + return QIdentityProxyModel::sibling(row0, column1, idx2); } -bool PythonQtShell_QIdentityProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +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("dropMimeData"); + static PyObject* name = PyString_FromString("sort"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); -} -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] = {NULL, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7576,32 +6172,32 @@ if (_wrapper) { } } } - QIdentityProxyModel::fetchMore(parent0); + QIdentityProxyModel::sort(column0, order1); } -Qt::ItemFlags PythonQtShell_QIdentityProxyModel::flags(const QModelIndex& index0) const +QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { - returnValue = *((Qt::ItemFlags*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7609,32 +6205,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::flags(index0); + return QIdentityProxyModel::span(index0); } -bool PythonQtShell_QIdentityProxyModel::hasChildren(const QModelIndex& parent0) const +bool PythonQtShell_QIdentityProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); + static PyObject* name = PyString_FromString("submit"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7642,32 +6238,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::hasChildren(parent0); + return QIdentityProxyModel::submit(); } -QVariant PythonQtShell_QIdentityProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("supportedDragActions"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7675,32 +6271,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::headerData(section0, orientation1, role2); + return QIdentityProxyModel::supportedDragActions(); } -QModelIndex PythonQtShell_QIdentityProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("supportedDropActions"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7708,516 +6304,712 @@ if (_wrapper) { } } } - return QIdentityProxyModel::index(row0, column1, parent2); + return QIdentityProxyModel::supportedDropActions(); } -bool PythonQtShell_QIdentityProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +void PythonQtShell_QIdentityProxyModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::insertColumns(column0, count1, parent2); + QIdentityProxyModel::timerEvent(event0); } -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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QIdentityProxyModel::insertRows(row0, count1, parent2); +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; } -QMap PythonQtShell_QIdentityProxyModel::itemData(const QModelIndex& index0) const + + +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) { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->append(value)); } - return QIdentityProxyModel::itemData(index0); + +QJsonValue PythonQtWrapper_QJsonArray::at(QJsonArray* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); } -QModelIndex PythonQtShell_QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const + +bool PythonQtWrapper_QJsonArray::contains(QJsonArray* theWrappedObject, const QJsonValue& element) 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] = {NULL, (void*)&sourceIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->contains(element)); } - return QIdentityProxyModel::mapFromSource(sourceIndex0); + +int PythonQtWrapper_QJsonArray::count(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->count()); } -QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const + +bool PythonQtWrapper_QJsonArray::empty(QJsonArray* theWrappedObject) 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] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->empty()); } - return QIdentityProxyModel::mapSelectionFromSource(selection0); + +QJsonValue PythonQtWrapper_QJsonArray::first(QJsonArray* theWrappedObject) const +{ + return ( theWrappedObject->first()); } -QItemSelection PythonQtShell_QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection0) const + +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromStringList(const QStringList& list) { -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] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QJsonArray::fromStringList(list)); } - return QIdentityProxyModel::mapSelectionToSource(selection0); + +QJsonArray PythonQtWrapper_QJsonArray::static_QJsonArray_fromVariantList(const QList& list) +{ + return (QJsonArray::fromVariantList(list)); } -QModelIndex PythonQtShell_QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex0) const + +bool PythonQtWrapper_QJsonArray::isEmpty(QJsonArray* theWrappedObject) 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] = {NULL, (void*)&proxyIndex0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + 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()); } - return QIdentityProxyModel::mapToSource(proxyIndex0); + +bool PythonQtWrapper_QJsonValue::isDouble(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isDouble()); } -QList PythonQtShell_QIdentityProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const + +bool PythonQtWrapper_QJsonValue::isNull(QJsonValue* theWrappedObject) 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] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->isNull()); } - return QIdentityProxyModel::match(start0, role1, value2, hits3, flags4); + +bool PythonQtWrapper_QJsonValue::isObject(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isObject()); } -QMimeData* PythonQtShell_QIdentityProxyModel::mimeData(const QList& indexes0) const + +bool PythonQtWrapper_QJsonValue::isString(QJsonValue* theWrappedObject) 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] = {NULL, (void*)&indexes0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isString()); } - return QIdentityProxyModel::mimeData(indexes0); + +bool PythonQtWrapper_QJsonValue::isUndefined(QJsonValue* theWrappedObject) const +{ + return ( theWrappedObject->isUndefined()); } -QStringList PythonQtShell_QIdentityProxyModel::mimeTypes() const + +bool PythonQtWrapper_QJsonValue::__ne__(QJsonValue* theWrappedObject, const QJsonValue& other) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - return QIdentityProxyModel::mimeTypes(); + +void PythonQtWrapper_QJsonValue::writeTo(QJsonValue* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); } -bool PythonQtShell_QIdentityProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) + +QJsonValue* PythonQtWrapper_QJsonValue::operator_assign(QJsonValue* theWrappedObject, const QJsonValue& other) { -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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 &( (*theWrappedObject)= other); } - return QIdentityProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + +bool PythonQtWrapper_QJsonValue::__eq__(QJsonValue* theWrappedObject, const QJsonValue& other) const +{ + return ( (*theWrappedObject)== other); } -bool PythonQtShell_QIdentityProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) + +void PythonQtWrapper_QJsonValue::readFrom(QJsonValue* theWrappedObject, QDataStream& arg__1) { -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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + arg__1 >> (*theWrappedObject); } - return QIdentityProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, const QString& key) const +{ + return ( (*theWrappedObject)[key]); } -QModelIndex PythonQtShell_QIdentityProxyModel::parent(const QModelIndex& child0) const + +const QJsonValue PythonQtWrapper_QJsonValue::operator_subscript(QJsonValue* theWrappedObject, int i) 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] = {NULL, (void*)&child0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)[i]); } - return QIdentityProxyModel::parent(child0); + +void PythonQtWrapper_QJsonValue::swap(QJsonValue* theWrappedObject, QJsonValue& other) +{ + ( theWrappedObject->swap(other)); } -bool PythonQtShell_QIdentityProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) + +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject) const { -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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->toArray()); } - return QIdentityProxyModel::removeColumns(column0, count1, parent2); + +QJsonArray PythonQtWrapper_QJsonValue::toArray(QJsonValue* theWrappedObject, const QJsonArray& defaultValue) const +{ + return ( theWrappedObject->toArray(defaultValue)); } -bool PythonQtShell_QIdentityProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) + +bool PythonQtWrapper_QJsonValue::toBool(QJsonValue* theWrappedObject, bool defaultValue) const { -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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( 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()); } - return QIdentityProxyModel::removeRows(row0, count1, parent2); + +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_QIdentityProxyModel::revert() +void PythonQtShell_QLibrary::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8225,65 +7017,54 @@ if (_wrapper) { } } } - QIdentityProxyModel::revert(); + QLibrary::childEvent(event0); } -QHash PythonQtShell_QIdentityProxyModel::roleNames() const +void PythonQtShell_QLibrary::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::roleNames(); + QLibrary::customEvent(event0); } -int PythonQtShell_QIdentityProxyModel::rowCount(const QModelIndex& parent0) const +bool PythonQtShell_QLibrary::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8291,32 +7072,32 @@ if (_wrapper) { } } } - return QIdentityProxyModel::rowCount(parent0); + return QLibrary::event(event0); } -bool PythonQtShell_QIdentityProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +bool PythonQtShell_QLibrary::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8324,313 +7105,459 @@ if (_wrapper) { } } } - return QIdentityProxyModel::setData(index0, value1, role2); + return QLibrary::eventFilter(watched0, event1); } -bool PythonQtShell_QIdentityProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +void PythonQtShell_QLibrary::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIdentityProxyModel::setHeaderData(section0, orientation1, value2, role3); + 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); } -bool PythonQtShell_QIdentityProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) + +QMarginsF PythonQtWrapper_QMarginsF::__sub__(QMarginsF* theWrappedObject, qreal rhs) { -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] = {NULL, (void*)&index0, (void*)&roles1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( (*theWrappedObject)- rhs); } - return QIdentityProxyModel::setItemData(index0, roles1); + +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, const QMarginsF& margins) +{ + return &( (*theWrappedObject)-= margins); } -void PythonQtShell_QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) + +QMarginsF* PythonQtWrapper_QMarginsF::__isub__(QMarginsF* theWrappedObject, qreal subtrahend) { -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] = {NULL, (void*)&sourceModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)-= subtrahend); } - QIdentityProxyModel::setSourceModel(sourceModel0); + +QMarginsF PythonQtWrapper_QMarginsF::__div__(QMarginsF* theWrappedObject, qreal divisor) +{ + return ( (*theWrappedObject)/ divisor); } -QModelIndex PythonQtShell_QIdentityProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const + +QMarginsF* PythonQtWrapper_QMarginsF::__idiv__(QMarginsF* theWrappedObject, qreal divisor) { -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] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 &( (*theWrappedObject)/= divisor); } - return QIdentityProxyModel::sibling(row0, column1, idx2); + +void PythonQtWrapper_QMarginsF::writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); } -void PythonQtShell_QIdentityProxyModel::sort(int column0, Qt::SortOrder order1) + +bool PythonQtWrapper_QMarginsF::__eq__(QMarginsF* theWrappedObject, const QMarginsF& rhs) { -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] = {NULL, (void*)&column0, (void*)&order1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)== rhs); } - QIdentityProxyModel::sort(column0, order1); + +void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); } -QSize PythonQtShell_QIdentityProxyModel::span(const QModelIndex& index0) const + +qreal PythonQtWrapper_QMarginsF::right(QMarginsF* theWrappedObject) 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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->right()); } - return QIdentityProxyModel::span(index0); + +void PythonQtWrapper_QMarginsF::setBottom(QMarginsF* theWrappedObject, qreal bottom) +{ + ( theWrappedObject->setBottom(bottom)); } -bool PythonQtShell_QIdentityProxyModel::submit() + +void PythonQtWrapper_QMarginsF::setLeft(QMarginsF* theWrappedObject, qreal left) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLeft(left)); } - return QIdentityProxyModel::submit(); + +void PythonQtWrapper_QMarginsF::setRight(QMarginsF* theWrappedObject, qreal right) +{ + ( theWrappedObject->setRight(right)); } -Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDragActions() const + +void PythonQtWrapper_QMarginsF::setTop(QMarginsF* theWrappedObject, qreal top) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTop(top)); } - return QIdentityProxyModel::supportedDragActions(); + +QMargins PythonQtWrapper_QMarginsF::toMargins(QMarginsF* theWrappedObject) const +{ + return ( theWrappedObject->toMargins()); } -Qt::DropActions PythonQtShell_QIdentityProxyModel::supportedDropActions() const + +qreal PythonQtWrapper_QMarginsF::top(QMarginsF* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->top()); } - return QIdentityProxyModel::supportedDropActions(); + +QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QIdentityProxyModel* PythonQtWrapper_QIdentityProxyModel::new_QIdentityProxyModel(QObject* parent) + + + +QMessageAuthenticationCode* PythonQtWrapper_QMessageAuthenticationCode::new_QMessageAuthenticationCode(QCryptographicHash::Algorithm method, const QByteArray& key) { -return new PythonQtShell_QIdentityProxyModel(parent); } +return new QMessageAuthenticationCode(method, key); } -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; - } +bool PythonQtWrapper_QMessageAuthenticationCode::addData(QMessageAuthenticationCode* theWrappedObject, QIODevice* device) +{ + return ( theWrappedObject->addData(device)); } -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; + +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)); +} -PythonQtShell_QJsonParseError::~PythonQtShell_QJsonParseError() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QByteArray PythonQtWrapper_QMessageAuthenticationCode::static_QMessageAuthenticationCode_hash(const QByteArray& message, const QByteArray& key, QCryptographicHash::Algorithm method) +{ + return (QMessageAuthenticationCode::hash(message, key, method)); } -QJsonParseError* PythonQtWrapper_QJsonParseError::new_QJsonParseError() -{ -return new PythonQtShell_QJsonParseError(); } -QString PythonQtWrapper_QJsonParseError::errorString(QJsonParseError* theWrappedObject) const +void PythonQtWrapper_QMessageAuthenticationCode::reset(QMessageAuthenticationCode* theWrappedObject) { - return ( theWrappedObject->errorString()); + ( 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.2/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core1.h new file mode 100644 index 00000000..ace248d2 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp similarity index 66% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp index e4e76b8f..01159497 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.cpp @@ -1,310 +1,65 @@ -#include "com_trolltech_qt_core1.h" +#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 -#include -#include #include -#include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include #include +#include -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()); -} - - - -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)); -} - - - -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)); -} - - - -PythonQtShell_QMarginsF::~PythonQtShell_QMarginsF() { +PythonQtShell_QMessageLogContext::~PythonQtShell_QMessageLogContext() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QMarginsF* PythonQtWrapper_QMarginsF::new_QMarginsF() +QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext() { -return new PythonQtShell_QMarginsF(); } - -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); -} - -void PythonQtWrapper_QMarginsF::readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QMarginsF::py_toString(QMarginsF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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()); -} +return new PythonQtShell_QMessageLogContext(); } -void PythonQtWrapper_QMessageAuthenticationCode::setKey(QMessageAuthenticationCode* theWrappedObject, const QByteArray& key) -{ - ( theWrappedObject->setKey(key)); -} +QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName) +{ +return new PythonQtShell_QMessageLogContext(fileName, lineNumber, functionName, categoryName); } -PythonQtShell_QMessageLogContext::~PythonQtShell_QMessageLogContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QMessageLogContext* PythonQtWrapper_QMessageLogContext::new_QMessageLogContext() +QMessageLogger* PythonQtWrapper_QMessageLogger::new_QMessageLogger() { -return new PythonQtShell_QMessageLogContext(); } +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); } @@ -454,6 +209,11 @@ QByteArray PythonQtWrapper_QMetaMethod::name(QMetaMethod* theWrappedObject) con return ( theWrappedObject->name()); } +bool PythonQtWrapper_QMetaMethod::__ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) +{ + return ( (*theWrappedObject)!= m2); +} + bool PythonQtWrapper_QMetaMethod::__eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2) { return ( (*theWrappedObject)== m2); @@ -791,6 +551,16 @@ 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)); @@ -847,30 +617,74 @@ PythonQtShell_QMimeData::~PythonQtShell_QMimeData() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QStringList PythonQtShell_QMimeData::formats() const +void PythonQtShell_QMimeData::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("formats"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -878,32 +692,32 @@ if (_wrapper) { } } } - return QMimeData::formats(); + return QMimeData::event(event0); } -bool PythonQtShell_QMimeData::hasFormat(const QString& mimetype0) const +bool PythonQtShell_QMimeData::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasFormat"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mimetype0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasFormat", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -911,32 +725,32 @@ if (_wrapper) { } } } - return QMimeData::hasFormat(mimetype0); + return QMimeData::eventFilter(watched0, event1); } -QVariant PythonQtShell_QMimeData::retrieveData(const QString& mimetype0, QVariant::Type preferredType1) const +QStringList PythonQtShell_QMimeData::formats() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("retrieveData"); + static PyObject* name = PyString_FromString("formats"); 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] = {NULL, (void*)&mimetype0, (void*)&preferredType1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("retrieveData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("formats", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -944,17 +758,105 @@ if (_wrapper) { } } } - return QMimeData::retrieveData(mimetype0, preferredType1); + return QMimeData::formats(); } -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); +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; } @@ -1075,6 +977,10 @@ QList PythonQtWrapper_QMimeData::urls(QMimeData* theWrappedObject) const +QMimeDatabase* PythonQtWrapper_QMimeDatabase::new_QMimeDatabase() +{ +return new QMimeDatabase(); } + QList PythonQtWrapper_QMimeDatabase::allMimeTypes(QMimeDatabase* theWrappedObject) const { return ( theWrappedObject->allMimeTypes()); @@ -1132,55 +1038,105 @@ QString PythonQtWrapper_QMimeDatabase::suffixForFileName(QMimeDatabase* theWrap -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) +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType() { -return new PythonQtShell_QOperatingSystemVersion(osType, vmajor, vminor, vmicro); } +return new QMimeType(); } -QOperatingSystemVersion PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_current() +QMimeType* PythonQtWrapper_QMimeType::new_QMimeType(const QMimeType& other) +{ +return new QMimeType(other); } + +QStringList PythonQtWrapper_QMimeType::aliases(QMimeType* theWrappedObject) const { - return (QOperatingSystemVersion::current()); + return ( theWrappedObject->aliases()); } -QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::static_QOperatingSystemVersion_currentType() +QStringList PythonQtWrapper_QMimeType::allAncestors(QMimeType* theWrappedObject) const { - return (QOperatingSystemVersion::currentType()); + return ( theWrappedObject->allAncestors()); } -int PythonQtWrapper_QOperatingSystemVersion::majorVersion(QOperatingSystemVersion* theWrappedObject) const +QString PythonQtWrapper_QMimeType::comment(QMimeType* theWrappedObject) const { - return ( theWrappedObject->majorVersion()); + return ( theWrappedObject->comment()); } -int PythonQtWrapper_QOperatingSystemVersion::microVersion(QOperatingSystemVersion* theWrappedObject) const +QString PythonQtWrapper_QMimeType::filterString(QMimeType* theWrappedObject) const { - return ( theWrappedObject->microVersion()); + return ( theWrappedObject->filterString()); } -int PythonQtWrapper_QOperatingSystemVersion::minorVersion(QOperatingSystemVersion* theWrappedObject) const +QString PythonQtWrapper_QMimeType::genericIconName(QMimeType* theWrappedObject) const { - return ( theWrappedObject->minorVersion()); + return ( theWrappedObject->genericIconName()); } -QString PythonQtWrapper_QOperatingSystemVersion::name(QOperatingSystemVersion* theWrappedObject) const +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()); } -int PythonQtWrapper_QOperatingSystemVersion::segmentCount(QOperatingSystemVersion* theWrappedObject) const +bool PythonQtWrapper_QMimeType::__ne__(QMimeType* theWrappedObject, const QMimeType& other) const { - return ( theWrappedObject->segmentCount()); + return ( (*theWrappedObject)!= other); } -QOperatingSystemVersion::OSType PythonQtWrapper_QOperatingSystemVersion::type(QOperatingSystemVersion* theWrappedObject) const +QMimeType* PythonQtWrapper_QMimeType::operator_assign(QMimeType* theWrappedObject, const QMimeType& other) { - return ( theWrappedObject->type()); + return &( (*theWrappedObject)= other); } -QString PythonQtWrapper_QOperatingSystemVersion::py_toString(QOperatingSystemVersion* obj) { +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; @@ -1189,44 +1145,208 @@ QString PythonQtWrapper_QOperatingSystemVersion::py_toString(QOperatingSystemVer -PythonQtShell_QParallelAnimationGroup::~PythonQtShell_QParallelAnimationGroup() { +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); } } -int PythonQtShell_QParallelAnimationGroup::duration() const +void PythonQtShell_QObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QParallelAnimationGroup::duration(); + QObject::childEvent(event0); } -bool PythonQtShell_QParallelAnimationGroup::event(QEvent* 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 @@ -1237,19 +1357,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1257,43 +1377,54 @@ if (_wrapper) { } } } - return QParallelAnimationGroup::event(event0); + return QObject::event(event0); } -void PythonQtShell_QParallelAnimationGroup::updateCurrentTime(int currentTime0) +bool PythonQtShell_QObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)¤tTime0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QParallelAnimationGroup::updateCurrentTime(currentTime0); + return QObject::eventFilter(watched0, event1); } -void PythonQtShell_QParallelAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) +void PythonQtShell_QObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1301,21 +1432,251 @@ if (_wrapper) { } } } - QParallelAnimationGroup::updateDirection(direction0); + QObject::timerEvent(event0); } -void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +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("updateState"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&newState0, (void*)&oldState1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1323,32 +1684,31 @@ if (_wrapper) { } } } - QParallelAnimationGroup::updateState(newState0, oldState1); + QParallelAnimationGroup::childEvent(event0); } -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; +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(); + } } } -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); } + QParallelAnimationGroup::customEvent(event0); } -int PythonQtShell_QPauseAnimation::duration() const +int PythonQtShell_QParallelAnimationGroup::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1359,19 +1719,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1379,9 +1739,9 @@ if (_wrapper) { } } } - return QPauseAnimation::duration(); + return QParallelAnimationGroup::duration(); } -bool PythonQtShell_QPauseAnimation::event(QEvent* e0) +bool PythonQtShell_QParallelAnimationGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1392,19 +1752,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1412,31 +1772,86 @@ if (_wrapper) { } } } - return QPauseAnimation::event(e0); + return QParallelAnimationGroup::event(event0); } -void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) +bool PythonQtShell_QParallelAnimationGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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(); } } } - QPauseAnimation::updateCurrentTime(arg__1); + QParallelAnimationGroup::timerEvent(event0); } -void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) +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 @@ -1446,9 +1861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1456,9 +1871,9 @@ if (_wrapper) { } } } - QPauseAnimation::updateDirection(direction0); + QParallelAnimationGroup::updateDirection(direction0); } -void PythonQtShell_QPauseAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +void PythonQtShell_QParallelAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1468,9 +1883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1478,130 +1893,99 @@ if (_wrapper) { } } } - QPauseAnimation::updateState(newState0, oldState1); + QParallelAnimationGroup::updateState(newState0, oldState1); } -QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(QObject* parent) -{ -return new PythonQtShell_QPauseAnimation(parent); } - -QPauseAnimation* PythonQtWrapper_QPauseAnimation::new_QPauseAnimation(int msecs, QObject* parent) +QParallelAnimationGroup* PythonQtWrapper_QParallelAnimationGroup::new_QParallelAnimationGroup(QObject* parent) { -return new PythonQtShell_QPauseAnimation(msecs, parent); } +return new PythonQtShell_QParallelAnimationGroup(parent); } -const QMetaObject* PythonQtShell_QPauseAnimation::metaObject() const { +const QMetaObject* PythonQtShell_QParallelAnimationGroup::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPauseAnimation::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QParallelAnimationGroup::staticMetaObject); } else { - return &QPauseAnimation::staticMetaObject; + return &QParallelAnimationGroup::staticMetaObject; } } -int PythonQtShell_QPauseAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPauseAnimation::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QPauseAnimation::setDuration(QPauseAnimation* theWrappedObject, int msecs) -{ - ( theWrappedObject->setDuration(msecs)); -} - -PythonQtShell_QProcess::~PythonQtShell_QProcess() { +PythonQtShell_QPauseAnimation::~PythonQtShell_QPauseAnimation() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QProcess::atEnd() const +void PythonQtShell_QPauseAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("atEnd"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::atEnd(); + QPauseAnimation::childEvent(event0); } -qint64 PythonQtShell_QProcess::bytesAvailable() const +void PythonQtShell_QPauseAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesAvailable"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::bytesAvailable(); + QPauseAnimation::customEvent(event0); } -qint64 PythonQtShell_QProcess::bytesToWrite() const +int PythonQtShell_QPauseAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bytesToWrite"); + static PyObject* name = PyString_FromString("duration"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1609,32 +1993,32 @@ if (_wrapper) { } } } - return QProcess::bytesToWrite(); + return QPauseAnimation::duration(); } -bool PythonQtShell_QProcess::canReadLine() const +bool PythonQtShell_QPauseAnimation::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1642,54 +2026,32 @@ if (_wrapper) { } } } - return QProcess::canReadLine(); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QProcess::close(); + return QPauseAnimation::event(e0); } -bool PythonQtShell_QProcess::isSequential() const +bool PythonQtShell_QPauseAnimation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1697,164 +2059,258 @@ if (_wrapper) { } } } - return QProcess::isSequential(); + return QPauseAnimation::eventFilter(watched0, event1); } -bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) +void PythonQtShell_QPauseAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::open(mode0); + QPauseAnimation::timerEvent(event0); } -qint64 PythonQtShell_QProcess::pos() const +void PythonQtShell_QPauseAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); + static PyObject* name = PyString_FromString("updateCurrentTime"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::pos(); + QPauseAnimation::updateCurrentTime(arg__1); } -qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) +void PythonQtShell_QPauseAnimation::updateDirection(QAbstractAnimation::Direction direction0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("updateDirection"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::readData(data0, maxlen1); + QPauseAnimation::updateDirection(direction0); } -qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) +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("readLineData"); + static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProcess::readLineData(data0, maxlen1); + QPauseAnimation::updateState(newState0, oldState1); } -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); +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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1862,32 +2318,32 @@ if (_wrapper) { } } } - return QProcess::reset(); + return QProcess::atEnd(); } -bool PythonQtShell_QProcess::seek(qint64 pos0) +qint64 PythonQtShell_QProcess::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); + static PyObject* name = PyString_FromString("bytesAvailable"); 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] = {NULL, (void*)&pos0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1895,54 +2351,65 @@ if (_wrapper) { } } } - return QProcess::seek(pos0); + return QProcess::bytesAvailable(); } -void PythonQtShell_QProcess::setupChildProcess() +qint64 PythonQtShell_QProcess::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupChildProcess"); + static PyObject* name = PyString_FromString("bytesToWrite"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + qint64 returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProcess::setupChildProcess(); + return QProcess::bytesToWrite(); } -qint64 PythonQtShell_QProcess::size() const +bool PythonQtShell_QProcess::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("canReadLine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - qint64 returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1950,32 +2417,98 @@ if (_wrapper) { } } } - return QProcess::size(); + return QProcess::canReadLine(); } -bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) +void PythonQtShell_QProcess::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1983,32 +2516,32 @@ if (_wrapper) { } } } - return QProcess::waitForBytesWritten(msecs0); + return QProcess::event(event0); } -bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) +bool PythonQtShell_QProcess::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2016,32 +2549,32 @@ if (_wrapper) { } } } - return QProcess::waitForReadyRead(msecs0); + return QProcess::eventFilter(watched0, event1); } -qint64 PythonQtShell_QProcess::writeData(const char* data0, qint64 len1) +bool PythonQtShell_QProcess::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("isSequential"); 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] = {NULL, (void*)&data0, (void*)&len1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2049,275 +2582,164 @@ if (_wrapper) { } } } - return QProcess::writeData(data0, len1); + return QProcess::isSequential(); } -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()); -} - -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) +bool PythonQtShell_QProcess::open(QIODevice::OpenMode mode0) { - return (QProcess::startDetached(program, arguments, workingDirectory, pid)); +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(); + } + } } - -bool PythonQtWrapper_QProcess::startDetached(QProcess* theWrappedObject, qint64* pid) -{ - return ( theWrappedObject->startDetached(pid)); + return QProcess::open(mode0); } - -QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const +qint64 PythonQtShell_QProcess::pos() const { - return ( theWrappedObject->state()); +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(); + } + } } - -QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() -{ - return (QProcess::systemEnvironment()); + return QProcess::pos(); } - -bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) +qint64 PythonQtShell_QProcess::readData(char* data0, qint64 maxlen1) { - return ( theWrappedObject->waitForFinished(msecs)); +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(); + } + } } - -bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) -{ - return ( theWrappedObject->waitForStarted(msecs)); + return QProcess::readData(data0, maxlen1); } - -QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const +qint64 PythonQtShell_QProcess::readLineData(char* data0, qint64 maxlen1) { - return ( theWrappedObject->workingDirectory()); +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(); + } + } } - - - -PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QProcess::readLineData(data0, maxlen1); } -int PythonQtShell_QPropertyAnimation::duration() const +bool PythonQtShell_QProcess::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("duration"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2325,32 +2747,32 @@ if (_wrapper) { } } } - return QPropertyAnimation::duration(); + return QProcess::reset(); } -bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) +bool PythonQtShell_QProcess::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2358,32 +2780,54 @@ if (_wrapper) { } } } - return QPropertyAnimation::event(event0); + return QProcess::seek(pos0); } -QVariant PythonQtShell_QPropertyAnimation::interpolated(const QVariant& from0, const QVariant& to1, qreal progress2) const +void PythonQtShell_QProcess::setupChildProcess() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("interpolated"); + static PyObject* name = PyString_FromString("setupChildProcess"); 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] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2391,21 +2835,21 @@ if (_wrapper) { } } } - return QPropertyAnimation::interpolated(from0, to1, progress2); + return QProcess::size(); } -void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) +void PythonQtShell_QProcess::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentTime"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2413,728 +2857,503 @@ if (_wrapper) { } } } - QPropertyAnimation::updateCurrentTime(arg__1); + QProcess::timerEvent(event0); } -void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) +bool PythonQtShell_QProcess::waitForBytesWritten(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateCurrentValue"); + static PyObject* name = PyString_FromString("waitForBytesWritten"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPropertyAnimation::updateCurrentValue(value0); + return QProcess::waitForBytesWritten(msecs0); } -void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) +bool PythonQtShell_QProcess::waitForReadyRead(int msecs0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateDirection"); + static PyObject* name = PyString_FromString("waitForReadyRead"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&direction0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPropertyAnimation::updateDirection(direction0); + return QProcess::waitForReadyRead(msecs0); } -void PythonQtShell_QPropertyAnimation::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) +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("updateState"); + static PyObject* name = PyString_FromString("writeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; + static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&newState0, (void*)&oldState1}; + qint64 returnValue{}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + } else { + returnValue = *((qint64*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPropertyAnimation::updateState(newState0, oldState1); + return QProcess::writeData(data0, len1); } -QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) -{ -return new PythonQtShell_QPropertyAnimation(parent); } - -QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) +QProcess* PythonQtWrapper_QProcess::new_QProcess(QObject* parent) { -return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } +return new PythonQtShell_QProcess(parent); } -const QMetaObject* PythonQtShell_QPropertyAnimation::metaObject() const { +const QMetaObject* PythonQtShell_QProcess::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPropertyAnimation::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProcess::staticMetaObject); } else { - return &QPropertyAnimation::staticMetaObject; + return &QProcess::staticMetaObject; } } -int PythonQtShell_QPropertyAnimation::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPropertyAnimation::qt_metacall(call, id, args); +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; } -QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const +QStringList PythonQtWrapper_QProcess::arguments(QProcess* theWrappedObject) const { - return ( theWrappedObject->propertyName()); + return ( theWrappedObject->arguments()); } -void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) +void PythonQtWrapper_QProcess::closeReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) { - ( theWrappedObject->setPropertyName(propertyName)); + ( theWrappedObject->closeReadChannel(channel)); } -void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) +void PythonQtWrapper_QProcess::closeWriteChannel(QProcess* theWrappedObject) { - ( theWrappedObject->setTargetObject(target)); + ( theWrappedObject->closeWriteChannel()); } -QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const +QStringList PythonQtWrapper_QProcess::environment(QProcess* theWrappedObject) const { - return ( theWrappedObject->targetObject()); + return ( theWrappedObject->environment()); } - - -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(unsigned int seedValue) -{ -return new QRandomGenerator64(seedValue); } - -void PythonQtWrapper_QRandomGenerator64::discard(QRandomGenerator64* theWrappedObject, quint64 z) +QProcess::ProcessError PythonQtWrapper_QProcess::error(QProcess* theWrappedObject) const { - ( theWrappedObject->discard(z)); + return ( theWrappedObject->error()); } -quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& command) { - return ( theWrappedObject->generate()); + return (QProcess::execute(command)); } -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() +int PythonQtWrapper_QProcess::static_QProcess_execute(const QString& program, const QStringList& arguments) { - return (QRandomGenerator64::global()); + return (QProcess::execute(program, arguments)); } -quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() +int PythonQtWrapper_QProcess::exitCode(QProcess* theWrappedObject) const { - return (QRandomGenerator64::max()); + return ( theWrappedObject->exitCode()); } -quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() +QProcess::ExitStatus PythonQtWrapper_QProcess::exitStatus(QProcess* theWrappedObject) const { - return (QRandomGenerator64::min()); + return ( theWrappedObject->exitStatus()); } -quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) +QProcess::InputChannelMode PythonQtWrapper_QProcess::inputChannelMode(QProcess* theWrappedObject) const { - return ( theWrappedObject->operator()()); + return ( theWrappedObject->inputChannelMode()); } -QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() +QString PythonQtWrapper_QProcess::static_QProcess_nullDevice() { - return (QRandomGenerator64::securelySeeded()); + return (QProcess::nullDevice()); } -QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() +QProcess::ProcessChannelMode PythonQtWrapper_QProcess::processChannelMode(QProcess* theWrappedObject) const { - return (QRandomGenerator64::system()); + return ( theWrappedObject->processChannelMode()); } +QProcessEnvironment PythonQtWrapper_QProcess::processEnvironment(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processEnvironment()); +} +qint64 PythonQtWrapper_QProcess::processId(QProcess* theWrappedObject) const +{ + return ( theWrappedObject->processId()); +} -void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) +QString PythonQtWrapper_QProcess::program(QProcess* theWrappedObject) const { - ( theWrappedObject->lockForRead()); + return ( theWrappedObject->program()); } -void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) +QByteArray PythonQtWrapper_QProcess::readAllStandardError(QProcess* theWrappedObject) { - ( theWrappedObject->lockForWrite()); + return ( theWrappedObject->readAllStandardError()); } -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) +QByteArray PythonQtWrapper_QProcess::readAllStandardOutput(QProcess* theWrappedObject) { - return ( theWrappedObject->tryLockForRead()); + return ( theWrappedObject->readAllStandardOutput()); } -bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) +QProcess::ProcessChannel PythonQtWrapper_QProcess::readChannel(QProcess* theWrappedObject) const { - return ( theWrappedObject->tryLockForRead(timeout)); + return ( theWrappedObject->readChannel()); } -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setArguments(QProcess* theWrappedObject, const QStringList& arguments) { - return ( theWrappedObject->tryLockForWrite()); + ( theWrappedObject->setArguments(arguments)); } -bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) +void PythonQtWrapper_QProcess::setEnvironment(QProcess* theWrappedObject, const QStringList& environment) { - return ( theWrappedObject->tryLockForWrite(timeout)); + ( theWrappedObject->setEnvironment(environment)); } -void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) +void PythonQtWrapper_QProcess::setInputChannelMode(QProcess* theWrappedObject, QProcess::InputChannelMode mode) { - ( theWrappedObject->unlock()); + ( 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)); +} -PythonQtShell_QResource::~PythonQtShell_QResource() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QProcess::setProcessState(QProcess* theWrappedObject, QProcess::ProcessState state) +{ + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setProcessState(state)); } -QResource* PythonQtWrapper_QResource::new_QResource(const QString& file, const QLocale& locale) -{ -return new PythonQtShell_QResource(file, locale); } -QString PythonQtWrapper_QResource::absoluteFilePath(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setProgram(QProcess* theWrappedObject, const QString& program) { - return ( theWrappedObject->absoluteFilePath()); + ( theWrappedObject->setProgram(program)); } -void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) +void PythonQtWrapper_QProcess::setReadChannel(QProcess* theWrappedObject, QProcess::ProcessChannel channel) { - (QResource::addSearchPath(path)); + ( theWrappedObject->setReadChannel(channel)); } -QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setStandardErrorFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) { - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); + ( theWrappedObject->setStandardErrorFile(fileName, mode)); } -const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setStandardInputFile(QProcess* theWrappedObject, const QString& fileName) { - return ( theWrappedObject->data()); + ( theWrappedObject->setStandardInputFile(fileName)); } -QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setStandardOutputFile(QProcess* theWrappedObject, const QString& fileName, QIODevice::OpenMode mode) { - return ( theWrappedObject->fileName()); + ( theWrappedObject->setStandardOutputFile(fileName, mode)); } -bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setStandardOutputProcess(QProcess* theWrappedObject, QProcess* destination) { - return ( theWrappedObject->isCompressed()); + ( theWrappedObject->setStandardOutputProcess(destination)); } -bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setWorkingDirectory(QProcess* theWrappedObject, const QString& dir) { - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); + ( theWrappedObject->setWorkingDirectory(dir)); } -bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::setupChildProcess(QProcess* theWrappedObject) { - return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); + ( ((PythonQtPublicPromoter_QProcess*)theWrappedObject)->promoted_setupChildProcess()); } -bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const +QStringList PythonQtWrapper_QProcess::static_QProcess_splitCommand(QStringView command) { - return ( theWrappedObject->isValid()); + return (QProcess::splitCommand(command)); } -QDateTime PythonQtWrapper_QResource::lastModified(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, QIODevice::OpenMode mode) { - return ( theWrappedObject->lastModified()); + ( theWrappedObject->start(mode)); } -QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& command, QIODevice::OpenMode mode) { - return ( theWrappedObject->locale()); + ( theWrappedObject->start(command, mode)); } -bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) +void PythonQtWrapper_QProcess::start(QProcess* theWrappedObject, const QString& program, const QStringList& arguments, QIODevice::OpenMode mode) { - return (QResource::registerResource(rccFilename, resourceRoot)); + ( theWrappedObject->start(program, arguments, mode)); } -bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& command) { - return (QResource::registerResource(rccData, resourceRoot)); + return (QProcess::startDetached(command)); } -QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments) { - return (QResource::searchPaths()); + return (QProcess::startDetached(program, arguments)); } -void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) +bool PythonQtWrapper_QProcess::static_QProcess_startDetached(const QString& program, const QStringList& arguments, const QString& workingDirectory, qint64* pid) { - ( theWrappedObject->setFileName(file)); + return (QProcess::startDetached(program, arguments, workingDirectory, pid)); } -void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) +bool PythonQtWrapper_QProcess::startDetached(QProcess* theWrappedObject, qint64* pid) { - ( theWrappedObject->setLocale(locale)); + return ( theWrappedObject->startDetached(pid)); } -qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const +QProcess::ProcessState PythonQtWrapper_QProcess::state(QProcess* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->state()); } -QByteArray PythonQtWrapper_QResource::uncompressedData(QResource* theWrappedObject) const +QStringList PythonQtWrapper_QProcess::static_QProcess_systemEnvironment() { - return ( theWrappedObject->uncompressedData()); + return (QProcess::systemEnvironment()); } -qint64 PythonQtWrapper_QResource::uncompressedSize(QResource* theWrappedObject) const +bool PythonQtWrapper_QProcess::waitForFinished(QProcess* theWrappedObject, int msecs) { - return ( theWrappedObject->uncompressedSize()); + return ( theWrappedObject->waitForFinished(msecs)); } -bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) +bool PythonQtWrapper_QProcess::waitForStarted(QProcess* theWrappedObject, int msecs) { - return (QResource::unregisterResource(rccFilename, resourceRoot)); + return ( theWrappedObject->waitForStarted(msecs)); } -bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) +QString PythonQtWrapper_QProcess::workingDirectory(QProcess* theWrappedObject) const { - return (QResource::unregisterResource(rccData, resourceRoot)); + return ( theWrappedObject->workingDirectory()); } -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] = {NULL}; - 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() +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment() +{ +return new QProcessEnvironment(); } + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::new_QProcessEnvironment(const QProcessEnvironment& other) { -return new PythonQtShell_QRunnable(); } +return new QProcessEnvironment(other); } -bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const +void PythonQtWrapper_QProcessEnvironment::clear(QProcessEnvironment* theWrappedObject) { - return ( theWrappedObject->autoDelete()); + ( theWrappedObject->clear()); } -void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) +bool PythonQtWrapper_QProcessEnvironment::contains(QProcessEnvironment* theWrappedObject, const QString& name) const { - ( theWrappedObject->run()); + return ( theWrappedObject->contains(name)); } -void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& e) { - ( theWrappedObject->setAutoDelete(_autoDelete)); + ( theWrappedObject->insert(e)); } - - -PythonQtShell_QSaveFile::~PythonQtShell_QSaveFile() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QSaveFile::atEnd() const +void PythonQtWrapper_QProcessEnvironment::insert(QProcessEnvironment* theWrappedObject, const QString& name, const QString& value) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->insert(name, value)); } - return QSaveFile::atEnd(); -} -qint64 PythonQtShell_QSaveFile::bytesAvailable() const + +bool PythonQtWrapper_QProcessEnvironment::isEmpty(QProcessEnvironment* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isEmpty()); } - return QSaveFile::bytesAvailable(); -} -qint64 PythonQtShell_QSaveFile::bytesToWrite() const + +QStringList PythonQtWrapper_QProcessEnvironment::keys(QProcessEnvironment* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->keys()); } - return QSaveFile::bytesToWrite(); -} -bool PythonQtShell_QSaveFile::canReadLine() const + +bool PythonQtWrapper_QProcessEnvironment::__ne__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - return QSaveFile::canReadLine(); -} -QString PythonQtShell_QSaveFile::fileName() const + +QProcessEnvironment* PythonQtWrapper_QProcessEnvironment::operator_assign(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("fileName", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)= other); } - return QSaveFile::fileName(); + +bool PythonQtWrapper_QProcessEnvironment::__eq__(QProcessEnvironment* theWrappedObject, const QProcessEnvironment& other) const +{ + return ( (*theWrappedObject)== other); } -bool PythonQtShell_QSaveFile::isSequential() const + +void PythonQtWrapper_QProcessEnvironment::remove(QProcessEnvironment* theWrappedObject, const QString& name) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->remove(name)); } - return QSaveFile::isSequential(); + +void PythonQtWrapper_QProcessEnvironment::swap(QProcessEnvironment* theWrappedObject, QProcessEnvironment& other) +{ + ( theWrappedObject->swap(other)); } -bool PythonQtShell_QSaveFile::open(QIODevice::OpenMode flags0) + +QProcessEnvironment PythonQtWrapper_QProcessEnvironment::static_QProcessEnvironment_systemEnvironment() { -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] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QProcessEnvironment::systemEnvironment()); } - return QSaveFile::open(flags0); + +QStringList PythonQtWrapper_QProcessEnvironment::toStringList(QProcessEnvironment* theWrappedObject) const +{ + return ( theWrappedObject->toStringList()); } -QFileDevice::Permissions PythonQtShell_QSaveFile::permissions() const + +QString PythonQtWrapper_QProcessEnvironment::value(QProcessEnvironment* theWrappedObject, const QString& name, const QString& defaultValue) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("permissions", methodInfo, result); - } else { - returnValue = *((QFileDevice::Permissions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->value(name, defaultValue)); } - return QSaveFile::permissions(); + + + +PythonQtShell_QPropertyAnimation::~PythonQtShell_QPropertyAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -qint64 PythonQtShell_QSaveFile::pos() const +void PythonQtShell_QPropertyAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::pos(); + QPropertyAnimation::childEvent(event0); } -qint64 PythonQtShell_QSaveFile::readData(char* data0, qint64 maxlen1) +void PythonQtShell_QPropertyAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::readData(data0, maxlen1); + QPropertyAnimation::customEvent(event0); } -qint64 PythonQtShell_QSaveFile::readLineData(char* data0, qint64 maxlen1) +int PythonQtShell_QPropertyAnimation::duration() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("duration"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3142,32 +3361,32 @@ if (_wrapper) { } } } - return QSaveFile::readLineData(data0, maxlen1); + return QPropertyAnimation::duration(); } -bool PythonQtShell_QSaveFile::reset() +bool PythonQtShell_QPropertyAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3175,32 +3394,32 @@ if (_wrapper) { } } } - return QSaveFile::reset(); + return QPropertyAnimation::event(event0); } -bool PythonQtShell_QSaveFile::resize(qint64 sz0) +bool PythonQtShell_QPropertyAnimation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resize"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sz0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("resize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3208,32 +3427,32 @@ if (_wrapper) { } } } - return QSaveFile::resize(sz0); + return QPropertyAnimation::eventFilter(watched0, event1); } -bool PythonQtShell_QSaveFile::seek(qint64 offset0) +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("seek"); + static PyObject* name = PyString_FromString("interpolated"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("interpolated", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3241,809 +3460,750 @@ if (_wrapper) { } } } - return QSaveFile::seek(offset0); + return QPropertyAnimation::interpolated(from0, to1, progress2); } -bool PythonQtShell_QSaveFile::setPermissions(QFileDevice::Permissions permissionSpec0) +void PythonQtShell_QPropertyAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPermissions"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QFileDevice::Permissions"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&permissionSpec0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setPermissions", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::setPermissions(permissionSpec0); + QPropertyAnimation::timerEvent(event0); } -qint64 PythonQtShell_QSaveFile::size() const +void PythonQtShell_QPropertyAnimation::updateCurrentTime(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + static PyObject* name = PyString_FromString("updateCurrentTime"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::size(); + QPropertyAnimation::updateCurrentTime(arg__1); } -bool PythonQtShell_QSaveFile::waitForBytesWritten(int msecs0) +void PythonQtShell_QPropertyAnimation::updateCurrentValue(const QVariant& value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("updateCurrentValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::waitForBytesWritten(msecs0); + QPropertyAnimation::updateCurrentValue(value0); } -bool PythonQtShell_QSaveFile::waitForReadyRead(int msecs0) +void PythonQtShell_QPropertyAnimation::updateDirection(QAbstractAnimation::Direction direction0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("updateDirection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "QAbstractAnimation::Direction"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&direction0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::waitForReadyRead(msecs0); + QPropertyAnimation::updateDirection(direction0); } -qint64 PythonQtShell_QSaveFile::writeData(const char* data0, qint64 len1) +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("writeData"); + static PyObject* name = PyString_FromString("updateState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; + static const char* argumentList[] ={"" , "QAbstractAnimation::State" , "QAbstractAnimation::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&newState0, (void*)&oldState1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSaveFile::writeData(data0, len1); + QPropertyAnimation::updateState(newState0, oldState1); } -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(QObject* parent) -{ -return new PythonQtShell_QSaveFile(parent); } - -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name) +QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* parent) { -return new PythonQtShell_QSaveFile(name); } +return new PythonQtShell_QPropertyAnimation(parent); } -QSaveFile* PythonQtWrapper_QSaveFile::new_QSaveFile(const QString& name, QObject* parent) +QPropertyAnimation* PythonQtWrapper_QPropertyAnimation::new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent) { -return new PythonQtShell_QSaveFile(name, parent); } +return new PythonQtShell_QPropertyAnimation(target, propertyName, parent); } -const QMetaObject* PythonQtShell_QSaveFile::metaObject() const { +const QMetaObject* PythonQtShell_QPropertyAnimation::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSaveFile::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPropertyAnimation::staticMetaObject); } else { - return &QSaveFile::staticMetaObject; + return &QPropertyAnimation::staticMetaObject; } } -int PythonQtShell_QSaveFile::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSaveFile::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QSaveFile::cancelWriting(QSaveFile* theWrappedObject) +QByteArray PythonQtWrapper_QPropertyAnimation::propertyName(QPropertyAnimation* theWrappedObject) const +{ + return ( theWrappedObject->propertyName()); +} + +void PythonQtWrapper_QPropertyAnimation::setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName) { - ( theWrappedObject->cancelWriting()); + ( theWrappedObject->setPropertyName(propertyName)); } -bool PythonQtWrapper_QSaveFile::commit(QSaveFile* theWrappedObject) +void PythonQtWrapper_QPropertyAnimation::setTargetObject(QPropertyAnimation* theWrappedObject, QObject* target) { - return ( theWrappedObject->commit()); + ( theWrappedObject->setTargetObject(target)); } -bool PythonQtWrapper_QSaveFile::directWriteFallback(QSaveFile* theWrappedObject) const +QObject* PythonQtWrapper_QPropertyAnimation::targetObject(QPropertyAnimation* theWrappedObject) const { - return ( theWrappedObject->directWriteFallback()); + return ( theWrappedObject->targetObject()); } -void PythonQtWrapper_QSaveFile::setDirectWriteFallback(QSaveFile* theWrappedObject, bool enabled) + + +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) { - ( theWrappedObject->setDirectWriteFallback(enabled)); + return ( theWrappedObject->bounded(highest)); } -void PythonQtWrapper_QSaveFile::setFileName(QSaveFile* theWrappedObject, const QString& name) +int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, int highest) { - ( theWrappedObject->setFileName(name)); + 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)); +} -void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n) +unsigned int PythonQtWrapper_QRandomGenerator::bounded(QRandomGenerator* theWrappedObject, unsigned int lowest, unsigned int highest) { - ( theWrappedObject->acquire(n)); + return ( theWrappedObject->bounded(lowest, highest)); } -int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const +void PythonQtWrapper_QRandomGenerator::discard(QRandomGenerator* theWrappedObject, quint64 z) { - return ( theWrappedObject->available()); + ( theWrappedObject->discard(z)); } -void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n) +unsigned int PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject) { - ( theWrappedObject->release(n)); + return ( theWrappedObject->generate()); } -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n) +void PythonQtWrapper_QRandomGenerator::generate(QRandomGenerator* theWrappedObject, unsigned int* begin, unsigned int* end) { - return ( theWrappedObject->tryAcquire(n)); + ( theWrappedObject->generate(begin, end)); } -bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout) +quint64 PythonQtWrapper_QRandomGenerator::generate64(QRandomGenerator* theWrappedObject) { - return ( theWrappedObject->tryAcquire(n, timeout)); + return ( theWrappedObject->generate64()); } +double PythonQtWrapper_QRandomGenerator::generateDouble(QRandomGenerator* theWrappedObject) +{ + return ( theWrappedObject->generateDouble()); +} +QRandomGenerator* PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_global() +{ + return (QRandomGenerator::global()); +} -PythonQtShell_QSequentialAnimationGroup::~PythonQtShell_QSequentialAnimationGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_max() +{ + return (QRandomGenerator::max()); } -int PythonQtShell_QSequentialAnimationGroup::duration() const + +unsigned int PythonQtWrapper_QRandomGenerator::static_QRandomGenerator_min() { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QRandomGenerator::min()); } - return QSequentialAnimationGroup::duration(); + +bool PythonQtWrapper_QRandomGenerator::__ne__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2) +{ + return ( (*theWrappedObject)!= rng2); } -bool PythonQtShell_QSequentialAnimationGroup::event(QEvent* event0) + +unsigned int PythonQtWrapper_QRandomGenerator::operator_cast_(QRandomGenerator* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->operator()()); } - return QSequentialAnimationGroup::event(event0); + +QRandomGenerator* PythonQtWrapper_QRandomGenerator::operator_assign(QRandomGenerator* theWrappedObject, const QRandomGenerator& other) +{ + return &( (*theWrappedObject)= other); } -void PythonQtShell_QSequentialAnimationGroup::updateCurrentTime(int arg__1) + +bool PythonQtWrapper_QRandomGenerator::__eq__(QRandomGenerator* theWrappedObject, const QRandomGenerator& rng2) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)== rng2); } - QSequentialAnimationGroup::updateCurrentTime(arg__1); + +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()); } -void PythonQtShell_QSequentialAnimationGroup::updateDirection(QAbstractAnimation::Direction direction0) + + + +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) { -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] = {NULL, (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); + ( theWrappedObject->discard(z)); } -void PythonQtShell_QSequentialAnimationGroup::updateState(QAbstractAnimation::State newState0, QAbstractAnimation::State oldState1) + +quint64 PythonQtWrapper_QRandomGenerator64::generate(QRandomGenerator64* theWrappedObject) { -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] = {NULL, (void*)&newState0, (void*)&oldState1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->generate()); } - QSequentialAnimationGroup::updateState(newState0, oldState1); + +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_global() +{ + return (QRandomGenerator64::global()); } -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; - } +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_max() +{ + return (QRandomGenerator64::max()); } -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; + +quint64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_min() +{ + return (QRandomGenerator64::min()); } -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::addPause(QSequentialAnimationGroup* theWrappedObject, int msecs) + +quint64 PythonQtWrapper_QRandomGenerator64::operator_cast_(QRandomGenerator64* theWrappedObject) { - return ( theWrappedObject->addPause(msecs)); + return ( theWrappedObject->operator()()); } -QAbstractAnimation* PythonQtWrapper_QSequentialAnimationGroup::currentAnimation(QSequentialAnimationGroup* theWrappedObject) const +QRandomGenerator64 PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_securelySeeded() { - return ( theWrappedObject->currentAnimation()); + return (QRandomGenerator64::securelySeeded()); } -QPauseAnimation* PythonQtWrapper_QSequentialAnimationGroup::insertPause(QSequentialAnimationGroup* theWrappedObject, int index, int msecs) +QRandomGenerator64* PythonQtWrapper_QRandomGenerator64::static_QRandomGenerator64_system() { - return ( theWrappedObject->insertPause(index, msecs)); + return (QRandomGenerator64::system()); } -PythonQtShell_QSettings::~PythonQtShell_QSettings() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QReadLocker* PythonQtWrapper_QReadLocker::new_QReadLocker(QReadWriteLock* readWriteLock) +{ +return new QReadLocker(readWriteLock); } + +QReadWriteLock* PythonQtWrapper_QReadLocker::readWriteLock(QReadLocker* theWrappedObject) const +{ + return ( theWrappedObject->readWriteLock()); } -bool PythonQtShell_QSettings::event(QEvent* event0) + +void PythonQtWrapper_QReadLocker::relock(QReadLocker* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->relock()); } - return QSettings::event(event0); + +void PythonQtWrapper_QReadLocker::unlock(QReadLocker* theWrappedObject) +{ + ( theWrappedObject->unlock()); } -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) +QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode) { -return new PythonQtShell_QSettings(scope, organization, application, parent); } +return new QReadWriteLock(recursionMode); } -QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& fileName, QSettings::Format format, QObject* parent) -{ -return new PythonQtShell_QSettings(fileName, format, parent); } +void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForRead()); +} -QSettings* PythonQtWrapper_QSettings::new_QSettings(const QString& organization, const QString& application, QObject* parent) -{ -return new PythonQtShell_QSettings(organization, application, parent); } +void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject) +{ + ( theWrappedObject->lockForWrite()); +} -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; - } +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject) +{ + return ( theWrappedObject->tryLockForRead()); } -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; + +bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout) +{ + return ( theWrappedObject->tryLockForRead(timeout)); } -QStringList PythonQtWrapper_QSettings::allKeys(QSettings* theWrappedObject) const + +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject) { - return ( theWrappedObject->allKeys()); + return ( theWrappedObject->tryLockForWrite()); } -QString PythonQtWrapper_QSettings::applicationName(QSettings* theWrappedObject) const +bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout) { - return ( theWrappedObject->applicationName()); + return ( theWrappedObject->tryLockForWrite(timeout)); } -void PythonQtWrapper_QSettings::beginGroup(QSettings* theWrappedObject, const QString& prefix) +void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject) { - ( theWrappedObject->beginGroup(prefix)); + ( theWrappedObject->unlock()); } -int PythonQtWrapper_QSettings::beginReadArray(QSettings* theWrappedObject, const QString& prefix) + + +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->beginReadArray(prefix)); + return ( theWrappedObject->captured(name)); } -void PythonQtWrapper_QSettings::beginWriteArray(QSettings* theWrappedObject, const QString& prefix, int size) +QString PythonQtWrapper_QRegularExpressionMatch::captured(QRegularExpressionMatch* theWrappedObject, int nth) const { - ( theWrappedObject->beginWriteArray(prefix, size)); + return ( theWrappedObject->captured(nth)); } -QStringList PythonQtWrapper_QSettings::childGroups(QSettings* theWrappedObject) const +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, const QString& name) const { - return ( theWrappedObject->childGroups()); + return ( theWrappedObject->capturedEnd(name)); } -QStringList PythonQtWrapper_QSettings::childKeys(QSettings* theWrappedObject) const +int PythonQtWrapper_QRegularExpressionMatch::capturedEnd(QRegularExpressionMatch* theWrappedObject, int nth) const { - return ( theWrappedObject->childKeys()); + return ( theWrappedObject->capturedEnd(nth)); } -void PythonQtWrapper_QSettings::clear(QSettings* theWrappedObject) +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, const QString& name) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->capturedLength(name)); } -bool PythonQtWrapper_QSettings::contains(QSettings* theWrappedObject, const QString& key) const +int PythonQtWrapper_QRegularExpressionMatch::capturedLength(QRegularExpressionMatch* theWrappedObject, int nth) const { - return ( theWrappedObject->contains(key)); + return ( theWrappedObject->capturedLength(nth)); } -QSettings::Format PythonQtWrapper_QSettings::static_QSettings_defaultFormat() +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, const QString& name) const { - return (QSettings::defaultFormat()); + return ( theWrappedObject->capturedRef(name)); } -void PythonQtWrapper_QSettings::endArray(QSettings* theWrappedObject) +QStringRef PythonQtWrapper_QRegularExpressionMatch::capturedRef(QRegularExpressionMatch* theWrappedObject, int nth) const { - ( theWrappedObject->endArray()); + return ( theWrappedObject->capturedRef(nth)); } -void PythonQtWrapper_QSettings::endGroup(QSettings* theWrappedObject) +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, const QString& name) const { - ( theWrappedObject->endGroup()); + return ( theWrappedObject->capturedStart(name)); } -bool PythonQtWrapper_QSettings::event(QSettings* theWrappedObject, QEvent* event) +int PythonQtWrapper_QRegularExpressionMatch::capturedStart(QRegularExpressionMatch* theWrappedObject, int nth) const { - return ( ((PythonQtPublicPromoter_QSettings*)theWrappedObject)->promoted_event(event)); + return ( theWrappedObject->capturedStart(nth)); } -bool PythonQtWrapper_QSettings::fallbacksEnabled(QSettings* theWrappedObject) const +QStringList PythonQtWrapper_QRegularExpressionMatch::capturedTexts(QRegularExpressionMatch* theWrappedObject) const { - return ( theWrappedObject->fallbacksEnabled()); + return ( theWrappedObject->capturedTexts()); } -QString PythonQtWrapper_QSettings::fileName(QSettings* theWrappedObject) const +QStringView PythonQtWrapper_QRegularExpressionMatch::capturedView(QRegularExpressionMatch* theWrappedObject, QStringView name) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->capturedView(name)); } -QSettings::Format PythonQtWrapper_QSettings::format(QSettings* theWrappedObject) const +QStringView PythonQtWrapper_QRegularExpressionMatch::capturedView(QRegularExpressionMatch* theWrappedObject, int nth) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->capturedView(nth)); } -QString PythonQtWrapper_QSettings::group(QSettings* theWrappedObject) const +bool PythonQtWrapper_QRegularExpressionMatch::hasMatch(QRegularExpressionMatch* theWrappedObject) const { - return ( theWrappedObject->group()); + return ( theWrappedObject->hasMatch()); } -QTextCodec* PythonQtWrapper_QSettings::iniCodec(QSettings* theWrappedObject) const +bool PythonQtWrapper_QRegularExpressionMatch::hasPartialMatch(QRegularExpressionMatch* theWrappedObject) const { - return ( theWrappedObject->iniCodec()); + return ( theWrappedObject->hasPartialMatch()); } -bool PythonQtWrapper_QSettings::isAtomicSyncRequired(QSettings* theWrappedObject) const +bool PythonQtWrapper_QRegularExpressionMatch::isValid(QRegularExpressionMatch* theWrappedObject) const { - return ( theWrappedObject->isAtomicSyncRequired()); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QSettings::isWritable(QSettings* theWrappedObject) const +int PythonQtWrapper_QRegularExpressionMatch::lastCapturedIndex(QRegularExpressionMatch* theWrappedObject) const { - return ( theWrappedObject->isWritable()); + return ( theWrappedObject->lastCapturedIndex()); } -QString PythonQtWrapper_QSettings::organizationName(QSettings* theWrappedObject) const +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatch::matchOptions(QRegularExpressionMatch* theWrappedObject) const { - return ( theWrappedObject->organizationName()); + return ( theWrappedObject->matchOptions()); } -void PythonQtWrapper_QSettings::remove(QSettings* theWrappedObject, const QString& key) +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatch::matchType(QRegularExpressionMatch* theWrappedObject) const { - ( theWrappedObject->remove(key)); + return ( theWrappedObject->matchType()); } -QSettings::Scope PythonQtWrapper_QSettings::scope(QSettings* theWrappedObject) const +QRegularExpressionMatch* PythonQtWrapper_QRegularExpressionMatch::operator_assign(QRegularExpressionMatch* theWrappedObject, const QRegularExpressionMatch& match) { - return ( theWrappedObject->scope()); + return &( (*theWrappedObject)= match); } -void PythonQtWrapper_QSettings::setArrayIndex(QSettings* theWrappedObject, int i) +QRegularExpression PythonQtWrapper_QRegularExpressionMatch::regularExpression(QRegularExpressionMatch* theWrappedObject) const { - ( theWrappedObject->setArrayIndex(i)); + return ( theWrappedObject->regularExpression()); } -void PythonQtWrapper_QSettings::setAtomicSyncRequired(QSettings* theWrappedObject, bool enable) +void PythonQtWrapper_QRegularExpressionMatch::swap(QRegularExpressionMatch* theWrappedObject, QRegularExpressionMatch& other) { - ( theWrappedObject->setAtomicSyncRequired(enable)); + ( theWrappedObject->swap(other)); +} + +QString PythonQtWrapper_QRegularExpressionMatch::py_toString(QRegularExpressionMatch* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtWrapper_QSettings::static_QSettings_setDefaultFormat(QSettings::Format format) + + +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 { - (QSettings::setDefaultFormat(format)); + return ( theWrappedObject->hasNext()); } -void PythonQtWrapper_QSettings::setFallbacksEnabled(QSettings* theWrappedObject, bool b) +bool PythonQtWrapper_QRegularExpressionMatchIterator::isValid(QRegularExpressionMatchIterator* theWrappedObject) const { - ( theWrappedObject->setFallbacksEnabled(b)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, QTextCodec* codec) +QRegularExpression::MatchOptions PythonQtWrapper_QRegularExpressionMatchIterator::matchOptions(QRegularExpressionMatchIterator* theWrappedObject) const { - ( theWrappedObject->setIniCodec(codec)); + return ( theWrappedObject->matchOptions()); } -void PythonQtWrapper_QSettings::setIniCodec(QSettings* theWrappedObject, const char* codecName) +QRegularExpression::MatchType PythonQtWrapper_QRegularExpressionMatchIterator::matchType(QRegularExpressionMatchIterator* theWrappedObject) const { - ( theWrappedObject->setIniCodec(codecName)); + return ( theWrappedObject->matchType()); } -void PythonQtWrapper_QSettings::static_QSettings_setPath(QSettings::Format format, QSettings::Scope scope, const QString& path) +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::next(QRegularExpressionMatchIterator* theWrappedObject) { - (QSettings::setPath(format, scope, path)); + return ( theWrappedObject->next()); } -void PythonQtWrapper_QSettings::setValue(QSettings* theWrappedObject, const QString& key, const QVariant& value) +QRegularExpressionMatchIterator* PythonQtWrapper_QRegularExpressionMatchIterator::operator_assign(QRegularExpressionMatchIterator* theWrappedObject, const QRegularExpressionMatchIterator& iterator) { - ( theWrappedObject->setValue(key, value)); + return &( (*theWrappedObject)= iterator); } -QSettings::Status PythonQtWrapper_QSettings::status(QSettings* theWrappedObject) const +QRegularExpressionMatch PythonQtWrapper_QRegularExpressionMatchIterator::peekNext(QRegularExpressionMatchIterator* theWrappedObject) const { - return ( theWrappedObject->status()); + return ( theWrappedObject->peekNext()); } -void PythonQtWrapper_QSettings::sync(QSettings* theWrappedObject) +QRegularExpression PythonQtWrapper_QRegularExpressionMatchIterator::regularExpression(QRegularExpressionMatchIterator* theWrappedObject) const { - ( theWrappedObject->sync()); + return ( theWrappedObject->regularExpression()); } -QVariant PythonQtWrapper_QSettings::value(QSettings* theWrappedObject, const QString& key, const QVariant& defaultValue) const +void PythonQtWrapper_QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator* theWrappedObject, QRegularExpressionMatchIterator& other) { - return ( theWrappedObject->value(key, defaultValue)); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QSharedMemory::attach(QSharedMemory* theWrappedObject, QSharedMemory::AccessMode mode) +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->attach(mode)); + return ( theWrappedObject->absoluteFilePath()); } -const void* PythonQtWrapper_QSharedMemory::constData(QSharedMemory* theWrappedObject) const +void PythonQtWrapper_QResource::static_QResource_addSearchPath(const QString& path) { - return ( theWrappedObject->constData()); + (QResource::addSearchPath(path)); } -bool PythonQtWrapper_QSharedMemory::create(QSharedMemory* theWrappedObject, int size, QSharedMemory::AccessMode mode) +QStringList PythonQtWrapper_QResource::children(QResource* theWrappedObject) const { - return ( theWrappedObject->create(size, mode)); + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_children()); } -void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) +QResource::Compression PythonQtWrapper_QResource::compressionAlgorithm(QResource* theWrappedObject) const { - return ( theWrappedObject->data()); + return ( theWrappedObject->compressionAlgorithm()); } -const void* PythonQtWrapper_QSharedMemory::data(QSharedMemory* theWrappedObject) const +const uchar* PythonQtWrapper_QResource::data(QResource* theWrappedObject) const { return ( theWrappedObject->data()); } -QSharedMemory::SharedMemoryError PythonQtWrapper_QSharedMemory::error(QSharedMemory* theWrappedObject) const +QString PythonQtWrapper_QResource::fileName(QResource* theWrappedObject) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->fileName()); } -QString PythonQtWrapper_QSharedMemory::errorString(QSharedMemory* theWrappedObject) const +bool PythonQtWrapper_QResource::isCompressed(QResource* theWrappedObject) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->isCompressed()); } -bool PythonQtWrapper_QSharedMemory::isAttached(QSharedMemory* theWrappedObject) const +bool PythonQtWrapper_QResource::isDir(QResource* theWrappedObject) const { - return ( theWrappedObject->isAttached()); + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isDir()); } -QString PythonQtWrapper_QSharedMemory::key(QSharedMemory* theWrappedObject) const +bool PythonQtWrapper_QResource::isFile(QResource* theWrappedObject) const { - return ( theWrappedObject->key()); + return ( ((PythonQtPublicPromoter_QResource*)theWrappedObject)->promoted_isFile()); } -bool PythonQtWrapper_QSharedMemory::lock(QSharedMemory* theWrappedObject) +bool PythonQtWrapper_QResource::isValid(QResource* theWrappedObject) const { - return ( theWrappedObject->lock()); + return ( theWrappedObject->isValid()); } -QString PythonQtWrapper_QSharedMemory::nativeKey(QSharedMemory* theWrappedObject) const +QDateTime PythonQtWrapper_QResource::lastModified(QResource* theWrappedObject) const { - return ( theWrappedObject->nativeKey()); + return ( theWrappedObject->lastModified()); } -void PythonQtWrapper_QSharedMemory::setKey(QSharedMemory* theWrappedObject, const QString& key) +QLocale PythonQtWrapper_QResource::locale(QResource* theWrappedObject) const { - ( theWrappedObject->setKey(key)); + return ( theWrappedObject->locale()); } -void PythonQtWrapper_QSharedMemory::setNativeKey(QSharedMemory* theWrappedObject, const QString& key) +bool PythonQtWrapper_QResource::static_QResource_registerResource(const QString& rccFilename, const QString& resourceRoot) { - ( theWrappedObject->setNativeKey(key)); + return (QResource::registerResource(rccFilename, resourceRoot)); } -int PythonQtWrapper_QSharedMemory::size(QSharedMemory* theWrappedObject) const +bool PythonQtWrapper_QResource::static_QResource_registerResource(const uchar* rccData, const QString& resourceRoot) { - return ( theWrappedObject->size()); + return (QResource::registerResource(rccData, resourceRoot)); } -bool PythonQtWrapper_QSharedMemory::unlock(QSharedMemory* theWrappedObject) +QStringList PythonQtWrapper_QResource::static_QResource_searchPaths() { - return ( theWrappedObject->unlock()); + return (QResource::searchPaths()); } - - -PythonQtShell_QSignalMapper::~PythonQtShell_QSignalMapper() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QResource::setFileName(QResource* theWrappedObject, const QString& file) +{ + ( theWrappedObject->setFileName(file)); } -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; +void PythonQtWrapper_QResource::setLocale(QResource* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); } -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QObject* object) const + +qint64 PythonQtWrapper_QResource::size(QResource* theWrappedObject) const { - return ( theWrappedObject->mapping(object)); + return ( theWrappedObject->size()); } -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, QWidget* widget) const +QByteArray PythonQtWrapper_QResource::uncompressedData(QResource* theWrappedObject) const { - return ( theWrappedObject->mapping(widget)); + return ( theWrappedObject->uncompressedData()); } -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, const QString& text) const +qint64 PythonQtWrapper_QResource::uncompressedSize(QResource* theWrappedObject) const { - return ( theWrappedObject->mapping(text)); + return ( theWrappedObject->uncompressedSize()); } -QObject* PythonQtWrapper_QSignalMapper::mapping(QSignalMapper* theWrappedObject, int id) const +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const QString& rccFilename, const QString& resourceRoot) { - return ( theWrappedObject->mapping(id)); + return (QResource::unregisterResource(rccFilename, resourceRoot)); } -void PythonQtWrapper_QSignalMapper::removeMappings(QSignalMapper* theWrappedObject, QObject* sender) +bool PythonQtWrapper_QResource::static_QResource_unregisterResource(const uchar* rccData, const QString& resourceRoot) { - ( theWrappedObject->removeMappings(sender)); + return (QResource::unregisterResource(rccData, resourceRoot)); } -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QObject* object) + + +PythonQtShell_QRunnable::~PythonQtShell_QRunnable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRunnable::run() { - ( theWrappedObject->setMapping(sender, object)); +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(); } -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, QWidget* widget) +bool PythonQtWrapper_QRunnable::autoDelete(QRunnable* theWrappedObject) const { - ( theWrappedObject->setMapping(sender, widget)); + return ( theWrappedObject->autoDelete()); } -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, const QString& text) +void PythonQtWrapper_QRunnable::run(QRunnable* theWrappedObject) { - ( theWrappedObject->setMapping(sender, text)); + ( theWrappedObject->run()); } -void PythonQtWrapper_QSignalMapper::setMapping(QSignalMapper* theWrappedObject, QObject* sender, int id) +void PythonQtWrapper_QRunnable::setAutoDelete(QRunnable* theWrappedObject, bool _autoDelete) { - ( theWrappedObject->setMapping(sender, id)); + ( theWrappedObject->setAutoDelete(_autoDelete)); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h similarity index 58% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h index 3b2e9b39..1a9c79e2 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core1.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core2.h @@ -2,25 +2,28 @@ #include #include #include +#include #include #include +#include #include +#include #include #include #include -#include +#include +#include #include -#include -#include -#include +#include +#include #include -#include -#include -#include #include #include #include #include +#include +#include +#include #include #include #include @@ -29,163 +32,26 @@ #include #include #include +#include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include #include - - -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: -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; } - 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); -}; - - - - - -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: -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 PythonQtShell_QMarginsF : public QMarginsF -{ -public: - PythonQtShell_QMarginsF():QMarginsF(),_wrapper(NULL) {}; - - ~PythonQtShell_QMarginsF(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMarginsF : public QObject -{ Q_OBJECT -public: -public slots: -QMarginsF* new_QMarginsF(); -void delete_QMarginsF(QMarginsF* obj) { delete obj; } - QMarginsF __div__(QMarginsF* theWrappedObject, qreal divisor); - QMarginsF* __idiv__(QMarginsF* theWrappedObject, qreal divisor); - void writeTo(QMarginsF* theWrappedObject, QDataStream& arg__1); - void readFrom(QMarginsF* theWrappedObject, QDataStream& arg__1); - QString py_toString(QMarginsF*); -}; - - - - - -class PythonQtWrapper_QMessageAuthenticationCode : public QObject -{ Q_OBJECT -public: -public slots: -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); -}; - - +#include class PythonQtShell_QMessageLogContext : public QMessageLogContext { public: - PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(NULL) {}; + PythonQtShell_QMessageLogContext():QMessageLogContext(),_wrapper(nullptr) {}; + PythonQtShell_QMessageLogContext(const char* fileName, int lineNumber, const char* functionName, const char* categoryName):QMessageLogContext(fileName, lineNumber, functionName, categoryName),_wrapper(nullptr) {}; ~PythonQtShell_QMessageLogContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMessageLogContext : public QObject @@ -193,7 +59,8 @@ class PythonQtWrapper_QMessageLogContext : public QObject public: public slots: QMessageLogContext* new_QMessageLogContext(); -void delete_QMessageLogContext(QMessageLogContext* obj) { delete obj; } +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; } @@ -211,7 +78,10 @@ class PythonQtWrapper_QMessageLogger : public QObject { Q_OBJECT public: public slots: -void delete_QMessageLogger(QMessageLogger* obj) { delete obj; } +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; } }; @@ -223,7 +93,7 @@ class PythonQtWrapper_QMetaClassInfo : public QObject public: public slots: QMetaClassInfo* new_QMetaClassInfo(); -void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } +void delete_QMetaClassInfo(QMetaClassInfo* obj) { delete obj; } const QMetaObject* enclosingMetaObject(QMetaClassInfo* theWrappedObject) const; const char* name(QMetaClassInfo* theWrappedObject) const; const char* value(QMetaClassInfo* theWrappedObject) const; @@ -238,7 +108,7 @@ class PythonQtWrapper_QMetaEnum : public QObject public: public slots: QMetaEnum* new_QMetaEnum(); -void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } +void delete_QMetaEnum(QMetaEnum* obj) { delete obj; } const QMetaObject* enclosingMetaObject(QMetaEnum* theWrappedObject) const; const char* enumName(QMetaEnum* theWrappedObject) const; bool isFlag(QMetaEnum* theWrappedObject) const; @@ -272,7 +142,7 @@ enum MethodType{ Method = QMetaMethod::Method, Signal = QMetaMethod::Signal, Slot = QMetaMethod::Slot, Constructor = QMetaMethod::Constructor}; public slots: QMetaMethod* new_QMetaMethod(); -void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } +void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } QMetaMethod::Access access(QMetaMethod* theWrappedObject) const; int attributes(QMetaMethod* theWrappedObject) const; const QMetaObject* enclosingMetaObject(QMetaMethod* theWrappedObject) const; @@ -282,6 +152,7 @@ void delete_QMetaMethod(QMetaMethod* obj) { delete obj; } QByteArray methodSignature(QMetaMethod* theWrappedObject) const; QMetaMethod::MethodType methodType(QMetaMethod* theWrappedObject) const; QByteArray name(QMetaMethod* theWrappedObject) const; + bool __ne__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); bool __eq__(QMetaMethod* theWrappedObject, const QMetaMethod& m2); int parameterCount(QMetaMethod* theWrappedObject) const; QList parameterNames(QMetaMethod* theWrappedObject) const; @@ -303,7 +174,7 @@ class PythonQtWrapper_QMetaProperty : public QObject public: public slots: QMetaProperty* new_QMetaProperty(); -void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } +void delete_QMetaProperty(QMetaProperty* obj) { delete obj; } const QMetaObject* enclosingMetaObject(QMetaProperty* theWrappedObject) const; QMetaEnum enumerator(QMetaProperty* theWrappedObject) const; bool hasNotifySignal(QMetaProperty* theWrappedObject) const; @@ -354,7 +225,7 @@ enum TypeFlag{ Q_DECLARE_FLAGS(TypeFlags, TypeFlag) public slots: QMetaType* new_QMetaType(const int type = QMetaType::UnknownType); -void delete_QMetaType(QMetaType* obj) { delete obj; } +void delete_QMetaType(QMetaType* obj) { delete obj; } bool static_QMetaType_compare(const void* lhs, const void* rhs, int typeId, int* result); void* static_QMetaType_construct(int type, void* where, const void* copy); void* construct(QMetaType* theWrappedObject, void* where, const void* copy = nullptr) const; @@ -378,6 +249,8 @@ void delete_QMetaType(QMetaType* obj) { delete obj; } 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); @@ -398,17 +271,22 @@ void delete_QMetaType(QMetaType* obj) { delete obj; } class PythonQtShell_QMimeData : public QMimeData { public: - PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {}; - - ~PythonQtShell_QMimeData(); - -virtual QStringList formats() const; -virtual bool hasFormat(const QString& mimetype) const; -virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMimeData():QMimeData(),_wrapper(nullptr) {}; + + ~PythonQtShell_QMimeData() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QStringList formats() const override; +bool hasFormat(const QString& mimetype) const override; +QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMimeData : public QMimeData @@ -424,7 +302,7 @@ class PythonQtWrapper_QMimeData : public QObject public: public slots: QMimeData* new_QMimeData(); -void delete_QMimeData(QMimeData* obj) { delete obj; } +void delete_QMimeData(QMimeData* obj) { delete obj; } void clear(QMimeData* theWrappedObject); QVariant colorData(QMimeData* theWrappedObject) const; QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; @@ -463,7 +341,8 @@ Q_ENUMS(MatchMode ) enum MatchMode{ MatchDefault = QMimeDatabase::MatchDefault, MatchExtension = QMimeDatabase::MatchExtension, MatchContent = QMimeDatabase::MatchContent}; public slots: -void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } +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; @@ -481,15 +360,199 @@ void delete_QMimeDatabase(QMimeDatabase* obj) { delete obj; } +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(NULL) {}; + PythonQtShell_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1):QOperatingSystemVersion(osType, vmajor, vminor, vmicro),_wrapper(nullptr) {}; ~PythonQtShell_QOperatingSystemVersion(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QOperatingSystemVersion : public QObject @@ -500,13 +563,17 @@ enum OSType{ Unknown = QOperatingSystemVersion::Unknown, Windows = QOperatingSystemVersion::Windows, MacOS = QOperatingSystemVersion::MacOS, IOS = QOperatingSystemVersion::IOS, TvOS = QOperatingSystemVersion::TvOS, WatchOS = QOperatingSystemVersion::WatchOS, Android = QOperatingSystemVersion::Android}; public slots: QOperatingSystemVersion* new_QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor = -1, int vmicro = -1); -void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; } +void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; } QOperatingSystemVersion static_QOperatingSystemVersion_current(); QOperatingSystemVersion::OSType static_QOperatingSystemVersion_currentType(); int majorVersion(QOperatingSystemVersion* theWrappedObject) const; 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*); @@ -519,19 +586,23 @@ void delete_QOperatingSystemVersion(QOperatingSystemVersion* obj) { delete obj; class PythonQtShell_QParallelAnimationGroup : public QParallelAnimationGroup { public: - PythonQtShell_QParallelAnimationGroup(QObject* parent = nullptr):QParallelAnimationGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QParallelAnimationGroup(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QParallelAnimationGroup(QObject* parent = nullptr):QParallelAnimationGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QParallelAnimationGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int currentTime) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QParallelAnimationGroup : public QParallelAnimationGroup @@ -552,7 +623,7 @@ class PythonQtWrapper_QParallelAnimationGroup : public QObject public: public slots: QParallelAnimationGroup* new_QParallelAnimationGroup(QObject* parent = nullptr); -void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } +void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; } int py_q_duration(QParallelAnimationGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_duration());} bool py_q_event(QParallelAnimationGroup* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_event(event));} void py_q_updateCurrentTime(QParallelAnimationGroup* theWrappedObject, int currentTime){ (((PythonQtPublicPromoter_QParallelAnimationGroup*)theWrappedObject)->py_q_updateCurrentTime(currentTime));} @@ -567,20 +638,24 @@ void delete_QParallelAnimationGroup(QParallelAnimationGroup* obj) { delete obj; class PythonQtShell_QPauseAnimation : public QPauseAnimation { public: - PythonQtShell_QPauseAnimation(QObject* parent = nullptr):QPauseAnimation(parent),_wrapper(NULL) {}; - PythonQtShell_QPauseAnimation(int msecs, QObject* parent = nullptr):QPauseAnimation(msecs, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPauseAnimation(); - -virtual int duration() const; -virtual bool event(QEvent* e); -virtual void updateCurrentTime(int arg__1); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPauseAnimation(QObject* parent = nullptr):QPauseAnimation(parent),_wrapper(nullptr) {}; + PythonQtShell_QPauseAnimation(int msecs, QObject* parent = nullptr):QPauseAnimation(msecs, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPauseAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPauseAnimation : public QPauseAnimation @@ -598,7 +673,7 @@ class PythonQtWrapper_QPauseAnimation : public QObject public slots: QPauseAnimation* new_QPauseAnimation(QObject* parent = nullptr); QPauseAnimation* new_QPauseAnimation(int msecs, QObject* parent = nullptr); -void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } +void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } int py_q_duration(QPauseAnimation* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_duration());} bool py_q_event(QPauseAnimation* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPauseAnimation*)theWrappedObject)->py_q_event(e));} void setDuration(QPauseAnimation* theWrappedObject, int msecs); @@ -609,34 +684,72 @@ void delete_QPauseAnimation(QPauseAnimation* obj) { delete obj; } +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(NULL) {}; - - ~PythonQtShell_QProcess(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual void setupChildProcess(); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QProcess(QObject* parent = nullptr):QProcess(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QProcess() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +void setupChildProcess() override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QProcess : public QProcess @@ -664,7 +777,7 @@ class PythonQtWrapper_QProcess : public QObject public: public slots: QProcess* new_QProcess(QObject* parent = nullptr); -void delete_QProcess(QProcess* obj) { delete obj; } +void delete_QProcess(QProcess* obj) { delete obj; } QStringList arguments(QProcess* theWrappedObject) const; bool py_q_atEnd(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_atEnd());} qint64 py_q_bytesAvailable(QProcess* theWrappedObject) const{ return (((PythonQtPublicPromoter_QProcess*)theWrappedObject)->py_q_bytesAvailable());} @@ -706,6 +819,7 @@ void delete_QProcess(QProcess* obj) { delete obj; } 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); @@ -727,25 +841,57 @@ void delete_QProcess(QProcess* obj) { delete obj; } +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(NULL) {}; - PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr):QPropertyAnimation(target, propertyName, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPropertyAnimation(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; -virtual void updateCurrentTime(int arg__1); -virtual void updateCurrentValue(const QVariant& value); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QPropertyAnimation(QObject* parent = nullptr):QPropertyAnimation(parent),_wrapper(nullptr) {}; + PythonQtShell_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr):QPropertyAnimation(target, propertyName, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPropertyAnimation() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const override; +void timerEvent(QTimerEvent* event) override; +void updateCurrentTime(int arg__1) override; +void updateCurrentValue(const QVariant& value) override; +void updateDirection(QAbstractAnimation::Direction direction) override; +void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QPropertyAnimation : public QPropertyAnimation @@ -764,7 +910,7 @@ class PythonQtWrapper_QPropertyAnimation : public QObject public slots: QPropertyAnimation* new_QPropertyAnimation(QObject* parent = nullptr); QPropertyAnimation* new_QPropertyAnimation(QObject* target, const QByteArray& propertyName, QObject* parent = nullptr); -void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } +void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } bool py_q_event(QPropertyAnimation* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPropertyAnimation*)theWrappedObject)->py_q_event(event));} QByteArray propertyName(QPropertyAnimation* theWrappedObject) const; void setPropertyName(QPropertyAnimation* theWrappedObject, const QByteArray& propertyName); @@ -778,14 +924,50 @@ void delete_QPropertyAnimation(QPropertyAnimation* obj) { delete obj; } +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 delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } void discard(QRandomGenerator64* theWrappedObject, quint64 z); quint64 generate(QRandomGenerator64* theWrappedObject); QRandomGenerator64* static_QRandomGenerator64_global(); @@ -800,6 +982,25 @@ void delete_QRandomGenerator64(QRandomGenerator64* obj) { delete obj; } +class PythonQtWrapper_QReadLocker : public QObject +{ Q_OBJECT +public: +public slots: +QReadLocker* new_QReadLocker(QReadWriteLock* readWriteLock); +void delete_QReadLocker(QReadLocker* obj) { delete obj; } + QReadWriteLock* readWriteLock(QReadLocker* theWrappedObject) const; + void relock(QReadLocker* theWrappedObject); + void unlock(QReadLocker* theWrappedObject); + + void __enter__(QReadLocker* /*self*/) {} + void __exit__(QReadLocker* self, PyObject* /*type*/, PyObject* /*value*/, PyObject* /*traceback*/) { self->unlock(); } + +}; + + + + + class PythonQtWrapper_QReadWriteLock : public QObject { Q_OBJECT public: @@ -807,7 +1008,8 @@ Q_ENUMS(RecursionMode ) enum RecursionMode{ NonRecursive = QReadWriteLock::NonRecursive, Recursive = QReadWriteLock::Recursive}; public slots: -void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } +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); @@ -821,15 +1023,87 @@ void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; } +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(NULL) {}; + PythonQtShell_QResource(const QString& file = QString(), const QLocale& locale = QLocale()):QResource(file, locale),_wrapper(nullptr) {}; ~PythonQtShell_QResource(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QResource : public QResource @@ -842,12 +1116,16 @@ 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; } +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; @@ -876,13 +1154,13 @@ void delete_QResource(QResource* obj) { delete obj; } class PythonQtShell_QRunnable : public QRunnable { public: - PythonQtShell_QRunnable():QRunnable(),_wrapper(NULL) {}; + PythonQtShell_QRunnable():QRunnable(),_wrapper(nullptr) {}; - ~PythonQtShell_QRunnable(); + ~PythonQtShell_QRunnable() override; -virtual void run(); +void run() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRunnable : public QRunnable @@ -895,7 +1173,7 @@ class PythonQtWrapper_QRunnable : public QObject public: public slots: QRunnable* new_QRunnable(); -void delete_QRunnable(QRunnable* obj) { delete obj; } +void delete_QRunnable(QRunnable* obj) { delete obj; } bool autoDelete(QRunnable* theWrappedObject) const; void run(QRunnable* theWrappedObject); void py_q_run(QRunnable* theWrappedObject){ (((PythonQtPublicPromoter_QRunnable*)theWrappedObject)->py_q_run());} @@ -903,276 +1181,3 @@ void delete_QRunnable(QRunnable* obj) { delete obj; } }; - - - -class PythonQtShell_QSaveFile : public QSaveFile -{ -public: - PythonQtShell_QSaveFile(QObject* parent = nullptr):QSaveFile(parent),_wrapper(NULL) {}; - PythonQtShell_QSaveFile(const QString& name):QSaveFile(name),_wrapper(NULL) {}; - PythonQtShell_QSaveFile(const QString& name, QObject* parent):QSaveFile(name, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSaveFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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: -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(NULL) {}; - - ~PythonQtShell_QSequentialAnimationGroup(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int arg__1); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - PythonQtShell_QSettings(QSettings::Format format, QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(format, scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Scope scope, QObject* parent = nullptr):QSettings(scope, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(QSettings::Scope scope, const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(scope, organization, application, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& fileName, QSettings::Format format, QObject* parent = nullptr):QSettings(fileName, format, parent),_wrapper(NULL) {}; - PythonQtShell_QSettings(const QString& organization, const QString& application = QString(), QObject* parent = nullptr):QSettings(organization, application, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSettings(); - -virtual bool event(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 event(QSettings* theWrappedObject, QEvent* event); - 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 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: -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 PythonQtShell_QSignalMapper : public QSignalMapper -{ -public: - PythonQtShell_QSignalMapper(QObject* parent = nullptr):QSignalMapper(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSignalMapper(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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); -}; - - diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.cpp new file mode 100644 index 00000000..9defbddc --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h similarity index 54% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.h rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h index d55f5b03..bdf90054 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core3.h @@ -1,24 +1,40 @@ #include -#include #include +#include #include #include #include #include #include #include +#include #include -#include +#include +#include +#include +#include +#include #include #include -#include -#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include +#include +#include #include #include #include #include #include +#include +#include #include #include #include @@ -30,30 +46,358 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include -class PythonQtShell_QSignalTransition : public QSignalTransition +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_QSignalTransition(QState* sourceState = nullptr):QSignalTransition(sourceState),_wrapper(NULL) {}; - PythonQtShell_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr):QSignalTransition(sender, signal, sourceState),_wrapper(NULL) {}; + PythonQtShell_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); +}; + - ~PythonQtShell_QSignalTransition(); -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + +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 @@ -72,7 +416,7 @@ class PythonQtWrapper_QSignalTransition : public QObject public slots: QSignalTransition* new_QSignalTransition(QState* sourceState = nullptr); QSignalTransition* new_QSignalTransition(const QObject* sender, const char* signal, QState* sourceState = nullptr); -void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } +void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } bool py_q_event(QSignalTransition* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_event(e));} bool py_q_eventTest(QSignalTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_eventTest(event));} void py_q_onTransition(QSignalTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QSignalTransition*)theWrappedObject)->py_q_onTransition(event));} @@ -89,15 +433,19 @@ void delete_QSignalTransition(QSignalTransition* obj) { delete obj; } class PythonQtShell_QSocketNotifier : public QSocketNotifier { public: - PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(NULL) {}; + PythonQtShell_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr):QSocketNotifier(socket, arg__2, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSocketNotifier(); + ~PythonQtShell_QSocketNotifier() override; -virtual bool event(QEvent* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSocketNotifier : public QSocketNotifier @@ -114,8 +462,7 @@ enum Type{ Read = QSocketNotifier::Read, Write = QSocketNotifier::Write, Exception = QSocketNotifier::Exception}; public slots: QSocketNotifier* new_QSocketNotifier(qintptr socket, QSocketNotifier::Type arg__2, QObject* parent = nullptr); -void delete_QSocketNotifier(QSocketNotifier* obj) { delete obj; } - bool event(QSocketNotifier* theWrappedObject, QEvent* arg__1); +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; @@ -155,18 +502,22 @@ public slots: class PythonQtShell_QState : public QState { public: - PythonQtShell_QState(QState* parent = nullptr):QState(parent),_wrapper(NULL) {}; - PythonQtShell_QState(QState::ChildMode childMode, QState* parent = nullptr):QState(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + 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 @@ -185,7 +536,7 @@ class PythonQtWrapper_QState : public QObject public slots: QState* new_QState(QState* parent = nullptr); QState* new_QState(QState::ChildMode childMode, QState* parent = nullptr); -void delete_QState(QState* obj) { delete obj; } +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); @@ -210,23 +561,26 @@ void delete_QState(QState* obj) { delete obj; } class PythonQtShell_QStateMachine : public QStateMachine { public: - PythonQtShell_QStateMachine(QObject* parent = nullptr):QStateMachine(parent),_wrapper(NULL) {}; - PythonQtShell_QStateMachine(QState::ChildMode childMode, QObject* parent = nullptr):QStateMachine(childMode, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStateMachine(); - -virtual void beginMicrostep(QEvent* event); -virtual void beginSelectTransitions(QEvent* event); -virtual void endMicrostep(QEvent* event); -virtual void endSelectTransitions(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + 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 @@ -259,7 +613,7 @@ enum EventPriority{ 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 delete_QStateMachine(QStateMachine* obj) { delete obj; } void addDefaultAnimation(QStateMachine* theWrappedObject, QAbstractAnimation* animation); void addState(QStateMachine* theWrappedObject, PythonQtPassOwnershipToCPP state); void beginMicrostep(QStateMachine* theWrappedObject, QEvent* event); @@ -277,7 +631,6 @@ void delete_QStateMachine(QStateMachine* obj) { delete obj; } 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 eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event); 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; @@ -301,7 +654,7 @@ class PythonQtWrapper_QStateMachine__SignalEvent : public QObject public: public slots: QStateMachine::SignalEvent* new_QStateMachine__SignalEvent(QObject* sender, int signalIndex, const QList& arguments); -void delete_QStateMachine__SignalEvent(QStateMachine::SignalEvent* obj) { delete obj; } +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; @@ -316,7 +669,7 @@ class PythonQtWrapper_QStateMachine__WrappedEvent : public QObject public: public slots: QStateMachine::WrappedEvent* new_QStateMachine__WrappedEvent(QObject* object, QEvent* event); -void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } +void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { delete obj; } QEvent* event(QStateMachine::WrappedEvent* theWrappedObject) const; QObject* object(QStateMachine::WrappedEvent* theWrappedObject) const; }; @@ -325,6 +678,45 @@ void delete_QStateMachine__WrappedEvent(QStateMachine::WrappedEvent* obj) { dele +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: @@ -332,8 +724,9 @@ public slots: QStringMatcher* new_QStringMatcher(); QStringMatcher* new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive); QStringMatcher* new_QStringMatcher(const QStringMatcher& other); -void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } +void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; + 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); @@ -347,12 +740,12 @@ void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } class PythonQtShell_QSysInfo : public QSysInfo { public: - PythonQtShell_QSysInfo():QSysInfo(),_wrapper(NULL) {}; + PythonQtShell_QSysInfo():QSysInfo(),_wrapper(nullptr) {}; ~PythonQtShell_QSysInfo(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSysInfo : public QObject @@ -365,7 +758,7 @@ enum Sizes{ WordSize = QSysInfo::WordSize}; public slots: QSysInfo* new_QSysInfo(); -void delete_QSysInfo(QSysInfo* obj) { delete obj; } +void delete_QSysInfo(QSysInfo* obj) { delete obj; } QByteArray static_QSysInfo_bootUniqueId(); QString static_QSysInfo_buildAbi(); QString static_QSysInfo_buildCpuArchitecture(); @@ -392,7 +785,8 @@ enum AccessMode{ 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: -void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; } +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; @@ -409,7 +803,9 @@ class PythonQtWrapper_QTemporaryDir : public QObject { Q_OBJECT public: public slots: -void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } +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; @@ -427,37 +823,42 @@ void delete_QTemporaryDir(QTemporaryDir* obj) { delete obj; } class PythonQtShell_QTemporaryFile : public QTemporaryFile { public: - PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(NULL) {}; - PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTemporaryFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTemporaryFile():QTemporaryFile(),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(QObject* parent):QTemporaryFile(parent),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(const QString& templateName):QTemporaryFile(templateName),_wrapper(nullptr) {}; + PythonQtShell_QTemporaryFile(const QString& templateName, QObject* parent):QTemporaryFile(templateName, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTemporaryFile() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString fileName() const override; +bool isSequential() const override; +bool open(QIODevice::OpenMode flags) override; +QFileDevice::Permissions permissions() const override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool resize(qint64 sz) override; +bool seek(qint64 offset) override; +bool setPermissions(QFileDevice::Permissions permissionSpec) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs) override; +bool waitForReadyRead(int msecs) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTemporaryFile : public QTemporaryFile @@ -475,7 +876,7 @@ QTemporaryFile* new_QTemporaryFile(); QTemporaryFile* new_QTemporaryFile(QObject* parent); QTemporaryFile* new_QTemporaryFile(const QString& templateName); QTemporaryFile* new_QTemporaryFile(const QString& templateName, QObject* parent); -void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } +void delete_QTemporaryFile(QTemporaryFile* obj) { delete obj; } bool autoRemove(QTemporaryFile* theWrappedObject) const; QTemporaryFile* static_QTemporaryFile_createLocalFile(QFile& file); QTemporaryFile* static_QTemporaryFile_createLocalFile(const QString& fileName); @@ -509,7 +910,7 @@ public slots: QTextBoundaryFinder* new_QTextBoundaryFinder(); QTextBoundaryFinder* new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string); QTextBoundaryFinder* new_QTextBoundaryFinder(const QTextBoundaryFinder& other); -void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } +void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const; bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const; bool isValid(QTextBoundaryFinder* theWrappedObject) const; @@ -531,17 +932,17 @@ void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; } class PythonQtShell_QTextCodec : public QTextCodec { public: - PythonQtShell_QTextCodec():QTextCodec(),_wrapper(NULL) {}; + PythonQtShell_QTextCodec():QTextCodec(),_wrapper(nullptr) {}; - ~PythonQtShell_QTextCodec(); + ~PythonQtShell_QTextCodec() override; -virtual QList aliases() const; -virtual QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const; -virtual QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const; -virtual int mibEnum() const; -virtual QByteArray name() const; +QList aliases() const override; +QByteArray convertFromUnicode(const QChar* in, int length, QTextCodec::ConverterState* state) const override; +QString convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const override; +int mibEnum() const override; +QByteArray name() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextCodec : public QTextCodec @@ -602,7 +1003,9 @@ class PythonQtWrapper_QTextDecoder : public QObject { Q_OBJECT public: public slots: -void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } +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); @@ -612,17 +1015,32 @@ void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } +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(NULL) {}; - PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(NULL) {}; - PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(NULL) {}; + PythonQtShell_QTextStream():QTextStream(),_wrapper(nullptr) {}; + PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(nullptr) {}; + PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(nullptr) {}; - ~PythonQtShell_QTextStream(); + ~PythonQtShell_QTextStream() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextStream : public QObject @@ -643,7 +1061,7 @@ public slots: QTextStream* new_QTextStream(); QTextStream* new_QTextStream(QIODevice* device); QTextStream* new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly); -void delete_QTextStream(QTextStream* obj) { delete obj; } +void delete_QTextStream(QTextStream* obj) { delete obj; } bool atEnd(QTextStream* theWrappedObject) const; bool autoDetectUnicode(QTextStream* theWrappedObject) const; QTextCodec* codec(QTextStream* theWrappedObject) const; @@ -655,9 +1073,7 @@ void delete_QTextStream(QTextStream* obj) { delete obj; } int integerBase(QTextStream* theWrappedObject) const; QLocale locale(QTextStream* theWrappedObject) const; QTextStream::NumberFlags numberFlags(QTextStream* theWrappedObject) const; - QTextStream* __lshift__(QTextStream* theWrappedObject, QLatin1String s); QTextStream* writeByte(QTextStream* theWrappedObject, char ch); - QTextStream* __lshift__(QTextStream* theWrappedObject, const QStringRef& s); QTextStream* writeDouble(QTextStream* theWrappedObject, double f); QTextStream* writeFloat(QTextStream* theWrappedObject, float f); QTextStream* writeLongLong(QTextStream* theWrappedObject, qlonglong i); @@ -705,16 +1121,20 @@ void delete_QTextStream(QTextStream* obj) { delete obj; } class PythonQtShell_QThread : public QThread { public: - PythonQtShell_QThread(QObject* parent = nullptr):QThread(parent),_wrapper(NULL) {}; + PythonQtShell_QThread(QObject* parent = nullptr):QThread(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QThread(); + ~PythonQtShell_QThread() override; -virtual bool event(QEvent* event); -virtual void run(); +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; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QThread : public QThread @@ -729,24 +1149,30 @@ 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; } +void delete_QThread(QThread* obj) { delete obj; } QThread* static_QThread_currentThread(); - bool event(QThread* theWrappedObject, QEvent* event); + 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); @@ -761,12 +1187,30 @@ void delete_QThread(QThread* obj) { delete obj; } +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; } +void delete_QThreadPool(QThreadPool* obj) { delete obj; } int activeThreadCount(QThreadPool* theWrappedObject) const; void cancel(QThreadPool* theWrappedObject, QRunnable* runnable); void clear(QThreadPool* theWrappedObject); @@ -793,16 +1237,20 @@ void delete_QThreadPool(QThreadPool* obj) { delete obj; } class PythonQtShell_QTimeLine : public QTimeLine { public: - PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(NULL) {}; + PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = nullptr):QTimeLine(duration, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTimeLine(); + ~PythonQtShell_QTimeLine() override; -virtual void timerEvent(QTimerEvent* event); -virtual qreal valueForTime(int msec) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; +qreal valueForTime(int msec) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTimeLine : public QTimeLine @@ -824,7 +1272,7 @@ enum State{ NotRunning = QTimeLine::NotRunning, Paused = QTimeLine::Paused, Running = QTimeLine::Running}; public slots: QTimeLine* new_QTimeLine(int duration = 1000, QObject* parent = nullptr); -void delete_QTimeLine(QTimeLine* obj) { delete obj; } +void delete_QTimeLine(QTimeLine* obj) { delete obj; } int currentFrame(QTimeLine* theWrappedObject) const; int currentTime(QTimeLine* theWrappedObject) const; qreal currentValue(QTimeLine* theWrappedObject) const; @@ -846,7 +1294,6 @@ void delete_QTimeLine(QTimeLine* obj) { delete obj; } void setUpdateInterval(QTimeLine* theWrappedObject, int interval); int startFrame(QTimeLine* theWrappedObject) const; QTimeLine::State state(QTimeLine* theWrappedObject) const; - void timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event); 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; @@ -857,204 +1304,102 @@ void delete_QTimeLine(QTimeLine* obj) { delete obj; } -class PythonQtShell_QTimerEvent : public QTimerEvent -{ -public: - PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; - - ~PythonQtShell_QTimerEvent(); - - - 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(NULL) {}; - - ~PythonQtShell_QTranslator(); - -virtual bool isEmpty() const; -virtual QString translate(const char* context, const char* sourceText, const char* disambiguation = nullptr, int n = -1) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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; } - QUrlQuery* operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other); -}; - - - - - -class PythonQtShell_QVariantAnimation : public QVariantAnimation -{ -public: - PythonQtShell_QVariantAnimation(QObject* parent = nullptr):QVariantAnimation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVariantAnimation(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual QVariant interpolated(const QVariant& from, const QVariant& to, qreal progress) const; -virtual void updateCurrentTime(int arg__1); -virtual void updateCurrentValue(const QVariant& value); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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_QWaitCondition : public QObject +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: -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); +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_QXmlStreamEntityResolver : public QXmlStreamEntityResolver +class PythonQtShell_QTimer : public QTimer { public: - PythonQtShell_QXmlStreamEntityResolver():QXmlStreamEntityResolver(),_wrapper(NULL) {}; + PythonQtShell_QTimer(QObject* parent = nullptr):QTimer(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlStreamEntityResolver(); + ~PythonQtShell_QTimer() override; -virtual QString resolveEntity(const QString& publicId, const QString& systemId); -virtual QString resolveUndeclaredEntity(const QString& name); +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; - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QXmlStreamEntityResolver : public QXmlStreamEntityResolver +class PythonQtPublicPromoter_QTimer : public QTimer { 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); } +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_QXmlStreamEntityResolver : public QObject +class PythonQtWrapper_QTimer : 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));} +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.2/com_trolltech_qt_core/com_trolltech_qt_core4.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core4.cpp new file mode 100644 index 00000000..da4a1faf --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_core/com_trolltech_qt_core4.h b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core4.h new file mode 100644 index 00000000..07268f75 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp similarity index 55% rename from generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp index 9b60a1c7..6cd15b75 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -3,10 +3,12 @@ #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 != 0); + Q_ASSERT(ptr != nullptr); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::ApplicationStateChange) { *class_name = "QApplicationStateChangeEvent"; @@ -40,7 +42,7 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QTimerEvent"; return (QTimerEvent*)object; } - return NULL; + return nullptr; } @@ -51,90 +53,139 @@ PythonQt::priv()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQt::priv()->registerClass(&QAbstractState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractTransition::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QApplicationStateChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QApplicationStateChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QBasicMutex", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QBasicTimer", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QBuffer::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("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("QCommandLineParser", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDeferredDeleteEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, 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()->registerClass(&QFileSelector::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QFileSystemWatcher::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, 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()->registerClass(&QLibrary::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLockFile", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QLoggingCategory", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMarginsF", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide); -PythonQt::priv()->registerCPPClass("QMessageAuthenticationCode", "", "QtCore", PythonQtCreateObject, NULL, 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, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMessageLogger", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMetaClassInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QMetaEnum", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMetaMethod", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMetaProperty", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QMetaType", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMimeDatabase", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QOperatingSystemVersion", "", "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("QRandomGenerator64", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject, NULL, 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, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSequentialAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSettings::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QSharedMemory::staticMetaObject, "QtCore", PythonQtCreateObject, NULL, 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, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStandardPaths", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QState::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QStateMachine::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QStorageInfo", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSysInfo", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTemporaryDir", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QTemporaryFile::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("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, NULL, 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, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QUrlQuery", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QUuid", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVariantAnimation::staticMetaObject, "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("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); +//TODO: uncomment +//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.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri b/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri rename to generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.15.2/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.2/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.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.15.2/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.2/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.2/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.15.2/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.2/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.3/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui.pri similarity index 92% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui.pri rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui.pri index 9fe6dc2e..da88b6a3 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui.pri @@ -11,6 +11,7 @@ HEADERS += \ $$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 \ @@ -25,4 +26,5 @@ SOURCES += \ $$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.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp similarity index 85% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index 3230c70c..89c317b7 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -2,14 +2,15 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include +#include #include #include #include @@ -18,34 +19,30 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include #include #include -#include #include #include -#include +#include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -53,21 +50,41 @@ #include #include #include +#include +#include #include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include +#include #include #include +#include +#include +#include #include #include #include @@ -75,8 +92,11 @@ #include #include #include +#include +#include #include #include +#include #include #include @@ -94,9 +114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -116,9 +136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -138,9 +158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -150,6 +170,28 @@ if (_wrapper) { } 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) { @@ -160,9 +202,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -182,9 +224,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -194,6 +236,28 @@ if (_wrapper) { } 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) { @@ -205,19 +269,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -237,9 +301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -259,9 +323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -281,9 +345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -303,9 +367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -325,9 +389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -348,19 +412,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -370,6 +434,39 @@ if (_wrapper) { } 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) { @@ -380,9 +477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -403,19 +500,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -435,9 +532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -458,19 +555,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -491,19 +588,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -523,9 +620,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -546,19 +643,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -578,9 +675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -600,9 +697,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -623,19 +720,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -655,9 +752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -677,9 +774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -699,9 +796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -722,19 +819,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -755,19 +852,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -787,9 +884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -809,9 +906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -831,9 +928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -853,9 +950,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -875,9 +972,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -898,19 +995,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -930,9 +1027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -953,19 +1050,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -985,9 +1082,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1008,19 +1105,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1040,9 +1137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1062,9 +1159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1085,19 +1182,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1117,9 +1214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1140,19 +1237,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1172,9 +1269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1194,9 +1291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1216,9 +1313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1365,11 +1462,6 @@ QString PythonQtWrapper_QAbstractButton::text(QAbstractButton* theWrappedObject return ( theWrappedObject->text()); } -void PythonQtWrapper_QAbstractButton::timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->promoted_timerEvent(e)); -} - PythonQtShell_QAbstractGraphicsShapeItem::~PythonQtShell_QAbstractGraphicsShapeItem() { @@ -1386,9 +1478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1409,19 +1501,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1442,19 +1534,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1475,19 +1567,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1508,19 +1600,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1540,9 +1632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1562,9 +1654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1584,9 +1676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1606,9 +1698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1628,9 +1720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1651,19 +1743,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1683,9 +1775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1705,9 +1797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1727,9 +1819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1749,9 +1841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1771,9 +1863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1793,9 +1885,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1816,19 +1908,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1849,19 +1941,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1882,19 +1974,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -1917,9 +2009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1939,9 +2031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1961,9 +2053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1983,9 +2075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2005,9 +2097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2027,9 +2119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2050,19 +2142,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2082,9 +2174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2105,19 +2197,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2138,19 +2230,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2170,9 +2262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2193,19 +2285,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2226,19 +2318,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2259,19 +2351,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2291,9 +2383,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2333,6 +2425,28 @@ 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) { @@ -2344,19 +2458,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QWidget* returnValue{}; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2366,6 +2480,28 @@ if (_wrapper) { } 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) { @@ -2376,9 +2512,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2399,19 +2535,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2421,6 +2557,72 @@ if (_wrapper) { } 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) { @@ -2432,19 +2634,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2464,9 +2666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2487,19 +2689,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVector"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVector returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2519,9 +2721,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2541,9 +2743,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2564,19 +2766,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QSize returnValue{}; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2586,6 +2788,28 @@ if (_wrapper) { } 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) { @@ -2596,9 +2820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2691,9 +2915,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2713,9 +2937,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2725,6 +2949,28 @@ if (_wrapper) { } 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) { @@ -2735,9 +2981,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2757,9 +3003,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2779,9 +3025,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2801,9 +3047,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2823,9 +3069,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2835,6 +3081,28 @@ if (_wrapper) { } 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) { @@ -2845,9 +3113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2868,19 +3136,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2900,9 +3168,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2922,9 +3190,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2944,9 +3212,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2966,9 +3234,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2988,9 +3256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3011,19 +3279,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3043,9 +3311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3065,9 +3333,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3088,19 +3356,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3121,19 +3389,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3153,9 +3421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3176,19 +3444,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3208,9 +3476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3231,19 +3499,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3264,19 +3532,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3296,9 +3564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3319,19 +3587,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3351,9 +3619,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3373,9 +3641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3396,19 +3664,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3428,9 +3696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3450,9 +3718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3473,19 +3741,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3506,19 +3774,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3538,9 +3806,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3560,9 +3828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3582,9 +3850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3604,9 +3872,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3627,19 +3895,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3660,19 +3928,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3692,9 +3960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3714,9 +3982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3736,9 +4004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3758,9 +4026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3781,19 +4049,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3813,9 +4081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3836,19 +4104,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3869,19 +4137,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3901,9 +4169,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3924,19 +4192,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3956,9 +4224,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3978,9 +4246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4000,9 +4268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4022,9 +4290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4044,9 +4312,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4066,9 +4334,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4088,9 +4356,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4111,19 +4379,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4143,9 +4411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4166,19 +4434,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4198,9 +4466,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4220,9 +4488,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4242,9 +4510,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4264,9 +4532,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4286,9 +4554,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4308,9 +4576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4331,19 +4599,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4363,9 +4631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4386,19 +4654,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4419,19 +4687,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4452,19 +4720,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4484,9 +4752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4506,9 +4774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4528,9 +4796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4550,9 +4818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4572,9 +4840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4594,9 +4862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4617,19 +4885,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4649,9 +4917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4671,9 +4939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4694,19 +4962,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4727,19 +4995,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4760,19 +5028,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4793,19 +5061,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4826,19 +5094,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4858,9 +5126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5267,11 +5535,6 @@ Qt::TextElideMode PythonQtWrapper_QAbstractItemView::textElideMode(QAbstractIte return ( theWrappedObject->textElideMode()); } -void PythonQtWrapper_QAbstractItemView::timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_timerEvent(event)); -} - int PythonQtWrapper_QAbstractItemView::verticalOffset(QAbstractItemView* theWrappedObject) const { return ( ((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->promoted_verticalOffset()); @@ -5313,9 +5576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5335,9 +5598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5357,9 +5620,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5369,6 +5632,28 @@ if (_wrapper) { } 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) { @@ -5379,9 +5664,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5401,9 +5686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5413,6 +5698,28 @@ if (_wrapper) { } 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) { @@ -5424,19 +5731,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5456,9 +5763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5478,9 +5785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5500,9 +5807,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5522,9 +5829,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5544,9 +5851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5566,9 +5873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5589,19 +5896,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5622,19 +5929,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5655,19 +5962,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5687,9 +5994,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5710,19 +6017,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5742,9 +6049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5765,19 +6072,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5798,19 +6105,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5830,9 +6137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5852,9 +6159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5874,9 +6181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5897,19 +6204,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5929,9 +6236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5951,9 +6258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5973,9 +6280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5996,19 +6303,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6029,19 +6336,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6061,9 +6368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6083,9 +6390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6105,9 +6412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6127,9 +6434,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6149,9 +6456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6172,19 +6479,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6204,9 +6511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6227,19 +6534,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6259,9 +6566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6282,19 +6589,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6314,9 +6621,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6336,9 +6643,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6358,9 +6665,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6381,19 +6688,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6413,9 +6720,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6436,19 +6743,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6468,9 +6775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6480,6 +6787,28 @@ if (_wrapper) { } 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) { @@ -6490,9 +6819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6606,19 +6935,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6639,19 +6968,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6672,19 +7001,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6694,7 +7023,29 @@ if (_wrapper) { } return QAbstractProxyModel::canFetchMore(parent0); } -int PythonQtShell_QAbstractProxyModel::columnCount(const QModelIndex& parent0) const +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 @@ -6705,19 +7056,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6727,6 +7078,28 @@ if (_wrapper) { } 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) { @@ -6738,19 +7111,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&proxyIndex0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&proxyIndex0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6771,19 +7144,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6793,6 +7166,72 @@ if (_wrapper) { } 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) { @@ -6803,9 +7242,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6826,19 +7265,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6859,19 +7298,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6892,19 +7331,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6925,19 +7364,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6958,19 +7397,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6991,19 +7430,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7024,19 +7463,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7057,19 +7496,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&sourceIndex0}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7090,19 +7529,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7123,19 +7562,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7156,19 +7595,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&proxyIndex0}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7189,19 +7628,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7222,19 +7661,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7255,19 +7694,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7288,19 +7727,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7321,19 +7760,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7354,19 +7793,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7387,19 +7826,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7420,19 +7859,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7452,9 +7891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7475,19 +7914,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7508,19 +7947,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7541,19 +7980,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7574,19 +8013,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7607,19 +8046,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7639,9 +8078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7662,19 +8101,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7694,9 +8133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7717,19 +8156,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7750,19 +8189,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7783,19 +8222,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7816,19 +8255,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7838,6 +8277,28 @@ if (_wrapper) { } 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); } @@ -7901,9 +8362,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7923,9 +8384,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7935,6 +8396,28 @@ if (_wrapper) { } 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) { @@ -7945,9 +8428,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7967,9 +8450,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7979,6 +8462,28 @@ if (_wrapper) { } 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) { @@ -7990,19 +8495,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8022,9 +8527,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8044,9 +8549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8066,9 +8571,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8088,9 +8593,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8110,9 +8615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8133,19 +8638,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8166,19 +8671,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8198,9 +8703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8221,19 +8726,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8253,9 +8758,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8276,19 +8781,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8309,19 +8814,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8341,9 +8846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8363,9 +8868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8385,9 +8890,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8408,19 +8913,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8440,9 +8945,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8462,9 +8967,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8484,9 +8989,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8507,19 +9012,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8540,19 +9045,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8572,9 +9077,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8594,9 +9099,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8616,9 +9121,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8638,9 +9143,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8660,9 +9165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8683,19 +9188,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8716,19 +9221,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8748,9 +9253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8771,19 +9276,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8803,9 +9308,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8825,9 +9330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8847,9 +9352,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8869,9 +9374,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8892,19 +9397,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8924,9 +9429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8947,19 +9452,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8979,9 +9484,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8991,6 +9496,28 @@ if (_wrapper) { } 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) { @@ -9002,19 +9529,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9035,19 +9562,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9067,9 +9594,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9106,11 +9633,6 @@ QWidget* PythonQtWrapper_QAbstractScrollArea::cornerWidget(QAbstractScrollArea* return ( theWrappedObject->cornerWidget()); } -bool PythonQtWrapper_QAbstractScrollArea::eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - QScrollBar* PythonQtWrapper_QAbstractScrollArea::horizontalScrollBar(QAbstractScrollArea* theWrappedObject) const { return ( theWrappedObject->horizontalScrollBar()); @@ -9242,9 +9764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9264,9 +9786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9276,6 +9798,28 @@ if (_wrapper) { } 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) { @@ -9286,9 +9830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9308,9 +9852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9320,6 +9864,28 @@ if (_wrapper) { } 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) { @@ -9331,19 +9897,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9363,9 +9929,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9385,9 +9951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9407,9 +9973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9429,9 +9995,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9451,9 +10017,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9474,19 +10040,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9496,6 +10062,39 @@ if (_wrapper) { } 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) { @@ -9506,9 +10105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9529,19 +10128,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9561,9 +10160,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9584,19 +10183,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9617,19 +10216,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9649,9 +10248,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9671,9 +10270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9693,9 +10292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9716,19 +10315,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9748,9 +10347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9770,9 +10369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9792,9 +10391,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9815,19 +10414,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9848,19 +10447,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9880,9 +10479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9902,9 +10501,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9924,9 +10523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9946,9 +10545,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9968,9 +10567,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9991,19 +10590,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10024,19 +10623,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10056,9 +10655,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10079,19 +10678,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10111,9 +10710,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10133,9 +10732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10156,19 +10755,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10188,9 +10787,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10211,19 +10810,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10243,9 +10842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10265,9 +10864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10287,9 +10886,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10309,9 +10908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10448,11 +11047,6 @@ int PythonQtWrapper_QAbstractSlider::sliderPosition(QAbstractSlider* theWrapped return ( theWrappedObject->sliderPosition()); } -void PythonQtWrapper_QAbstractSlider::timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - void PythonQtWrapper_QAbstractSlider::triggerAction(QAbstractSlider* theWrappedObject, QAbstractSlider::SliderAction action) { ( theWrappedObject->triggerAction(action)); @@ -10479,9 +11073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10501,9 +11095,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10513,6 +11107,28 @@ if (_wrapper) { } 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) { @@ -10523,9 +11139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10545,9 +11161,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10567,9 +11183,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10579,6 +11195,28 @@ if (_wrapper) { } 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) { @@ -10590,19 +11228,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10622,9 +11260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10644,9 +11282,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10666,9 +11304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10688,9 +11326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10710,9 +11348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10733,19 +11371,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10755,6 +11393,39 @@ if (_wrapper) { } 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) { @@ -10765,9 +11436,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10787,9 +11458,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10810,19 +11481,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10842,9 +11513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10865,19 +11536,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10898,19 +11569,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10930,9 +11601,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10952,9 +11623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10974,9 +11645,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10997,19 +11668,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11029,9 +11700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11051,9 +11722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11073,9 +11744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11096,19 +11767,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11129,19 +11800,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11161,9 +11832,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11183,9 +11854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11205,9 +11876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11227,9 +11898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11249,9 +11920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11272,19 +11943,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11305,19 +11976,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11337,9 +12008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11360,19 +12031,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11392,9 +12063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11414,9 +12085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11437,19 +12108,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11469,9 +12140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11492,19 +12163,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11524,9 +12195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11547,19 +12218,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11579,9 +12250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11601,9 +12272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11624,19 +12295,19 @@ if (_wrapper) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&input0, (void*)&pos1}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11656,9 +12327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11835,11 +12506,6 @@ QString PythonQtWrapper_QAbstractSpinBox::text(QAbstractSpinBox* theWrappedObje return ( theWrappedObject->text()); } -void PythonQtWrapper_QAbstractSpinBox::timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->promoted_timerEvent(event)); -} - QValidator::State PythonQtWrapper_QAbstractSpinBox::validate(QAbstractSpinBox* theWrappedObject, QString& input, int& pos) const { return ( theWrappedObject->validate(input, pos)); @@ -11867,19 +12533,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11900,19 +12566,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11933,19 +12599,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11955,6 +12621,28 @@ if (_wrapper) { } 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) { @@ -11966,19 +12654,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11988,6 +12676,28 @@ if (_wrapper) { } 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) { @@ -11999,19 +12709,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12032,19 +12742,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12054,6 +12764,72 @@ if (_wrapper) { } 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) { @@ -12064,9 +12840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12087,19 +12863,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12120,19 +12896,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12153,19 +12929,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12186,19 +12962,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12219,19 +12995,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12252,19 +13028,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12285,19 +13061,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12318,19 +13094,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12351,19 +13127,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12384,19 +13160,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12417,19 +13193,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12450,19 +13226,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12483,19 +13259,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12515,9 +13291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12538,19 +13314,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12571,19 +13347,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12604,19 +13380,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12637,19 +13413,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12670,19 +13446,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12703,19 +13479,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12735,9 +13511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12758,19 +13534,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12791,19 +13567,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12824,19 +13600,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12857,19 +13633,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12879,6 +13655,28 @@ if (_wrapper) { } 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); } @@ -12913,19 +13711,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRectF returnValue{}; - void* args[2] = {NULL, (void*)&block0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12935,6 +13733,50 @@ if (_wrapper) { } 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) { @@ -12945,9 +13787,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; + void* args[4] = {nullptr, (void*)&from0, (void*)&charsRemoved1, (void*)&charsAdded2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12968,19 +13810,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSizeF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSizeF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); } else { returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13000,9 +13842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&context1}; + void* args[3] = {nullptr, (void*)&painter0, (void*)&context1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13022,9 +13864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13034,6 +13876,72 @@ if (_wrapper) { } 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) { @@ -13045,19 +13953,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRectF returnValue{}; - void* args[2] = {NULL, (void*)&frame0}; + void* args[2] = {nullptr, (void*)&frame0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13078,19 +13986,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); int returnValue{}; - void* args[3] = {NULL, (void*)&point0, (void*)&accuracy1}; + void* args[3] = {nullptr, (void*)&point0, (void*)&accuracy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13111,19 +14019,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13143,9 +14051,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13165,9 +14073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13177,6 +14085,28 @@ if (_wrapper) { } 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); } @@ -13362,40 +14292,139 @@ PythonQtShell_QAction::~PythonQtShell_QAction() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QAction::event(QEvent* arg__1) +void PythonQtShell_QAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAction::event(arg__1); + QAction::childEvent(event0); } -QAction* PythonQtWrapper_QAction::new_QAction(QObject* parent) +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); } @@ -13450,11 +14479,6 @@ QVariant PythonQtWrapper_QAction::data(QAction* theWrappedObject) const return ( theWrappedObject->data()); } -bool PythonQtWrapper_QAction::event(QAction* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QAction*)theWrappedObject)->promoted_event(arg__1)); -} - QFont PythonQtWrapper_QAction::font(QAction* theWrappedObject) const { return ( theWrappedObject->font()); @@ -13699,6 +14723,138 @@ 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); } @@ -13741,6 +14897,11 @@ QAction* PythonQtWrapper_QActionGroup::checkedAction(QActionGroup* theWrappedOb return ( theWrappedObject->checkedAction()); } +QActionGroup::ExclusionPolicy PythonQtWrapper_QActionGroup::exclusionPolicy(QActionGroup* theWrappedObject) const +{ + return ( theWrappedObject->exclusionPolicy()); +} + bool PythonQtWrapper_QActionGroup::isEnabled(QActionGroup* theWrappedObject) const { return ( theWrappedObject->isEnabled()); @@ -14065,9 +15226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14077,63 +15238,52 @@ if (_wrapper) { } QBoxLayout::addItem(arg__1); } -int PythonQtShell_QBoxLayout::count() const +void PythonQtShell_QBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QBoxLayout::count(); + QBoxLayout::childEvent(e0); } -Qt::Orientations PythonQtShell_QBoxLayout::expandingDirections() const +QSizePolicy::ControlTypes PythonQtShell_QBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14141,32 +15291,32 @@ if (_wrapper) { } } } - return QBoxLayout::expandingDirections(); + return QBoxLayout::controlTypes(); } -bool PythonQtShell_QBoxLayout::hasHeightForWidth() const +int PythonQtShell_QBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14174,34 +15324,221 @@ if (_wrapper) { } } } - return QBoxLayout::hasHeightForWidth(); + return QBoxLayout::count(); } -int PythonQtShell_QBoxLayout::heightForWidth(int arg__1) const +void PythonQtShell_QBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; + } else { + PyErr_Clear(); + } + } +} + 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(); } @@ -14209,6 +15546,39 @@ if (_wrapper) { } 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) { @@ -14219,9 +15589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14231,6 +15601,39 @@ if (_wrapper) { } 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) { @@ -14242,19 +15645,19 @@ if (_wrapper) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14264,6 +15667,39 @@ if (_wrapper) { } 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) { @@ -14275,19 +15711,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14308,19 +15744,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14341,19 +15777,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14373,9 +15809,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14396,19 +15832,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14418,30 +15854,30 @@ if (_wrapper) { } return QBoxLayout::sizeHint(); } -QLayoutItem* PythonQtShell_QBoxLayout::takeAt(int arg__1) +QSpacerItem* PythonQtShell_QBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("spacerItem"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14449,28 +15885,116 @@ if (_wrapper) { } } } - return QBoxLayout::takeAt(arg__1); + return QBoxLayout::spacerItem(); } -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; - } +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::addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1) +void PythonQtWrapper_QBoxLayout::addLayout(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout, int stretch) { - ( theWrappedObject->addItem(arg__1)); + ( theWrappedObject->addLayout(layout, stretch)); } void PythonQtWrapper_QBoxLayout::addSpacerItem(QBoxLayout* theWrappedObject, PythonQtPassOwnershipToCPP spacerItem) @@ -14498,34 +16022,19 @@ void PythonQtWrapper_QBoxLayout::addWidget(QBoxLayout* theWrappedObject, PythonQ ( theWrappedObject->addWidget(arg__1, stretch, alignment)); } -int PythonQtWrapper_QBoxLayout::count(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - QBoxLayout::Direction PythonQtWrapper_QBoxLayout::direction(QBoxLayout* theWrappedObject) const { return ( theWrappedObject->direction()); } -Qt::Orientations PythonQtWrapper_QBoxLayout::expandingDirections(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -bool PythonQtWrapper_QBoxLayout::hasHeightForWidth(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QBoxLayout::heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const +void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) { - return ( theWrappedObject->heightForWidth(arg__1)); + ( theWrappedObject->insertItem(index, arg__2)); } -void PythonQtWrapper_QBoxLayout::insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2) +void PythonQtWrapper_QBoxLayout::insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch) { - ( theWrappedObject->insertItem(index, arg__2)); + ( theWrappedObject->insertLayout(index, layout, stretch)); } void PythonQtWrapper_QBoxLayout::insertSpacerItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP spacerItem) @@ -14548,41 +16057,11 @@ void PythonQtWrapper_QBoxLayout::insertWidget(QBoxLayout* theWrappedObject, int ( theWrappedObject->insertWidget(index, widget, stretch, alignment)); } -void PythonQtWrapper_QBoxLayout::invalidate(QBoxLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QBoxLayout::itemAt(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->itemAt(arg__1)); -} - -QSize PythonQtWrapper_QBoxLayout::maximumSize(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QBoxLayout::minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QBoxLayout::minimumSize(QBoxLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - void PythonQtWrapper_QBoxLayout::setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1) { ( theWrappedObject->setDirection(arg__1)); } -void PythonQtWrapper_QBoxLayout::setGeometry(QBoxLayout* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - void PythonQtWrapper_QBoxLayout::setSpacing(QBoxLayout* theWrappedObject, int spacing) { ( theWrappedObject->setSpacing(spacing)); @@ -14593,14 +16072,14 @@ void PythonQtWrapper_QBoxLayout::setStretch(QBoxLayout* theWrappedObject, int i ( theWrappedObject->setStretch(index, stretch)); } -bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QLayout* l, int stretch) { - return ( theWrappedObject->setStretchFactor(w, stretch)); + return ( theWrappedObject->setStretchFactor(l, stretch)); } -QSize PythonQtWrapper_QBoxLayout::sizeHint(QBoxLayout* theWrappedObject) const +bool PythonQtWrapper_QBoxLayout::setStretchFactor(QBoxLayout* theWrappedObject, QWidget* w, int stretch) { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->setStretchFactor(w, stretch)); } int PythonQtWrapper_QBoxLayout::spacing(QBoxLayout* theWrappedObject) const @@ -14613,17 +16092,144 @@ int PythonQtWrapper_QBoxLayout::stretch(QBoxLayout* theWrappedObject, int inde return ( theWrappedObject->stretch(index)); } -QLayoutItem* PythonQtWrapper_QBoxLayout::takeAt(QBoxLayout* theWrappedObject, int arg__1) -{ - return ( theWrappedObject->takeAt(arg__1)); -} - 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); } @@ -14707,9 +16313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14729,9 +16335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14741,6 +16347,28 @@ if (_wrapper) { } 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) { @@ -14751,9 +16379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14773,9 +16401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14785,30 +16413,52 @@ if (_wrapper) { } QCalendarWidget::contextMenuEvent(event0); } -int PythonQtShell_QCalendarWidget::devType() const +void PythonQtShell_QCalendarWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14828,9 +16478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14850,9 +16500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14872,9 +16522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14894,9 +16544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14916,9 +16566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14939,19 +16589,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14972,19 +16622,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15004,9 +16654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15027,19 +16677,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15059,9 +16709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15082,19 +16732,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15115,19 +16765,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15147,9 +16797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15169,9 +16819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15191,9 +16841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15214,19 +16864,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15246,9 +16896,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15268,9 +16918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15290,9 +16940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15313,19 +16963,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15346,19 +16996,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15378,9 +17028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15400,9 +17050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15422,9 +17072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15444,9 +17094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15466,9 +17116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15489,19 +17139,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15521,9 +17171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QDate&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&date2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&date2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15544,19 +17194,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15576,9 +17226,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15599,19 +17249,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15631,9 +17281,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15653,9 +17303,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15676,19 +17326,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15708,9 +17358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15731,19 +17381,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15763,9 +17413,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15775,6 +17425,28 @@ if (_wrapper) { } 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) { @@ -15785,9 +17457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15814,6 +17486,11 @@ int PythonQtShell_QCalendarWidget::qt_metacall(QMetaObject::Call call, int id, v 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()); @@ -15829,11 +17506,6 @@ QTextCharFormat PythonQtWrapper_QCalendarWidget::dateTextFormat(QCalendarWidget return ( theWrappedObject->dateTextFormat(date)); } -bool PythonQtWrapper_QCalendarWidget::eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QCalendarWidget*)theWrappedObject)->promoted_eventFilter(watched, event)); -} - Qt::DayOfWeek PythonQtWrapper_QCalendarWidget::firstDayOfWeek(QCalendarWidget* theWrappedObject) const { return ( theWrappedObject->firstDayOfWeek()); @@ -15894,6 +17566,11 @@ QCalendarWidget::SelectionMode PythonQtWrapper_QCalendarWidget::selectionMode(Q 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)); @@ -15990,9 +17667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16012,9 +17689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16034,9 +17711,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16046,6 +17723,28 @@ if (_wrapper) { } 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) { @@ -16056,9 +17755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16078,9 +17777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16090,6 +17789,28 @@ if (_wrapper) { } 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) { @@ -16101,19 +17822,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16133,9 +17854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16155,9 +17876,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16177,9 +17898,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16199,9 +17920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16221,9 +17942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16244,19 +17965,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16266,6 +17987,39 @@ if (_wrapper) { } 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) { @@ -16276,9 +18030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16299,19 +18053,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16331,9 +18085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16354,19 +18108,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16387,19 +18141,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16419,9 +18173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16442,19 +18196,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16474,9 +18228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16496,9 +18250,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16519,19 +18273,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16551,9 +18305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16573,9 +18327,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16595,9 +18349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16618,19 +18372,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16651,19 +18405,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16683,9 +18437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16705,9 +18459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16727,9 +18481,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16749,9 +18503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16771,9 +18525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16794,19 +18548,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16826,9 +18580,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16849,19 +18603,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16881,9 +18635,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16904,19 +18658,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16936,9 +18690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16958,9 +18712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16981,19 +18735,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17013,9 +18767,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17036,19 +18790,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17068,9 +18822,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17090,9 +18844,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17112,9 +18866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17182,6 +18936,83 @@ QSize PythonQtWrapper_QCheckBox::sizeHint(QCheckBox* theWrappedObject) const +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(); } @@ -17202,9 +19033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17224,9 +19055,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17246,9 +19077,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17258,6 +19089,28 @@ if (_wrapper) { } 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) { @@ -17268,9 +19121,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17290,9 +19143,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17302,6 +19155,28 @@ if (_wrapper) { } 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) { @@ -17313,19 +19188,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17345,9 +19220,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17367,9 +19242,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17389,9 +19264,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17411,9 +19286,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17433,9 +19308,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17455,9 +19330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17478,19 +19353,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17511,19 +19386,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17544,19 +19419,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17576,9 +19451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17599,19 +19474,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17631,9 +19506,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17654,19 +19529,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17687,19 +19562,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17719,9 +19594,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17741,9 +19616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17763,9 +19638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17786,19 +19661,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17818,9 +19693,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17840,9 +19715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17862,9 +19737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17885,19 +19760,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17918,19 +19793,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17950,9 +19825,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17972,9 +19847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17994,9 +19869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18016,9 +19891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18038,9 +19913,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18061,19 +19936,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18094,19 +19969,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18126,9 +20001,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18149,19 +20024,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18181,9 +20056,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18203,9 +20078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18225,9 +20100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18248,19 +20123,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18280,9 +20155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18303,19 +20178,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18335,9 +20210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18347,6 +20222,28 @@ if (_wrapper) { } 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) { @@ -18357,9 +20254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18467,45 +20364,198 @@ bool PythonQtWrapper_QColorDialog::testOption(QColorDialog* theWrappedObject, Q -PythonQtShell_QColumnView::~PythonQtShell_QColumnView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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 fun, float gamma) +{ +return new QColorSpace(primaries, fun, 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 fun, float gamma) +{ +return new QColorSpace(whitePoint, redPoint, greenPoint, bluePoint, fun, gamma); } + +QColorSpace PythonQtWrapper_QColorSpace::static_QColorSpace_fromIccProfile(const QByteArray& iccProfile) +{ + return (QColorSpace::fromIccProfile(iccProfile)); } -void PythonQtShell_QColumnView::actionEvent(QActionEvent* event0) + +float PythonQtWrapper_QColorSpace::gamma(QColorSpace* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->gamma()); } - QColumnView::actionEvent(event0); + +QByteArray PythonQtWrapper_QColorSpace::iccProfile(QColorSpace* theWrappedObject) const +{ + return ( theWrappedObject->iccProfile()); } -void PythonQtShell_QColumnView::changeEvent(QEvent* arg__1) + +bool PythonQtWrapper_QColorSpace::isValid(QColorSpace* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18515,6 +20565,28 @@ if (_wrapper) { } 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) { @@ -18525,9 +20597,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18547,9 +20619,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18569,9 +20641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18591,9 +20663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18614,19 +20686,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractItemView*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractItemView* returnValue{}; - void* args[2] = {NULL, (void*)&rootIndex0}; + void* args[2] = {nullptr, (void*)&rootIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createColumn", methodInfo, result); } else { returnValue = *((QAbstractItemView**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18646,9 +20718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18658,6 +20730,28 @@ if (_wrapper) { } 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) { @@ -18668,9 +20762,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18691,19 +20785,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18723,9 +20817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18745,9 +20839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18767,9 +20861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18789,9 +20883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18811,9 +20905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18834,19 +20928,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18866,9 +20960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18888,9 +20982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18911,19 +21005,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18944,19 +21038,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18976,9 +21070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18999,19 +21093,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19031,9 +21125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19054,19 +21148,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19087,19 +21181,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19119,9 +21213,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19142,19 +21236,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19174,9 +21268,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19196,9 +21290,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19219,19 +21313,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19251,9 +21345,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19273,9 +21367,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19296,19 +21390,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19329,19 +21423,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19361,9 +21455,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19383,9 +21477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19405,9 +21499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19427,9 +21521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19450,19 +21544,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19483,19 +21577,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19515,9 +21609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19537,9 +21631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19559,9 +21653,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19581,9 +21675,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19604,19 +21698,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19636,9 +21730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19659,19 +21753,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19692,19 +21786,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19724,9 +21818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19747,19 +21841,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19779,9 +21873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19801,9 +21895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19823,9 +21917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19845,9 +21939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19867,9 +21961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19889,9 +21983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19911,9 +22005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19934,19 +22028,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -19966,9 +22060,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -19989,19 +22083,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20021,9 +22115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20043,9 +22137,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20065,9 +22159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20087,9 +22181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20109,9 +22203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20131,9 +22225,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20154,19 +22248,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20186,9 +22280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20209,19 +22303,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20242,19 +22336,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20275,19 +22369,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20307,9 +22401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20329,9 +22423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20351,9 +22445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20373,9 +22467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20395,9 +22489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20417,9 +22511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20440,19 +22534,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20472,9 +22566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20494,9 +22588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20517,19 +22611,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20550,19 +22644,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20583,19 +22677,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20616,19 +22710,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20649,19 +22743,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20681,9 +22775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20766,9 +22860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20788,9 +22882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20800,6 +22894,28 @@ if (_wrapper) { } 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) { @@ -20810,9 +22926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20832,9 +22948,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20844,6 +22960,28 @@ if (_wrapper) { } 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) { @@ -20855,19 +22993,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20887,9 +23025,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20909,9 +23047,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20931,9 +23069,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20953,9 +23091,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20975,9 +23113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20998,19 +23136,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21020,6 +23158,39 @@ if (_wrapper) { } 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) { @@ -21030,9 +23201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21053,19 +23224,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21085,9 +23256,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21108,19 +23279,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21141,19 +23312,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21173,9 +23344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21195,9 +23366,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21217,9 +23388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21239,9 +23410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21262,19 +23433,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21294,9 +23465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21316,9 +23487,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21338,9 +23509,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21361,19 +23532,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21394,19 +23565,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21426,9 +23597,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21448,9 +23619,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21470,9 +23641,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21492,9 +23663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21514,9 +23685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21537,19 +23708,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21570,19 +23741,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21602,9 +23773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21625,19 +23796,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21657,9 +23828,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21679,9 +23850,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21702,19 +23873,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21734,9 +23905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21756,9 +23927,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21779,19 +23950,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -21811,9 +23982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -21823,6 +23994,28 @@ if (_wrapper) { } 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) { @@ -21833,9 +24026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -22173,2150 +24366,3 @@ QAbstractItemView* PythonQtWrapper_QComboBox::view(QComboBox* theWrappedObject) } - -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] = {NULL, (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] = {NULL, (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] = {NULL}; - 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::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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QCommandLinkButton::event(e0); -} -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] = {NULL, (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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&pt2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&m0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&ct0, (void*)&opt1, (void*)&contentsSize2, (void*)&widget3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&standardIcon0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&sp0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&sh0, (void*)&opt1, (void*)&w2, (void*)&shret3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&w3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&r0, (void*)&opt1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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::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] = {NULL, (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] = {NULL, (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); } -} -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 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] = {NULL, (void*)&o0, (void*)&e1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&path0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -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()); -} - -bool PythonQtWrapper_QCompleter::event(QCompleter* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_event(arg__1)); -} - -bool PythonQtWrapper_QCompleter::eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->promoted_eventFilter(o, e)); -} - -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()); -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.h similarity index 69% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.h index 0ad1b6da..b4ca0d52 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -1,13 +1,14 @@ #include -#include #include #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -29,22 +30,30 @@ #include #include #include +#include #include +#include +#include #include #include +#include +#include #include +#include +#include #include #include -#include -#include #include #include #include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -52,21 +61,41 @@ #include #include #include +#include +#include #include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include +#include #include #include +#include +#include +#include #include #include #include @@ -74,8 +103,11 @@ #include #include #include +#include +#include #include #include +#include #include #include @@ -84,59 +116,62 @@ class PythonQtShell_QAbstractButton : public QAbstractButton { public: - PythonQtShell_QAbstractButton(QWidget* parent = nullptr):QAbstractButton(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractButton(QWidget* parent = nullptr):QAbstractButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractButton() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton @@ -176,7 +211,7 @@ class PythonQtWrapper_QAbstractButton : public QObject public: public slots: QAbstractButton* new_QAbstractButton(QWidget* parent = nullptr); -void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } +void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } bool autoExclusive(QAbstractButton* theWrappedObject) const; bool autoRepeat(QAbstractButton* theWrappedObject) const; int autoRepeatDelay(QAbstractButton* theWrappedObject) const; @@ -214,7 +249,6 @@ void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } void setText(QAbstractButton* theWrappedObject, const QString& text); QKeySequence shortcut(QAbstractButton* theWrappedObject) const; QString text(QAbstractButton* theWrappedObject) const; - void timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e); void py_q_timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QAbstractButton*)theWrappedObject)->py_q_timerEvent(e));} }; @@ -225,47 +259,47 @@ void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } class PythonQtShell_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem { public: - PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr):QAbstractGraphicsShapeItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractGraphicsShapeItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr):QAbstractGraphicsShapeItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractGraphicsShapeItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem @@ -279,7 +313,7 @@ class PythonQtWrapper_QAbstractGraphicsShapeItem : public QObject public: public slots: QAbstractGraphicsShapeItem* new_QAbstractGraphicsShapeItem(QGraphicsItem* parent = nullptr); -void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } +void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete obj; } QBrush brush(QAbstractGraphicsShapeItem* theWrappedObject) const; bool py_q_isObscuredBy(QAbstractGraphicsShapeItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QAbstractGraphicsShapeItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractGraphicsShapeItem*)theWrappedObject)->py_q_opaqueArea());} @@ -295,24 +329,29 @@ void delete_QAbstractGraphicsShapeItem(QAbstractGraphicsShapeItem* obj) { delete class PythonQtShell_QAbstractItemDelegate : public QAbstractItemDelegate { public: - PythonQtShell_QAbstractItemDelegate(QObject* parent = nullptr):QAbstractItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemDelegate(); - -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemDelegate(QObject* parent = nullptr):QAbstractItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemDelegate : public QAbstractItemDelegate @@ -337,7 +376,7 @@ enum EndEditHint{ NoHint = QAbstractItemDelegate::NoHint, EditNextItem = QAbstractItemDelegate::EditNextItem, EditPreviousItem = QAbstractItemDelegate::EditPreviousItem, SubmitModelCache = QAbstractItemDelegate::SubmitModelCache, RevertModelCache = QAbstractItemDelegate::RevertModelCache}; public slots: QAbstractItemDelegate* new_QAbstractItemDelegate(QObject* parent = nullptr); -void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } +void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } QWidget* createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; QWidget* py_q_createEditor(QAbstractItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} void destroyEditor(QAbstractItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; @@ -367,99 +406,101 @@ void delete_QAbstractItemDelegate(QAbstractItemDelegate* obj) { delete obj; } class PythonQtShell_QAbstractItemView : public QAbstractItemView { public: - PythonQtShell_QAbstractItemView(QWidget* parent = nullptr):QAbstractItemView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractItemView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractItemView(QWidget* parent = nullptr):QAbstractItemView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractItemView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& point) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractItemView : public QAbstractItemView @@ -602,7 +643,7 @@ enum State{ Q_DECLARE_FLAGS(EditTriggers, EditTrigger) public slots: QAbstractItemView* new_QAbstractItemView(QWidget* parent = nullptr); -void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } +void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } bool alternatingRowColors(QAbstractItemView* theWrappedObject) const; int autoScrollMargin(QAbstractItemView* theWrappedObject) const; void py_q_closeEditor(QAbstractItemView* theWrappedObject, QWidget* editor, QAbstractItemDelegate::EndEditHint hint){ (((PythonQtPublicPromoter_QAbstractItemView*)theWrappedObject)->py_q_closeEditor(editor, hint));} @@ -725,7 +766,6 @@ void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } void stopAutoScroll(QAbstractItemView* theWrappedObject); bool tabKeyNavigation(QAbstractItemView* theWrappedObject) const; Qt::TextElideMode textElideMode(QAbstractItemView* theWrappedObject) const; - void timerEvent(QAbstractItemView* theWrappedObject, QTimerEvent* event); 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());} @@ -752,61 +792,64 @@ void delete_QAbstractItemView(QAbstractItemView* obj) { delete obj; } class PythonQtShell_QAbstractPrintDialog : public QAbstractPrintDialog { public: - PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QAbstractPrintDialog(printer, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractPrintDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QAbstractPrintDialog(printer, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractPrintDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractPrintDialog : public QObject @@ -821,7 +864,7 @@ enum PrintRange{ Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption) public slots: QAbstractPrintDialog* new_QAbstractPrintDialog(QPrinter* printer, QWidget* parent = nullptr); -void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } +void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; int fromPage(QAbstractPrintDialog* theWrappedObject) const; @@ -845,53 +888,58 @@ void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } class PythonQtShell_QAbstractProxyModel : public QAbstractProxyModel { public: - PythonQtShell_QAbstractProxyModel(QObject* parent = nullptr):QAbstractProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractProxyModel(QObject* parent = nullptr):QAbstractProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& selection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& selection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractProxyModel : public QAbstractProxyModel @@ -931,7 +979,7 @@ class PythonQtWrapper_QAbstractProxyModel : public QObject public: public slots: QAbstractProxyModel* new_QAbstractProxyModel(QObject* parent = nullptr); -void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } +void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } QModelIndex py_q_buddy(QAbstractProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_buddy(index));} bool py_q_canDropMimeData(QAbstractProxyModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_canDropMimeData(data, action, row, column, parent));} bool py_q_canFetchMore(QAbstractProxyModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QAbstractProxyModel*)theWrappedObject)->py_q_canFetchMore(parent));} @@ -974,60 +1022,63 @@ void delete_QAbstractProxyModel(QAbstractProxyModel* obj) { delete obj; } class PythonQtShell_QAbstractScrollArea : public QAbstractScrollArea { public: - PythonQtShell_QAbstractScrollArea(QWidget* parent = nullptr):QAbstractScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractScrollArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractScrollArea(QWidget* parent = nullptr):QAbstractScrollArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractScrollArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractScrollArea : public QAbstractScrollArea @@ -1081,7 +1132,7 @@ class PythonQtWrapper_QAbstractScrollArea : public QObject public: public slots: QAbstractScrollArea* new_QAbstractScrollArea(QWidget* parent = nullptr); -void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } +void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } void addScrollBarWidget(QAbstractScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::Alignment alignment); void py_q_contextMenuEvent(QAbstractScrollArea* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QAbstractScrollArea*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} QWidget* cornerWidget(QAbstractScrollArea* theWrappedObject) const; @@ -1090,7 +1141,6 @@ void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } 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 eventFilter(QAbstractScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2); 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; @@ -1138,57 +1188,60 @@ void delete_QAbstractScrollArea(QAbstractScrollArea* obj) { delete obj; } class PythonQtShell_QAbstractSlider : public QAbstractSlider { public: - PythonQtShell_QAbstractSlider(QWidget* parent = nullptr):QAbstractSlider(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSlider(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSlider(QWidget* parent = nullptr):QAbstractSlider(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSlider() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSlider : public QAbstractSlider @@ -1221,7 +1274,7 @@ enum SliderChange{ SliderRangeChange = PythonQtPublicPromoter_QAbstractSlider::SliderRangeChange, SliderOrientationChange = PythonQtPublicPromoter_QAbstractSlider::SliderOrientationChange, SliderStepsChange = PythonQtPublicPromoter_QAbstractSlider::SliderStepsChange, SliderValueChange = PythonQtPublicPromoter_QAbstractSlider::SliderValueChange}; public slots: QAbstractSlider* new_QAbstractSlider(QWidget* parent = nullptr); -void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } +void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } void py_q_changeEvent(QAbstractSlider* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_changeEvent(e));} bool py_q_event(QAbstractSlider* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QAbstractSlider*)theWrappedObject)->py_q_event(e));} bool hasTracking(QAbstractSlider* theWrappedObject) const; @@ -1248,7 +1301,6 @@ void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } 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 timerEvent(QAbstractSlider* theWrappedObject, QTimerEvent* arg__1); 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; @@ -1262,61 +1314,64 @@ void delete_QAbstractSlider(QAbstractSlider* obj) { delete obj; } class PythonQtShell_QAbstractSpinBox : public QAbstractSpinBox { public: - PythonQtShell_QAbstractSpinBox(QWidget* parent = nullptr):QAbstractSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSpinBox(QWidget* parent = nullptr):QAbstractSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSpinBox : public QAbstractSpinBox @@ -1378,7 +1433,7 @@ enum StepEnabledFlag{ Q_DECLARE_FLAGS(StepEnabled, StepEnabledFlag) public slots: QAbstractSpinBox* new_QAbstractSpinBox(QWidget* parent = nullptr); -void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } +void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } Qt::Alignment alignment(QAbstractSpinBox* theWrappedObject) const; QAbstractSpinBox::ButtonSymbols buttonSymbols(QAbstractSpinBox* theWrappedObject) const; void py_q_changeEvent(QAbstractSpinBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QAbstractSpinBox*)theWrappedObject)->py_q_changeEvent(event));} @@ -1431,7 +1486,6 @@ void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } 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 timerEvent(QAbstractSpinBox* theWrappedObject, QTimerEvent* event); 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));} @@ -1446,46 +1500,51 @@ void delete_QAbstractSpinBox(QAbstractSpinBox* obj) { delete obj; } class PythonQtShell_QAbstractTableModel : public QAbstractTableModel { public: - PythonQtShell_QAbstractTableModel(QObject* parent = nullptr):QAbstractTableModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractTableModel(QObject* parent = nullptr):QAbstractTableModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTableModel : public QAbstractTableModel @@ -1501,7 +1560,7 @@ class PythonQtWrapper_QAbstractTableModel : public QObject public: public slots: QAbstractTableModel* new_QAbstractTableModel(QObject* parent = nullptr); -void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } +void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } bool py_q_dropMimeData(QAbstractTableModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} Qt::ItemFlags py_q_flags(QAbstractTableModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_flags(index));} QModelIndex py_q_index(QAbstractTableModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QAbstractTableModel*)theWrappedObject)->py_q_index(row, column, parent));} @@ -1515,24 +1574,29 @@ void delete_QAbstractTableModel(QAbstractTableModel* obj) { delete obj; } class PythonQtShell_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout { public: - PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void documentChanged(int from, int charsRemoved, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual QRectF frameBoundingRect(QTextFrame* frame) const; -virtual int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractTextDocumentLayout(QTextDocument* doc):QAbstractTextDocumentLayout(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractTextDocumentLayout() override; + +QRectF blockBoundingRect(const QTextBlock& block) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void documentChanged(int from, int charsRemoved, int charsAdded) override; +QSizeF documentSize() const override; +void draw(QPainter* painter, const QAbstractTextDocumentLayout::PaintContext& context) override; +void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QRectF frameBoundingRect(QTextFrame* frame) const override; +int hitTest(const QPointF& point, Qt::HitTestAccuracy accuracy) const override; +int pageCount() const override; +void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractTextDocumentLayout : public QAbstractTextDocumentLayout @@ -1560,7 +1624,7 @@ class PythonQtWrapper_QAbstractTextDocumentLayout : public QObject public: public slots: QAbstractTextDocumentLayout* new_QAbstractTextDocumentLayout(QTextDocument* doc); -void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { delete obj; } QString anchorAt(QAbstractTextDocumentLayout* theWrappedObject, const QPointF& pos) const; QRectF blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; QRectF py_q_blockBoundingRect(QAbstractTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QAbstractTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} @@ -1601,12 +1665,12 @@ void delete_QAbstractTextDocumentLayout(QAbstractTextDocumentLayout* obj) { dele class PythonQtShell_QAbstractTextDocumentLayout__PaintContext : public QAbstractTextDocumentLayout::PaintContext { public: - PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(NULL) {}; + PythonQtShell_QAbstractTextDocumentLayout__PaintContext():QAbstractTextDocumentLayout::PaintContext(),_wrapper(nullptr) {}; ~PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__PaintContext : public QObject @@ -1618,7 +1682,7 @@ QAbstractTextDocumentLayout::PaintContext* new_QAbstractTextDocumentLayout__Pain PythonQtShell_QAbstractTextDocumentLayout__PaintContext* a = new PythonQtShell_QAbstractTextDocumentLayout__PaintContext(); *((QAbstractTextDocumentLayout::PaintContext*)a) = other; return a; } -void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout__PaintContext(QAbstractTextDocumentLayout::PaintContext* obj) { delete obj; } void py_set_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, QRectF clip){ theWrappedObject->clip = clip; } QRectF py_get_clip(QAbstractTextDocumentLayout::PaintContext* theWrappedObject){ return theWrappedObject->clip; } void py_set_cursorPosition(QAbstractTextDocumentLayout::PaintContext* theWrappedObject, int cursorPosition){ theWrappedObject->cursorPosition = cursorPosition; } @@ -1634,12 +1698,12 @@ QPalette py_get_palette(QAbstractTextDocumentLayout::PaintContext* theWrappedOb class PythonQtShell_QAbstractTextDocumentLayout__Selection : public QAbstractTextDocumentLayout::Selection { public: - PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(NULL) {}; + PythonQtShell_QAbstractTextDocumentLayout__Selection():QAbstractTextDocumentLayout::Selection(),_wrapper(nullptr) {}; ~PythonQtShell_QAbstractTextDocumentLayout__Selection(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAbstractTextDocumentLayout__Selection : public QObject @@ -1651,7 +1715,7 @@ QAbstractTextDocumentLayout::Selection* new_QAbstractTextDocumentLayout__Selecti PythonQtShell_QAbstractTextDocumentLayout__Selection* a = new PythonQtShell_QAbstractTextDocumentLayout__Selection(); *((QAbstractTextDocumentLayout::Selection*)a) = other; return a; } -void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } +void delete_QAbstractTextDocumentLayout__Selection(QAbstractTextDocumentLayout::Selection* obj) { delete obj; } void py_set_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } QTextCursor py_get_cursor(QAbstractTextDocumentLayout::Selection* theWrappedObject){ return theWrappedObject->cursor; } void py_set_format(QAbstractTextDocumentLayout::Selection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } @@ -1665,12 +1729,12 @@ QTextCharFormat py_get_format(QAbstractTextDocumentLayout::Selection* theWrappe class PythonQtShell_QAccessibleEvent : public QAccessibleEvent { public: - PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(NULL) {}; + PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(nullptr) {}; - ~PythonQtShell_QAccessibleEvent(); + ~PythonQtShell_QAccessibleEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAccessibleEvent : public QObject @@ -1678,7 +1742,7 @@ class PythonQtWrapper_QAccessibleEvent : public QObject public: public slots: QAccessibleEvent* new_QAccessibleEvent(QObject* obj, QAccessible::Event typ); -void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } +void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } int child(QAccessibleEvent* theWrappedObject) const; QObject* object(QAccessibleEvent* theWrappedObject) const; void setChild(QAccessibleEvent* theWrappedObject, int chld); @@ -1693,17 +1757,21 @@ void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } class PythonQtShell_QAction : public QAction { public: - PythonQtShell_QAction(QObject* parent = nullptr):QAction(parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr):QAction(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QAction(const QString& text, QObject* parent = nullptr):QAction(text, parent),_wrapper(NULL) {}; + PythonQtShell_QAction(QObject* parent = nullptr):QAction(parent),_wrapper(nullptr) {}; + PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr):QAction(icon, text, parent),_wrapper(nullptr) {}; + PythonQtShell_QAction(const QString& text, QObject* parent = nullptr):QAction(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAction(); + ~PythonQtShell_QAction() override; -virtual bool event(QEvent* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAction : public QAction @@ -1722,14 +1790,13 @@ public slots: QAction* new_QAction(QObject* parent = nullptr); QAction* new_QAction(const QIcon& icon, const QString& text, QObject* parent = nullptr); QAction* new_QAction(const QString& text, QObject* parent = nullptr); -void delete_QAction(QAction* obj) { delete obj; } +void delete_QAction(QAction* obj) { delete obj; } QActionGroup* actionGroup(QAction* theWrappedObject) const; void activate(QAction* theWrappedObject, QAction::ActionEvent event); QList associatedGraphicsWidgets(QAction* theWrappedObject) const; QList associatedWidgets(QAction* theWrappedObject) const; bool autoRepeat(QAction* theWrappedObject) const; QVariant data(QAction* theWrappedObject) const; - bool event(QAction* theWrappedObject, QEvent* arg__1); 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; @@ -1786,7 +1853,7 @@ class PythonQtWrapper_QActionEvent : public QObject public: public slots: QActionEvent* new_QActionEvent(int type, QAction* action, QAction* before = nullptr); -void delete_QActionEvent(QActionEvent* obj) { delete obj; } +void delete_QActionEvent(QActionEvent* obj) { delete obj; } QAction* action(QActionEvent* theWrappedObject) const; QAction* before(QActionEvent* theWrappedObject) const; }; @@ -1798,14 +1865,19 @@ void delete_QActionEvent(QActionEvent* obj) { delete obj; } class PythonQtShell_QActionGroup : public QActionGroup { public: - PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QActionGroup(); + ~PythonQtShell_QActionGroup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QActionGroup : public QObject @@ -1813,12 +1885,13 @@ class PythonQtWrapper_QActionGroup : public QObject public: public slots: QActionGroup* new_QActionGroup(QObject* parent); -void delete_QActionGroup(QActionGroup* obj) { delete obj; } +void delete_QActionGroup(QActionGroup* obj) { delete obj; } QList actions(QActionGroup* theWrappedObject) const; QAction* addAction(QActionGroup* theWrappedObject, QAction* a); QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text); 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; @@ -1843,7 +1916,7 @@ Q_ENUMS(ColorSpec ) enum ColorSpec{ NormalColor = QApplication::NormalColor, CustomColor = QApplication::CustomColor, ManyColor = QApplication::ManyColor}; public slots: -void delete_QApplication(QApplication* obj) { delete obj; } +void delete_QApplication(QApplication* obj) { delete obj; } QWidget* static_QApplication_activeModalWidget(); QWidget* static_QApplication_activePopupWidget(); QWidget* static_QApplication_activeWindow(); @@ -1902,7 +1975,7 @@ class PythonQtWrapper_QBackingStore : public QObject public: public slots: QBackingStore* new_QBackingStore(QWindow* window); -void delete_QBackingStore(QBackingStore* obj) { delete obj; } +void delete_QBackingStore(QBackingStore* obj) { delete obj; } void beginPaint(QBackingStore* theWrappedObject, const QRegion& arg__1); void endPaint(QBackingStore* theWrappedObject); void flush(QBackingStore* theWrappedObject, const QRegion& region, QWindow* window = nullptr, const QPoint& offset = QPoint()); @@ -1923,27 +1996,39 @@ void delete_QBackingStore(QBackingStore* obj) { delete obj; } class PythonQtShell_QBoxLayout : public QBoxLayout { public: - PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QBoxLayout(QBoxLayout::Direction arg__1, QWidget* parent = nullptr):QBoxLayout(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QBoxLayout : public QBoxLayout @@ -1971,50 +2056,41 @@ 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 addItem(QBoxLayout* theWrappedObject, QLayoutItem* arg__1); +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 count(QBoxLayout* theWrappedObject) const; int py_q_count(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_count());} QBoxLayout::Direction direction(QBoxLayout* theWrappedObject) const; - Qt::Orientations expandingDirections(QBoxLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QBoxLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} void insertItem(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP arg__2); + void insertLayout(QBoxLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP layout, int stretch = 0); 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 invalidate(QBoxLayout* theWrappedObject); void py_q_invalidate(QBoxLayout* theWrappedObject){ (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QBoxLayout* theWrappedObject, int arg__1) const; QLayoutItem* py_q_itemAt(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_itemAt(arg__1));} - QSize maximumSize(QBoxLayout* theWrappedObject) const; QSize py_q_maximumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QBoxLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} - QSize minimumSize(QBoxLayout* theWrappedObject) const; QSize py_q_minimumSize(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_minimumSize());} void setDirection(QBoxLayout* theWrappedObject, QBoxLayout::Direction arg__1); - void setGeometry(QBoxLayout* theWrappedObject, const QRect& 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 sizeHint(QBoxLayout* theWrappedObject) const; QSize py_q_sizeHint(QBoxLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QBoxLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QBoxLayout* theWrappedObject) const; int stretch(QBoxLayout* theWrappedObject, int index) const; - QLayoutItem* takeAt(QBoxLayout* theWrappedObject, int arg__1); 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(); } }; @@ -2024,14 +2100,19 @@ void delete_QBoxLayout(QBoxLayout* obj) { delete obj; } class PythonQtShell_QButtonGroup : public QButtonGroup { public: - PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QButtonGroup(QObject* parent = nullptr):QButtonGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QButtonGroup(); + ~PythonQtShell_QButtonGroup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QButtonGroup : public QObject @@ -2039,7 +2120,7 @@ class PythonQtWrapper_QButtonGroup : public QObject public: public slots: QButtonGroup* new_QButtonGroup(QObject* parent = nullptr); -void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } +void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } void addButton(QButtonGroup* theWrappedObject, QAbstractButton* arg__1, int id = -1); QAbstractButton* button(QButtonGroup* theWrappedObject, int id) const; QList buttons(QButtonGroup* theWrappedObject) const; @@ -2059,57 +2140,60 @@ void delete_QButtonGroup(QButtonGroup* obj) { delete obj; } class PythonQtShell_QCalendarWidget : public QCalendarWidget { public: - PythonQtShell_QCalendarWidget(QWidget* parent = nullptr):QCalendarWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCalendarWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCalendarWidget(QWidget* parent = nullptr):QCalendarWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCalendarWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintCell(QPainter* painter, const QRect& rect, const QDate& date) const override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCalendarWidget : public QCalendarWidget @@ -2137,12 +2221,12 @@ class PythonQtWrapper_QCalendarWidget : public QObject public: public slots: QCalendarWidget* new_QCalendarWidget(QWidget* parent = nullptr); -void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } +void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } + 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 eventFilter(QCalendarWidget* theWrappedObject, QObject* watched, QEvent* 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; @@ -2161,6 +2245,7 @@ void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } 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); @@ -2187,60 +2272,63 @@ void delete_QCalendarWidget(QCalendarWidget* obj) { delete obj; } class PythonQtShell_QCheckBox : public QCheckBox { public: - PythonQtShell_QCheckBox(QWidget* parent = nullptr):QCheckBox(parent),_wrapper(NULL) {}; - PythonQtShell_QCheckBox(const QString& text, QWidget* parent = nullptr):QCheckBox(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCheckBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCheckBox(QWidget* parent = nullptr):QCheckBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QCheckBox(const QString& text, QWidget* parent = nullptr):QCheckBox(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCheckBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCheckBox : public QCheckBox @@ -2268,7 +2356,7 @@ class PythonQtWrapper_QCheckBox : public QObject public slots: QCheckBox* new_QCheckBox(QWidget* parent = nullptr); QCheckBox* new_QCheckBox(const QString& text, QWidget* parent = nullptr); -void delete_QCheckBox(QCheckBox* obj) { delete obj; } +void delete_QCheckBox(QCheckBox* obj) { delete obj; } Qt::CheckState checkState(QCheckBox* theWrappedObject) const; void py_q_checkStateSet(QCheckBox* theWrappedObject){ (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_checkStateSet());} bool py_q_event(QCheckBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QCheckBox*)theWrappedObject)->py_q_event(e));} @@ -2290,12 +2378,40 @@ void delete_QCheckBox(QCheckBox* obj) { delete obj; } +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; } +void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } }; @@ -2305,61 +2421,64 @@ void delete_QCloseEvent(QCloseEvent* obj) { delete obj; } class PythonQtShell_QColorDialog : public QColorDialog { public: - PythonQtShell_QColorDialog(QWidget* parent = nullptr):QColorDialog(parent),_wrapper(NULL) {}; - PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = nullptr):QColorDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QColorDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QColorDialog(QWidget* parent = nullptr):QColorDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QColorDialog(const QColor& initial, QWidget* parent = nullptr):QColorDialog(initial, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QColorDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColorDialog : public QColorDialog @@ -2382,7 +2501,7 @@ Q_DECLARE_FLAGS(ColorDialogOptions, ColorDialogOption) public slots: QColorDialog* new_QColorDialog(QWidget* parent = nullptr); QColorDialog* new_QColorDialog(const QColor& initial, QWidget* parent = nullptr); -void delete_QColorDialog(QColorDialog* obj) { delete obj; } +void delete_QColorDialog(QColorDialog* obj) { delete obj; } void py_q_changeEvent(QColorDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QColorDialog*)theWrappedObject)->py_q_changeEvent(event));} QColor currentColor(QColorDialog* theWrappedObject) const; QColor static_QColorDialog_customColor(int index); @@ -2407,103 +2526,166 @@ void delete_QColorDialog(QColorDialog* obj) { delete obj; } +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 fun, 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 fun, 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(NULL) {}; - - ~PythonQtShell_QColumnView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual QAbstractItemView* createColumn(const QModelIndex& rootIndex); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& point) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QColumnView(QWidget* parent = nullptr):QColumnView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QColumnView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +QAbstractItemView* createColumn(const QModelIndex& rootIndex) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& point) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QColumnView : public QColumnView @@ -2546,7 +2728,7 @@ class PythonQtWrapper_QColumnView : public QObject public: public slots: QColumnView* new_QColumnView(QWidget* parent = nullptr); -void delete_QColumnView(QColumnView* obj) { delete obj; } +void delete_QColumnView(QColumnView* obj) { delete obj; } QList columnWidths(QColumnView* theWrappedObject) const; QAbstractItemView* createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex); QAbstractItemView* py_q_createColumn(QColumnView* theWrappedObject, const QModelIndex& rootIndex){ return (((PythonQtPublicPromoter_QColumnView*)theWrappedObject)->py_q_createColumn(rootIndex));} @@ -2583,57 +2765,61 @@ void delete_QColumnView(QColumnView* obj) { delete obj; } class PythonQtShell_QComboBox : public QComboBox { public: - PythonQtShell_QComboBox(QWidget* parent = nullptr):QComboBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QComboBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QComboBox(QWidget* parent = nullptr):QComboBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QComboBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* e) override; +void hidePopup() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +void showPopup() override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QComboBox : public QComboBox @@ -2680,7 +2866,7 @@ class PythonQtWrapper_QComboBox : public QObject public: public slots: QComboBox* new_QComboBox(QWidget* parent = nullptr); -void delete_QComboBox(QComboBox* obj) { delete obj; } +void delete_QComboBox(QComboBox* obj) { delete obj; } void addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); void addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData = QVariant()); void addItems(QComboBox* theWrappedObject, const QStringList& texts); @@ -2766,264 +2952,3 @@ void delete_QComboBox(QComboBox* obj) { delete obj; } }; - - - -class PythonQtShell_QCommandLinkButton : public QCommandLinkButton -{ -public: - PythonQtShell_QCommandLinkButton(QWidget* parent = nullptr):QCommandLinkButton(parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, QWidget* parent = nullptr):QCommandLinkButton(text, parent),_wrapper(NULL) {}; - PythonQtShell_QCommandLinkButton(const QString& text, const QString& description, QWidget* parent = nullptr):QCommandLinkButton(text, description, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCommandLinkButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~PythonQtShell_QCommonStyle(); - -virtual void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption* opt, QPainter* p, const QWidget* w = nullptr) const; -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, const QPoint& pt, const QWidget* w = nullptr) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual int pixelMetric(QStyle::PixelMetric m, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& arg__1); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption* opt, const QSize& contentsSize, const QWidget* widget = nullptr) const; -virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption* opt = nullptr, const QWidget* widget = nullptr) const; -virtual int styleHint(QStyle::StyleHint sh, const QStyleOption* opt = nullptr, const QWidget* w = nullptr, QStyleHintReturn* shret = nullptr) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* w = nullptr) const; -virtual QRect subElementRect(QStyle::SubElement r, const QStyleOption* opt, const QWidget* widget = nullptr) const; -virtual void unpolish(QApplication* application); -virtual void unpolish(QWidget* widget); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(NULL) {}; - PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCompleter(); - -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* o, QEvent* e); -virtual QString pathFromIndex(const QModelIndex& index) const; -virtual QStringList splitPath(const QString& path) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 event(QCompleter* theWrappedObject, QEvent* arg__1); - bool py_q_event(QCompleter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e); - 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; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index f27c01d0..5d01c696 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -13,160 +12,80 @@ #include #include #include +#include #include #include #include +#include +#include +#include #include -#include +#include #include +#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include -#include #include -#include -#include -#include +#include +#include #include +#include #include #include +#include +#include +#include #include +#include +#include #include +#include +#include #include +#include #include #include #include #include +#include +#include +#include #include #include -#include +#include +#include +#include +#include +#include #include #include +#include #include -#include +#include #include #include -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() { +PythonQtShell_QCommandLinkButton::~PythonQtShell_QCommandLinkButton() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QDataWidgetMapper::setCurrentIndex(int index0) +void PythonQtShell_QCommandLinkButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setCurrentIndex"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -174,134 +93,21 @@ if (_wrapper) { } } } - QDataWidgetMapper::setCurrentIndex(index0); -} -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); } + QCommandLinkButton::actionEvent(event0); } -void PythonQtShell_QDateEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QCommandLinkButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -309,21 +115,21 @@ if (_wrapper) { } } } - QDateEdit::actionEvent(event0); + QCommandLinkButton::changeEvent(e0); } -void PythonQtShell_QDateEdit::changeEvent(QEvent* event0) +void PythonQtShell_QCommandLinkButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -331,21 +137,21 @@ if (_wrapper) { } } } - QDateEdit::changeEvent(event0); + QCommandLinkButton::checkStateSet(); } -void PythonQtShell_QDateEdit::clear() +void PythonQtShell_QCommandLinkButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -353,9 +159,9 @@ if (_wrapper) { } } } - QDateEdit::clear(); + QCommandLinkButton::childEvent(event0); } -void PythonQtShell_QDateEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QCommandLinkButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -365,9 +171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -375,9 +181,9 @@ if (_wrapper) { } } } - QDateEdit::closeEvent(event0); + QCommandLinkButton::closeEvent(event0); } -void PythonQtShell_QDateEdit::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QCommandLinkButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -387,9 +193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -397,42 +203,31 @@ if (_wrapper) { } } } - QDateEdit::contextMenuEvent(event0); + QCommandLinkButton::contextMenuEvent(event0); } -QDateTime PythonQtShell_QDateEdit::dateTimeFromText(const QString& text0) const +void PythonQtShell_QCommandLinkButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dateTimeFromText"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue{}; - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDateEdit::dateTimeFromText(text0); + QCommandLinkButton::customEvent(event0); } -int PythonQtShell_QDateEdit::devType() const +int PythonQtShell_QCommandLinkButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -443,19 +238,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -463,9 +258,9 @@ if (_wrapper) { } } } - return QDateEdit::devType(); + return QCommandLinkButton::devType(); } -void PythonQtShell_QDateEdit::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QCommandLinkButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -475,9 +270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -485,9 +280,9 @@ if (_wrapper) { } } } - QDateEdit::dragEnterEvent(event0); + QCommandLinkButton::dragEnterEvent(event0); } -void PythonQtShell_QDateEdit::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QCommandLinkButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -497,9 +292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -507,9 +302,9 @@ if (_wrapper) { } } } - QDateEdit::dragLeaveEvent(event0); + QCommandLinkButton::dragLeaveEvent(event0); } -void PythonQtShell_QDateEdit::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QCommandLinkButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -519,9 +314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -529,9 +324,9 @@ if (_wrapper) { } } } - QDateEdit::dragMoveEvent(event0); + QCommandLinkButton::dragMoveEvent(event0); } -void PythonQtShell_QDateEdit::dropEvent(QDropEvent* event0) +void PythonQtShell_QCommandLinkButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -541,9 +336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -551,9 +346,9 @@ if (_wrapper) { } } } - QDateEdit::dropEvent(event0); + QCommandLinkButton::dropEvent(event0); } -void PythonQtShell_QDateEdit::enterEvent(QEvent* event0) +void PythonQtShell_QCommandLinkButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -563,9 +358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -573,9 +368,9 @@ if (_wrapper) { } } } - QDateEdit::enterEvent(event0); + QCommandLinkButton::enterEvent(event0); } -bool PythonQtShell_QDateEdit::event(QEvent* event0) +bool PythonQtShell_QCommandLinkButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -586,19 +381,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -606,31 +401,42 @@ if (_wrapper) { } } } - return QDateEdit::event(event0); + return QCommandLinkButton::event(e0); } -void PythonQtShell_QDateEdit::fixup(QString& input0) const +bool PythonQtShell_QCommandLinkButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&input0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateEdit::fixup(input0); + return QCommandLinkButton::eventFilter(watched0, event1); } -void PythonQtShell_QDateEdit::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QCommandLinkButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -640,9 +446,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -650,9 +456,9 @@ if (_wrapper) { } } } - QDateEdit::focusInEvent(event0); + QCommandLinkButton::focusInEvent(arg__1); } -bool PythonQtShell_QDateEdit::focusNextPrevChild(bool next0) +bool PythonQtShell_QCommandLinkButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -663,19 +469,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -683,9 +489,9 @@ if (_wrapper) { } } } - return QDateEdit::focusNextPrevChild(next0); + return QCommandLinkButton::focusNextPrevChild(next0); } -void PythonQtShell_QDateEdit::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QCommandLinkButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -695,9 +501,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -705,9 +511,9 @@ if (_wrapper) { } } } - QDateEdit::focusOutEvent(event0); + QCommandLinkButton::focusOutEvent(arg__1); } -bool PythonQtShell_QDateEdit::hasHeightForWidth() const +bool PythonQtShell_QCommandLinkButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -718,19 +524,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -738,9 +544,9 @@ if (_wrapper) { } } } - return QDateEdit::hasHeightForWidth(); + return QCommandLinkButton::hasHeightForWidth(); } -int PythonQtShell_QDateEdit::heightForWidth(int arg__1) const +int PythonQtShell_QCommandLinkButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -751,19 +557,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -771,9 +577,9 @@ if (_wrapper) { } } } - return QDateEdit::heightForWidth(arg__1); + return QCommandLinkButton::heightForWidth(arg__1); } -void PythonQtShell_QDateEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QCommandLinkButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -783,9 +589,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -793,9 +599,42 @@ if (_wrapper) { } } } - QDateEdit::hideEvent(event0); + QCommandLinkButton::hideEvent(event0); } -void PythonQtShell_QDateEdit::initPainter(QPainter* painter0) const +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 @@ -805,9 +644,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -815,9 +654,9 @@ if (_wrapper) { } } } - QDateEdit::initPainter(painter0); + QCommandLinkButton::initPainter(painter0); } -void PythonQtShell_QDateEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QCommandLinkButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -827,9 +666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -837,9 +676,9 @@ if (_wrapper) { } } } - QDateEdit::inputMethodEvent(arg__1); + QCommandLinkButton::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QDateEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -850,19 +689,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -870,9 +709,9 @@ if (_wrapper) { } } } - return QDateEdit::inputMethodQuery(arg__1); + return QCommandLinkButton::inputMethodQuery(arg__1); } -void PythonQtShell_QDateEdit::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QCommandLinkButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -882,9 +721,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -892,9 +731,9 @@ if (_wrapper) { } } } - QDateEdit::keyPressEvent(event0); + QCommandLinkButton::keyPressEvent(arg__1); } -void PythonQtShell_QDateEdit::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QCommandLinkButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -904,9 +743,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -914,9 +753,9 @@ if (_wrapper) { } } } - QDateEdit::keyReleaseEvent(event0); + QCommandLinkButton::keyReleaseEvent(e0); } -void PythonQtShell_QDateEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QCommandLinkButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -926,9 +765,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -936,9 +775,9 @@ if (_wrapper) { } } } - QDateEdit::leaveEvent(event0); + QCommandLinkButton::leaveEvent(event0); } -int PythonQtShell_QDateEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -949,19 +788,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -969,9 +808,9 @@ if (_wrapper) { } } } - return QDateEdit::metric(arg__1); + return QCommandLinkButton::metric(arg__1); } -QSize PythonQtShell_QDateEdit::minimumSizeHint() const +QSize PythonQtShell_QCommandLinkButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -982,19 +821,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1002,9 +841,9 @@ if (_wrapper) { } } } - return QDateEdit::minimumSizeHint(); + return QCommandLinkButton::minimumSizeHint(); } -void PythonQtShell_QDateEdit::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QCommandLinkButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1014,9 +853,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1024,9 +863,9 @@ if (_wrapper) { } } } - QDateEdit::mouseDoubleClickEvent(event0); + QCommandLinkButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QDateEdit::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QCommandLinkButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1036,9 +875,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1046,9 +885,9 @@ if (_wrapper) { } } } - QDateEdit::mouseMoveEvent(event0); + QCommandLinkButton::mouseMoveEvent(e0); } -void PythonQtShell_QDateEdit::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QCommandLinkButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1058,9 +897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1068,9 +907,9 @@ if (_wrapper) { } } } - QDateEdit::mousePressEvent(event0); + QCommandLinkButton::mousePressEvent(e0); } -void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QCommandLinkButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1080,9 +919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1090,9 +929,9 @@ if (_wrapper) { } } } - QDateEdit::mouseReleaseEvent(event0); + QCommandLinkButton::mouseReleaseEvent(e0); } -void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QCommandLinkButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1102,9 +941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1112,9 +951,9 @@ if (_wrapper) { } } } - QDateEdit::moveEvent(event0); + QCommandLinkButton::moveEvent(event0); } -bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QCommandLinkButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1125,19 +964,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1145,9 +984,31 @@ if (_wrapper) { } } } - return QDateEdit::nativeEvent(eventType0, message1, result2); + return QCommandLinkButton::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const +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 @@ -1158,19 +1019,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1178,9 +1039,9 @@ if (_wrapper) { } } } - return QDateEdit::paintEngine(); + return QCommandLinkButton::paintEngine(); } -void PythonQtShell_QDateEdit::paintEvent(QPaintEvent* event0) +void PythonQtShell_QCommandLinkButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1190,9 +1051,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1200,9 +1061,9 @@ if (_wrapper) { } } } - QDateEdit::paintEvent(event0); + QCommandLinkButton::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QDateEdit::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QCommandLinkButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1213,19 +1074,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1233,9 +1094,9 @@ if (_wrapper) { } } } - return QDateEdit::redirected(offset0); + return QCommandLinkButton::redirected(offset0); } -void PythonQtShell_QDateEdit::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QCommandLinkButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1245,9 +1106,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1255,9 +1116,9 @@ if (_wrapper) { } } } - QDateEdit::resizeEvent(event0); + QCommandLinkButton::resizeEvent(event0); } -void PythonQtShell_QDateEdit::setVisible(bool visible0) +void PythonQtShell_QCommandLinkButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1267,9 +1128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1277,9 +1138,9 @@ if (_wrapper) { } } } - QDateEdit::setVisible(visible0); + QCommandLinkButton::setVisible(visible0); } -QPainter* PythonQtShell_QDateEdit::sharedPainter() const +QPainter* PythonQtShell_QCommandLinkButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1290,19 +1151,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1310,9 +1171,9 @@ if (_wrapper) { } } } - return QDateEdit::sharedPainter(); + return QCommandLinkButton::sharedPainter(); } -void PythonQtShell_QDateEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QCommandLinkButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1322,9 +1183,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1332,9 +1193,9 @@ if (_wrapper) { } } } - QDateEdit::showEvent(event0); + QCommandLinkButton::showEvent(event0); } -QSize PythonQtShell_QDateEdit::sizeHint() const +QSize PythonQtShell_QCommandLinkButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1345,19 +1206,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1365,21 +1226,21 @@ if (_wrapper) { } } } - return QDateEdit::sizeHint(); + return QCommandLinkButton::sizeHint(); } -void PythonQtShell_QDateEdit::stepBy(int steps0) +void PythonQtShell_QCommandLinkButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1387,54 +1248,43 @@ if (_wrapper) { } } } - QDateEdit::stepBy(steps0); + QCommandLinkButton::tabletEvent(event0); } -QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const +void PythonQtShell_QCommandLinkButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepEnabled"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDateEdit::stepEnabled(); + QCommandLinkButton::timerEvent(e0); } -void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QCommandLinkButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1442,54 +1292,84 @@ if (_wrapper) { } } } - QDateEdit::tabletEvent(event0); + QCommandLinkButton::wheelEvent(event0); } -QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const +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("textFromDateTime"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&dt0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDateEdit::textFromDateTime(dt0); + QCommonStyle::childEvent(event0); } -void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) +void PythonQtShell_QCommonStyle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1497,54 +1377,43 @@ if (_wrapper) { } } } - QDateEdit::timerEvent(event0); + QCommonStyle::customEvent(event0); } -QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const +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("validate"); + static PyObject* name = PyString_FromString("drawComplexControl"); 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] = {NULL, (void*)&input0, (void*)&pos1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDateEdit::validate(input0, pos1); + QCommonStyle::drawComplexControl(cc0, opt1, p2, w3); } -void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) +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("wheelEvent"); + static PyObject* name = PyString_FromString("drawControl"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1552,48 +1421,21 @@ if (_wrapper) { } } } - 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); } + QCommonStyle::drawControl(element0, opt1, p2, w3); } -void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* event0) +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("actionEvent"); + static PyObject* name = PyString_FromString("drawItemPixmap"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1601,21 +1443,21 @@ if (_wrapper) { } } } - QDateTimeEdit::actionEvent(event0); + QCommonStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); } -void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) +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("changeEvent"); + static PyObject* name = PyString_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1623,21 +1465,21 @@ if (_wrapper) { } } } - QDateTimeEdit::changeEvent(event0); + QCommonStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); } -void PythonQtShell_QDateTimeEdit::clear() +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("clear"); + static PyObject* name = PyString_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1645,76 +1487,98 @@ if (_wrapper) { } } } - QDateTimeEdit::clear(); + QCommonStyle::drawPrimitive(pe0, opt1, p2, w3); } -void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QCommonStyle::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::closeEvent(event0); + return QCommonStyle::event(event0); } -void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::contextMenuEvent(event0); + return QCommonStyle::eventFilter(watched0, event1); } -QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const +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("dateTimeFromText"); + static PyObject* name = PyString_FromString("generatedIconPixmap"); 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] = {NULL, (void*)&text0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); } else { - returnValue = *((QDateTime*)args[0]); + returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1722,32 +1586,32 @@ if (_wrapper) { } } } - return QDateTimeEdit::dateTimeFromText(text0); + return QCommonStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); } -int PythonQtShell_QDateTimeEdit::devType() const +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("devType"); + static PyObject* name = PyString_FromString("hitTestComplexControl"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QStyle::SubControl*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1755,65 +1619,120 @@ if (_wrapper) { } } } - return QDateTimeEdit::devType(); + return QCommonStyle::hitTestComplexControl(cc0, opt1, pt2, w3); } -void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* event0) +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("dragEnterEvent"); + static PyObject* name = PyString_FromString("itemPixmapRect"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::dragEnterEvent(event0); + return QCommonStyle::itemPixmapRect(r0, flags1, pixmap2); } -void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("layoutSpacing"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::dragLeaveEvent(event0); + return QCommonStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); } -void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("pixelMetric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&app0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1821,21 +1740,21 @@ if (_wrapper) { } } } - QDateTimeEdit::dragMoveEvent(event0); + QCommonStyle::polish(app0); } -void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* event0) +void PythonQtShell_QCommonStyle::polish(QPalette& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1843,21 +1762,21 @@ if (_wrapper) { } } } - QDateTimeEdit::dropEvent(event0); + QCommonStyle::polish(arg__1); } -void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* event0) +void PythonQtShell_QCommonStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1865,32 +1784,32 @@ if (_wrapper) { } } } - QDateTimeEdit::enterEvent(event0); + QCommonStyle::polish(widget0); } -bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) +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("event"); + static PyObject* name = PyString_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1898,76 +1817,98 @@ if (_wrapper) { } } } - return QDateTimeEdit::event(event0); + return QCommonStyle::sizeFromContents(ct0, opt1, contentsSize2, widget3); } -void PythonQtShell_QDateTimeEdit::fixup(QString& input0) const +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("fixup"); + static PyObject* name = PyString_FromString("standardIcon"); 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] = {NULL, (void*)&input0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::fixup(input0); + return QCommonStyle::standardIcon(standardIcon0, opt1, widget2); } -void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) +QPalette PythonQtShell_QCommonStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::focusInEvent(event0); + return QCommonStyle::standardPalette(); } -bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("standardPixmap"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1975,54 +1916,65 @@ if (_wrapper) { } } } - return QDateTimeEdit::focusNextPrevChild(next0); + return QCommonStyle::standardPixmap(sp0, opt1, widget2); } -void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) +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("focusOutEvent"); + static PyObject* name = PyString_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::focusOutEvent(event0); + return QCommonStyle::styleHint(sh0, opt1, w2, shret3); } -bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("subControlRect"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2030,32 +1982,32 @@ if (_wrapper) { } } } - return QDateTimeEdit::hasHeightForWidth(); + return QCommonStyle::subControlRect(cc0, opt1, sc2, w3); } -int PythonQtShell_QDateTimeEdit::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("subElementRect"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2063,21 +2015,21 @@ if (_wrapper) { } } } - return QDateTimeEdit::heightForWidth(arg__1); + return QCommonStyle::subElementRect(r0, opt1, widget2); } -void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QCommonStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2085,21 +2037,21 @@ if (_wrapper) { } } } - QDateTimeEdit::hideEvent(event0); + QCommonStyle::timerEvent(event0); } -void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QCommonStyle::unpolish(QApplication* application0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QApplication*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&application0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2107,21 +2059,21 @@ if (_wrapper) { } } } - QDateTimeEdit::initPainter(painter0); + QCommonStyle::unpolish(application0); } -void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QCommonStyle::unpolish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2129,54 +2081,66 @@ if (_wrapper) { } } } - QDateTimeEdit::inputMethodEvent(arg__1); + QCommonStyle::unpolish(widget0); } -QVariant PythonQtShell_QDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDateTimeEdit::inputMethodQuery(arg__1); + QCompleter::childEvent(event0); } -void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QCompleter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2184,76 +2148,98 @@ if (_wrapper) { } } } - QDateTimeEdit::keyPressEvent(event0); + QCompleter::customEvent(event0); } -void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QCompleter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::keyReleaseEvent(event0); + return QCompleter::event(arg__1); } -void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* event0) +bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::leaveEvent(event0); + return QCompleter::eventFilter(o0, e1); } -int PythonQtShell_QDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("pathFromIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QString" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2261,32 +2247,32 @@ if (_wrapper) { } } } - return QDateTimeEdit::metric(arg__1); + return QCompleter::pathFromIndex(index0); } -QSize PythonQtShell_QDateTimeEdit::minimumSizeHint() const +QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("splitPath"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2294,21 +2280,21 @@ if (_wrapper) { } } } - return QDateTimeEdit::minimumSizeHint(); + return QCompleter::splitPath(path0); } -void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2316,87 +2302,301 @@ if (_wrapper) { } } } - QDateTimeEdit::mouseDoubleClickEvent(event0); + QCompleter::timerEvent(event0); } -void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* 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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::mouseMoveEvent(event0); + return QConcatenateTablesProxyModel::buddy(index0); } -void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) +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("mousePressEvent"); + static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::mousePressEvent(event0); + return QConcatenateTablesProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) +bool PythonQtShell_QConcatenateTablesProxyModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::mouseReleaseEvent(event0); + return QConcatenateTablesProxyModel::canFetchMore(parent0); } -void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QConcatenateTablesProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2404,32 +2604,32 @@ if (_wrapper) { } } } - QDateTimeEdit::moveEvent(event0); + QConcatenateTablesProxyModel::childEvent(event0); } -bool PythonQtShell_QDateTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +int PythonQtShell_QConcatenateTablesProxyModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("columnCount"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2437,32 +2637,54 @@ if (_wrapper) { } } } - return QDateTimeEdit::nativeEvent(eventType0, message1, result2); + return QConcatenateTablesProxyModel::columnCount(parent0); } -QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const +void PythonQtShell_QConcatenateTablesProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2470,54 +2692,65 @@ if (_wrapper) { } } } - return QDateTimeEdit::paintEngine(); + return QConcatenateTablesProxyModel::data(index0, role1); } -void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) +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("paintEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::paintEvent(event0); + return QConcatenateTablesProxyModel::dropMimeData(data0, action1, row2, column3, parent4); } -QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const +bool PythonQtShell_QConcatenateTablesProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2525,43 +2758,54 @@ if (_wrapper) { } } } - return QDateTimeEdit::redirected(offset0); + return QConcatenateTablesProxyModel::event(event0); } -void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* 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("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::resizeEvent(event0); + return QConcatenateTablesProxyModel::eventFilter(watched0, event1); } -void PythonQtShell_QDateTimeEdit::setVisible(bool visible0) +void PythonQtShell_QConcatenateTablesProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2569,32 +2813,32 @@ if (_wrapper) { } } } - QDateTimeEdit::setVisible(visible0); + QConcatenateTablesProxyModel::fetchMore(parent0); } -QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("flags"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2602,54 +2846,65 @@ if (_wrapper) { } } } - return QDateTimeEdit::sharedPainter(); + return QConcatenateTablesProxyModel::flags(index0); } -void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) +bool PythonQtShell_QConcatenateTablesProxyModel::hasChildren(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::showEvent(event0); + return QConcatenateTablesProxyModel::hasChildren(parent0); } -QSize PythonQtShell_QDateTimeEdit::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("headerData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2657,54 +2912,65 @@ if (_wrapper) { } } } - return QDateTimeEdit::sizeHint(); + return QConcatenateTablesProxyModel::headerData(section0, orientation1, role2); } -void PythonQtShell_QDateTimeEdit::stepBy(int steps0) +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("stepBy"); + static PyObject* name = PyString_FromString("index"); 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] = {NULL, (void*)&steps0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::stepBy(steps0); + return QConcatenateTablesProxyModel::index(row0, column1, parent2); } -QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const +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("stepEnabled"); + static PyObject* name = PyString_FromString("insertColumns"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2712,54 +2978,65 @@ if (_wrapper) { } } } - return QDateTimeEdit::stepEnabled(); + return QConcatenateTablesProxyModel::insertColumns(column0, count1, parent2); } -void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* event0) +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("tabletEvent"); + static PyObject* name = PyString_FromString("insertRows"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::tabletEvent(event0); + return QConcatenateTablesProxyModel::insertRows(row0, count1, parent2); } -QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const +QMap PythonQtShell_QConcatenateTablesProxyModel::itemData(const QModelIndex& proxyIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("textFromDateTime"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&dt0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2767,54 +3044,65 @@ if (_wrapper) { } } } - return QDateTimeEdit::textFromDateTime(dt0); + return QConcatenateTablesProxyModel::itemData(proxyIndex0); } -void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::timerEvent(event0); + return QConcatenateTablesProxyModel::match(start0, role1, value2, hits3, flags4); } -QValidator::State PythonQtShell_QDateTimeEdit::validate(QString& input0, int& pos1) const +QMimeData* PythonQtShell_QConcatenateTablesProxyModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("mimeData"); 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] = {NULL, (void*)&input0, (void*)&pos1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2822,327 +3110,2677 @@ if (_wrapper) { } } } - return QDateTimeEdit::validate(input0, pos1); + return QConcatenateTablesProxyModel::mimeData(indexes0); } -void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) +QStringList PythonQtShell_QConcatenateTablesProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDateTimeEdit::wheelEvent(event0); + return QConcatenateTablesProxyModel::mimeTypes(); } -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) +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_QDateTimeEdit(dt, 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)); +} -QDateTimeEdit* PythonQtWrapper_QDateTimeEdit::new_QDateTimeEdit(const QTime& t, QWidget* parent) -{ -return new PythonQtShell_QDateTimeEdit(t, parent); } +QDataWidgetMapper::SubmitPolicy PythonQtWrapper_QDataWidgetMapper::submitPolicy(QDataWidgetMapper* theWrappedObject) const +{ + return ( theWrappedObject->submitPolicy()); +} -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; + +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(); + } } } -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; + QDateEdit::mousePressEvent(event0); } -bool PythonQtWrapper_QDateTimeEdit::calendarPopup(QDateTimeEdit* theWrappedObject) const +void PythonQtShell_QDateEdit::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->calendarPopup()); +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* PythonQtWrapper_QDateTimeEdit::calendarWidget(QDateTimeEdit* theWrappedObject) const + QDateEdit::mouseReleaseEvent(event0); +} +void PythonQtShell_QDateEdit::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->calendarWidget()); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::clearMaximumDate(QDateTimeEdit* theWrappedObject) + QDateEdit::moveEvent(event0); +} +bool PythonQtShell_QDateEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->clearMaximumDate()); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::clearMaximumDateTime(QDateTimeEdit* theWrappedObject) + return QDateEdit::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QDateEdit::paintEngine() const { - ( theWrappedObject->clearMaximumDateTime()); +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); } - -void PythonQtWrapper_QDateTimeEdit::clearMaximumTime(QDateTimeEdit* theWrappedObject) +QSize PythonQtShell_QDateEdit::sizeHint() const { - ( theWrappedObject->clearMaximumTime()); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::clearMinimumDate(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMinimumDate()); + return QDateEdit::sizeHint(); } - -void PythonQtWrapper_QDateTimeEdit::clearMinimumDateTime(QDateTimeEdit* theWrappedObject) +void PythonQtShell_QDateEdit::stepBy(int steps0) { - ( theWrappedObject->clearMinimumDateTime()); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::clearMinimumTime(QDateTimeEdit* theWrappedObject) -{ - ( theWrappedObject->clearMinimumTime()); + QDateEdit::stepBy(steps0); } - -QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::currentSection(QDateTimeEdit* theWrappedObject) const +QAbstractSpinBox::StepEnabled PythonQtShell_QDateEdit::stepEnabled() const { - return ( theWrappedObject->currentSection()); +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(); + } + } } - -int PythonQtWrapper_QDateTimeEdit::currentSectionIndex(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->currentSectionIndex()); + return QDateEdit::stepEnabled(); } - -QDate PythonQtWrapper_QDateTimeEdit::date(QDateTimeEdit* theWrappedObject) const +void PythonQtShell_QDateEdit::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->date()); +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(); + } + } } - -QDateTime PythonQtWrapper_QDateTimeEdit::dateTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->dateTime()); + QDateEdit::tabletEvent(event0); } - -QDateTime PythonQtWrapper_QDateTimeEdit::dateTimeFromText(QDateTimeEdit* theWrappedObject, const QString& text) const +QString PythonQtShell_QDateEdit::textFromDateTime(const QDateTime& dt0) const { - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_dateTimeFromText(text)); +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(); + } + } } - -QString PythonQtWrapper_QDateTimeEdit::displayFormat(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->displayFormat()); + return QDateEdit::textFromDateTime(dt0); } - -QDateTimeEdit::Sections PythonQtWrapper_QDateTimeEdit::displayedSections(QDateTimeEdit* theWrappedObject) const +void PythonQtShell_QDateEdit::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->displayedSections()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::initStyleOption(QDateTimeEdit* theWrappedObject, QStyleOptionSpinBox* option) const -{ - ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_initStyleOption(option)); + QDateEdit::timerEvent(event0); } - -QDate PythonQtWrapper_QDateTimeEdit::maximumDate(QDateTimeEdit* theWrappedObject) const +QValidator::State PythonQtShell_QDateEdit::validate(QString& input0, int& pos1) const { - return ( theWrappedObject->maximumDate()); +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(); + } + } } - -QDateTime PythonQtWrapper_QDateTimeEdit::maximumDateTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->maximumDateTime()); + return QDateEdit::validate(input0, pos1); } - -QTime PythonQtWrapper_QDateTimeEdit::maximumTime(QDateTimeEdit* theWrappedObject) const +void PythonQtShell_QDateEdit::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->maximumTime()); +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(); + } + } } - -QDate PythonQtWrapper_QDateTimeEdit::minimumDate(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumDate()); + QDateEdit::wheelEvent(event0); } +QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(QWidget* parent) +{ +return new PythonQtShell_QDateEdit(parent); } -QDateTime PythonQtWrapper_QDateTimeEdit::minimumDateTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumDateTime()); -} +QDateEdit* PythonQtWrapper_QDateEdit::new_QDateEdit(const QDate& date, QWidget* parent) +{ +return new PythonQtShell_QDateEdit(date, parent); } -QTime PythonQtWrapper_QDateTimeEdit::minimumTime(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->minimumTime()); +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; + } } - -QDateTimeEdit::Section PythonQtWrapper_QDateTimeEdit::sectionAt(QDateTimeEdit* theWrappedObject, int index) const -{ - return ( theWrappedObject->sectionAt(index)); +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; } -int PythonQtWrapper_QDateTimeEdit::sectionCount(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->sectionCount()); -} -QString PythonQtWrapper_QDateTimeEdit::sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const -{ - return ( theWrappedObject->sectionText(section)); +PythonQtShell_QDateTimeEdit::~PythonQtShell_QDateTimeEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QDateTimeEdit::setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable) +void PythonQtShell_QDateTimeEdit::actionEvent(QActionEvent* event0) { - ( theWrappedObject->setCalendarPopup(enable)); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget) -{ - ( theWrappedObject->setCalendarWidget(calendarWidget)); + QDateTimeEdit::actionEvent(event0); } - -void PythonQtWrapper_QDateTimeEdit::setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) +void PythonQtShell_QDateTimeEdit::changeEvent(QEvent* event0) { - ( theWrappedObject->setCurrentSection(section)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index) -{ - ( theWrappedObject->setCurrentSectionIndex(index)); + QDateTimeEdit::changeEvent(event0); } - -void PythonQtWrapper_QDateTimeEdit::setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max) +void PythonQtShell_QDateTimeEdit::childEvent(QChildEvent* event0) { - ( theWrappedObject->setDateRange(min, max)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max) -{ - ( theWrappedObject->setDateTimeRange(min, max)); + QDateTimeEdit::childEvent(event0); } - -void PythonQtWrapper_QDateTimeEdit::setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format) +void PythonQtShell_QDateTimeEdit::clear() { - ( theWrappedObject->setDisplayFormat(format)); +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 PythonQtWrapper_QDateTimeEdit::setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max) -{ - ( theWrappedObject->setMaximumDate(max)); + QDateTimeEdit::clear(); } - -void PythonQtWrapper_QDateTimeEdit::setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) +void PythonQtShell_QDateTimeEdit::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setMaximumDateTime(dt)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max) -{ - ( theWrappedObject->setMaximumTime(max)); + QDateTimeEdit::closeEvent(event0); } - -void PythonQtWrapper_QDateTimeEdit::setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min) +void PythonQtShell_QDateTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { - ( theWrappedObject->setMinimumDate(min)); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) -{ - ( theWrappedObject->setMinimumDateTime(dt)); + QDateTimeEdit::contextMenuEvent(event0); } - -void PythonQtWrapper_QDateTimeEdit::setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min) +void PythonQtShell_QDateTimeEdit::customEvent(QEvent* event0) { - ( theWrappedObject->setMinimumTime(min)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) -{ - ( theWrappedObject->setSelectedSection(section)); + QDateTimeEdit::customEvent(event0); } - -void PythonQtWrapper_QDateTimeEdit::setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max) +QDateTime PythonQtShell_QDateTimeEdit::dateTimeFromText(const QString& text0) const { - ( theWrappedObject->setTimeRange(min, max)); +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(); + } + } } - -void PythonQtWrapper_QDateTimeEdit::setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec) -{ - ( theWrappedObject->setTimeSpec(spec)); + return QDateTimeEdit::dateTimeFromText(text0); } - -QString PythonQtWrapper_QDateTimeEdit::textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const +int PythonQtShell_QDateTimeEdit::devType() const { - return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_textFromDateTime(dt)); +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(); + } + } } - -QTime PythonQtWrapper_QDateTimeEdit::time(QDateTimeEdit* theWrappedObject) const -{ - return ( theWrappedObject->time()); + return QDateTimeEdit::devType(); } - -Qt::TimeSpec PythonQtWrapper_QDateTimeEdit::timeSpec(QDateTimeEdit* theWrappedObject) const +void PythonQtShell_QDateTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->timeSpec()); +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(); + } + } } - - - -PythonQtShell_QDesktopServices::~PythonQtShell_QDesktopServices() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QDateTimeEdit::dragEnterEvent(event0); } -QDesktopServices* PythonQtWrapper_QDesktopServices::new_QDesktopServices() -{ -return new PythonQtShell_QDesktopServices(); } - -bool PythonQtWrapper_QDesktopServices::static_QDesktopServices_openUrl(const QUrl& url) +void PythonQtShell_QDateTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { - return (QDesktopServices::openUrl(url)); +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(); + } + } } - -void PythonQtWrapper_QDesktopServices::static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method) -{ - (QDesktopServices::setUrlHandler(scheme, receiver, method)); + QDateTimeEdit::dragLeaveEvent(event0); } - -void PythonQtWrapper_QDesktopServices::static_QDesktopServices_unsetUrlHandler(const QString& scheme) +void PythonQtShell_QDateTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { - (QDesktopServices::unsetUrlHandler(scheme)); +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(); + } + } } - - - -PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QDateTimeEdit::dragMoveEvent(event0); } -void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QDateTimeEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3150,21 +5788,21 @@ if (_wrapper) { } } } - QDesktopWidget::actionEvent(event0); + QDateTimeEdit::dropEvent(event0); } -void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) +void PythonQtShell_QDateTimeEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + 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] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3172,21 +5810,87 @@ if (_wrapper) { } } } - QDesktopWidget::changeEvent(arg__1); + QDateTimeEdit::enterEvent(event0); } -void PythonQtShell_QDesktopWidget::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QDateTimeEdit::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&input0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3194,21 +5898,21 @@ if (_wrapper) { } } } - QDesktopWidget::closeEvent(event0); + QDateTimeEdit::fixup(input0); } -void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QDateTimeEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3216,32 +5920,32 @@ if (_wrapper) { } } } - QDesktopWidget::contextMenuEvent(event0); + QDateTimeEdit::focusInEvent(event0); } -int PythonQtShell_QDesktopWidget::devType() const +bool PythonQtShell_QDateTimeEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3249,21 +5953,21 @@ if (_wrapper) { } } } - return QDesktopWidget::devType(); + return QDateTimeEdit::focusNextPrevChild(next0); } -void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QDateTimeEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3271,43 +5975,87 @@ if (_wrapper) { } } } - QDesktopWidget::dragEnterEvent(event0); + QDateTimeEdit::focusOutEvent(event0); } -void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QDateTimeEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + 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); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDesktopWidget::dragLeaveEvent(event0); + return QDateTimeEdit::heightForWidth(arg__1); } -void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QDateTimeEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3315,21 +6063,21 @@ if (_wrapper) { } } } - QDesktopWidget::dragMoveEvent(event0); + QDateTimeEdit::hideEvent(event0); } -void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QDateTimeEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3337,21 +6085,21 @@ if (_wrapper) { } } } - QDesktopWidget::dropEvent(event0); + QDateTimeEdit::initPainter(painter0); } -void PythonQtShell_QDesktopWidget::enterEvent(QEvent* event0) +void PythonQtShell_QDateTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3359,32 +6107,32 @@ if (_wrapper) { } } } - QDesktopWidget::enterEvent(event0); + QDateTimeEdit::inputMethodEvent(arg__1); } -bool PythonQtShell_QDesktopWidget::event(QEvent* event0) +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("event"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3392,21 +6140,21 @@ if (_wrapper) { } } } - return QDesktopWidget::event(event0); + return QDateTimeEdit::inputMethodQuery(arg__1); } -void PythonQtShell_QDesktopWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QDateTimeEdit::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3414,54 +6162,43 @@ if (_wrapper) { } } } - QDesktopWidget::focusInEvent(event0); + QDateTimeEdit::keyPressEvent(event0); } -bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QDateTimeEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDesktopWidget::focusNextPrevChild(next0); + QDateTimeEdit::keyReleaseEvent(event0); } -void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDateTimeEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3469,32 +6206,32 @@ if (_wrapper) { } } } - QDesktopWidget::focusOutEvent(event0); + QDateTimeEdit::leaveEvent(event0); } -bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("metric"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3502,32 +6239,32 @@ if (_wrapper) { } } } - return QDesktopWidget::hasHeightForWidth(); + return QDateTimeEdit::metric(arg__1); } -int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const +QSize PythonQtShell_QDateTimeEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3535,21 +6272,21 @@ if (_wrapper) { } } } - return QDesktopWidget::heightForWidth(arg__1); + return QDateTimeEdit::minimumSizeHint(); } -void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QDateTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3557,21 +6294,21 @@ if (_wrapper) { } } } - QDesktopWidget::hideEvent(event0); + QDateTimeEdit::mouseDoubleClickEvent(event0); } -void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QDateTimeEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3579,21 +6316,21 @@ if (_wrapper) { } } } - QDesktopWidget::initPainter(painter0); + QDateTimeEdit::mouseMoveEvent(event0); } -void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDateTimeEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3601,54 +6338,43 @@ if (_wrapper) { } } } - QDesktopWidget::inputMethodEvent(arg__1); + QDateTimeEdit::mousePressEvent(event0); } -QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QDateTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDesktopWidget::inputMethodQuery(arg__1); + QDateTimeEdit::mouseReleaseEvent(event0); } -void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QDateTimeEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3656,109 +6382,120 @@ if (_wrapper) { } } } - QDesktopWidget::keyPressEvent(event0); + QDateTimeEdit::moveEvent(event0); } -void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* 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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDesktopWidget::keyReleaseEvent(event0); + return QDateTimeEdit::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* event0) +QPaintEngine* PythonQtShell_QDateTimeEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDesktopWidget::leaveEvent(event0); + return QDateTimeEdit::paintEngine(); } -int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QDateTimeEdit::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDesktopWidget::metric(arg__1); + QDateTimeEdit::paintEvent(event0); } -QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const +QPaintDevice* PythonQtShell_QDateTimeEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3766,21 +6503,21 @@ if (_wrapper) { } } } - return QDesktopWidget::minimumSizeHint(); + return QDateTimeEdit::redirected(offset0); } -void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QDateTimeEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3788,21 +6525,21 @@ if (_wrapper) { } } } - QDesktopWidget::mouseDoubleClickEvent(event0); + QDateTimeEdit::resizeEvent(event0); } -void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QDateTimeEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3810,43 +6547,54 @@ if (_wrapper) { } } } - QDesktopWidget::mouseMoveEvent(event0); + QDateTimeEdit::setVisible(visible0); } -void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* event0) +QPainter* PythonQtShell_QDateTimeEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDesktopWidget::mousePressEvent(event0); + return QDateTimeEdit::sharedPainter(); } -void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QDateTimeEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3854,87 +6602,87 @@ if (_wrapper) { } } } - QDesktopWidget::mouseReleaseEvent(event0); + QDateTimeEdit::showEvent(event0); } -void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* event0) +QSize PythonQtShell_QDateTimeEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDesktopWidget::moveEvent(event0); + return QDateTimeEdit::sizeHint(); } -bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QDateTimeEdit::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("stepBy"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDesktopWidget::nativeEvent(eventType0, message1, result2); + QDateTimeEdit::stepBy(steps0); } -QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const +QAbstractSpinBox::StepEnabled PythonQtShell_QDateTimeEdit::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3942,21 +6690,21 @@ if (_wrapper) { } } } - return QDesktopWidget::paintEngine(); + return QDateTimeEdit::stepEnabled(); } -void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QDateTimeEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3964,32 +6712,32 @@ if (_wrapper) { } } } - QDesktopWidget::paintEvent(event0); + QDateTimeEdit::tabletEvent(event0); } -QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const +QString PythonQtShell_QDateTimeEdit::textFromDateTime(const QDateTime& dt0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("textFromDateTime"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"QString" , "const QDateTime&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&dt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3997,21 +6745,21 @@ if (_wrapper) { } } } - return QDesktopWidget::redirected(offset0); + return QDateTimeEdit::textFromDateTime(dt0); } -void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QDateTimeEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4019,251 +6767,362 @@ if (_wrapper) { } } } - QDesktopWidget::resizeEvent(e0); + QDateTimeEdit::timerEvent(event0); } -void PythonQtShell_QDesktopWidget::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("validate"); 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] = {NULL, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDesktopWidget::setVisible(visible0); + return QDateTimeEdit::validate(input0, pos1); } -QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const +void PythonQtShell_QDateTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDesktopWidget::sharedPainter(); + 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)); } -void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* event0) + +int PythonQtWrapper_QDateTimeEdit::sectionCount(QDateTimeEdit* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sectionCount()); } - QDesktopWidget::showEvent(event0); + +QString PythonQtWrapper_QDateTimeEdit::sectionText(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) const +{ + return ( theWrappedObject->sectionText(section)); } -QSize PythonQtShell_QDesktopWidget::sizeHint() const + +void PythonQtWrapper_QDateTimeEdit::setCalendar(QDateTimeEdit* theWrappedObject, QCalendar calendar) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCalendar(calendar)); } - return QDesktopWidget::sizeHint(); + +void PythonQtWrapper_QDateTimeEdit::setCalendarPopup(QDateTimeEdit* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCalendarPopup(enable)); } -void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QDateTimeEdit::setCalendarWidget(QDateTimeEdit* theWrappedObject, QCalendarWidget* calendarWidget) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCalendarWidget(calendarWidget)); } - QDesktopWidget::tabletEvent(event0); + +void PythonQtWrapper_QDateTimeEdit::setCurrentSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) +{ + ( theWrappedObject->setCurrentSection(section)); } -void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* event0) + +void PythonQtWrapper_QDateTimeEdit::setCurrentSectionIndex(QDateTimeEdit* theWrappedObject, int index) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCurrentSectionIndex(index)); } - QDesktopWidget::wheelEvent(event0); + +void PythonQtWrapper_QDateTimeEdit::setDateRange(QDateTimeEdit* theWrappedObject, const QDate& min, const QDate& max) +{ + ( theWrappedObject->setDateRange(min, max)); } -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; - } +void PythonQtWrapper_QDateTimeEdit::setDateTimeRange(QDateTimeEdit* theWrappedObject, const QDateTime& min, const QDateTime& max) +{ + ( theWrappedObject->setDateTimeRange(min, max)); } -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; + +void PythonQtWrapper_QDateTimeEdit::setDisplayFormat(QDateTimeEdit* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setDisplayFormat(format)); } -const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const + +void PythonQtWrapper_QDateTimeEdit::setMaximumDate(QDateTimeEdit* theWrappedObject, const QDate& max) { - return ( theWrappedObject->availableGeometry(point)); + ( theWrappedObject->setMaximumDate(max)); } -const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const +void PythonQtWrapper_QDateTimeEdit::setMaximumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) { - return ( theWrappedObject->availableGeometry(widget)); + ( theWrappedObject->setMaximumDateTime(dt)); } -const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, int screen) const +void PythonQtWrapper_QDateTimeEdit::setMaximumTime(QDateTimeEdit* theWrappedObject, const QTime& max) { - return ( theWrappedObject->availableGeometry(screen)); + ( theWrappedObject->setMaximumTime(max)); } -bool PythonQtWrapper_QDesktopWidget::isVirtualDesktop(QDesktopWidget* theWrappedObject) const +void PythonQtWrapper_QDateTimeEdit::setMinimumDate(QDateTimeEdit* theWrappedObject, const QDate& min) { - return ( theWrappedObject->isVirtualDesktop()); + ( theWrappedObject->setMinimumDate(min)); } -int PythonQtWrapper_QDesktopWidget::numScreens(QDesktopWidget* theWrappedObject) const +void PythonQtWrapper_QDateTimeEdit::setMinimumDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) { - return ( theWrappedObject->numScreens()); + ( theWrappedObject->setMinimumDateTime(dt)); } -int PythonQtWrapper_QDesktopWidget::primaryScreen(QDesktopWidget* theWrappedObject) const +void PythonQtWrapper_QDateTimeEdit::setMinimumTime(QDateTimeEdit* theWrappedObject, const QTime& min) { - return ( theWrappedObject->primaryScreen()); + ( theWrappedObject->setMinimumTime(min)); } -QWidget* PythonQtWrapper_QDesktopWidget::screen(QDesktopWidget* theWrappedObject, int screen) +void PythonQtWrapper_QDateTimeEdit::setSelectedSection(QDateTimeEdit* theWrappedObject, QDateTimeEdit::Section section) { - return ( theWrappedObject->screen(screen)); + ( theWrappedObject->setSelectedSection(section)); } -int PythonQtWrapper_QDesktopWidget::screenCount(QDesktopWidget* theWrappedObject) const +void PythonQtWrapper_QDateTimeEdit::setTimeRange(QDateTimeEdit* theWrappedObject, const QTime& min, const QTime& max) { - return ( theWrappedObject->screenCount()); + ( theWrappedObject->setTimeRange(min, max)); } -const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const +void PythonQtWrapper_QDateTimeEdit::setTimeSpec(QDateTimeEdit* theWrappedObject, Qt::TimeSpec spec) { - return ( theWrappedObject->screenGeometry(point)); + ( theWrappedObject->setTimeSpec(spec)); } -const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const +QString PythonQtWrapper_QDateTimeEdit::textFromDateTime(QDateTimeEdit* theWrappedObject, const QDateTime& dt) const { - return ( theWrappedObject->screenGeometry(widget)); + return ( ((PythonQtPublicPromoter_QDateTimeEdit*)theWrappedObject)->promoted_textFromDateTime(dt)); } -const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, int screen) const +QTime PythonQtWrapper_QDateTimeEdit::time(QDateTimeEdit* theWrappedObject) const { - return ( theWrappedObject->screenGeometry(screen)); + return ( theWrappedObject->time()); } -int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const +Qt::TimeSpec PythonQtWrapper_QDateTimeEdit::timeSpec(QDateTimeEdit* theWrappedObject) const { - return ( theWrappedObject->screenNumber(arg__1)); + return ( theWrappedObject->timeSpec()); } -int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget) const + + +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 ( theWrappedObject->screenNumber(widget)); + 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_QDial::~PythonQtShell_QDial() { +PythonQtShell_QDesktopWidget::~PythonQtShell_QDesktopWidget() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QDial::actionEvent(QActionEvent* event0) +void PythonQtShell_QDesktopWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4273,9 +7132,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4283,9 +7142,9 @@ if (_wrapper) { } } } - QDial::actionEvent(event0); + QDesktopWidget::actionEvent(event0); } -void PythonQtShell_QDial::changeEvent(QEvent* e0) +void PythonQtShell_QDesktopWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4295,9 +7154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4305,9 +7164,31 @@ if (_wrapper) { } } } - QDial::changeEvent(e0); + QDesktopWidget::changeEvent(arg__1); } -void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) +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 @@ -4317,9 +7198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4327,9 +7208,9 @@ if (_wrapper) { } } } - QDial::closeEvent(event0); + QDesktopWidget::closeEvent(event0); } -void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QDesktopWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4337,11 +7218,33 @@ if (_wrapper) { static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4349,9 +7252,9 @@ if (_wrapper) { } } } - QDial::contextMenuEvent(event0); + QDesktopWidget::customEvent(event0); } -int PythonQtShell_QDial::devType() const +int PythonQtShell_QDesktopWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4362,19 +7265,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4382,9 +7285,9 @@ if (_wrapper) { } } } - return QDial::devType(); + return QDesktopWidget::devType(); } -void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QDesktopWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4394,9 +7297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4404,9 +7307,9 @@ if (_wrapper) { } } } - QDial::dragEnterEvent(event0); + QDesktopWidget::dragEnterEvent(event0); } -void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QDesktopWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4416,9 +7319,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4426,9 +7329,9 @@ if (_wrapper) { } } } - QDial::dragLeaveEvent(event0); + QDesktopWidget::dragLeaveEvent(event0); } -void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QDesktopWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4438,9 +7341,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4448,9 +7351,9 @@ if (_wrapper) { } } } - QDial::dragMoveEvent(event0); + QDesktopWidget::dragMoveEvent(event0); } -void PythonQtShell_QDial::dropEvent(QDropEvent* event0) +void PythonQtShell_QDesktopWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4460,9 +7363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4470,9 +7373,9 @@ if (_wrapper) { } } } - QDial::dropEvent(event0); + QDesktopWidget::dropEvent(event0); } -void PythonQtShell_QDial::enterEvent(QEvent* event0) +void PythonQtShell_QDesktopWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4482,9 +7385,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4492,9 +7395,9 @@ if (_wrapper) { } } } - QDial::enterEvent(event0); + QDesktopWidget::enterEvent(event0); } -bool PythonQtShell_QDial::event(QEvent* e0) +bool PythonQtShell_QDesktopWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4505,19 +7408,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4525,9 +7428,42 @@ if (_wrapper) { } } } - return QDial::event(e0); + return QDesktopWidget::event(event0); } -void PythonQtShell_QDial::focusInEvent(QFocusEvent* 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 @@ -4537,9 +7473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4547,9 +7483,9 @@ if (_wrapper) { } } } - QDial::focusInEvent(event0); + QDesktopWidget::focusInEvent(event0); } -bool PythonQtShell_QDial::focusNextPrevChild(bool next0) +bool PythonQtShell_QDesktopWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4560,19 +7496,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4580,9 +7516,9 @@ if (_wrapper) { } } } - return QDial::focusNextPrevChild(next0); + return QDesktopWidget::focusNextPrevChild(next0); } -void PythonQtShell_QDial::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDesktopWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4592,9 +7528,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4602,9 +7538,9 @@ if (_wrapper) { } } } - QDial::focusOutEvent(event0); + QDesktopWidget::focusOutEvent(event0); } -bool PythonQtShell_QDial::hasHeightForWidth() const +bool PythonQtShell_QDesktopWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4615,19 +7551,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4635,9 +7571,9 @@ if (_wrapper) { } } } - return QDial::hasHeightForWidth(); + return QDesktopWidget::hasHeightForWidth(); } -int PythonQtShell_QDial::heightForWidth(int arg__1) const +int PythonQtShell_QDesktopWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4648,19 +7584,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4668,9 +7604,9 @@ if (_wrapper) { } } } - return QDial::heightForWidth(arg__1); + return QDesktopWidget::heightForWidth(arg__1); } -void PythonQtShell_QDial::hideEvent(QHideEvent* event0) +void PythonQtShell_QDesktopWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4680,9 +7616,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4690,9 +7626,9 @@ if (_wrapper) { } } } - QDial::hideEvent(event0); + QDesktopWidget::hideEvent(event0); } -void PythonQtShell_QDial::initPainter(QPainter* painter0) const +void PythonQtShell_QDesktopWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4702,9 +7638,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4712,9 +7648,9 @@ if (_wrapper) { } } } - QDial::initPainter(painter0); + QDesktopWidget::initPainter(painter0); } -void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDesktopWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4724,9 +7660,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4734,9 +7670,9 @@ if (_wrapper) { } } } - QDial::inputMethodEvent(arg__1); + QDesktopWidget::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QDesktopWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4747,19 +7683,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4767,9 +7703,9 @@ if (_wrapper) { } } } - return QDial::inputMethodQuery(arg__1); + return QDesktopWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QDesktopWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4779,9 +7715,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4789,9 +7725,9 @@ if (_wrapper) { } } } - QDial::keyPressEvent(ev0); + QDesktopWidget::keyPressEvent(event0); } -void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QDesktopWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4801,9 +7737,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4811,9 +7747,9 @@ if (_wrapper) { } } } - QDial::keyReleaseEvent(event0); + QDesktopWidget::keyReleaseEvent(event0); } -void PythonQtShell_QDial::leaveEvent(QEvent* event0) +void PythonQtShell_QDesktopWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4823,9 +7759,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4833,9 +7769,9 @@ if (_wrapper) { } } } - QDial::leaveEvent(event0); + QDesktopWidget::leaveEvent(event0); } -int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QDesktopWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4846,19 +7782,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4866,32 +7802,32 @@ if (_wrapper) { } } } - return QDial::metric(arg__1); + return QDesktopWidget::metric(arg__1); } -QSize PythonQtShell_QDial::minimumSizeHint() const +QSize PythonQtShell_QDesktopWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4899,9 +7835,9 @@ if (_wrapper) { } } } - return QDial::minimumSizeHint(); + return QDesktopWidget::minimumSizeHint(); } -void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QDesktopWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4911,9 +7847,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4921,9 +7857,9 @@ if (_wrapper) { } } } - QDial::mouseDoubleClickEvent(event0); + QDesktopWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) +void PythonQtShell_QDesktopWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4933,9 +7869,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4943,9 +7879,9 @@ if (_wrapper) { } } } - QDial::mouseMoveEvent(me0); + QDesktopWidget::mouseMoveEvent(event0); } -void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) +void PythonQtShell_QDesktopWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4955,9 +7891,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4965,9 +7901,9 @@ if (_wrapper) { } } } - QDial::mousePressEvent(me0); + QDesktopWidget::mousePressEvent(event0); } -void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) +void PythonQtShell_QDesktopWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4977,9 +7913,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&me0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4987,9 +7923,9 @@ if (_wrapper) { } } } - QDial::mouseReleaseEvent(me0); + QDesktopWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QDial::moveEvent(QMoveEvent* event0) +void PythonQtShell_QDesktopWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4999,9 +7935,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5009,9 +7945,9 @@ if (_wrapper) { } } } - QDial::moveEvent(event0); + QDesktopWidget::moveEvent(event0); } -bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QDesktopWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5022,19 +7958,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5042,9 +7978,9 @@ if (_wrapper) { } } } - return QDial::nativeEvent(eventType0, message1, result2); + return QDesktopWidget::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QDial::paintEngine() const +QPaintEngine* PythonQtShell_QDesktopWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5055,19 +7991,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5075,9 +8011,9 @@ if (_wrapper) { } } } - return QDial::paintEngine(); + return QDesktopWidget::paintEngine(); } -void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) +void PythonQtShell_QDesktopWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5087,9 +8023,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pe0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5097,9 +8033,9 @@ if (_wrapper) { } } } - QDial::paintEvent(pe0); + QDesktopWidget::paintEvent(event0); } -QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QDesktopWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5110,19 +8046,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5130,9 +8066,9 @@ if (_wrapper) { } } } - return QDial::redirected(offset0); + return QDesktopWidget::redirected(offset0); } -void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) +void PythonQtShell_QDesktopWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5142,9 +8078,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&re0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5152,9 +8088,9 @@ if (_wrapper) { } } } - QDial::resizeEvent(re0); + QDesktopWidget::resizeEvent(e0); } -void PythonQtShell_QDial::setVisible(bool visible0) +void PythonQtShell_QDesktopWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5164,9 +8100,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5174,9 +8110,9 @@ if (_wrapper) { } } } - QDial::setVisible(visible0); + QDesktopWidget::setVisible(visible0); } -QPainter* PythonQtShell_QDial::sharedPainter() const +QPainter* PythonQtShell_QDesktopWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5187,19 +8123,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5207,9 +8143,9 @@ if (_wrapper) { } } } - return QDial::sharedPainter(); + return QDesktopWidget::sharedPainter(); } -void PythonQtShell_QDial::showEvent(QShowEvent* event0) +void PythonQtShell_QDesktopWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5219,9 +8155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5229,32 +8165,32 @@ if (_wrapper) { } } } - QDial::showEvent(event0); + QDesktopWidget::showEvent(event0); } -QSize PythonQtShell_QDial::sizeHint() const +QSize PythonQtShell_QDesktopWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5262,31 +8198,9 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QDesktopWidget::sizeHint(); } -void PythonQtShell_QDial::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QDesktopWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5296,9 +8210,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5306,9 +8220,9 @@ if (_wrapper) { } } } - QDial::tabletEvent(event0); + QDesktopWidget::tabletEvent(event0); } -void PythonQtShell_QDial::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QDesktopWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5318,9 +8232,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5328,9 +8242,9 @@ if (_wrapper) { } } } - QDial::timerEvent(arg__1); + QDesktopWidget::timerEvent(event0); } -void PythonQtShell_QDial::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QDesktopWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5340,9 +8254,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5350,84 +8264,109 @@ if (_wrapper) { } } } - QDial::wheelEvent(e0); + QDesktopWidget::wheelEvent(event0); } -QDial* PythonQtWrapper_QDial::new_QDial(QWidget* parent) +QDesktopWidget* PythonQtWrapper_QDesktopWidget::new_QDesktopWidget() { -return new PythonQtShell_QDial(parent); } +return new PythonQtShell_QDesktopWidget(); } -const QMetaObject* PythonQtShell_QDial::metaObject() const { +const QMetaObject* PythonQtShell_QDesktopWidget::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDial::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDesktopWidget::staticMetaObject); } else { - return &QDial::staticMetaObject; + return &QDesktopWidget::staticMetaObject; } } -int PythonQtShell_QDial::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QDial::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QDial::initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const { - ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->availableGeometry(point)); } -QSize PythonQtWrapper_QDial::minimumSizeHint(QDial* theWrappedObject) const +const QRect PythonQtWrapper_QDesktopWidget::availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->availableGeometry(widget)); } -int PythonQtWrapper_QDial::notchSize(QDial* theWrappedObject) const +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->notchSize()); + return ( theWrappedObject->screenCount()); } -qreal PythonQtWrapper_QDial::notchTarget(QDial* theWrappedObject) const +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const { - return ( theWrappedObject->notchTarget()); + return ( theWrappedObject->screenGeometry(point)); } -bool PythonQtWrapper_QDial::notchesVisible(QDial* theWrappedObject) const +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const { - return ( theWrappedObject->notchesVisible()); + return ( theWrappedObject->screenGeometry(widget)); } -void PythonQtWrapper_QDial::setNotchTarget(QDial* theWrappedObject, double target) +const QRect PythonQtWrapper_QDesktopWidget::screenGeometry(QDesktopWidget* theWrappedObject, int screen) const { - ( theWrappedObject->setNotchTarget(target)); + return ( theWrappedObject->screenGeometry(screen)); } -QSize PythonQtWrapper_QDial::sizeHint(QDial* theWrappedObject) const +int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QPoint& arg__1) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->screenNumber(arg__1)); } -bool PythonQtWrapper_QDial::wrapping(QDial* theWrappedObject) const +int PythonQtWrapper_QDesktopWidget::screenNumber(QDesktopWidget* theWrappedObject, const QWidget* widget) const { - return ( theWrappedObject->wrapping()); + return ( theWrappedObject->screenNumber(widget)); } -PythonQtShell_QDialog::~PythonQtShell_QDialog() { +PythonQtShell_QDial::~PythonQtShell_QDial() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QDialog::accept() +void PythonQtShell_QDial::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5435,21 +8374,21 @@ if (_wrapper) { } } } - QDialog::accept(); + QDial::actionEvent(event0); } -void PythonQtShell_QDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QDial::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5457,21 +8396,21 @@ if (_wrapper) { } } } - QDialog::actionEvent(event0); + QDial::changeEvent(e0); } -void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QDial::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5479,9 +8418,9 @@ if (_wrapper) { } } } - QDialog::changeEvent(arg__1); + QDial::childEvent(event0); } -void PythonQtShell_QDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QDial::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5491,9 +8430,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5501,9 +8440,9 @@ if (_wrapper) { } } } - QDialog::closeEvent(arg__1); + QDial::closeEvent(event0); } -void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QDial::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5513,9 +8452,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5523,64 +8462,64 @@ if (_wrapper) { } } } - QDialog::contextMenuEvent(arg__1); + QDial::contextMenuEvent(event0); } -int PythonQtShell_QDialog::devType() const +void PythonQtShell_QDial::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDialog::devType(); + QDial::customEvent(event0); } -void PythonQtShell_QDialog::done(int arg__1) +int PythonQtShell_QDial::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + 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(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDialog::done(arg__1); + return QDial::devType(); } -void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QDial::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5590,9 +8529,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5600,9 +8539,9 @@ if (_wrapper) { } } } - QDialog::dragEnterEvent(event0); + QDial::dragEnterEvent(event0); } -void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QDial::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5612,9 +8551,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5622,9 +8561,9 @@ if (_wrapper) { } } } - QDialog::dragLeaveEvent(event0); + QDial::dragLeaveEvent(event0); } -void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QDial::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5634,9 +8573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5644,9 +8583,9 @@ if (_wrapper) { } } } - QDialog::dragMoveEvent(event0); + QDial::dragMoveEvent(event0); } -void PythonQtShell_QDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QDial::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5656,9 +8595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5666,9 +8605,9 @@ if (_wrapper) { } } } - QDialog::dropEvent(event0); + QDial::dropEvent(event0); } -void PythonQtShell_QDialog::enterEvent(QEvent* event0) +void PythonQtShell_QDial::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5678,9 +8617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5688,9 +8627,9 @@ if (_wrapper) { } } } - QDialog::enterEvent(event0); + QDial::enterEvent(event0); } -bool PythonQtShell_QDialog::event(QEvent* event0) +bool PythonQtShell_QDial::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5701,19 +8640,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5721,9 +8660,9 @@ if (_wrapper) { } } } - return QDialog::event(event0); + return QDial::event(e0); } -bool PythonQtShell_QDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QDial::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5734,52 +8673,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5787,9 +8693,9 @@ if (_wrapper) { } } } - return QDialog::exec(); + return QDial::eventFilter(watched0, event1); } -void PythonQtShell_QDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QDial::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5799,9 +8705,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5809,9 +8715,9 @@ if (_wrapper) { } } } - QDialog::focusInEvent(event0); + QDial::focusInEvent(event0); } -bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QDial::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5822,19 +8728,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5842,9 +8748,9 @@ if (_wrapper) { } } } - return QDialog::focusNextPrevChild(next0); + return QDial::focusNextPrevChild(next0); } -void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDial::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5854,9 +8760,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5864,9 +8770,9 @@ if (_wrapper) { } } } - QDialog::focusOutEvent(event0); + QDial::focusOutEvent(event0); } -bool PythonQtShell_QDialog::hasHeightForWidth() const +bool PythonQtShell_QDial::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5877,19 +8783,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5897,9 +8803,9 @@ if (_wrapper) { } } } - return QDialog::hasHeightForWidth(); + return QDial::hasHeightForWidth(); } -int PythonQtShell_QDialog::heightForWidth(int arg__1) const +int PythonQtShell_QDial::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5910,19 +8816,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5930,9 +8836,9 @@ if (_wrapper) { } } } - return QDialog::heightForWidth(arg__1); + return QDial::heightForWidth(arg__1); } -void PythonQtShell_QDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QDial::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5942,9 +8848,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5952,9 +8858,9 @@ if (_wrapper) { } } } - QDialog::hideEvent(event0); + QDial::hideEvent(event0); } -void PythonQtShell_QDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QDial::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5964,9 +8870,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5974,9 +8880,9 @@ if (_wrapper) { } } } - QDialog::initPainter(painter0); + QDial::initPainter(painter0); } -void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDial::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5986,9 +8892,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5996,9 +8902,9 @@ if (_wrapper) { } } } - QDialog::inputMethodEvent(arg__1); + QDial::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QDial::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6009,19 +8915,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6029,9 +8935,9 @@ if (_wrapper) { } } } - return QDialog::inputMethodQuery(arg__1); + return QDial::inputMethodQuery(arg__1); } -void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QDial::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6041,9 +8947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6051,9 +8957,9 @@ if (_wrapper) { } } } - QDialog::keyPressEvent(arg__1); + QDial::keyPressEvent(ev0); } -void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QDial::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6063,9 +8969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6073,9 +8979,9 @@ if (_wrapper) { } } } - QDialog::keyReleaseEvent(event0); + QDial::keyReleaseEvent(event0); } -void PythonQtShell_QDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QDial::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6085,9 +8991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6095,9 +9001,9 @@ if (_wrapper) { } } } - QDialog::leaveEvent(event0); + QDial::leaveEvent(event0); } -int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QDial::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6108,19 +9014,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6128,9 +9034,9 @@ if (_wrapper) { } } } - return QDialog::metric(arg__1); + return QDial::metric(arg__1); } -QSize PythonQtShell_QDialog::minimumSizeHint() const +QSize PythonQtShell_QDial::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6141,19 +9047,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6161,9 +9067,9 @@ if (_wrapper) { } } } - return QDialog::minimumSizeHint(); + return QDial::minimumSizeHint(); } -void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QDial::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6173,9 +9079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6183,9 +9089,9 @@ if (_wrapper) { } } } - QDialog::mouseDoubleClickEvent(event0); + QDial::mouseDoubleClickEvent(event0); } -void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QDial::mouseMoveEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6195,9 +9101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6205,9 +9111,9 @@ if (_wrapper) { } } } - QDialog::mouseMoveEvent(event0); + QDial::mouseMoveEvent(me0); } -void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QDial::mousePressEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6217,9 +9123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6227,9 +9133,9 @@ if (_wrapper) { } } } - QDialog::mousePressEvent(event0); + QDial::mousePressEvent(me0); } -void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QDial::mouseReleaseEvent(QMouseEvent* me0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6239,9 +9145,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&me0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6249,9 +9155,9 @@ if (_wrapper) { } } } - QDialog::mouseReleaseEvent(event0); + QDial::mouseReleaseEvent(me0); } -void PythonQtShell_QDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QDial::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6261,9 +9167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6271,9 +9177,9 @@ if (_wrapper) { } } } - QDialog::moveEvent(event0); + QDial::moveEvent(event0); } -bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QDial::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6283,52 +9189,30 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDialog::open(); + return QDial::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QDialog::paintEngine() const +QPaintEngine* PythonQtShell_QDial::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6339,19 +9223,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6359,9 +9243,9 @@ if (_wrapper) { } } } - return QDialog::paintEngine(); + return QDial::paintEngine(); } -void PythonQtShell_QDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QDial::paintEvent(QPaintEvent* pe0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6371,9 +9255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&pe0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6381,9 +9265,9 @@ if (_wrapper) { } } } - QDialog::paintEvent(event0); + QDial::paintEvent(pe0); } -QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QDial::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6394,19 +9278,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6414,31 +9298,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QDialog::reject(); + return QDial::redirected(offset0); } -void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QDial::resizeEvent(QResizeEvent* re0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6448,9 +9310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&re0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6458,9 +9320,9 @@ if (_wrapper) { } } } - QDialog::resizeEvent(arg__1); + QDial::resizeEvent(re0); } -void PythonQtShell_QDialog::setVisible(bool visible0) +void PythonQtShell_QDial::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6470,9 +9332,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6480,9 +9342,9 @@ if (_wrapper) { } } } - QDialog::setVisible(visible0); + QDial::setVisible(visible0); } -QPainter* PythonQtShell_QDialog::sharedPainter() const +QPainter* PythonQtShell_QDial::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6493,19 +9355,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6513,9 +9375,9 @@ if (_wrapper) { } } } - return QDialog::sharedPainter(); + return QDial::sharedPainter(); } -void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QDial::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6525,9 +9387,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6535,9 +9397,9 @@ if (_wrapper) { } } } - QDialog::showEvent(arg__1); + QDial::showEvent(event0); } -QSize PythonQtShell_QDialog::sizeHint() const +QSize PythonQtShell_QDial::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6548,19 +9410,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6568,9 +9430,31 @@ if (_wrapper) { } } } - return QDialog::sizeHint(); + return QDial::sizeHint(); } -void PythonQtShell_QDialog::tabletEvent(QTabletEvent* event0) +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 @@ -6580,9 +9464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6590,9 +9474,31 @@ if (_wrapper) { } } } - QDialog::tabletEvent(event0); + QDial::tabletEvent(event0); } -void PythonQtShell_QDialog::wheelEvent(QWheelEvent* 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 @@ -6602,9 +9508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6612,77 +9518,94 @@ if (_wrapper) { } } } - QDialog::wheelEvent(event0); + QDial::wheelEvent(e0); } -QDialog* PythonQtWrapper_QDialog::new_QDialog(QWidget* parent, Qt::WindowFlags f) +QDial* PythonQtWrapper_QDial::new_QDial(QWidget* parent) { -return new PythonQtShell_QDialog(parent, f); } +return new PythonQtShell_QDial(parent); } -const QMetaObject* PythonQtShell_QDialog::metaObject() const { +const QMetaObject* PythonQtShell_QDial::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QDial::staticMetaObject); } else { - return &QDialog::staticMetaObject; + return &QDial::staticMetaObject; } } -int PythonQtShell_QDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QDialog::qt_metacall(call, id, args); +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_QDialog::adjustPosition(QDialog* theWrappedObject, QWidget* arg__1) -{ - ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_adjustPosition(arg__1)); -} - -bool PythonQtWrapper_QDialog::eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2) +void PythonQtWrapper_QDial::initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const { - return ( ((PythonQtPublicPromoter_QDialog*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); + ( ((PythonQtPublicPromoter_QDial*)theWrappedObject)->promoted_initStyleOption(option)); } -bool PythonQtWrapper_QDialog::isSizeGripEnabled(QDialog* theWrappedObject) const +QSize PythonQtWrapper_QDial::minimumSizeHint(QDial* theWrappedObject) const { - return ( theWrappedObject->isSizeGripEnabled()); + return ( theWrappedObject->minimumSizeHint()); } -QSize PythonQtWrapper_QDialog::minimumSizeHint(QDialog* theWrappedObject) const +int PythonQtWrapper_QDial::notchSize(QDial* theWrappedObject) const { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->notchSize()); } -int PythonQtWrapper_QDialog::result(QDialog* theWrappedObject) const +qreal PythonQtWrapper_QDial::notchTarget(QDial* theWrappedObject) const { - return ( theWrappedObject->result()); + return ( theWrappedObject->notchTarget()); } -void PythonQtWrapper_QDialog::setModal(QDialog* theWrappedObject, bool modal) +bool PythonQtWrapper_QDial::notchesVisible(QDial* theWrappedObject) const { - ( theWrappedObject->setModal(modal)); + return ( theWrappedObject->notchesVisible()); } -void PythonQtWrapper_QDialog::setResult(QDialog* theWrappedObject, int r) +void PythonQtWrapper_QDial::setNotchTarget(QDial* theWrappedObject, double target) { - ( theWrappedObject->setResult(r)); + ( theWrappedObject->setNotchTarget(target)); } -void PythonQtWrapper_QDialog::setSizeGripEnabled(QDialog* theWrappedObject, bool arg__1) +QSize PythonQtWrapper_QDial::sizeHint(QDial* theWrappedObject) const { - ( theWrappedObject->setSizeGripEnabled(arg__1)); + return ( theWrappedObject->sizeHint()); } -QSize PythonQtWrapper_QDialog::sizeHint(QDialog* theWrappedObject) const +bool PythonQtWrapper_QDial::wrapping(QDial* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->wrapping()); } -PythonQtShell_QDialogButtonBox::~PythonQtShell_QDialogButtonBox() { +PythonQtShell_QDialog::~PythonQtShell_QDialog() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QDialogButtonBox::actionEvent(QActionEvent* event0) +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 @@ -6692,9 +9615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6702,9 +9625,9 @@ if (_wrapper) { } } } - QDialogButtonBox::actionEvent(event0); + QDialog::actionEvent(event0); } -void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) +void PythonQtShell_QDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6714,9 +9637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6724,9 +9647,31 @@ if (_wrapper) { } } } - QDialogButtonBox::changeEvent(event0); + QDialog::changeEvent(arg__1); } -void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) +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 @@ -6736,9 +9681,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6746,9 +9691,9 @@ if (_wrapper) { } } } - QDialogButtonBox::closeEvent(event0); + QDialog::closeEvent(arg__1); } -void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6758,9 +9703,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6768,9 +9713,31 @@ if (_wrapper) { } } } - QDialogButtonBox::contextMenuEvent(event0); + QDialog::contextMenuEvent(arg__1); } -int PythonQtShell_QDialogButtonBox::devType() const +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 @@ -6781,19 +9748,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6801,9 +9768,31 @@ if (_wrapper) { } } } - return QDialogButtonBox::devType(); + 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_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6813,9 +9802,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6823,9 +9812,9 @@ if (_wrapper) { } } } - QDialogButtonBox::dragEnterEvent(event0); + QDialog::dragEnterEvent(event0); } -void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6835,9 +9824,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6845,9 +9834,9 @@ if (_wrapper) { } } } - QDialogButtonBox::dragLeaveEvent(event0); + QDialog::dragLeaveEvent(event0); } -void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6857,9 +9846,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6867,9 +9856,9 @@ if (_wrapper) { } } } - QDialogButtonBox::dragMoveEvent(event0); + QDialog::dragMoveEvent(event0); } -void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6879,9 +9868,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6889,9 +9878,9 @@ if (_wrapper) { } } } - QDialogButtonBox::dropEvent(event0); + QDialog::dropEvent(event0); } -void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* event0) +void PythonQtShell_QDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6901,9 +9890,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6911,9 +9900,9 @@ if (_wrapper) { } } } - QDialogButtonBox::enterEvent(event0); + QDialog::enterEvent(event0); } -bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) +bool PythonQtShell_QDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6924,19 +9913,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6944,9 +9933,75 @@ if (_wrapper) { } } } - return QDialogButtonBox::event(event0); + return QDialog::event(event0); } -void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* 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 @@ -6956,9 +10011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6966,9 +10021,9 @@ if (_wrapper) { } } } - QDialogButtonBox::focusInEvent(event0); + QDialog::focusInEvent(event0); } -bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) +bool PythonQtShell_QDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6979,19 +10034,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6999,9 +10054,9 @@ if (_wrapper) { } } } - return QDialogButtonBox::focusNextPrevChild(next0); + return QDialog::focusNextPrevChild(next0); } -void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7011,9 +10066,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7021,9 +10076,9 @@ if (_wrapper) { } } } - QDialogButtonBox::focusOutEvent(event0); + QDialog::focusOutEvent(event0); } -bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const +bool PythonQtShell_QDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7034,19 +10089,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7054,9 +10109,9 @@ if (_wrapper) { } } } - return QDialogButtonBox::hasHeightForWidth(); + return QDialog::hasHeightForWidth(); } -int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const +int PythonQtShell_QDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7067,19 +10122,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7087,9 +10142,9 @@ if (_wrapper) { } } } - return QDialogButtonBox::heightForWidth(arg__1); + return QDialog::heightForWidth(arg__1); } -void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7099,9 +10154,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7109,9 +10164,9 @@ if (_wrapper) { } } } - QDialogButtonBox::hideEvent(event0); + QDialog::hideEvent(event0); } -void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const +void PythonQtShell_QDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7121,9 +10176,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7131,9 +10186,9 @@ if (_wrapper) { } } } - QDialogButtonBox::initPainter(painter0); + QDialog::initPainter(painter0); } -void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7143,9 +10198,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7153,9 +10208,9 @@ if (_wrapper) { } } } - QDialogButtonBox::inputMethodEvent(arg__1); + QDialog::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7166,19 +10221,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7186,9 +10241,9 @@ if (_wrapper) { } } } - return QDialogButtonBox::inputMethodQuery(arg__1); + return QDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7198,9 +10253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7208,9 +10263,9 @@ if (_wrapper) { } } } - QDialogButtonBox::keyPressEvent(event0); + QDialog::keyPressEvent(arg__1); } -void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7220,9 +10275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7230,9 +10285,9 @@ if (_wrapper) { } } } - QDialogButtonBox::keyReleaseEvent(event0); + QDialog::keyReleaseEvent(event0); } -void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* event0) +void PythonQtShell_QDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7242,9 +10297,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7252,9 +10307,9 @@ if (_wrapper) { } } } - QDialogButtonBox::leaveEvent(event0); + QDialog::leaveEvent(event0); } -int PythonQtShell_QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7265,19 +10320,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7285,32 +10340,32 @@ if (_wrapper) { } } } - return QDialogButtonBox::metric(arg__1); + return QDialog::metric(arg__1); } -QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const +QSize PythonQtShell_QDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7318,9 +10373,9 @@ if (_wrapper) { } } } - return QDialogButtonBox::minimumSizeHint(); + return QDialog::minimumSizeHint(); } -void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7330,9 +10385,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7340,9 +10395,9 @@ if (_wrapper) { } } } - QDialogButtonBox::mouseDoubleClickEvent(event0); + QDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7352,9 +10407,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7362,9 +10417,9 @@ if (_wrapper) { } } } - QDialogButtonBox::mouseMoveEvent(event0); + QDialog::mouseMoveEvent(event0); } -void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7374,9 +10429,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7384,9 +10439,9 @@ if (_wrapper) { } } } - QDialogButtonBox::mousePressEvent(event0); + QDialog::mousePressEvent(event0); } -void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7396,9 +10451,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7406,9 +10461,9 @@ if (_wrapper) { } } } - QDialogButtonBox::mouseReleaseEvent(event0); + QDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* event0) +void PythonQtShell_QDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7418,9 +10473,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7428,9 +10483,9 @@ if (_wrapper) { } } } - QDialogButtonBox::moveEvent(event0); + QDialog::moveEvent(event0); } -bool PythonQtShell_QDialogButtonBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7441,19 +10496,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7461,54 +10516,21 @@ if (_wrapper) { } } } - return QDialogButtonBox::nativeEvent(eventType0, message1, result2); + return QDialog::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const +void PythonQtShell_QDialog::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&event0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7516,32 +10538,32 @@ if (_wrapper) { } } } - QDialogButtonBox::paintEvent(event0); + QDialog::open(); } -QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) const +QPaintEngine* PythonQtShell_QDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7549,21 +10571,21 @@ if (_wrapper) { } } } - return QDialogButtonBox::redirected(offset0); + return QDialog::paintEngine(); } -void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7571,54 +10593,32 @@ if (_wrapper) { } } } - QDialogButtonBox::resizeEvent(event0); + QDialog::paintEvent(event0); } -void PythonQtShell_QDialogButtonBox::setVisible(bool visible0) +QPaintDevice* PythonQtShell_QDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7626,21 +10626,21 @@ if (_wrapper) { } } } - return QDialogButtonBox::sharedPainter(); + return QDialog::redirected(offset0); } -void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* event0) +void PythonQtShell_QDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("reject"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7648,54 +10648,43 @@ if (_wrapper) { } } } - QDialogButtonBox::showEvent(event0); + QDialog::reject(); } -QSize PythonQtShell_QDialogButtonBox::sizeHint() const +void PythonQtShell_QDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("resizeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDialogButtonBox::sizeHint(); + QDialog::resizeEvent(arg__1); } -void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7703,197 +10692,87 @@ if (_wrapper) { } } } - QDialogButtonBox::tabletEvent(event0); + QDialog::setVisible(visible0); } -void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* event0) +QPainter* PythonQtShell_QDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QDialog::sharedPainter(); } -QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const +void PythonQtShell_QDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("buddy"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::buddy(index0); + QDialog::showEvent(arg__1); } -bool PythonQtShell_QDirModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +QSize PythonQtShell_QDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canDropMimeData"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7901,153 +10780,172 @@ if (_wrapper) { } } } - return QDirModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QDialog::sizeHint(); } -bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const +void PythonQtShell_QDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::canFetchMore(parent0); + QDialog::tabletEvent(event0); } -int PythonQtShell_QDirModel::columnCount(const QModelIndex& parent0) const +void PythonQtShell_QDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("columnCount"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::columnCount(parent0); + QDialog::timerEvent(event0); } -QVariant PythonQtShell_QDirModel::data(const QModelIndex& index0, int role1) const +void PythonQtShell_QDialog::wheelEvent(QWheelEvent* event0) { 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] = {NULL, (void*)&index0, (void*)&role1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::data(index0, role1); + QDialog::wheelEvent(event0); } -bool PythonQtShell_QDirModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +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("dropMimeData"); + static PyObject* name = PyString_FromString("actionEvent"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::dropMimeData(data0, action1, row2, column3, parent4); + QDialogButtonBox::actionEvent(event0); } -void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) +void PythonQtShell_QDialogButtonBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8055,164 +10953,120 @@ if (_wrapper) { } } } - QDirModel::fetchMore(parent0); + QDialogButtonBox::changeEvent(event0); } -Qt::ItemFlags PythonQtShell_QDirModel::flags(const QModelIndex& index0) const +void PythonQtShell_QDialogButtonBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::flags(index0); + QDialogButtonBox::childEvent(event0); } -bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const +void PythonQtShell_QDialogButtonBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::hasChildren(index0); + QDialogButtonBox::closeEvent(event0); } -QVariant PythonQtShell_QDirModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +void PythonQtShell_QDialogButtonBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::headerData(section0, orientation1, role2); + QDialogButtonBox::contextMenuEvent(event0); } -QModelIndex PythonQtShell_QDirModel::index(int row0, int column1, const QModelIndex& parent2) const +void PythonQtShell_QDialogButtonBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::index(row0, column1, parent2); + QDialogButtonBox::customEvent(event0); } -bool PythonQtShell_QDirModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +int PythonQtShell_QDialogButtonBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8220,197 +11074,142 @@ if (_wrapper) { } } } - return QDirModel::insertColumns(column0, count1, parent2); + return QDialogButtonBox::devType(); } -bool PythonQtShell_QDirModel::insertRows(int row0, int count1, const QModelIndex& parent2) +void PythonQtShell_QDialogButtonBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::insertRows(row0, count1, parent2); + QDialogButtonBox::dragEnterEvent(event0); } -QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const +void PythonQtShell_QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemData"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::itemData(index0); + QDialogButtonBox::dragLeaveEvent(event0); } -QList PythonQtShell_QDirModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +void PythonQtShell_QDialogButtonBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("match"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::match(start0, role1, value2, hits3, flags4); + QDialogButtonBox::dragMoveEvent(event0); } -QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const +void PythonQtShell_QDialogButtonBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::mimeData(indexes0); + QDialogButtonBox::dropEvent(event0); } -QStringList PythonQtShell_QDirModel::mimeTypes() const +void PythonQtShell_QDialogButtonBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::mimeTypes(); + QDialogButtonBox::enterEvent(event0); } -bool PythonQtShell_QDirModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +bool PythonQtShell_QDialogButtonBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8418,32 +11217,32 @@ if (_wrapper) { } } } - return QDirModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + return QDialogButtonBox::event(event0); } -bool PythonQtShell_QDirModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +bool PythonQtShell_QDialogButtonBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8451,65 +11250,54 @@ if (_wrapper) { } } } - return QDirModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + return QDialogButtonBox::eventFilter(watched0, event1); } -QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const +void PythonQtShell_QDialogButtonBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("parent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::parent(child0); + QDialogButtonBox::focusInEvent(event0); } -bool PythonQtShell_QDirModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +bool PythonQtShell_QDialogButtonBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8517,87 +11305,87 @@ if (_wrapper) { } } } - return QDirModel::removeColumns(column0, count1, parent2); + return QDialogButtonBox::focusNextPrevChild(next0); } -bool PythonQtShell_QDirModel::removeRows(int row0, int count1, const QModelIndex& parent2) +void PythonQtShell_QDialogButtonBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::removeRows(row0, count1, parent2); + QDialogButtonBox::focusOutEvent(event0); } -void PythonQtShell_QDirModel::revert() +bool PythonQtShell_QDialogButtonBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDirModel::revert(); + return QDialogButtonBox::hasHeightForWidth(); } -QHash PythonQtShell_QDirModel::roleNames() const +int PythonQtShell_QDialogButtonBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QHash*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8605,131 +11393,98 @@ if (_wrapper) { } } } - return QDirModel::roleNames(); + return QDialogButtonBox::heightForWidth(arg__1); } -int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QDialogButtonBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::rowCount(parent0); + QDialogButtonBox::hideEvent(event0); } -bool PythonQtShell_QDirModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QDialogButtonBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("initPainter"); 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] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::setData(index0, value1, role2); + QDialogButtonBox::initPainter(painter0); } -bool PythonQtShell_QDirModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +void PythonQtShell_QDialogButtonBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::setHeaderData(section0, orientation1, value2, role3); + QDialogButtonBox::inputMethodEvent(arg__1); } -bool PythonQtShell_QDirModel::setItemData(const QModelIndex& index0, const QMap& roles1) +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("setItemData"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL, (void*)&index0, (void*)&roles1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8737,54 +11492,43 @@ if (_wrapper) { } } } - return QDirModel::setItemData(index0, roles1); + return QDialogButtonBox::inputMethodQuery(arg__1); } -QModelIndex PythonQtShell_QDirModel::sibling(int row0, int column1, const QModelIndex& idx2) const +void PythonQtShell_QDialogButtonBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sibling"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::sibling(row0, column1, idx2); + QDialogButtonBox::keyPressEvent(event0); } -void PythonQtShell_QDirModel::sort(int column0, Qt::SortOrder order1) +void PythonQtShell_QDialogButtonBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sort"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL, (void*)&column0, (void*)&order1}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8792,65 +11536,54 @@ if (_wrapper) { } } } - QDirModel::sort(column0, order1); + QDialogButtonBox::keyReleaseEvent(event0); } -QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const +void PythonQtShell_QDialogButtonBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::span(index0); + QDialogButtonBox::leaveEvent(event0); } -bool PythonQtShell_QDirModel::submit() +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("submit"); + static PyObject* name = PyString_FromString("metric"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8858,32 +11591,32 @@ if (_wrapper) { } } } - return QDirModel::submit(); + return QDialogButtonBox::metric(arg__1); } -Qt::DropActions PythonQtShell_QDirModel::supportedDragActions() const +QSize PythonQtShell_QDialogButtonBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8891,196 +11624,43 @@ if (_wrapper) { } } } - return QDirModel::supportedDragActions(); + return QDialogButtonBox::minimumSizeHint(); } -Qt::DropActions PythonQtShell_QDirModel::supportedDropActions() const +void PythonQtShell_QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDirModel::supportedDropActions(); -} -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); } + QDialogButtonBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QDockWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QDialogButtonBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9088,21 +11668,21 @@ if (_wrapper) { } } } - QDockWidget::actionEvent(event0); + QDialogButtonBox::mouseMoveEvent(event0); } -void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) +void PythonQtShell_QDialogButtonBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9110,21 +11690,21 @@ if (_wrapper) { } } } - QDockWidget::changeEvent(event0); + QDialogButtonBox::mousePressEvent(event0); } -void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QDialogButtonBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9132,21 +11712,21 @@ if (_wrapper) { } } } - QDockWidget::closeEvent(event0); + QDialogButtonBox::mouseReleaseEvent(event0); } -void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QDialogButtonBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9154,32 +11734,32 @@ if (_wrapper) { } } } - QDockWidget::contextMenuEvent(event0); + QDialogButtonBox::moveEvent(event0); } -int PythonQtShell_QDockWidget::devType() const +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("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9187,43 +11767,54 @@ if (_wrapper) { } } } - return QDockWidget::devType(); + return QDialogButtonBox::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* event0) +QPaintEngine* PythonQtShell_QDialogButtonBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::dragEnterEvent(event0); + return QDialogButtonBox::paintEngine(); } -void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QDialogButtonBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9231,43 +11822,54 @@ if (_wrapper) { } } } - QDockWidget::dragLeaveEvent(event0); + QDialogButtonBox::paintEvent(event0); } -void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* event0) +QPaintDevice* PythonQtShell_QDialogButtonBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::dragMoveEvent(event0); + return QDialogButtonBox::redirected(offset0); } -void PythonQtShell_QDockWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QDialogButtonBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9275,21 +11877,21 @@ if (_wrapper) { } } } - QDockWidget::dropEvent(event0); + QDialogButtonBox::resizeEvent(event0); } -void PythonQtShell_QDockWidget::enterEvent(QEvent* event0) +void PythonQtShell_QDialogButtonBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9297,32 +11899,32 @@ if (_wrapper) { } } } - QDockWidget::enterEvent(event0); + QDialogButtonBox::setVisible(visible0); } -bool PythonQtShell_QDockWidget::event(QEvent* event0) +QPainter* PythonQtShell_QDialogButtonBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9330,21 +11932,21 @@ if (_wrapper) { } } } - return QDockWidget::event(event0); + return QDialogButtonBox::sharedPainter(); } -void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QDialogButtonBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9352,32 +11954,32 @@ if (_wrapper) { } } } - QDockWidget::focusInEvent(event0); + QDialogButtonBox::showEvent(event0); } -bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) +QSize PythonQtShell_QDialogButtonBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("getSizeHint"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9385,21 +11987,21 @@ if (_wrapper) { } } } - return QDockWidget::focusNextPrevChild(next0); + return QDialogButtonBox::sizeHint(); } -void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDialogButtonBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9407,164 +12009,252 @@ if (_wrapper) { } } } - QDockWidget::focusOutEvent(event0); + QDialogButtonBox::tabletEvent(event0); } -bool PythonQtShell_QDockWidget::hasHeightForWidth() const +void PythonQtShell_QDialogButtonBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDockWidget::hasHeightForWidth(); + QDialogButtonBox::timerEvent(event0); } -int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const +void PythonQtShell_QDialogButtonBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDockWidget::heightForWidth(arg__1); + QDialogButtonBox::wheelEvent(event0); } -void PythonQtShell_QDockWidget::hideEvent(QHideEvent* 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 { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->standardButtons()); } - QDockWidget::hideEvent(event0); + + + +PythonQtShell_QDirModel::~PythonQtShell_QDirModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const +QModelIndex PythonQtShell_QDirModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::initPainter(painter0); + return QDirModel::buddy(index0); } -void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::inputMethodEvent(arg__1); + return QDirModel::canDropMimeData(data0, action1, row2, column3, parent4); } -QVariant PythonQtShell_QDockWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QDirModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9572,21 +12262,21 @@ if (_wrapper) { } } } - return QDockWidget::inputMethodQuery(arg__1); + return QDirModel::canFetchMore(parent0); } -void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QDirModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9594,43 +12284,54 @@ if (_wrapper) { } } } - QDockWidget::keyPressEvent(event0); + QDirModel::childEvent(event0); } -void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* 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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::keyReleaseEvent(event0); + return QDirModel::columnCount(parent0); } -void PythonQtShell_QDockWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QDirModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9638,32 +12339,32 @@ if (_wrapper) { } } } - QDockWidget::leaveEvent(event0); + QDirModel::customEvent(event0); } -int PythonQtShell_QDockWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9671,32 +12372,32 @@ if (_wrapper) { } } } - return QDockWidget::metric(arg__1); + return QDirModel::data(index0, role1); } -QSize PythonQtShell_QDockWidget::minimumSizeHint() const +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("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("dropMimeData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9704,65 +12405,87 @@ if (_wrapper) { } } } - return QDockWidget::minimumSizeHint(); + return QDirModel::dropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QDirModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::mouseDoubleClickEvent(event0); + return QDirModel::event(event0); } -void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* 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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::mouseMoveEvent(event0); + return QDirModel::eventFilter(watched0, event1); } -void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QDirModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9770,76 +12493,98 @@ if (_wrapper) { } } } - QDockWidget::mousePressEvent(event0); + QDirModel::fetchMore(parent0); } -void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* event0) +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("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::mouseReleaseEvent(event0); + return QDirModel::flags(index0); } -void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QDirModel::hasChildren(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::moveEvent(event0); + return QDirModel::hasChildren(index0); } -bool PythonQtShell_QDockWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("headerData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + QVariant returnValue{}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9847,32 +12592,32 @@ if (_wrapper) { } } } - return QDockWidget::nativeEvent(eventType0, message1, result2); + return QDirModel::headerData(section0, orientation1, role2); } -QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const +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("paintEngine"); + static PyObject* name = PyString_FromString("index"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9880,54 +12625,65 @@ if (_wrapper) { } } } - return QDockWidget::paintEngine(); + return QDirModel::index(row0, column1, parent2); } -void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) +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("paintEvent"); + static PyObject* name = PyString_FromString("insertColumns"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::paintEvent(event0); + return QDirModel::insertColumns(column0, count1, parent2); } -QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("insertRows"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9935,76 +12691,98 @@ if (_wrapper) { } } } - return QDockWidget::redirected(offset0); + return QDirModel::insertRows(row0, count1, parent2); } -void PythonQtShell_QDockWidget::resizeEvent(QResizeEvent* event0) +QMap PythonQtShell_QDirModel::itemData(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::resizeEvent(event0); + return QDirModel::itemData(index0); } -void PythonQtShell_QDockWidget::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("match"); 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] = {NULL, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::setVisible(visible0); + return QDirModel::match(start0, role1, value2, hits3, flags4); } -QPainter* PythonQtShell_QDockWidget::sharedPainter() const +QMimeData* PythonQtShell_QDirModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("mimeData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10012,54 +12790,65 @@ if (_wrapper) { } } } - return QDockWidget::sharedPainter(); + return QDirModel::mimeData(indexes0); } -void PythonQtShell_QDockWidget::showEvent(QShowEvent* event0) +QStringList PythonQtShell_QDirModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::showEvent(event0); + return QDirModel::mimeTypes(); } -QSize PythonQtShell_QDockWidget::sizeHint() const +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("getSizeHint"); + static PyObject* name = PyString_FromString("moveColumns"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10067,201 +12856,153 @@ if (_wrapper) { } } } - return QDockWidget::sizeHint(); + return QDirModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* event0) +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("tabletEvent"); + static PyObject* name = PyString_FromString("moveRows"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDockWidget::tabletEvent(event0); + return QDirModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* event0) +QModelIndex PythonQtShell_QDirModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QDirModel::parent(child0); } -void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* event0) +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("actionEvent"); + static PyObject* name = PyString_FromString("removeColumns"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::actionEvent(event0); + return QDirModel::removeColumns(column0, count1, parent2); } -void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) +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("changeEvent"); + static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::changeEvent(event0); + return QDirModel::removeRows(row0, count1, parent2); } -void PythonQtShell_QDoubleSpinBox::clear() +void PythonQtShell_QDirModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10269,76 +13010,98 @@ if (_wrapper) { } } } - QDoubleSpinBox::clear(); + QDirModel::revert(); } -void PythonQtShell_QDoubleSpinBox::closeEvent(QCloseEvent* event0) +QHash PythonQtShell_QDirModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("roleNames"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::closeEvent(event0); + return QDirModel::roleNames(); } -void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) +int PythonQtShell_QDirModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::contextMenuEvent(event0); + return QDirModel::rowCount(parent0); } -int PythonQtShell_QDoubleSpinBox::devType() const +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("devType"); + static PyObject* name = PyString_FromString("setData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10346,87 +13109,120 @@ if (_wrapper) { } } } - return QDoubleSpinBox::devType(); + return QDirModel::setData(index0, value1, role2); } -void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* event0) +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("dragEnterEvent"); + static PyObject* name = PyString_FromString("setHeaderData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::dragEnterEvent(event0); + return QDirModel::setHeaderData(section0, orientation1, value2, role3); } -void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("setItemData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::dragLeaveEvent(event0); + return QDirModel::setItemData(index0, roles1); } -void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("sibling"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::dragMoveEvent(event0); + return QDirModel::sibling(row0, column1, idx2); } -void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("sort"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10434,54 +13230,131 @@ if (_wrapper) { } } } - QDoubleSpinBox::dropEvent(event0); + QDirModel::sort(column0, order1); } -void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* event0) +QSize PythonQtShell_QDirModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::enterEvent(event0); + return QDirModel::span(index0); } -bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) +bool PythonQtShell_QDirModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10489,21 +13362,21 @@ if (_wrapper) { } } } - return QDoubleSpinBox::event(event0); + return QDirModel::supportedDropActions(); } -void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const +void PythonQtShell_QDirModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10511,21 +13384,163 @@ if (_wrapper) { } } } - QDoubleSpinBox::fixup(str0); + QDirModel::timerEvent(event0); } -void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* 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("focusInEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10533,54 +13548,43 @@ if (_wrapper) { } } } - QDoubleSpinBox::focusInEvent(event0); + QDockWidget::actionEvent(event0); } -bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) +void PythonQtShell_QDockWidget::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::focusNextPrevChild(next0); + QDockWidget::changeEvent(event0); } -void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDockWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10588,87 +13592,65 @@ if (_wrapper) { } } } - QDoubleSpinBox::focusOutEvent(event0); + QDockWidget::childEvent(event0); } -bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const +void PythonQtShell_QDockWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::hasHeightForWidth(); + QDockWidget::closeEvent(event0); } -int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const +void PythonQtShell_QDockWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::heightForWidth(arg__1); + QDockWidget::contextMenuEvent(event0); } -void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QDockWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10676,43 +13658,54 @@ if (_wrapper) { } } } - QDoubleSpinBox::hideEvent(event0); + QDockWidget::customEvent(event0); } -void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const +int PythonQtShell_QDockWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&painter0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::initPainter(painter0); + return QDockWidget::devType(); } -void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDockWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10720,54 +13713,43 @@ if (_wrapper) { } } } - QDoubleSpinBox::inputMethodEvent(arg__1); + QDockWidget::dragEnterEvent(event0); } -QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QDockWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::inputMethodQuery(arg__1); + QDockWidget::dragLeaveEvent(event0); } -void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QDockWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10775,21 +13757,21 @@ if (_wrapper) { } } } - QDoubleSpinBox::keyPressEvent(event0); + QDockWidget::dragMoveEvent(event0); } -void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QDockWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10797,21 +13779,21 @@ if (_wrapper) { } } } - QDoubleSpinBox::keyReleaseEvent(event0); + QDockWidget::dropEvent(event0); } -void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* event0) +void PythonQtShell_QDockWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10819,32 +13801,32 @@ if (_wrapper) { } } } - QDoubleSpinBox::leaveEvent(event0); + QDockWidget::enterEvent(event0); } -int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QDockWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10852,32 +13834,32 @@ if (_wrapper) { } } } - return QDoubleSpinBox::metric(arg__1); + return QDockWidget::event(event0); } -QSize PythonQtShell_QDoubleSpinBox::minimumSizeHint() const +bool PythonQtShell_QDockWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10885,21 +13867,21 @@ if (_wrapper) { } } } - return QDoubleSpinBox::minimumSizeHint(); + return QDockWidget::eventFilter(watched0, event1); } -void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QDockWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10907,43 +13889,54 @@ if (_wrapper) { } } } - QDoubleSpinBox::mouseDoubleClickEvent(event0); + QDockWidget::focusInEvent(event0); } -void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QDockWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::mouseMoveEvent(event0); + return QDockWidget::focusNextPrevChild(next0); } -void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QDockWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10951,131 +13944,131 @@ if (_wrapper) { } } } - QDoubleSpinBox::mousePressEvent(event0); + QDockWidget::focusOutEvent(event0); } -void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) +bool PythonQtShell_QDockWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::mouseReleaseEvent(event0); + return QDockWidget::hasHeightForWidth(); } -void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* event0) +int PythonQtShell_QDockWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::moveEvent(event0); + return QDockWidget::heightForWidth(arg__1); } -bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QDockWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::nativeEvent(eventType0, message1, result2); + QDockWidget::hideEvent(event0); } -QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const +void PythonQtShell_QDockWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("initPainter"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::paintEngine(); + QDockWidget::initPainter(painter0); } -void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) +void PythonQtShell_QDockWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11083,32 +14076,32 @@ if (_wrapper) { } } } - QDoubleSpinBox::paintEvent(event0); + QDockWidget::inputMethodEvent(arg__1); } -QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11116,21 +14109,21 @@ if (_wrapper) { } } } - return QDoubleSpinBox::redirected(offset0); + return QDockWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QDockWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11138,21 +14131,21 @@ if (_wrapper) { } } } - QDoubleSpinBox::resizeEvent(event0); + QDockWidget::keyPressEvent(event0); } -void PythonQtShell_QDoubleSpinBox::setVisible(bool visible0) +void PythonQtShell_QDockWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11160,87 +14153,87 @@ if (_wrapper) { } } } - QDoubleSpinBox::setVisible(visible0); + QDockWidget::keyReleaseEvent(event0); } -QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const +void PythonQtShell_QDockWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::sharedPainter(); + QDockWidget::leaveEvent(event0); } -void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* 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("showEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QDoubleSpinBox::showEvent(event0); + return QDockWidget::metric(arg__1); } -QSize PythonQtShell_QDoubleSpinBox::sizeHint() const +QSize PythonQtShell_QDockWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11248,21 +14241,21 @@ if (_wrapper) { } } } - return QDoubleSpinBox::sizeHint(); + return QDockWidget::minimumSizeHint(); } -void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) +void PythonQtShell_QDockWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11270,54 +14263,43 @@ if (_wrapper) { } } } - QDoubleSpinBox::stepBy(steps0); + QDockWidget::mouseDoubleClickEvent(event0); } -QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const +void PythonQtShell_QDockWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepEnabled"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::stepEnabled(); + QDockWidget::mouseMoveEvent(event0); } -void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QDockWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11325,54 +14307,43 @@ if (_wrapper) { } } } - QDoubleSpinBox::tabletEvent(event0); + QDockWidget::mousePressEvent(event0); } -QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const +void PythonQtShell_QDockWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("textFromValue"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "double"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&val0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QDoubleSpinBox::textFromValue(val0); + QDockWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) +void PythonQtShell_QDockWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11380,32 +14351,32 @@ if (_wrapper) { } } } - QDoubleSpinBox::timerEvent(event0); + QDockWidget::moveEvent(event0); } -QValidator::State PythonQtShell_QDoubleSpinBox::validate(QString& input0, int& pos1) const +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("validate"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&input0, (void*)&pos1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11413,32 +14384,32 @@ if (_wrapper) { } } } - return QDoubleSpinBox::validate(input0, pos1); + return QDockWidget::nativeEvent(eventType0, message1, result2); } -double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const +QPaintEngine* PythonQtShell_QDockWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valueFromText"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&text0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((double*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11446,21 +14417,21 @@ if (_wrapper) { } } } - return QDoubleSpinBox::valueFromText(text0); + return QDockWidget::paintEngine(); } -void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QDockWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11468,129 +14439,54 @@ if (_wrapper) { } } } - 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::setSuffix(QDoubleSpinBox* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setSuffix(suffix)); -} - -double PythonQtWrapper_QDoubleSpinBox::singleStep(QDoubleSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - -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()); + QDockWidget::paintEvent(event0); } - -double PythonQtWrapper_QDoubleSpinBox::valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const +QPaintDevice* PythonQtShell_QDockWidget::redirected(QPoint* offset0) const { - return ( theWrappedObject->valueFromText(text)); -} - - - -PythonQtShell_QDoubleValidator::~PythonQtShell_QDoubleValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const + 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("fixup"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11598,21 +14494,21 @@ if (_wrapper) { } } } - QDoubleValidator::fixup(arg__1); + QDockWidget::resizeEvent(event0); } -void PythonQtShell_QDoubleValidator::setRange(double bottom0, double top1, int decimals2) +void PythonQtShell_QDockWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRange"); + static PyObject* name = PyString_FromString("setVisible"); 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] = {NULL, (void*)&bottom0, (void*)&top1, (void*)&decimals2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11620,32 +14516,32 @@ if (_wrapper) { } } } - QDoubleValidator::setRange(bottom0, top1, decimals2); + QDockWidget::setVisible(visible0); } -QValidator::State PythonQtShell_QDoubleValidator::validate(QString& arg__1, int& arg__2) const +QPainter* PythonQtShell_QDockWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11653,348 +14549,234 @@ if (_wrapper) { } } } - 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)); + return QDockWidget::sharedPainter(); } - -double PythonQtWrapper_QDoubleValidator::top(QDoubleValidator* theWrappedObject) const +void PythonQtShell_QDockWidget::showEvent(QShowEvent* event0) { - return ( theWrappedObject->top()); -} - - - -PythonQtShell_QDrag::~PythonQtShell_QDrag() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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; +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(); + } } } -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); } + QDockWidget::showEvent(event0); } -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) +QSize PythonQtShell_QDockWidget::sizeHint() const { - ( theWrappedObject->accept(r)); +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(); + } + } } - -QRect PythonQtWrapper_QDragMoveEvent::answerRect(QDragMoveEvent* theWrappedObject) const -{ - return ( theWrappedObject->answerRect()); + return QDockWidget::sizeHint(); } - -void PythonQtWrapper_QDragMoveEvent::ignore(QDragMoveEvent* theWrappedObject, const QRect& r) +void PythonQtShell_QDockWidget::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->ignore(r)); +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(); + } + } } - - - -PythonQtShell_QDropEvent::~PythonQtShell_QDropEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QDockWidget::tabletEvent(event0); } -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) +void PythonQtShell_QDockWidget::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->acceptProposedAction()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::DropAction PythonQtWrapper_QDropEvent::dropAction(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->dropAction()); + QDockWidget::timerEvent(event0); } - -Qt::KeyboardModifiers PythonQtWrapper_QDropEvent::keyboardModifiers(QDropEvent* theWrappedObject) const +void PythonQtShell_QDockWidget::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->keyboardModifiers()); +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(); + } + } } - -const QMimeData* PythonQtWrapper_QDropEvent::mimeData(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->mimeData()); + QDockWidget::wheelEvent(event0); } +QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QDockWidget(parent, flags); } -Qt::MouseButtons PythonQtWrapper_QDropEvent::mouseButtons(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->mouseButtons()); -} +QDockWidget* PythonQtWrapper_QDockWidget::new_QDockWidget(const QString& title, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QDockWidget(title, parent, flags); } -QPoint PythonQtWrapper_QDropEvent::pos(QDropEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); +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; + } } - -const QPointF* PythonQtWrapper_QDropEvent::posF(QDropEvent* theWrappedObject) const -{ - return &( theWrappedObject->posF()); +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::DropActions PythonQtWrapper_QDropEvent::possibleActions(QDropEvent* theWrappedObject) const +Qt::DockWidgetAreas PythonQtWrapper_QDockWidget::allowedAreas(QDockWidget* theWrappedObject) const { - return ( theWrappedObject->possibleActions()); + return ( theWrappedObject->allowedAreas()); } -Qt::DropAction PythonQtWrapper_QDropEvent::proposedAction(QDropEvent* theWrappedObject) const +QDockWidget::DockWidgetFeatures PythonQtWrapper_QDockWidget::features(QDockWidget* theWrappedObject) const { - return ( theWrappedObject->proposedAction()); + return ( theWrappedObject->features()); } -void PythonQtWrapper_QDropEvent::setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action) +void PythonQtWrapper_QDockWidget::initStyleOption(QDockWidget* theWrappedObject, QStyleOptionDockWidget* option) const { - ( theWrappedObject->setDropAction(action)); + ( ((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->promoted_initStyleOption(option)); } -QObject* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const +bool PythonQtWrapper_QDockWidget::isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const { - return ( theWrappedObject->source()); -} - - - -PythonQtShell_QEnterEvent::~PythonQtShell_QEnterEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->isAreaAllowed(area)); } -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 +bool PythonQtWrapper_QDockWidget::isFloating(QDockWidget* theWrappedObject) const { - return ( theWrappedObject->globalPos()); + return ( theWrappedObject->isFloating()); } -int PythonQtWrapper_QEnterEvent::globalX(QEnterEvent* theWrappedObject) const +void PythonQtWrapper_QDockWidget::setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas) { - return ( theWrappedObject->globalX()); + ( theWrappedObject->setAllowedAreas(areas)); } -int PythonQtWrapper_QEnterEvent::globalY(QEnterEvent* theWrappedObject) const +void PythonQtWrapper_QDockWidget::setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features) { - return ( theWrappedObject->globalY()); + ( theWrappedObject->setFeatures(features)); } -const QPointF* PythonQtWrapper_QEnterEvent::localPos(QEnterEvent* theWrappedObject) const +void PythonQtWrapper_QDockWidget::setFloating(QDockWidget* theWrappedObject, bool floating) { - return &( theWrappedObject->localPos()); + ( theWrappedObject->setFloating(floating)); } -QPoint PythonQtWrapper_QEnterEvent::pos(QEnterEvent* theWrappedObject) const +void PythonQtWrapper_QDockWidget::setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->pos()); + ( theWrappedObject->setTitleBarWidget(widget)); } -const QPointF* PythonQtWrapper_QEnterEvent::screenPos(QEnterEvent* theWrappedObject) const +void PythonQtWrapper_QDockWidget::setWidget(QDockWidget* theWrappedObject, QWidget* widget) { - return &( theWrappedObject->screenPos()); + ( theWrappedObject->setWidget(widget)); } -const QPointF* PythonQtWrapper_QEnterEvent::windowPos(QEnterEvent* theWrappedObject) const +QWidget* PythonQtWrapper_QDockWidget::titleBarWidget(QDockWidget* theWrappedObject) const { - return &( theWrappedObject->windowPos()); + return ( theWrappedObject->titleBarWidget()); } -int PythonQtWrapper_QEnterEvent::x(QEnterEvent* theWrappedObject) const +QAction* PythonQtWrapper_QDockWidget::toggleViewAction(QDockWidget* theWrappedObject) const { - return ( theWrappedObject->x()); + return ( theWrappedObject->toggleViewAction()); } -int PythonQtWrapper_QEnterEvent::y(QEnterEvent* theWrappedObject) const +QWidget* PythonQtWrapper_QDockWidget::widget(QDockWidget* theWrappedObject) const { - return ( theWrappedObject->y()); + return ( theWrappedObject->widget()); } -PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { +PythonQtShell_QDoubleSpinBox::~PythonQtShell_QDoubleSpinBox() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QErrorMessage::accept() +void PythonQtShell_QDoubleSpinBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12002,21 +14784,21 @@ if (_wrapper) { } } } - QErrorMessage::accept(); + QDoubleSpinBox::actionEvent(event0); } -void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* event0) +void PythonQtShell_QDoubleSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12024,21 +14806,21 @@ if (_wrapper) { } } } - QErrorMessage::actionEvent(event0); + QDoubleSpinBox::changeEvent(event0); } -void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) +void PythonQtShell_QDoubleSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12046,9 +14828,31 @@ if (_wrapper) { } } } - QErrorMessage::changeEvent(e0); + QDoubleSpinBox::childEvent(event0); } -void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) +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 @@ -12058,9 +14862,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12068,9 +14872,9 @@ if (_wrapper) { } } } - QErrorMessage::closeEvent(arg__1); + QDoubleSpinBox::closeEvent(event0); } -void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QDoubleSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12080,9 +14884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12090,64 +14894,64 @@ if (_wrapper) { } } } - QErrorMessage::contextMenuEvent(arg__1); + QDoubleSpinBox::contextMenuEvent(event0); } -int PythonQtShell_QErrorMessage::devType() const +void PythonQtShell_QDoubleSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QErrorMessage::devType(); + QDoubleSpinBox::customEvent(event0); } -void PythonQtShell_QErrorMessage::done(int arg__1) +int PythonQtShell_QDoubleSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + 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(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QErrorMessage::done(arg__1); + return QDoubleSpinBox::devType(); } -void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QDoubleSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12157,9 +14961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12167,9 +14971,9 @@ if (_wrapper) { } } } - QErrorMessage::dragEnterEvent(event0); + QDoubleSpinBox::dragEnterEvent(event0); } -void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12179,9 +14983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12189,9 +14993,9 @@ if (_wrapper) { } } } - QErrorMessage::dragLeaveEvent(event0); + QDoubleSpinBox::dragLeaveEvent(event0); } -void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QDoubleSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12201,9 +15005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12211,9 +15015,9 @@ if (_wrapper) { } } } - QErrorMessage::dragMoveEvent(event0); + QDoubleSpinBox::dragMoveEvent(event0); } -void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* event0) +void PythonQtShell_QDoubleSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12223,9 +15027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12233,9 +15037,9 @@ if (_wrapper) { } } } - QErrorMessage::dropEvent(event0); + QDoubleSpinBox::dropEvent(event0); } -void PythonQtShell_QErrorMessage::enterEvent(QEvent* event0) +void PythonQtShell_QDoubleSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12245,9 +15049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12255,9 +15059,9 @@ if (_wrapper) { } } } - QErrorMessage::enterEvent(event0); + QDoubleSpinBox::enterEvent(event0); } -bool PythonQtShell_QErrorMessage::event(QEvent* event0) +bool PythonQtShell_QDoubleSpinBox::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12268,19 +15072,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12288,9 +15092,9 @@ if (_wrapper) { } } } - return QErrorMessage::event(event0); + return QDoubleSpinBox::event(event0); } -bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QDoubleSpinBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12301,19 +15105,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12321,42 +15125,31 @@ if (_wrapper) { } } } - return QErrorMessage::eventFilter(arg__1, arg__2); + return QDoubleSpinBox::eventFilter(watched0, event1); } -int PythonQtShell_QErrorMessage::exec() +void PythonQtShell_QDoubleSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("fixup"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QErrorMessage::exec(); + QDoubleSpinBox::fixup(str0); } -void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QDoubleSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12366,9 +15159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12376,9 +15169,9 @@ if (_wrapper) { } } } - QErrorMessage::focusInEvent(event0); + QDoubleSpinBox::focusInEvent(event0); } -bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) +bool PythonQtShell_QDoubleSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12389,19 +15182,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12409,9 +15202,9 @@ if (_wrapper) { } } } - return QErrorMessage::focusNextPrevChild(next0); + return QDoubleSpinBox::focusNextPrevChild(next0); } -void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDoubleSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12421,9 +15214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12431,9 +15224,9 @@ if (_wrapper) { } } } - QErrorMessage::focusOutEvent(event0); + QDoubleSpinBox::focusOutEvent(event0); } -bool PythonQtShell_QErrorMessage::hasHeightForWidth() const +bool PythonQtShell_QDoubleSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12444,19 +15237,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12464,9 +15257,9 @@ if (_wrapper) { } } } - return QErrorMessage::hasHeightForWidth(); + return QDoubleSpinBox::hasHeightForWidth(); } -int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const +int PythonQtShell_QDoubleSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12477,19 +15270,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12497,9 +15290,9 @@ if (_wrapper) { } } } - return QErrorMessage::heightForWidth(arg__1); + return QDoubleSpinBox::heightForWidth(arg__1); } -void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* event0) +void PythonQtShell_QDoubleSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12509,9 +15302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12519,9 +15312,9 @@ if (_wrapper) { } } } - QErrorMessage::hideEvent(event0); + QDoubleSpinBox::hideEvent(event0); } -void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const +void PythonQtShell_QDoubleSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12531,9 +15324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12541,9 +15334,9 @@ if (_wrapper) { } } } - QErrorMessage::initPainter(painter0); + QDoubleSpinBox::initPainter(painter0); } -void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDoubleSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12553,9 +15346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12563,9 +15356,9 @@ if (_wrapper) { } } } - QErrorMessage::inputMethodEvent(arg__1); + QDoubleSpinBox::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12576,19 +15369,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12596,9 +15389,9 @@ if (_wrapper) { } } } - return QErrorMessage::inputMethodQuery(arg__1); + return QDoubleSpinBox::inputMethodQuery(arg__1); } -void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QDoubleSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12608,9 +15401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12618,9 +15411,9 @@ if (_wrapper) { } } } - QErrorMessage::keyPressEvent(arg__1); + QDoubleSpinBox::keyPressEvent(event0); } -void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QDoubleSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12630,9 +15423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12640,9 +15433,9 @@ if (_wrapper) { } } } - QErrorMessage::keyReleaseEvent(event0); + QDoubleSpinBox::keyReleaseEvent(event0); } -void PythonQtShell_QErrorMessage::leaveEvent(QEvent* event0) +void PythonQtShell_QDoubleSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12652,9 +15445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12662,9 +15455,9 @@ if (_wrapper) { } } } - QErrorMessage::leaveEvent(event0); + QDoubleSpinBox::leaveEvent(event0); } -int PythonQtShell_QErrorMessage::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12675,19 +15468,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12695,9 +15488,9 @@ if (_wrapper) { } } } - return QErrorMessage::metric(arg__1); + return QDoubleSpinBox::metric(arg__1); } -QSize PythonQtShell_QErrorMessage::minimumSizeHint() const +QSize PythonQtShell_QDoubleSpinBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12708,19 +15501,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12728,9 +15521,9 @@ if (_wrapper) { } } } - return QErrorMessage::minimumSizeHint(); + return QDoubleSpinBox::minimumSizeHint(); } -void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12740,9 +15533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12750,9 +15543,9 @@ if (_wrapper) { } } } - QErrorMessage::mouseDoubleClickEvent(event0); + QDoubleSpinBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QDoubleSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12762,9 +15555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12772,9 +15565,9 @@ if (_wrapper) { } } } - QErrorMessage::mouseMoveEvent(event0); + QDoubleSpinBox::mouseMoveEvent(event0); } -void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QDoubleSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12784,9 +15577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12794,9 +15587,9 @@ if (_wrapper) { } } } - QErrorMessage::mousePressEvent(event0); + QDoubleSpinBox::mousePressEvent(event0); } -void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QDoubleSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12806,9 +15599,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12816,9 +15609,9 @@ if (_wrapper) { } } } - QErrorMessage::mouseReleaseEvent(event0); + QDoubleSpinBox::mouseReleaseEvent(event0); } -void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* event0) +void PythonQtShell_QDoubleSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12828,9 +15621,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12838,9 +15631,9 @@ if (_wrapper) { } } } - QErrorMessage::moveEvent(event0); + QDoubleSpinBox::moveEvent(event0); } -bool PythonQtShell_QErrorMessage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QDoubleSpinBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12851,19 +15644,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12871,31 +15664,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QErrorMessage::open(); + return QDoubleSpinBox::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QErrorMessage::paintEngine() const +QPaintEngine* PythonQtShell_QDoubleSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12906,19 +15677,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12926,9 +15697,9 @@ if (_wrapper) { } } } - return QErrorMessage::paintEngine(); + return QDoubleSpinBox::paintEngine(); } -void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* event0) +void PythonQtShell_QDoubleSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12938,9 +15709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12948,9 +15719,9 @@ if (_wrapper) { } } } - QErrorMessage::paintEvent(event0); + QDoubleSpinBox::paintEvent(event0); } -QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QDoubleSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12961,19 +15732,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12981,31 +15752,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QErrorMessage::reject(); + return QDoubleSpinBox::redirected(offset0); } -void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QDoubleSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13015,9 +15764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13025,9 +15774,9 @@ if (_wrapper) { } } } - QErrorMessage::resizeEvent(arg__1); + QDoubleSpinBox::resizeEvent(event0); } -void PythonQtShell_QErrorMessage::setVisible(bool visible0) +void PythonQtShell_QDoubleSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13037,9 +15786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13047,9 +15796,9 @@ if (_wrapper) { } } } - QErrorMessage::setVisible(visible0); + QDoubleSpinBox::setVisible(visible0); } -QPainter* PythonQtShell_QErrorMessage::sharedPainter() const +QPainter* PythonQtShell_QDoubleSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13060,19 +15809,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13080,9 +15829,9 @@ if (_wrapper) { } } } - return QErrorMessage::sharedPainter(); + return QDoubleSpinBox::sharedPainter(); } -void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) +void PythonQtShell_QDoubleSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13092,64 +15841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13157,86 +15851,54 @@ if (_wrapper) { } } } - QErrorMessage::tabletEvent(event0); + QDoubleSpinBox::showEvent(event0); } -void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* event0) +QSize PythonQtShell_QDoubleSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QDoubleSpinBox::sizeHint(); } -void PythonQtShell_QFileDialog::accept() +void PythonQtShell_QDoubleSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13244,43 +15906,54 @@ if (_wrapper) { } } } - QFileDialog::accept(); + QDoubleSpinBox::stepBy(steps0); } -void PythonQtShell_QFileDialog::actionEvent(QActionEvent* event0) +QAbstractSpinBox::StepEnabled PythonQtShell_QDoubleSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("stepEnabled"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileDialog::actionEvent(event0); + return QDoubleSpinBox::stepEnabled(); } -void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) +void PythonQtShell_QDoubleSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13288,43 +15961,54 @@ if (_wrapper) { } } } - QFileDialog::changeEvent(e0); + QDoubleSpinBox::tabletEvent(event0); } -void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) +QString PythonQtShell_QDoubleSpinBox::textFromValue(double val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"QString" , "double"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&val0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileDialog::closeEvent(arg__1); + return QDoubleSpinBox::textFromValue(val0); } -void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QDoubleSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13332,32 +16016,32 @@ if (_wrapper) { } } } - QFileDialog::contextMenuEvent(arg__1); + QDoubleSpinBox::timerEvent(event0); } -int PythonQtShell_QFileDialog::devType() const +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("devType"); + static PyObject* name = PyString_FromString("validate"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13365,43 +16049,54 @@ if (_wrapper) { } } } - return QFileDialog::devType(); + return QDoubleSpinBox::validate(input0, pos1); } -void PythonQtShell_QFileDialog::done(int result0) +double PythonQtShell_QDoubleSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"double" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + double returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); + } else { + returnValue = *((double*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileDialog::done(result0); + return QDoubleSpinBox::valueFromText(text0); } -void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QDoubleSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13409,65 +16104,139 @@ if (_wrapper) { } } } - QFileDialog::dragEnterEvent(event0); + 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()); } -void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* event0) + +QString PythonQtWrapper_QDoubleSpinBox::suffix(QDoubleSpinBox* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->suffix()); } - QFileDialog::dragLeaveEvent(event0); + +QString PythonQtWrapper_QDoubleSpinBox::textFromValue(QDoubleSpinBox* theWrappedObject, double val) const +{ + return ( theWrappedObject->textFromValue(val)); } -void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* event0) + +double PythonQtWrapper_QDoubleSpinBox::value(QDoubleSpinBox* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->value()); } - QFileDialog::dragMoveEvent(event0); + +double PythonQtWrapper_QDoubleSpinBox::valueFromText(QDoubleSpinBox* theWrappedObject, const QString& text) const +{ + return ( theWrappedObject->valueFromText(text)); } -void PythonQtShell_QFileDialog::dropEvent(QDropEvent* event0) + + + +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("dropEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13475,21 +16244,21 @@ if (_wrapper) { } } } - QFileDialog::dropEvent(event0); + QDoubleValidator::childEvent(event0); } -void PythonQtShell_QFileDialog::enterEvent(QEvent* event0) +void PythonQtShell_QDoubleValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13497,9 +16266,9 @@ if (_wrapper) { } } } - QFileDialog::enterEvent(event0); + QDoubleValidator::customEvent(event0); } -bool PythonQtShell_QFileDialog::event(QEvent* event0) +bool PythonQtShell_QDoubleValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13510,19 +16279,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13530,9 +16299,9 @@ if (_wrapper) { } } } - return QFileDialog::event(event0); + return QDoubleValidator::event(event0); } -bool PythonQtShell_QFileDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QDoubleValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13543,52 +16312,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13596,21 +16332,21 @@ if (_wrapper) { } } } - return QFileDialog::exec(); + return QDoubleValidator::eventFilter(watched0, event1); } -void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QDoubleValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13618,54 +16354,43 @@ if (_wrapper) { } } } - QFileDialog::focusInEvent(event0); + QDoubleValidator::fixup(arg__1); } -bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("setRange"); 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] = {NULL, (void*)&next0}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDialog::focusNextPrevChild(next0); + QDoubleValidator::setRange(bottom0, top1, decimals2); } -void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QDoubleValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13673,32 +16398,32 @@ if (_wrapper) { } } } - QFileDialog::focusOutEvent(event0); + QDoubleValidator::timerEvent(event0); } -bool PythonQtShell_QFileDialog::hasHeightForWidth() const +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("validate"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13706,76 +16431,93 @@ if (_wrapper) { } } } - return QFileDialog::hasHeightForWidth(); + return QDoubleValidator::validate(arg__1, arg__2); } -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QFileDialog::heightForWidth(arg__1); +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; } -void PythonQtShell_QFileDialog::hideEvent(QHideEvent* event0) +double PythonQtWrapper_QDoubleValidator::bottom(QDoubleValidator* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->bottom()); } - QFileDialog::hideEvent(event0); + +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_QFileDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QDrag::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13783,21 +16525,21 @@ if (_wrapper) { } } } - QFileDialog::initPainter(painter0); + QDrag::childEvent(event0); } -void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QDrag::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13805,32 +16547,32 @@ if (_wrapper) { } } } - QFileDialog::inputMethodEvent(arg__1); + QDrag::customEvent(event0); } -QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QDrag::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13838,43 +16580,54 @@ if (_wrapper) { } } } - return QFileDialog::inputMethodQuery(arg__1); + return QDrag::event(event0); } -void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) +bool PythonQtShell_QDrag::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileDialog::keyPressEvent(arg__1); + return QDrag::eventFilter(watched0, event1); } -void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QDrag::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13882,285 +16635,276 @@ if (_wrapper) { } } } - QFileDialog::keyReleaseEvent(event0); + QDrag::timerEvent(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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QFileDialog::leaveEvent(event0); +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; } -int PythonQtShell_QFileDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtWrapper_QDrag::static_QDrag_cancel() { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + (QDrag::cancel()); } - return QFileDialog::metric(arg__1); + +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()); } -QSize PythonQtShell_QFileDialog::minimumSizeHint() const + +const QPointF* PythonQtWrapper_QDropEvent::posF(QDropEvent* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->posF()); } - return QFileDialog::minimumSizeHint(); + +Qt::DropActions PythonQtWrapper_QDropEvent::possibleActions(QDropEvent* theWrappedObject) const +{ + return ( theWrappedObject->possibleActions()); } -void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* event0) + +Qt::DropAction PythonQtWrapper_QDropEvent::proposedAction(QDropEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->proposedAction()); } - QFileDialog::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QDropEvent::setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action) +{ + ( theWrappedObject->setDropAction(action)); } -void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* event0) + +QObject* PythonQtWrapper_QDropEvent::source(QDropEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->source()); } - QFileDialog::mouseMoveEvent(event0); + + + +PythonQtShell_QEnterEvent::~PythonQtShell_QEnterEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* event0) +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 { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->globalPos()); } - QFileDialog::mousePressEvent(event0); + +int PythonQtWrapper_QEnterEvent::globalX(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); } -void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* event0) + +int PythonQtWrapper_QEnterEvent::globalY(QEnterEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->globalY()); } - QFileDialog::mouseReleaseEvent(event0); + +const QPointF* PythonQtWrapper_QEnterEvent::localPos(QEnterEvent* theWrappedObject) const +{ + return &( theWrappedObject->localPos()); } -void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* event0) + +QPoint PythonQtWrapper_QEnterEvent::pos(QEnterEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pos()); } - QFileDialog::moveEvent(event0); + +const QPointF* PythonQtWrapper_QEnterEvent::screenPos(QEnterEvent* theWrappedObject) const +{ + return &( theWrappedObject->screenPos()); } -bool PythonQtShell_QFileDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +const QPointF* PythonQtWrapper_QEnterEvent::windowPos(QEnterEvent* theWrappedObject) const { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 &( theWrappedObject->windowPos()); } - return QFileDialog::nativeEvent(eventType0, message1, result2); + +int PythonQtWrapper_QEnterEvent::x(QEnterEvent* theWrappedObject) const +{ + return ( theWrappedObject->x()); } -QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const + +int PythonQtWrapper_QEnterEvent::y(QEnterEvent* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->y()); } - return QFileDialog::paintEngine(); + + + +PythonQtShell_QErrorMessage::~PythonQtShell_QErrorMessage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QFileDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QErrorMessage::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("accept"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14168,54 +16912,43 @@ if (_wrapper) { } } } - QFileDialog::paintEvent(event0); + QErrorMessage::accept(); } -QPaintDevice* PythonQtShell_QFileDialog::redirected(QPoint* offset0) const +void PythonQtShell_QErrorMessage::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDialog::redirected(offset0); + QErrorMessage::actionEvent(event0); } -void PythonQtShell_QFileDialog::reject() +void PythonQtShell_QErrorMessage::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14223,21 +16956,21 @@ if (_wrapper) { } } } - QFileDialog::reject(); + QErrorMessage::changeEvent(e0); } -void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QErrorMessage::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14245,21 +16978,21 @@ if (_wrapper) { } } } - QFileDialog::resizeEvent(arg__1); + QErrorMessage::childEvent(event0); } -void PythonQtShell_QFileDialog::setVisible(bool visible0) +void PythonQtShell_QErrorMessage::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14267,54 +17000,43 @@ if (_wrapper) { } } } - QFileDialog::setVisible(visible0); + QErrorMessage::closeEvent(arg__1); } -QPainter* PythonQtShell_QFileDialog::sharedPainter() const +void PythonQtShell_QErrorMessage::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileDialog::sharedPainter(); + QErrorMessage::contextMenuEvent(arg__1); } -void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QErrorMessage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14322,32 +17044,32 @@ if (_wrapper) { } } } - QFileDialog::showEvent(arg__1); + QErrorMessage::customEvent(event0); } -QSize PythonQtShell_QFileDialog::sizeHint() const +int PythonQtShell_QErrorMessage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14355,21 +17077,21 @@ if (_wrapper) { } } } - return QFileDialog::sizeHint(); + return QErrorMessage::devType(); } -void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QErrorMessage::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14377,444 +17099,549 @@ if (_wrapper) { } } } - QFileDialog::tabletEvent(event0); + QErrorMessage::done(arg__1); } -void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QErrorMessage::dragEnterEvent(QDragEnterEvent* 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] = {NULL, (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()); + 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(); + } + } } - -void PythonQtWrapper_QFileDialog::selectFile(QFileDialog* theWrappedObject, const QString& filename) -{ - ( theWrappedObject->selectFile(filename)); + QErrorMessage::dragEnterEvent(event0); } - -void PythonQtWrapper_QFileDialog::selectMimeTypeFilter(QFileDialog* theWrappedObject, const QString& filter) +void PythonQtShell_QErrorMessage::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->selectMimeTypeFilter(filter)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::selectNameFilter(QFileDialog* theWrappedObject, const QString& filter) -{ - ( theWrappedObject->selectNameFilter(filter)); + QErrorMessage::dragLeaveEvent(event0); } - -void PythonQtWrapper_QFileDialog::selectUrl(QFileDialog* theWrappedObject, const QUrl& url) +void PythonQtShell_QErrorMessage::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->selectUrl(url)); +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(); + } + } } - -QStringList PythonQtWrapper_QFileDialog::selectedFiles(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->selectedFiles()); + QErrorMessage::dragMoveEvent(event0); } - -QString PythonQtWrapper_QFileDialog::selectedMimeTypeFilter(QFileDialog* theWrappedObject) const +void PythonQtShell_QErrorMessage::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->selectedMimeTypeFilter()); +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(); + } + } } - -QString PythonQtWrapper_QFileDialog::selectedNameFilter(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->selectedNameFilter()); + QErrorMessage::dropEvent(event0); } - -QList PythonQtWrapper_QFileDialog::selectedUrls(QFileDialog* theWrappedObject) const +void PythonQtShell_QErrorMessage::enterEvent(QEvent* event0) { - return ( theWrappedObject->selectedUrls()); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode) -{ - ( theWrappedObject->setAcceptMode(mode)); + QErrorMessage::enterEvent(event0); } - -void PythonQtWrapper_QFileDialog::setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled) +bool PythonQtShell_QErrorMessage::event(QEvent* event0) { - ( theWrappedObject->setConfirmOverwrite(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QFileDialog::setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setDefaultSuffix(suffix)); + return QErrorMessage::event(event0); } - -void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QDir& directory) +bool PythonQtShell_QErrorMessage::eventFilter(QObject* arg__1, QEvent* arg__2) { - ( theWrappedObject->setDirectory(directory)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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(); + } + } } - -void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QString& directory) -{ - ( theWrappedObject->setDirectory(directory)); + return QErrorMessage::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QFileDialog::setDirectoryUrl(QFileDialog* theWrappedObject, const QUrl& directory) +int PythonQtShell_QErrorMessage::exec() { - ( theWrappedObject->setDirectoryUrl(directory)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode) -{ - ( theWrappedObject->setFileMode(mode)); + return QErrorMessage::exec(); } - -void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, QDir::Filters filters) +void PythonQtShell_QErrorMessage::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->setFilter(filters)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QFileDialog::setHistory(QFileDialog* theWrappedObject, const QStringList& paths) -{ - ( theWrappedObject->setHistory(paths)); + QErrorMessage::focusInEvent(event0); } - -void PythonQtWrapper_QFileDialog::setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider) +bool PythonQtShell_QErrorMessage::focusNextPrevChild(bool next0) { - ( theWrappedObject->setIconProvider(provider)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate) -{ - ( theWrappedObject->setItemDelegate(delegate)); + return QErrorMessage::focusNextPrevChild(next0); } - -void PythonQtWrapper_QFileDialog::setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text) +void PythonQtShell_QErrorMessage::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->setLabelText(label, text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QFileDialog::setMimeTypeFilters(QFileDialog* theWrappedObject, const QStringList& filters) -{ - ( theWrappedObject->setMimeTypeFilters(filters)); + QErrorMessage::focusOutEvent(event0); } - -void PythonQtWrapper_QFileDialog::setNameFilter(QFileDialog* theWrappedObject, const QString& filter) +bool PythonQtShell_QErrorMessage::hasHeightForWidth() const { - ( theWrappedObject->setNameFilter(filter)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setNameFilterDetailsVisible(enabled)); + return QErrorMessage::hasHeightForWidth(); } - -void PythonQtWrapper_QFileDialog::setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters) +int PythonQtShell_QErrorMessage::heightForWidth(int arg__1) const { - ( theWrappedObject->setNameFilters(filters)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on) -{ - ( theWrappedObject->setOption(option, on)); + return QErrorMessage::heightForWidth(arg__1); } - -void PythonQtWrapper_QFileDialog::setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options) +void PythonQtShell_QErrorMessage::hideEvent(QHideEvent* event0) { - ( theWrappedObject->setOptions(options)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model) -{ - ( theWrappedObject->setProxyModel(model)); + QErrorMessage::hideEvent(event0); } - -void PythonQtWrapper_QFileDialog::setReadOnly(QFileDialog* theWrappedObject, bool enabled) +void PythonQtShell_QErrorMessage::initPainter(QPainter* painter0) const { - ( theWrappedObject->setReadOnly(enabled)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setResolveSymlinks(enabled)); + QErrorMessage::initPainter(painter0); } - -void PythonQtWrapper_QFileDialog::setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls) +void PythonQtShell_QErrorMessage::inputMethodEvent(QInputMethodEvent* arg__1) { - ( theWrappedObject->setSidebarUrls(urls)); +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(); + } + } } - -void PythonQtWrapper_QFileDialog::setSupportedSchemes(QFileDialog* theWrappedObject, const QStringList& schemes) -{ - ( theWrappedObject->setSupportedSchemes(schemes)); + QErrorMessage::inputMethodEvent(arg__1); } - -void PythonQtWrapper_QFileDialog::setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode) +QVariant PythonQtShell_QErrorMessage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - ( theWrappedObject->setViewMode(mode)); +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(); + } + } } - -QList PythonQtWrapper_QFileDialog::sidebarUrls(QFileDialog* theWrappedObject) const -{ - return ( theWrappedObject->sidebarUrls()); + return QErrorMessage::inputMethodQuery(arg__1); } - -QStringList PythonQtWrapper_QFileDialog::supportedSchemes(QFileDialog* theWrappedObject) const +void PythonQtShell_QErrorMessage::keyPressEvent(QKeyEvent* arg__1) { - return ( theWrappedObject->supportedSchemes()); +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(); + } + } } - -bool PythonQtWrapper_QFileDialog::testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const -{ - return ( theWrappedObject->testOption(option)); + QErrorMessage::keyPressEvent(arg__1); } - -QFileDialog::ViewMode PythonQtWrapper_QFileDialog::viewMode(QFileDialog* theWrappedObject) const +void PythonQtShell_QErrorMessage::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->viewMode()); -} - - - -PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const + 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("icon"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIcon" , "QFileIconProvider::IconType"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue{}; - void* args[2] = {NULL, (void*)&type0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileIconProvider::icon(type0); + QErrorMessage::leaveEvent(event0); } -QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const +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("icon"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIcon returnValue{}; - void* args[2] = {NULL, (void*)&info0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QIcon*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14822,32 +17649,32 @@ if (_wrapper) { } } } - return QFileIconProvider::icon(info0); + return QErrorMessage::metric(arg__1); } -QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const +QSize PythonQtShell_QErrorMessage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&info0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14855,125 +17682,142 @@ if (_wrapper) { } } } - 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)); + return QErrorMessage::minimumSizeHint(); } - -QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const +void PythonQtShell_QErrorMessage::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->icon(info)); +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(); + } + } } - -QFileIconProvider::Options PythonQtWrapper_QFileIconProvider::options(QFileIconProvider* theWrappedObject) const -{ - return ( theWrappedObject->options()); + QErrorMessage::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QFileIconProvider::setOptions(QFileIconProvider* theWrappedObject, QFileIconProvider::Options options) +void PythonQtShell_QErrorMessage::mouseMoveEvent(QMouseEvent* event0) { - ( theWrappedObject->setOptions(options)); +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(); + } + } } - -QString PythonQtWrapper_QFileIconProvider::type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const -{ - return ( theWrappedObject->type(info)); + QErrorMessage::mouseMoveEvent(event0); } - - - -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 +void PythonQtShell_QErrorMessage::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->file()); +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(); + } + } } - -bool PythonQtWrapper_QFileOpenEvent::openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const -{ - return ( theWrappedObject->openFile(file, flags)); + QErrorMessage::mousePressEvent(event0); } - -QUrl PythonQtWrapper_QFileOpenEvent::url(QFileOpenEvent* theWrappedObject) const +void PythonQtShell_QErrorMessage::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->url()); +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(); + } + } } - - - -PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QErrorMessage::mouseReleaseEvent(event0); } -QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const +void PythonQtShell_QErrorMessage::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("buddy"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::buddy(index0); + QErrorMessage::moveEvent(event0); } -bool PythonQtShell_QFileSystemModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +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("canDropMimeData"); + static PyObject* name = PyString_FromString("nativeEvent"); 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); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14981,32 +17825,54 @@ if (_wrapper) { } } } - return QFileSystemModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QErrorMessage::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const +void PythonQtShell_QErrorMessage::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); + static PyObject* name = PyString_FromString("open"); 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] = {NULL, (void*)&parent0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15014,65 +17880,54 @@ if (_wrapper) { } } } - return QFileSystemModel::canFetchMore(parent0); + return QErrorMessage::paintEngine(); } -int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const +void PythonQtShell_QErrorMessage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("columnCount"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::columnCount(parent0); + QErrorMessage::paintEvent(event0); } -QVariant PythonQtShell_QFileSystemModel::data(const QModelIndex& index0, int role1) const +QPaintDevice* PythonQtShell_QErrorMessage::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL, (void*)&index0, (void*)&role1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15080,87 +17935,65 @@ if (_wrapper) { } } } - return QFileSystemModel::data(index0, role1); + return QErrorMessage::redirected(offset0); } -bool PythonQtShell_QFileSystemModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +void PythonQtShell_QErrorMessage::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("reject"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::dropMimeData(data0, action1, row2, column3, parent4); + QErrorMessage::reject(); } -bool PythonQtShell_QFileSystemModel::event(QEvent* event0) +void PythonQtShell_QErrorMessage::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::event(event0); + QErrorMessage::resizeEvent(arg__1); } -void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) +void PythonQtShell_QErrorMessage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15168,32 +18001,32 @@ if (_wrapper) { } } } - QFileSystemModel::fetchMore(parent0); + QErrorMessage::setVisible(visible0); } -Qt::ItemFlags PythonQtShell_QFileSystemModel::flags(const QModelIndex& index0) const +QPainter* PythonQtShell_QErrorMessage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((Qt::ItemFlags*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15201,65 +18034,54 @@ if (_wrapper) { } } } - return QFileSystemModel::flags(index0); + return QErrorMessage::sharedPainter(); } -bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const +void PythonQtShell_QErrorMessage::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::hasChildren(parent0); + QErrorMessage::showEvent(arg__1); } -QVariant PythonQtShell_QFileSystemModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +QSize PythonQtShell_QErrorMessage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("headerData"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15267,362 +18089,295 @@ if (_wrapper) { } } } - return QFileSystemModel::headerData(section0, orientation1, role2); + return QErrorMessage::sizeHint(); } -QModelIndex PythonQtShell_QFileSystemModel::index(int row0, int column1, const QModelIndex& parent2) const +void PythonQtShell_QErrorMessage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("tabletEvent"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::index(row0, column1, parent2); + QErrorMessage::tabletEvent(event0); } -bool PythonQtShell_QFileSystemModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +void PythonQtShell_QErrorMessage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::insertColumns(column0, count1, parent2); + QErrorMessage::timerEvent(event0); } -bool PythonQtShell_QFileSystemModel::insertRows(int row0, int count1, const QModelIndex& parent2) +void PythonQtShell_QErrorMessage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::insertRows(row0, count1, parent2); + QErrorMessage::wheelEvent(event0); } -QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const +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("itemData"); + static PyObject* name = PyString_FromString("accept"); 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] = {NULL, (void*)&index0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::itemData(index0); + QFileDialog::accept(); } -QList PythonQtShell_QFileSystemModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +void PythonQtShell_QFileDialog::actionEvent(QActionEvent* event0) { 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] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::match(start0, role1, value2, hits3, flags4); + QFileDialog::actionEvent(event0); } -QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const +void PythonQtShell_QFileDialog::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::mimeData(indexes0); + QFileDialog::changeEvent(e0); } -QStringList PythonQtShell_QFileSystemModel::mimeTypes() const +void PythonQtShell_QFileDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::mimeTypes(); + QFileDialog::childEvent(event0); } -bool PythonQtShell_QFileSystemModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QFileDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + QFileDialog::closeEvent(arg__1); } -bool PythonQtShell_QFileSystemModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QFileDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + QFileDialog::contextMenuEvent(arg__1); } -QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const +void PythonQtShell_QFileDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("parent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::parent(child0); + QFileDialog::customEvent(event0); } -bool PythonQtShell_QFileSystemModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +int PythonQtShell_QFileDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15630,54 +18385,43 @@ if (_wrapper) { } } } - return QFileSystemModel::removeColumns(column0, count1, parent2); + return QFileDialog::devType(); } -bool PythonQtShell_QFileSystemModel::removeRows(int row0, int count1, const QModelIndex& parent2) +void PythonQtShell_QFileDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); + static PyObject* name = PyString_FromString("done"); 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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::removeRows(row0, count1, parent2); + QFileDialog::done(result0); } -void PythonQtShell_QFileSystemModel::revert() +void PythonQtShell_QFileDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15685,164 +18429,120 @@ if (_wrapper) { } } } - QFileSystemModel::revert(); + QFileDialog::dragEnterEvent(event0); } -QHash PythonQtShell_QFileSystemModel::roleNames() const +void PythonQtShell_QFileDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); - } else { - returnValue = *((QHash*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::roleNames(); + QFileDialog::dragLeaveEvent(event0); } -int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QFileDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::rowCount(parent0); + QFileDialog::dragMoveEvent(event0); } -bool PythonQtShell_QFileSystemModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QFileDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("dropEvent"); 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] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::setData(index0, value1, role2); + QFileDialog::dropEvent(event0); } -bool PythonQtShell_QFileSystemModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +void PythonQtShell_QFileDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::setHeaderData(section0, orientation1, value2, role3); + QFileDialog::enterEvent(event0); } -bool PythonQtShell_QFileSystemModel::setItemData(const QModelIndex& index0, const QMap& roles1) +bool PythonQtShell_QFileDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setItemData"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15850,32 +18550,32 @@ if (_wrapper) { } } } - return QFileSystemModel::setItemData(index0, roles1); + return QFileDialog::event(event0); } -QModelIndex PythonQtShell_QFileSystemModel::sibling(int row0, int column1, const QModelIndex& idx2) const +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("sibling"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15883,87 +18583,87 @@ if (_wrapper) { } } } - return QFileSystemModel::sibling(row0, column1, idx2); + return QFileDialog::eventFilter(arg__1, arg__2); } -void PythonQtShell_QFileSystemModel::sort(int column0, Qt::SortOrder order1) +int PythonQtShell_QFileDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sort"); + static PyObject* name = PyString_FromString("exec"); 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] = {NULL, (void*)&column0, (void*)&order1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFileSystemModel::sort(column0, order1); + return QFileDialog::exec(); } -QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const +void PythonQtShell_QFileDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::span(index0); + QFileDialog::focusInEvent(event0); } -bool PythonQtShell_QFileSystemModel::submit() +bool PythonQtShell_QFileDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15971,65 +18671,54 @@ if (_wrapper) { } } } - return QFileSystemModel::submit(); + return QFileDialog::focusNextPrevChild(next0); } -Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const +void PythonQtShell_QFileDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFileSystemModel::supportedDragActions(); + QFileDialog::focusOutEvent(event0); } -Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const +bool PythonQtShell_QFileDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16037,242 +18726,153 @@ if (_wrapper) { } } } - return QFileSystemModel::supportedDropActions(); + return QFileDialog::hasHeightForWidth(); } -void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) +int PythonQtShell_QFileDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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; -} -bool PythonQtWrapper_QFileSystemModel::event(QFileSystemModel* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_event(event)); -} - -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()); -} - -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::setReadOnly(QFileSystemModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setReadOnly(enable)); + } + } } - -void PythonQtWrapper_QFileSystemModel::setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable) -{ - ( theWrappedObject->setResolveSymlinks(enable)); + return QFileDialog::heightForWidth(arg__1); } - -QModelIndex PythonQtWrapper_QFileSystemModel::setRootPath(QFileSystemModel* theWrappedObject, const QString& path) +void PythonQtShell_QFileDialog::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->setRootPath(path)); +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(); + } + } } - -qint64 PythonQtWrapper_QFileSystemModel::size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->size(index)); + QFileDialog::hideEvent(event0); } - -void PythonQtWrapper_QFileSystemModel::timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event) +void PythonQtShell_QFileDialog::initPainter(QPainter* painter0) const { - ( ((PythonQtPublicPromoter_QFileSystemModel*)theWrappedObject)->promoted_timerEvent(event)); +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(); + } + } } - -QString PythonQtWrapper_QFileSystemModel::type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->type(index)); + QFileDialog::initPainter(painter0); } - - - -QFocusEvent* PythonQtWrapper_QFocusEvent::new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason) -{ -return new QFocusEvent(type, reason); } - -bool PythonQtWrapper_QFocusEvent::gotFocus(QFocusEvent* theWrappedObject) const +void PythonQtShell_QFileDialog::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->gotFocus()); +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(); + } + } } - -bool PythonQtWrapper_QFocusEvent::lostFocus(QFocusEvent* theWrappedObject) const -{ - return ( theWrappedObject->lostFocus()); + QFileDialog::inputMethodEvent(arg__1); } - -Qt::FocusReason PythonQtWrapper_QFocusEvent::reason(QFocusEvent* theWrappedObject) const +QVariant PythonQtShell_QFileDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->reason()); +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(); + } + } } - - - -PythonQtShell_QFocusFrame::~PythonQtShell_QFocusFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QFileDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* event0) +void PythonQtShell_QFileDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16280,21 +18880,21 @@ if (_wrapper) { } } } - QFocusFrame::actionEvent(event0); + QFileDialog::keyPressEvent(arg__1); } -void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) +void PythonQtShell_QFileDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16302,21 +18902,21 @@ if (_wrapper) { } } } - QFocusFrame::changeEvent(arg__1); + QFileDialog::keyReleaseEvent(event0); } -void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) +void PythonQtShell_QFileDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16324,54 +18924,65 @@ if (_wrapper) { } } } - QFocusFrame::closeEvent(event0); + QFileDialog::leaveEvent(event0); } -void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFocusFrame::contextMenuEvent(event0); + return QFileDialog::metric(arg__1); } -int PythonQtShell_QFocusFrame::devType() const +QSize PythonQtShell_QFileDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16379,21 +18990,21 @@ if (_wrapper) { } } } - return QFocusFrame::devType(); + return QFileDialog::minimumSizeHint(); } -void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QFileDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16401,21 +19012,21 @@ if (_wrapper) { } } } - QFocusFrame::dragEnterEvent(event0); + QFileDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QFileDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16423,21 +19034,21 @@ if (_wrapper) { } } } - QFocusFrame::dragLeaveEvent(event0); + QFileDialog::mouseMoveEvent(event0); } -void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QFileDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16445,21 +19056,21 @@ if (_wrapper) { } } } - QFocusFrame::dragMoveEvent(event0); + QFileDialog::mousePressEvent(event0); } -void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* event0) +void PythonQtShell_QFileDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16467,21 +19078,21 @@ if (_wrapper) { } } } - QFocusFrame::dropEvent(event0); + QFileDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QFocusFrame::enterEvent(QEvent* event0) +void PythonQtShell_QFileDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16489,32 +19100,32 @@ if (_wrapper) { } } } - QFocusFrame::enterEvent(event0); + QFileDialog::moveEvent(event0); } -bool PythonQtShell_QFocusFrame::event(QEvent* e0) +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("event"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16522,32 +19133,87 @@ if (_wrapper) { } } } - return QFocusFrame::event(e0); + return QFileDialog::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) +QPaintEngine* PythonQtShell_QFileDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("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 = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16555,21 +19221,21 @@ if (_wrapper) { } } } - return QFocusFrame::eventFilter(arg__1, arg__2); + return QFileDialog::redirected(offset0); } -void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QFileDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16577,54 +19243,43 @@ if (_wrapper) { } } } - QFocusFrame::focusInEvent(event0); + QFileDialog::reject(); } -bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) +void PythonQtShell_QFileDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFocusFrame::focusNextPrevChild(next0); + QFileDialog::resizeEvent(arg__1); } -void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QFileDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16632,32 +19287,32 @@ if (_wrapper) { } } } - QFocusFrame::focusOutEvent(event0); + QFileDialog::setVisible(visible0); } -bool PythonQtShell_QFocusFrame::hasHeightForWidth() const +QPainter* PythonQtShell_QFileDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16665,32 +19320,54 @@ if (_wrapper) { } } } - return QFocusFrame::hasHeightForWidth(); + return QFileDialog::sharedPainter(); } -int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const +void PythonQtShell_QFileDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16698,21 +19375,21 @@ if (_wrapper) { } } } - return QFocusFrame::heightForWidth(arg__1); + return QFileDialog::sizeHint(); } -void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* event0) +void PythonQtShell_QFileDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16720,21 +19397,21 @@ if (_wrapper) { } } } - QFocusFrame::hideEvent(event0); + QFileDialog::tabletEvent(event0); } -void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const +void PythonQtShell_QFileDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16742,21 +19419,21 @@ if (_wrapper) { } } } - QFocusFrame::initPainter(painter0); + QFileDialog::timerEvent(event0); } -void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QFileDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16764,527 +19441,389 @@ if (_wrapper) { } } } - QFocusFrame::inputMethodEvent(arg__1); + 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)); } -QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +QByteArray PythonQtWrapper_QFileDialog::saveState(QFileDialog* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->saveState()); } - return QFocusFrame::inputMethodQuery(arg__1); + +void PythonQtWrapper_QFileDialog::selectFile(QFileDialog* theWrappedObject, const QString& filename) +{ + ( theWrappedObject->selectFile(filename)); } -void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* event0) + +void PythonQtWrapper_QFileDialog::selectMimeTypeFilter(QFileDialog* theWrappedObject, const QString& filter) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->selectMimeTypeFilter(filter)); } - QFocusFrame::keyPressEvent(event0); + +void PythonQtWrapper_QFileDialog::selectNameFilter(QFileDialog* theWrappedObject, const QString& filter) +{ + ( theWrappedObject->selectNameFilter(filter)); } -void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QFileDialog::selectUrl(QFileDialog* theWrappedObject, const QUrl& url) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->selectUrl(url)); } - QFocusFrame::keyReleaseEvent(event0); + +QStringList PythonQtWrapper_QFileDialog::selectedFiles(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedFiles()); } -void PythonQtShell_QFocusFrame::leaveEvent(QEvent* event0) + +QString PythonQtWrapper_QFileDialog::selectedMimeTypeFilter(QFileDialog* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->selectedMimeTypeFilter()); } - QFocusFrame::leaveEvent(event0); + +QString PythonQtWrapper_QFileDialog::selectedNameFilter(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->selectedNameFilter()); } -int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QList PythonQtWrapper_QFileDialog::selectedUrls(QFileDialog* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->selectedUrls()); } - return QFocusFrame::metric(arg__1); + +void PythonQtWrapper_QFileDialog::setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode) +{ + ( theWrappedObject->setAcceptMode(mode)); } -QSize PythonQtShell_QFocusFrame::minimumSizeHint() const + +void PythonQtWrapper_QFileDialog::setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setConfirmOverwrite(enabled)); } - return QFocusFrame::minimumSizeHint(); + +void PythonQtWrapper_QFileDialog::setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix) +{ + ( theWrappedObject->setDefaultSuffix(suffix)); } -void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QDir& directory) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDirectory(directory)); } - QFocusFrame::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QFileDialog::setDirectory(QFileDialog* theWrappedObject, const QString& directory) +{ + ( theWrappedObject->setDirectory(directory)); } -void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* event0) + +void PythonQtWrapper_QFileDialog::setDirectoryUrl(QFileDialog* theWrappedObject, const QUrl& directory) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDirectoryUrl(directory)); } - QFocusFrame::mouseMoveEvent(event0); + +void PythonQtWrapper_QFileDialog::setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode) +{ + ( theWrappedObject->setFileMode(mode)); } -void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* event0) + +void PythonQtWrapper_QFileDialog::setFilter(QFileDialog* theWrappedObject, QDir::Filters filters) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFilter(filters)); } - QFocusFrame::mousePressEvent(event0); + +void PythonQtWrapper_QFileDialog::setHistory(QFileDialog* theWrappedObject, const QStringList& paths) +{ + ( theWrappedObject->setHistory(paths)); } -void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* event0) + +void PythonQtWrapper_QFileDialog::setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setIconProvider(provider)); +} + +void PythonQtWrapper_QFileDialog::setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate) +{ + ( theWrappedObject->setItemDelegate(delegate)); } - QFocusFrame::mouseReleaseEvent(event0); + +void PythonQtWrapper_QFileDialog::setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text) +{ + ( theWrappedObject->setLabelText(label, text)); } -void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QFileDialog::setMimeTypeFilters(QFileDialog* theWrappedObject, const QStringList& filters) { -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] = {NULL, (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); + ( theWrappedObject->setMimeTypeFilters(filters)); } -bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +void PythonQtWrapper_QFileDialog::setNameFilter(QFileDialog* theWrappedObject, const QString& filter) { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setNameFilter(filter)); } - return QFocusFrame::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QFileDialog::setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setNameFilterDetailsVisible(enabled)); } -QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const + +void PythonQtWrapper_QFileDialog::setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setNameFilters(filters)); } - return QFocusFrame::paintEngine(); + +void PythonQtWrapper_QFileDialog::setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on) +{ + ( theWrappedObject->setOption(option, on)); } -void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) + +void PythonQtWrapper_QFileDialog::setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setOptions(options)); } - QFocusFrame::paintEvent(arg__1); + +void PythonQtWrapper_QFileDialog::setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model) +{ + ( theWrappedObject->setProxyModel(model)); } -QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const + +void PythonQtWrapper_QFileDialog::setReadOnly(QFileDialog* theWrappedObject, bool enabled) { -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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setReadOnly(enabled)); } - return QFocusFrame::redirected(offset0); + +void PythonQtWrapper_QFileDialog::setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setResolveSymlinks(enabled)); } -void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* event0) + +void PythonQtWrapper_QFileDialog::setSidebarUrls(QFileDialog* theWrappedObject, const QList& urls) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSidebarUrls(urls)); } - QFocusFrame::resizeEvent(event0); + +void PythonQtWrapper_QFileDialog::setSupportedSchemes(QFileDialog* theWrappedObject, const QStringList& schemes) +{ + ( theWrappedObject->setSupportedSchemes(schemes)); } -void PythonQtShell_QFocusFrame::setVisible(bool visible0) + +void PythonQtWrapper_QFileDialog::setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode) { -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] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setViewMode(mode)); } - QFocusFrame::setVisible(visible0); + +QList PythonQtWrapper_QFileDialog::sidebarUrls(QFileDialog* theWrappedObject) const +{ + return ( theWrappedObject->sidebarUrls()); } -QPainter* PythonQtShell_QFocusFrame::sharedPainter() const + +QStringList PythonQtWrapper_QFileDialog::supportedSchemes(QFileDialog* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->supportedSchemes()); } - return QFocusFrame::sharedPainter(); + +bool PythonQtWrapper_QFileDialog::testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const +{ + return ( theWrappedObject->testOption(option)); } -void PythonQtShell_QFocusFrame::showEvent(QShowEvent* event0) + +QFileDialog::ViewMode PythonQtWrapper_QFileDialog::viewMode(QFileDialog* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->viewMode()); } - QFocusFrame::showEvent(event0); + + + +PythonQtShell_QFileIconProvider::~PythonQtShell_QFileIconProvider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QSize PythonQtShell_QFocusFrame::sizeHint() const +QIcon PythonQtShell_QFileIconProvider::icon(QFileIconProvider::IconType type0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("icon"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QIcon*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17292,174 +19831,246 @@ if (_wrapper) { } } } - return QFocusFrame::sizeHint(); + return QFileIconProvider::icon(type0); } -void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* event0) +QIcon PythonQtShell_QFileIconProvider::icon(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("icon"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"QIcon" , "const QFileInfo&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QIcon returnValue{}; + void* args[2] = {nullptr, (void*)&info0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("icon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFocusFrame::tabletEvent(event0); + return QFileIconProvider::icon(info0); } -void PythonQtShell_QFocusFrame::wheelEvent(QWheelEvent* event0) +QString PythonQtShell_QFileIconProvider::type(const QFileInfo& info0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("type"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"QString" , "const QFileInfo&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&info0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFocusFrame::wheelEvent(event0); + return QFileIconProvider::type(info0); } -QFocusFrame* PythonQtWrapper_QFocusFrame::new_QFocusFrame(QWidget* parent) +QFileIconProvider* PythonQtWrapper_QFileIconProvider::new_QFileIconProvider() { -return new PythonQtShell_QFocusFrame(parent); } +return new PythonQtShell_QFileIconProvider(); } -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; - } +QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const +{ + return ( theWrappedObject->icon(type)); } -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; + +QIcon PythonQtWrapper_QFileIconProvider::icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const +{ + return ( theWrappedObject->icon(info)); } -bool PythonQtWrapper_QFocusFrame::eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2) + +QFileIconProvider::Options PythonQtWrapper_QFileIconProvider::options(QFileIconProvider* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); + return ( theWrappedObject->options()); } -void PythonQtWrapper_QFocusFrame::initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const +void PythonQtWrapper_QFileIconProvider::setOptions(QFileIconProvider* theWrappedObject, QFileIconProvider::Options options) { - ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_initStyleOption(option)); + ( theWrappedObject->setOptions(options)); } -void PythonQtWrapper_QFocusFrame::setWidget(QFocusFrame* theWrappedObject, QWidget* widget) +QString PythonQtWrapper_QFileIconProvider::type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const { - ( theWrappedObject->setWidget(widget)); + return ( theWrappedObject->type(info)); } -QWidget* PythonQtWrapper_QFocusFrame::widget(QFocusFrame* theWrappedObject) const + + +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->widget()); + 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_QFontComboBox::~PythonQtShell_QFontComboBox() { +PythonQtShell_QFileSystemModel::~PythonQtShell_QFileSystemModel() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* event0) +QModelIndex PythonQtShell_QFileSystemModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::actionEvent(event0); + return QFileSystemModel::buddy(index0); } -void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) +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("changeEvent"); + static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::changeEvent(e0); + return QFileSystemModel::canDropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QFileSystemModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::closeEvent(event0); + return QFileSystemModel::canFetchMore(parent0); } -void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QFileSystemModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17467,32 +20078,32 @@ if (_wrapper) { } } } - QFontComboBox::contextMenuEvent(e0); + QFileSystemModel::childEvent(event0); } -int PythonQtShell_QFontComboBox::devType() const +int PythonQtShell_QFileSystemModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17500,43 +20111,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QFileSystemModel::columnCount(parent0); } -void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QFileSystemModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17544,98 +20133,131 @@ if (_wrapper) { } } } - QFontComboBox::dragLeaveEvent(event0); + QFileSystemModel::customEvent(event0); } -void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::dragMoveEvent(event0); + return QFileSystemModel::data(index0, role1); } -void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::dropEvent(event0); + return QFileSystemModel::dropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QFontComboBox::enterEvent(QEvent* event0) +bool PythonQtShell_QFileSystemModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::enterEvent(event0); + return QFileSystemModel::event(event0); } -bool PythonQtShell_QFontComboBox::event(QEvent* e0) +bool PythonQtShell_QFileSystemModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17643,21 +20265,21 @@ if (_wrapper) { } } } - return QFontComboBox::event(e0); + return QFileSystemModel::eventFilter(watched0, event1); } -void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QFileSystemModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17665,32 +20287,32 @@ if (_wrapper) { } } } - QFontComboBox::focusInEvent(e0); + QFileSystemModel::fetchMore(parent0); } -bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17698,54 +20320,32 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QFileSystemModel::flags(index0); } -bool PythonQtShell_QFontComboBox::hasHeightForWidth() const +bool PythonQtShell_QFileSystemModel::hasChildren(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17753,32 +20353,32 @@ if (_wrapper) { } } } - return QFontComboBox::hasHeightForWidth(); + return QFileSystemModel::hasChildren(parent0); } -int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("headerData"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17786,120 +20386,164 @@ if (_wrapper) { } } } - return QFontComboBox::heightForWidth(arg__1); + return QFileSystemModel::headerData(section0, orientation1, role2); } -void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) +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("hideEvent"); + static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::hideEvent(e0); + return QFileSystemModel::index(row0, column1, parent2); } -void PythonQtShell_QFontComboBox::hidePopup() +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("hidePopup"); + static PyObject* name = PyString_FromString("insertColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::hidePopup(); + return QFileSystemModel::insertColumns(column0, count1, parent2); } -void PythonQtShell_QFontComboBox::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("insertRows"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::initPainter(painter0); + return QFileSystemModel::insertRows(row0, count1, parent2); } -void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) +QMap PythonQtShell_QFileSystemModel::itemData(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::inputMethodEvent(arg__1); + return QFileSystemModel::itemData(index0); } -QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("match"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17907,98 +20551,131 @@ if (_wrapper) { } } } - return QFontComboBox::inputMethodQuery(arg__1); + return QFileSystemModel::match(start0, role1, value2, hits3, flags4); } -void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) +QMimeData* PythonQtShell_QFileSystemModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::keyPressEvent(e0); + return QFileSystemModel::mimeData(indexes0); } -void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) +QStringList PythonQtShell_QFileSystemModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::keyReleaseEvent(e0); + return QFileSystemModel::mimeTypes(); } -void PythonQtShell_QFontComboBox::leaveEvent(QEvent* event0) +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("leaveEvent"); + static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::leaveEvent(event0); + return QFileSystemModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("moveRows"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18006,32 +20683,32 @@ if (_wrapper) { } } } - return QFontComboBox::metric(arg__1); + return QFileSystemModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -QSize PythonQtShell_QFontComboBox::minimumSizeHint() const +QModelIndex PythonQtShell_QFileSystemModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("parent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18039,65 +20716,87 @@ if (_wrapper) { } } } - return QFontComboBox::minimumSizeHint(); + return QFileSystemModel::parent(child0); } -void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* event0) +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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("removeColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::mouseDoubleClickEvent(event0); + return QFileSystemModel::removeColumns(column0, count1, parent2); } -void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* event0) +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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::mouseMoveEvent(event0); + return QFileSystemModel::removeRows(row0, count1, parent2); } -void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QFileSystemModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("revert"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18105,76 +20804,98 @@ if (_wrapper) { } } } - QFontComboBox::mousePressEvent(e0); + QFileSystemModel::revert(); } -void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) +QHash PythonQtShell_QFileSystemModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::mouseReleaseEvent(e0); + return QFileSystemModel::roleNames(); } -void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* event0) +int PythonQtShell_QFileSystemModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::moveEvent(event0); + return QFileSystemModel::rowCount(parent0); } -bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18182,32 +20903,32 @@ if (_wrapper) { } } } - return QFontComboBox::nativeEvent(eventType0, message1, result2); + return QFileSystemModel::setData(index0, value1, role2); } -QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const +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("paintEngine"); + static PyObject* name = PyString_FromString("setHeaderData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18215,54 +20936,65 @@ if (_wrapper) { } } } - return QFontComboBox::paintEngine(); + return QFileSystemModel::setHeaderData(section0, orientation1, value2, role3); } -void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) +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("paintEvent"); + static PyObject* name = PyString_FromString("setItemData"); 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] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::paintEvent(e0); + return QFileSystemModel::setItemData(index0, roles1); } -QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("sibling"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18270,21 +21002,21 @@ if (_wrapper) { } } } - return QFontComboBox::redirected(offset0); + return QFileSystemModel::sibling(row0, column1, idx2); } -void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) +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("resizeEvent"); + static PyObject* name = PyString_FromString("sort"); 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] = {NULL, (void*)&e0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18292,54 +21024,65 @@ if (_wrapper) { } } } - QFontComboBox::resizeEvent(e0); + QFileSystemModel::sort(column0, order1); } -void PythonQtShell_QFontComboBox::setVisible(bool visible0) +QSize PythonQtShell_QFileSystemModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::setVisible(visible0); + return QFileSystemModel::span(index0); } -QPainter* PythonQtShell_QFontComboBox::sharedPainter() const +bool PythonQtShell_QFileSystemModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("submit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18347,76 +21090,65 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QFileSystemModel::submit(); } -void PythonQtShell_QFontComboBox::showPopup() +Qt::DropActions PythonQtShell_QFileSystemModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showPopup"); + static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontComboBox::showPopup(); + return QFileSystemModel::supportedDragActions(); } -QSize PythonQtShell_QFontComboBox::sizeHint() const +Qt::DropActions PythonQtShell_QFileSystemModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("supportedDropActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18424,43 +21156,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QFileSystemModel::supportedDropActions(); } -void PythonQtShell_QFontComboBox::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QFileSystemModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18468,194 +21178,188 @@ if (_wrapper) { } } } - QFontComboBox::wheelEvent(e0); + QFileSystemModel::timerEvent(event0); } -QFontComboBox* PythonQtWrapper_QFontComboBox::new_QFontComboBox(QWidget* parent) +QFileSystemModel* PythonQtWrapper_QFileSystemModel::new_QFileSystemModel(QObject* parent) { -return new PythonQtShell_QFontComboBox(parent); } +return new PythonQtShell_QFileSystemModel(parent); } -const QMetaObject* PythonQtShell_QFontComboBox::metaObject() const { +const QMetaObject* PythonQtShell_QFileSystemModel::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFontComboBox::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFileSystemModel::staticMetaObject); } else { - return &QFontComboBox::staticMetaObject; + return &QFileSystemModel::staticMetaObject; } } -int PythonQtShell_QFontComboBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFontComboBox::qt_metacall(call, id, args); +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; } -QFont PythonQtWrapper_QFontComboBox::currentFont(QFontComboBox* theWrappedObject) const +QIcon PythonQtWrapper_QFileSystemModel::fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->currentFont()); + return ( theWrappedObject->fileIcon(index)); } -QFontComboBox::FontFilters PythonQtWrapper_QFontComboBox::fontFilters(QFontComboBox* theWrappedObject) const +QFileInfo PythonQtWrapper_QFileSystemModel::fileInfo(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->fontFilters()); + return ( theWrappedObject->fileInfo(index)); } -void PythonQtWrapper_QFontComboBox::setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters) +QString PythonQtWrapper_QFileSystemModel::fileName(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - ( theWrappedObject->setFontFilters(filters)); + return ( theWrappedObject->fileName(index)); } -void PythonQtWrapper_QFontComboBox::setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1) +QString PythonQtWrapper_QFileSystemModel::filePath(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - ( theWrappedObject->setWritingSystem(arg__1)); + return ( theWrappedObject->filePath(index)); } -QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFontComboBox* theWrappedObject) const +QDir::Filters PythonQtWrapper_QFileSystemModel::filter(QFileSystemModel* theWrappedObject) const { - return ( theWrappedObject->writingSystem()); + return ( theWrappedObject->filter()); } - - -QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() -{ -return new QFontDatabase(); } - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) +QFileIconProvider* PythonQtWrapper_QFileSystemModel::iconProvider(QFileSystemModel* theWrappedObject) const { - return (QFontDatabase::addApplicationFont(fileName)); + return ( theWrappedObject->iconProvider()); } -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) +QModelIndex PythonQtWrapper_QFileSystemModel::index(QFileSystemModel* theWrappedObject, const QString& path, int column) const { - return (QFontDatabase::addApplicationFontFromData(fontData)); + return ( theWrappedObject->index(path, column)); } -QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) +bool PythonQtWrapper_QFileSystemModel::isDir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return (QFontDatabase::applicationFontFamilies(id)); + return ( theWrappedObject->isDir(index)); } -bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +bool PythonQtWrapper_QFileSystemModel::isReadOnly(QFileSystemModel* theWrappedObject) const { - return ( theWrappedObject->bold(family, style)); + return ( theWrappedObject->isReadOnly()); } -QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const +QDateTime PythonQtWrapper_QFileSystemModel::lastModified(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->families(writingSystem)); + return ( theWrappedObject->lastModified(index)); } -QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const +QModelIndex PythonQtWrapper_QFileSystemModel::mkdir(QFileSystemModel* theWrappedObject, const QModelIndex& parent, const QString& name) { - return ( theWrappedObject->font(family, style, pointSize)); + return ( theWrappedObject->mkdir(parent, name)); } -bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const +QVariant PythonQtWrapper_QFileSystemModel::myComputer(QFileSystemModel* theWrappedObject, int role) const { - return ( theWrappedObject->hasFamily(family)); + return ( theWrappedObject->myComputer(role)); } -bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +bool PythonQtWrapper_QFileSystemModel::nameFilterDisables(QFileSystemModel* theWrappedObject) const { - return ( theWrappedObject->isBitmapScalable(family, style)); + return ( theWrappedObject->nameFilterDisables()); } -bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +QStringList PythonQtWrapper_QFileSystemModel::nameFilters(QFileSystemModel* theWrappedObject) const { - return ( theWrappedObject->isFixedPitch(family, style)); + return ( theWrappedObject->nameFilters()); } -bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const +QFileSystemModel::Options PythonQtWrapper_QFileSystemModel::options(QFileSystemModel* theWrappedObject) const { - return ( theWrappedObject->isPrivateFamily(family)); + return ( theWrappedObject->options()); } -bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +QFile::Permissions PythonQtWrapper_QFileSystemModel::permissions(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->isScalable(family, style)); + return ( theWrappedObject->permissions(index)); } -bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +bool PythonQtWrapper_QFileSystemModel::remove(QFileSystemModel* theWrappedObject, const QModelIndex& index) { - return ( theWrappedObject->isSmoothlyScalable(family, style)); + return ( theWrappedObject->remove(index)); } -bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +bool PythonQtWrapper_QFileSystemModel::resolveSymlinks(QFileSystemModel* theWrappedObject) const { - return ( theWrappedObject->italic(family, style)); + return ( theWrappedObject->resolveSymlinks()); } -QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +bool PythonQtWrapper_QFileSystemModel::rmdir(QFileSystemModel* theWrappedObject, const QModelIndex& index) { - return ( theWrappedObject->pointSizes(family, style)); + return ( theWrappedObject->rmdir(index)); } -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() +QDir PythonQtWrapper_QFileSystemModel::rootDirectory(QFileSystemModel* theWrappedObject) const { - return (QFontDatabase::removeAllApplicationFonts()); + return ( theWrappedObject->rootDirectory()); } -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) +QString PythonQtWrapper_QFileSystemModel::rootPath(QFileSystemModel* theWrappedObject) const { - return (QFontDatabase::removeApplicationFont(id)); + return ( theWrappedObject->rootPath()); } -QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +void PythonQtWrapper_QFileSystemModel::setFilter(QFileSystemModel* theWrappedObject, QDir::Filters filters) { - return ( theWrappedObject->smoothSizes(family, style)); + ( theWrappedObject->setFilter(filters)); } -QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() +void PythonQtWrapper_QFileSystemModel::setIconProvider(QFileSystemModel* theWrappedObject, QFileIconProvider* provider) { - return (QFontDatabase::standardSizes()); + ( theWrappedObject->setIconProvider(provider)); } -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) +void PythonQtWrapper_QFileSystemModel::setNameFilterDisables(QFileSystemModel* theWrappedObject, bool enable) { - return ( theWrappedObject->styleString(font)); + ( theWrappedObject->setNameFilterDisables(enable)); } -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) +void PythonQtWrapper_QFileSystemModel::setNameFilters(QFileSystemModel* theWrappedObject, const QStringList& filters) { - return ( theWrappedObject->styleString(fontInfo)); + ( theWrappedObject->setNameFilters(filters)); } -QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const +void PythonQtWrapper_QFileSystemModel::setOption(QFileSystemModel* theWrappedObject, QFileSystemModel::Option option, bool on) { - return ( theWrappedObject->styles(family)); + ( theWrappedObject->setOption(option, on)); } -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() +void PythonQtWrapper_QFileSystemModel::setOptions(QFileSystemModel* theWrappedObject, QFileSystemModel::Options options) { - return (QFontDatabase::supportsThreadedFontRendering()); + ( theWrappedObject->setOptions(options)); } -QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) +void PythonQtWrapper_QFileSystemModel::setReadOnly(QFileSystemModel* theWrappedObject, bool enable) { - return (QFontDatabase::systemFont(type)); + ( theWrappedObject->setReadOnly(enable)); } -int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +void PythonQtWrapper_QFileSystemModel::setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable) { - return ( theWrappedObject->weight(family, style)); + ( theWrappedObject->setResolveSymlinks(enable)); } -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) +QModelIndex PythonQtWrapper_QFileSystemModel::setRootPath(QFileSystemModel* theWrappedObject, const QString& path) { - return (QFontDatabase::writingSystemName(writingSystem)); + return ( theWrappedObject->setRootPath(path)); } -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) +qint64 PythonQtWrapper_QFileSystemModel::size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return (QFontDatabase::writingSystemSample(writingSystem)); + return ( theWrappedObject->size(index)); } -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const +bool PythonQtWrapper_QFileSystemModel::testOption(QFileSystemModel* theWrappedObject, QFileSystemModel::Option option) const { - return ( theWrappedObject->writingSystems()); + return ( theWrappedObject->testOption(option)); } -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const +QString PythonQtWrapper_QFileSystemModel::type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->writingSystems(family)); + return ( theWrappedObject->type(index)); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.h similarity index 51% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.h index fa3a5f11..0142a0b0 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui1.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include @@ -11,12 +10,21 @@ #include #include #include +#include #include #include #include +#include +#include +#include #include +#include +#include +#include #include +#include #include +#include #include #include #include @@ -26,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -34,32 +43,423 @@ #include #include #include +#include #include -#include -#include -#include +#include #include +#include #include #include +#include +#include +#include #include +#include +#include #include +#include +#include #include +#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: @@ -71,7 +471,7 @@ QConicalGradient* new_QConicalGradient(const QConicalGradient& other) { QConicalGradient* a = new QConicalGradient(); *((QConicalGradient*)a) = other; return a; } -void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } +void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } qreal angle(QConicalGradient* theWrappedObject) const; QPointF center(QConicalGradient* theWrappedObject) const; void setAngle(QConicalGradient* theWrappedObject, qreal angle); @@ -86,14 +486,14 @@ void delete_QConicalGradient(QConicalGradient* obj) { delete obj; } class PythonQtShell_QContextMenuEvent : public QContextMenuEvent { public: - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(NULL) {}; - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(NULL) {}; - PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(NULL) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(nullptr) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(nullptr) {}; + PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(nullptr) {}; - ~PythonQtShell_QContextMenuEvent(); + ~PythonQtShell_QContextMenuEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QContextMenuEvent : public QObject @@ -106,7 +506,7 @@ public slots: QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos); QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos); QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers); -void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } +void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } const QPoint* globalPos(QContextMenuEvent* theWrappedObject) const; int globalX(QContextMenuEvent* theWrappedObject) const; int globalY(QContextMenuEvent* theWrappedObject) const; @@ -123,15 +523,20 @@ void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; } class PythonQtShell_QDataWidgetMapper : public QDataWidgetMapper { public: - PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(NULL) {}; + PythonQtShell_QDataWidgetMapper(QObject* parent = nullptr):QDataWidgetMapper(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDataWidgetMapper(); + ~PythonQtShell_QDataWidgetMapper() override; -virtual void setCurrentIndex(int index); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setCurrentIndex(int index) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDataWidgetMapper : public QDataWidgetMapper @@ -144,7 +549,7 @@ class PythonQtWrapper_QDataWidgetMapper : public QObject public: public slots: QDataWidgetMapper* new_QDataWidgetMapper(QObject* parent = nullptr); -void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } +void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section); void addMapping(QDataWidgetMapper* theWrappedObject, QWidget* widget, int section, const QByteArray& propertyName); void clearMapping(QDataWidgetMapper* theWrappedObject); @@ -173,64 +578,67 @@ void delete_QDataWidgetMapper(QDataWidgetMapper* obj) { delete obj; } class PythonQtShell_QDateEdit : public QDateEdit { public: - PythonQtShell_QDateEdit(QWidget* parent = nullptr):QDateEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = nullptr):QDateEdit(date, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDateEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDateEdit(QWidget* parent = nullptr):QDateEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QDateEdit(const QDate& date, QWidget* parent = nullptr):QDateEdit(date, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDateEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDateEdit : public QObject @@ -239,7 +647,7 @@ class PythonQtWrapper_QDateEdit : public QObject public slots: QDateEdit* new_QDateEdit(QWidget* parent = nullptr); QDateEdit* new_QDateEdit(const QDate& date, QWidget* parent = nullptr); -void delete_QDateEdit(QDateEdit* obj) { delete obj; } +void delete_QDateEdit(QDateEdit* obj) { delete obj; } }; @@ -249,67 +657,71 @@ void delete_QDateEdit(QDateEdit* obj) { delete obj; } class PythonQtShell_QDateTimeEdit : public QDateTimeEdit { public: - PythonQtShell_QDateTimeEdit(QWidget* parent = nullptr):QDateTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr):QDateTimeEdit(d, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr):QDateTimeEdit(dt, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr):QDateTimeEdit(t, parent),_wrapper(NULL) {}; - PythonQtShell_QDateTimeEdit(const QVariant& val, QVariant::Type parserType, QWidget* parent = nullptr):QDateTimeEdit(val, parserType, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDateTimeEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDateTimeEdit(QWidget* parent = nullptr):QDateTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QDate& d, QWidget* parent = nullptr):QDateTimeEdit(d, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QDateTime& dt, QWidget* parent = nullptr):QDateTimeEdit(dt, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QTime& t, QWidget* parent = nullptr):QDateTimeEdit(t, parent),_wrapper(nullptr) {}; + PythonQtShell_QDateTimeEdit(const QVariant& val, 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 @@ -356,8 +768,10 @@ 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; } +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());} @@ -392,6 +806,7 @@ void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } 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); @@ -426,12 +841,12 @@ void delete_QDateTimeEdit(QDateTimeEdit* obj) { delete obj; } class PythonQtShell_QDesktopServices : public QDesktopServices { public: - PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(NULL) {}; + PythonQtShell_QDesktopServices():QDesktopServices(),_wrapper(nullptr) {}; ~PythonQtShell_QDesktopServices(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDesktopServices : public QObject @@ -439,7 +854,7 @@ class PythonQtWrapper_QDesktopServices : public QObject public: public slots: QDesktopServices* new_QDesktopServices(); -void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } +void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } bool static_QDesktopServices_openUrl(const QUrl& url); void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); void static_QDesktopServices_unsetUrlHandler(const QString& scheme); @@ -452,55 +867,59 @@ void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } class PythonQtShell_QDesktopWidget : public QDesktopWidget { public: - PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(NULL) {}; - - ~PythonQtShell_QDesktopWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDesktopWidget():QDesktopWidget(),_wrapper(nullptr) {}; + + ~PythonQtShell_QDesktopWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDesktopWidget : public QDesktopWidget @@ -514,7 +933,7 @@ class PythonQtWrapper_QDesktopWidget : public QObject public: public slots: QDesktopWidget* new_QDesktopWidget(); -void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } +void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QPoint& point) const; const QRect availableGeometry(QDesktopWidget* theWrappedObject, const QWidget* widget) const; const QRect availableGeometry(QDesktopWidget* theWrappedObject, int screen = -1) const; @@ -538,57 +957,60 @@ void delete_QDesktopWidget(QDesktopWidget* obj) { delete obj; } class PythonQtShell_QDial : public QDial { public: - PythonQtShell_QDial(QWidget* parent = nullptr):QDial(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDial(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* me); -virtual void mousePressEvent(QMouseEvent* me); -virtual void mouseReleaseEvent(QMouseEvent* me); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* pe); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* re); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDial(QWidget* parent = nullptr):QDial(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDial() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* me) override; +void mousePressEvent(QMouseEvent* me) override; +void mouseReleaseEvent(QMouseEvent* me) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* pe) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* re) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDial : public QDial @@ -617,7 +1039,7 @@ class PythonQtWrapper_QDial : public QObject public: public slots: QDial* new_QDial(QWidget* parent = nullptr); -void delete_QDial(QDial* obj) { delete obj; } +void delete_QDial(QDial* obj) { delete obj; } bool py_q_event(QDial* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QDial*)theWrappedObject)->py_q_event(e));} void initStyleOption(QDial* theWrappedObject, QStyleOptionSlider* option) const; QSize minimumSizeHint(QDial* theWrappedObject) const; @@ -644,61 +1066,64 @@ void delete_QDial(QDial* obj) { delete obj; } class PythonQtShell_QDialog : public QDialog { public: - PythonQtShell_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QDialog(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QDialog(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialog : public QDialog @@ -734,13 +1159,12 @@ enum DialogCode{ Rejected = QDialog::Rejected, Accepted = QDialog::Accepted}; public slots: QDialog* new_QDialog(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QDialog(QDialog* obj) { delete obj; } +void delete_QDialog(QDialog* obj) { delete obj; } void py_q_accept(QDialog* theWrappedObject){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_accept());} void adjustPosition(QDialog* theWrappedObject, QWidget* arg__1); void py_q_closeEvent(QDialog* theWrappedObject, QCloseEvent* arg__1){ (((PythonQtPublicPromoter_QDialog*)theWrappedObject)->py_q_closeEvent(arg__1));} 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 eventFilter(QDialog* theWrappedObject, QObject* arg__1, QEvent* arg__2); 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; @@ -767,58 +1191,62 @@ void delete_QDialog(QDialog* obj) { delete obj; } class PythonQtShell_QDialogButtonBox : public QDialogButtonBox { public: - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr):QDialogButtonBox(buttons, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(buttons, orientation, parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(QWidget* parent = nullptr):QDialogButtonBox(parent),_wrapper(NULL) {}; - PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDialogButtonBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget* parent = nullptr):QDialogButtonBox(buttons, parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(buttons, orientation, parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(QWidget* parent = nullptr):QDialogButtonBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr):QDialogButtonBox(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDialogButtonBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDialogButtonBox : public QDialogButtonBox @@ -846,7 +1274,7 @@ QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons button QDialogButtonBox* new_QDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget* parent = nullptr); QDialogButtonBox* new_QDialogButtonBox(QWidget* parent = nullptr); QDialogButtonBox* new_QDialogButtonBox(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } +void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } void addButton(QDialogButtonBox* theWrappedObject, PythonQtPassOwnershipToCPP button, QDialogButtonBox::ButtonRole role); QPushButton* addButton(QDialogButtonBox* theWrappedObject, QDialogButtonBox::StandardButton button); QPushButton* addButton(QDialogButtonBox* theWrappedObject, const QString& text, QDialogButtonBox::ButtonRole role); @@ -873,49 +1301,54 @@ void delete_QDialogButtonBox(QDialogButtonBox* obj) { delete obj; } class PythonQtShell_QDirModel : public QDirModel { public: - PythonQtShell_QDirModel(QObject* parent = nullptr):QDirModel(parent),_wrapper(NULL) {}; - PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr):QDirModel(nameFilters, filters, sort, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDirModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& index = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDirModel(QObject* parent = nullptr):QDirModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr):QDirModel(nameFilters, filters, sort, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDirModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& index = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDirModel : public QDirModel @@ -945,7 +1378,7 @@ enum Roles{ public slots: QDirModel* new_QDirModel(QObject* parent = nullptr); QDirModel* new_QDirModel(const QStringList& nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject* parent = nullptr); -void delete_QDirModel(QDirModel* obj) { delete obj; } +void delete_QDirModel(QDirModel* obj) { delete obj; } int py_q_columnCount(QDirModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_columnCount(parent));} QVariant py_q_data(QDirModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_data(index, role));} bool py_q_dropMimeData(QDirModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent){ return (((PythonQtPublicPromoter_QDirModel*)theWrappedObject)->py_q_dropMimeData(data, action, row, column, parent));} @@ -992,56 +1425,60 @@ void delete_QDirModel(QDirModel* obj) { delete obj; } class PythonQtShell_QDockWidget : public QDockWidget { public: - PythonQtShell_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(parent, flags),_wrapper(NULL) {}; - PythonQtShell_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(title, parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QDockWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QDockWidget(title, parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QDockWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDockWidget : public QDockWidget @@ -1068,7 +1505,7 @@ Q_DECLARE_FLAGS(DockWidgetFeatures, DockWidgetFeature) public slots: QDockWidget* new_QDockWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); QDockWidget* new_QDockWidget(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QDockWidget(QDockWidget* obj) { delete obj; } +void delete_QDockWidget(QDockWidget* obj) { delete obj; } Qt::DockWidgetAreas allowedAreas(QDockWidget* theWrappedObject) const; void py_q_changeEvent(QDockWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_changeEvent(event));} void py_q_closeEvent(QDockWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QDockWidget*)theWrappedObject)->py_q_closeEvent(event));} @@ -1095,63 +1532,66 @@ void delete_QDockWidget(QDockWidget* obj) { delete obj; } class PythonQtShell_QDoubleSpinBox : public QDoubleSpinBox { public: - PythonQtShell_QDoubleSpinBox(QWidget* parent = nullptr):QDoubleSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QDoubleSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromValue(double val) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual double valueFromText(const QString& text) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QDoubleSpinBox(QWidget* parent = nullptr):QDoubleSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QDoubleSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& str) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromValue(double val) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +double valueFromText(const QString& text) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleSpinBox : public QDoubleSpinBox @@ -1167,7 +1607,7 @@ class PythonQtWrapper_QDoubleSpinBox : public QObject public: public slots: QDoubleSpinBox* new_QDoubleSpinBox(QWidget* parent = nullptr); -void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } +void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } QString cleanText(QDoubleSpinBox* theWrappedObject) const; int decimals(QDoubleSpinBox* theWrappedObject) const; void py_q_fixup(QDoubleSpinBox* theWrappedObject, QString& str) const{ (((PythonQtPublicPromoter_QDoubleSpinBox*)theWrappedObject)->py_q_fixup(str));} @@ -1180,8 +1620,10 @@ void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } 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));} @@ -1198,18 +1640,23 @@ void delete_QDoubleSpinBox(QDoubleSpinBox* obj) { delete obj; } class PythonQtShell_QDoubleValidator : public QDoubleValidator { public: - PythonQtShell_QDoubleValidator(QObject* parent = nullptr):QDoubleValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr):QDoubleValidator(bottom, top, decimals, parent),_wrapper(NULL) {}; + PythonQtShell_QDoubleValidator(QObject* parent = nullptr):QDoubleValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr):QDoubleValidator(bottom, top, decimals, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDoubleValidator(); + ~PythonQtShell_QDoubleValidator() override; -virtual void fixup(QString& arg__1) const; -virtual void setRange(double bottom, double top, int decimals = 0); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void setRange(double bottom, double top, int decimals = 0) override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QDoubleValidator : public QDoubleValidator @@ -1224,7 +1671,7 @@ class PythonQtWrapper_QDoubleValidator : public QObject public slots: QDoubleValidator* new_QDoubleValidator(QObject* parent = nullptr); QDoubleValidator* new_QDoubleValidator(double bottom, double top, int decimals, QObject* parent = nullptr); -void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } +void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } double bottom(QDoubleValidator* theWrappedObject) const; int decimals(QDoubleValidator* theWrappedObject) const; QDoubleValidator::Notation notation(QDoubleValidator* theWrappedObject) const; @@ -1245,14 +1692,19 @@ void delete_QDoubleValidator(QDoubleValidator* obj) { delete obj; } class PythonQtShell_QDrag : public QDrag { public: - PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(NULL) {}; + PythonQtShell_QDrag(QObject* dragSource):QDrag(dragSource),_wrapper(nullptr) {}; - ~PythonQtShell_QDrag(); + ~PythonQtShell_QDrag() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDrag : public QObject @@ -1260,7 +1712,7 @@ class PythonQtWrapper_QDrag : public QObject public: public slots: QDrag* new_QDrag(QObject* dragSource); -void delete_QDrag(QDrag* obj) { delete obj; } +void delete_QDrag(QDrag* obj) { delete obj; } void static_QDrag_cancel(); Qt::DropAction defaultAction(QDrag* theWrappedObject) const; QPixmap dragCursor(QDrag* theWrappedObject, Qt::DropAction action) const; @@ -1287,7 +1739,7 @@ class PythonQtWrapper_QDragEnterEvent : public QObject public: public slots: QDragEnterEvent* new_QDragEnterEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } +void delete_QDragEnterEvent(QDragEnterEvent* obj) { delete obj; } }; @@ -1299,7 +1751,7 @@ class PythonQtWrapper_QDragLeaveEvent : public QObject public: public slots: QDragLeaveEvent* new_QDragLeaveEvent(); -void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } +void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } }; @@ -1309,12 +1761,12 @@ void delete_QDragLeaveEvent(QDragLeaveEvent* obj) { delete obj; } class PythonQtShell_QDragMoveEvent : public QDragMoveEvent { public: - PythonQtShell_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove):QDragMoveEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; + PythonQtShell_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove):QDragMoveEvent(pos, actions, data, buttons, modifiers, type),_wrapper(nullptr) {}; - ~PythonQtShell_QDragMoveEvent(); + ~PythonQtShell_QDragMoveEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDragMoveEvent : public QObject @@ -1322,7 +1774,7 @@ class PythonQtWrapper_QDragMoveEvent : public QObject public: public slots: QDragMoveEvent* new_QDragMoveEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::DragMove); -void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } +void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } void accept(QDragMoveEvent* theWrappedObject, const QRect& r); QRect answerRect(QDragMoveEvent* theWrappedObject) const; void ignore(QDragMoveEvent* theWrappedObject, const QRect& r); @@ -1335,12 +1787,12 @@ void delete_QDragMoveEvent(QDragMoveEvent* obj) { delete obj; } class PythonQtShell_QDropEvent : public QDropEvent { public: - PythonQtShell_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {}; + PythonQtShell_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(nullptr) {}; - ~PythonQtShell_QDropEvent(); + ~PythonQtShell_QDropEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDropEvent : public QObject @@ -1348,7 +1800,7 @@ class PythonQtWrapper_QDropEvent : public QObject public: public slots: QDropEvent* new_QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop); -void delete_QDropEvent(QDropEvent* obj) { delete obj; } +void delete_QDropEvent(QDropEvent* obj) { delete obj; } void acceptProposedAction(QDropEvent* theWrappedObject); Qt::DropAction dropAction(QDropEvent* theWrappedObject) const; Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const; @@ -1369,12 +1821,12 @@ void delete_QDropEvent(QDropEvent* obj) { delete obj; } class PythonQtShell_QEnterEvent : public QEnterEvent { public: - PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(NULL) {}; + PythonQtShell_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos):QEnterEvent(localPos, windowPos, screenPos),_wrapper(nullptr) {}; - ~PythonQtShell_QEnterEvent(); + ~PythonQtShell_QEnterEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QEnterEvent : public QObject @@ -1382,7 +1834,7 @@ class PythonQtWrapper_QEnterEvent : public QObject public: public slots: QEnterEvent* new_QEnterEvent(const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos); -void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } +void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } QPoint globalPos(QEnterEvent* theWrappedObject) const; int globalX(QEnterEvent* theWrappedObject) const; int globalY(QEnterEvent* theWrappedObject) const; @@ -1401,61 +1853,64 @@ void delete_QEnterEvent(QEnterEvent* obj) { delete obj; } class PythonQtShell_QErrorMessage : public QErrorMessage { public: - PythonQtShell_QErrorMessage(QWidget* parent = nullptr):QErrorMessage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QErrorMessage(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QErrorMessage(QWidget* parent = nullptr):QErrorMessage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QErrorMessage() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QErrorMessage : public QErrorMessage @@ -1471,7 +1926,7 @@ class PythonQtWrapper_QErrorMessage : public QObject public: public slots: QErrorMessage* new_QErrorMessage(QWidget* parent = nullptr); -void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } +void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } void py_q_changeEvent(QErrorMessage* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->py_q_changeEvent(e));} void py_q_done(QErrorMessage* theWrappedObject, int arg__1){ (((PythonQtPublicPromoter_QErrorMessage*)theWrappedObject)->py_q_done(arg__1));} QErrorMessage* static_QErrorMessage_qtHandler(); @@ -1484,12 +1939,12 @@ void delete_QErrorMessage(QErrorMessage* obj) { delete obj; } class PythonQtShell_QExposeEvent : public QExposeEvent { public: - PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(NULL) {}; + PythonQtShell_QExposeEvent(const QRegion& rgn):QExposeEvent(rgn),_wrapper(nullptr) {}; - ~PythonQtShell_QExposeEvent(); + ~PythonQtShell_QExposeEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QExposeEvent : public QObject @@ -1497,7 +1952,7 @@ class PythonQtWrapper_QExposeEvent : public QObject public: public slots: QExposeEvent* new_QExposeEvent(const QRegion& rgn); -void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } +void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } const QRegion* region(QExposeEvent* theWrappedObject) const; }; @@ -1508,61 +1963,64 @@ void delete_QExposeEvent(QExposeEvent* obj) { delete obj; } class PythonQtShell_QFileDialog : public QFileDialog { public: - PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(NULL) {}; - PythonQtShell_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(nullptr) {}; + PythonQtShell_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileDialog : public QFileDialog @@ -1589,7 +2047,7 @@ Q_DECLARE_FLAGS(Options, Option) public slots: QFileDialog* new_QFileDialog(QWidget* parent, Qt::WindowFlags f); QFileDialog* new_QFileDialog(QWidget* parent = nullptr, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()); -void delete_QFileDialog(QFileDialog* obj) { delete obj; } +void delete_QFileDialog(QFileDialog* obj) { delete obj; } void py_q_accept(QFileDialog* theWrappedObject){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_accept());} QFileDialog::AcceptMode acceptMode(QFileDialog* theWrappedObject) const; void py_q_changeEvent(QFileDialog* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QFileDialog*)theWrappedObject)->py_q_changeEvent(e));} @@ -1669,15 +2127,15 @@ void delete_QFileDialog(QFileDialog* obj) { delete obj; } class PythonQtShell_QFileIconProvider : public QFileIconProvider { public: - PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {}; + PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(nullptr) {}; - ~PythonQtShell_QFileIconProvider(); + ~PythonQtShell_QFileIconProvider() override; -virtual QIcon icon(QFileIconProvider::IconType type) const; -virtual QIcon icon(const QFileInfo& info) const; -virtual QString type(const QFileInfo& info) const; +QIcon icon(QFileIconProvider::IconType type) const override; +QIcon icon(const QFileInfo& info) const override; +QString type(const QFileInfo& info) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider @@ -1699,7 +2157,7 @@ enum Option{ Q_DECLARE_FLAGS(Options, Option) public slots: QFileIconProvider* new_QFileIconProvider(); -void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } +void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; } QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const; QIcon py_q_icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const{ return (((PythonQtPublicPromoter_QFileIconProvider*)theWrappedObject)->py_q_icon(type));} QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const; @@ -1720,7 +2178,7 @@ class PythonQtWrapper_QFileOpenEvent : public QObject public slots: QFileOpenEvent* new_QFileOpenEvent(const QString& file); QFileOpenEvent* new_QFileOpenEvent(const QUrl& url); -void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } +void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } QString file(QFileOpenEvent* theWrappedObject) const; bool openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const; QUrl url(QFileOpenEvent* theWrappedObject) const; @@ -1733,50 +2191,53 @@ void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; } class PythonQtShell_QFileSystemModel : public QFileSystemModel { public: - PythonQtShell_QFileSystemModel(QObject* parent = nullptr):QFileSystemModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileSystemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual bool event(QEvent* event); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFileSystemModel(QObject* parent = nullptr):QFileSystemModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFileSystemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFileSystemModel : public QFileSystemModel @@ -1807,17 +2268,20 @@ inline void py_q_timerEvent(QTimerEvent* event) { QFileSystemModel::timerEvent( class PythonQtWrapper_QFileSystemModel : public QObject { Q_OBJECT public: -Q_ENUMS(Roles ) +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; } +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 event(QFileSystemModel* theWrappedObject, QEvent* event); 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; @@ -1840,6 +2304,7 @@ void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } 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); @@ -1853,6 +2318,8 @@ void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } 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); @@ -1860,245 +2327,9 @@ void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; } 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());} - void timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event); + 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; }; - - - -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(NULL) {}; - - ~PythonQtShell_QFocusFrame(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2); - 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(NULL) {}; - - ~PythonQtShell_QFontComboBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* e); -virtual void hidePopup(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual void showPopup(); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp similarity index 68% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 61a73107..783c8d95 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -1,13 +1,12 @@ -#include "com_trolltech_qt_gui9.h" +#include "com_trolltech_qt_gui10.h" #include #include #include #include #include #include -#include +#include #include -#include #include #include #include @@ -16,119 +15,92 @@ #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include +#include #include #include #include +#include #include #include #include #include +#include +#include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include #include #include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include +#include #include -#include #include -#include #include -#include -#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_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); } - - - -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) +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter() { -return new PythonQtShell_QStyleOptionViewItem(other); } +return new QStylePainter(); } -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(int version) +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QPaintDevice* pd, QWidget* w) { -return new PythonQtShell_QStyleOptionViewItem(version); } - - - -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(); } - - +return new QStylePainter(pd, w); } -PythonQtShell_QStyleOptionViewItemV4::~PythonQtShell_QStyleOptionViewItemV4() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QWidget* w) { -return new PythonQtShell_QStyleOptionViewItemV4(); } - - +return new QStylePainter(w); } bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w) { @@ -176,6 +148,28 @@ 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) { @@ -187,19 +181,107 @@ if (_wrapper) { static const char* argumentList[] ={"QStyle*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QStyle* returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QStyle**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + 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 { @@ -207,7 +289,29 @@ if (_wrapper) { } } } - return 0; + 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) { @@ -237,6 +341,28 @@ 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) { @@ -248,19 +374,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QWidget* returnValue{}; - void* args[4] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -270,6 +396,28 @@ if (_wrapper) { } 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) { @@ -280,9 +428,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -303,19 +451,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&value0, (void*)&locale1}; + void* args[3] = {nullptr, (void*)&value0, (void*)&locale1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -336,19 +484,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -358,6 +506,39 @@ if (_wrapper) { } 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) { @@ -369,19 +550,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -402,19 +583,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -434,9 +615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -456,9 +637,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -479,19 +660,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVector"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVector returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -511,9 +692,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -533,9 +714,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -556,19 +737,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QSize returnValue{}; - void* args[3] = {NULL, (void*)&option0, (void*)&index1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -578,6 +759,28 @@ if (_wrapper) { } 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) { @@ -588,9 +791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -622,11 +825,6 @@ QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* t return ( theWrappedObject->displayText(value, locale)); } -bool PythonQtWrapper_QStyledItemDelegate::eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); -} - void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const { ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); @@ -659,19 +857,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSurfaceFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -692,19 +890,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -725,19 +923,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPlatformSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPlatformSurface* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); } else { returnValue = *((QPlatformSurface**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -745,7 +943,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { @@ -758,19 +956,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSurface::SurfaceType returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -873,6 +1071,11 @@ int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObje return ( theWrappedObject->minorVersion()); } +bool PythonQtWrapper_QSurfaceFormat::__ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other) { return &( (*theWrappedObject)= other); @@ -1052,49 +1255,23 @@ QString PythonQtWrapper_QSurfaceFormat::py_toString(QSurfaceFormat* obj) { -QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) -{ -return new QSwipeGesture(parent); } - -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() { +PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) +void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("highlightBlock"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&text0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1102,101 +1279,31 @@ if (_wrapper) { } } } - + QSwipeGesture::childEvent(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) +void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSwipeGesture::customEvent(event0); } -bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) +bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1207,19 +1314,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1227,103 +1334,119 @@ if (_wrapper) { } } } - return QSystemTrayIcon::event(event0); + return QSwipeGesture::event(event0); } -QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) -{ -return new PythonQtShell_QSystemTrayIcon(parent); } - -QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) +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_QSystemTrayIcon(icon, parent); } +return new PythonQtShell_QSwipeGesture(parent); } -const QMetaObject* PythonQtShell_QSystemTrayIcon::metaObject() const { +const QMetaObject* PythonQtShell_QSwipeGesture::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSystemTrayIcon::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSwipeGesture::staticMetaObject); } else { - return &QSystemTrayIcon::staticMetaObject; + return &QSwipeGesture::staticMetaObject; } } -int PythonQtShell_QSystemTrayIcon::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSystemTrayIcon::qt_metacall(call, id, args); +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; } -QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const -{ - return ( theWrappedObject->contextMenu()); -} - -bool PythonQtWrapper_QSystemTrayIcon::event(QSystemTrayIcon* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QSystemTrayIcon*)theWrappedObject)->promoted_event(event)); -} - -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) +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::horizontalDirection(QSwipeGesture* theWrappedObject) const { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->horizontalDirection()); } -void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) +void PythonQtWrapper_QSwipeGesture::setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value) { - ( theWrappedObject->setToolTip(tip)); + ( theWrappedObject->setSwipeAngle(value)); } -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() +qreal PythonQtWrapper_QSwipeGesture::swipeAngle(QSwipeGesture* theWrappedObject) const { - return (QSystemTrayIcon::supportsMessages()); + return ( theWrappedObject->swipeAngle()); } -QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::verticalDirection(QSwipeGesture* theWrappedObject) const { - return ( theWrappedObject->toolTip()); + return ( theWrappedObject->verticalDirection()); } -PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { +PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1331,21 +1454,21 @@ if (_wrapper) { } } } - QTabBar::actionEvent(event0); + QSyntaxHighlighter::childEvent(event0); } -void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) +void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1353,98 +1476,109 @@ if (_wrapper) { } } } - QTabBar::changeEvent(arg__1); + QSyntaxHighlighter::customEvent(event0); } -void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::closeEvent(event0); + return QSyntaxHighlighter::event(event0); } -void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::contextMenuEvent(event0); + return QSyntaxHighlighter::eventFilter(watched0, event1); } -int PythonQtShell_QTabBar::devType() const +void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("highlightBlock"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::devType(); + } -void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1452,65 +1586,113 @@ if (_wrapper) { } } } - QTabBar::dragEnterEvent(event0); + QSyntaxHighlighter::timerEvent(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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QTabBar::dragLeaveEvent(event0); +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; } -void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) +QTextBlock PythonQtWrapper_QSyntaxHighlighter::currentBlock(QSyntaxHighlighter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlock()); } - QTabBar::dragMoveEvent(event0); + +int PythonQtWrapper_QSyntaxHighlighter::currentBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockState()); } -void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) + +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("dropEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1518,21 +1700,21 @@ if (_wrapper) { } } } - QTabBar::dropEvent(event0); + QSystemTrayIcon::childEvent(event0); } -void PythonQtShell_QTabBar::enterEvent(QEvent* event0) +void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1540,9 +1722,9 @@ if (_wrapper) { } } } - QTabBar::enterEvent(event0); + QSystemTrayIcon::customEvent(event0); } -bool PythonQtShell_QTabBar::event(QEvent* arg__1) +bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1553,19 +1735,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1573,54 +1755,32 @@ if (_wrapper) { } } } - return QTabBar::event(arg__1); -} -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] = {NULL, (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); + return QSystemTrayIcon::event(event0); } -bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) +bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1628,21 +1788,21 @@ if (_wrapper) { } } } - return QTabBar::focusNextPrevChild(next0); + return QSystemTrayIcon::eventFilter(watched0, event1); } -void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1650,131 +1810,98 @@ if (_wrapper) { } } } - QTabBar::focusOutEvent(event0); + QSystemTrayIcon::timerEvent(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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QTabBar::hasHeightForWidth(); +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; } -int PythonQtShell_QTabBar::heightForWidth(int arg__1) const +QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->contextMenu()); } - return QTabBar::heightForWidth(arg__1); + +QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); } -void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) + +QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->icon()); } - QTabBar::hideEvent(arg__1); + +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() +{ + return (QSystemTrayIcon::isSystemTrayAvailable()); } -void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const + +bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) 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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isVisible()); } - QTabBar::initPainter(painter0); + +void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setContextMenu(menu)); } -void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) + +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1782,54 +1909,43 @@ if (_wrapper) { } } } - QTabBar::inputMethodEvent(arg__1); + QTabBar::actionEvent(event0); } -QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::inputMethodQuery(arg__1); + QTabBar::changeEvent(arg__1); } -void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1837,21 +1953,21 @@ if (_wrapper) { } } } - QTabBar::keyPressEvent(arg__1); + QTabBar::childEvent(event0); } -void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1859,21 +1975,21 @@ if (_wrapper) { } } } - QTabBar::keyReleaseEvent(event0); + QTabBar::closeEvent(event0); } -void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) +void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1881,65 +1997,54 @@ if (_wrapper) { } } } - QTabBar::leaveEvent(event0); + QTabBar::contextMenuEvent(event0); } -int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QTabBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::metric(arg__1); + QTabBar::customEvent(event0); } -QSize PythonQtShell_QTabBar::minimumSizeHint() const +int PythonQtShell_QTabBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1947,54 +2052,43 @@ if (_wrapper) { } } } - return QTabBar::minimumSizeHint(); + return QTabBar::devType(); } -QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const +void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumTabSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::minimumTabSizeHint(index0); + QTabBar::dragEnterEvent(event0); } -void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2002,21 +2096,21 @@ if (_wrapper) { } } } - QTabBar::mouseDoubleClickEvent(event0); + QTabBar::dragLeaveEvent(event0); } -void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2024,21 +2118,21 @@ if (_wrapper) { } } } - QTabBar::mouseMoveEvent(arg__1); + QTabBar::dragMoveEvent(event0); } -void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2046,21 +2140,21 @@ if (_wrapper) { } } } - QTabBar::mousePressEvent(arg__1); + QTabBar::dropEvent(event0); } -void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2068,54 +2162,65 @@ if (_wrapper) { } } } - QTabBar::mouseReleaseEvent(arg__1); + QTabBar::enterEvent(event0); } -void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QTabBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::moveEvent(event0); + return QTabBar::event(arg__1); } -bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2123,32 +2228,54 @@ if (_wrapper) { } } } - return QTabBar::nativeEvent(eventType0, message1, result2); + return QTabBar::eventFilter(watched0, event1); } -QPaintEngine* PythonQtShell_QTabBar::paintEngine() const +void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + if (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]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2156,21 +2283,21 @@ if (_wrapper) { } } } - return QTabBar::paintEngine(); + return QTabBar::focusNextPrevChild(next0); } -void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2178,32 +2305,32 @@ if (_wrapper) { } } } - QTabBar::paintEvent(arg__1); + QTabBar::focusOutEvent(event0); } -QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const +bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2211,43 +2338,54 @@ if (_wrapper) { } } } - return QTabBar::redirected(offset0); + return QTabBar::hasHeightForWidth(); } -void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) +int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::resizeEvent(arg__1); + return QTabBar::heightForWidth(arg__1); } -void PythonQtShell_QTabBar::setVisible(bool visible0) +void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2255,54 +2393,43 @@ if (_wrapper) { } } } - QTabBar::setVisible(visible0); + QTabBar::hideEvent(arg__1); } -QPainter* PythonQtShell_QTabBar::sharedPainter() const +void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + 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(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::sharedPainter(); + QTabBar::initPainter(painter0); } -void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) +void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2310,32 +2437,32 @@ if (_wrapper) { } } } - QTabBar::showEvent(arg__1); + QTabBar::inputMethodEvent(arg__1); } -QSize PythonQtShell_QTabBar::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2343,21 +2470,21 @@ if (_wrapper) { } } } - return QTabBar::sizeHint(); + return QTabBar::inputMethodQuery(arg__1); } -void PythonQtShell_QTabBar::tabInserted(int index0) +void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabInserted"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2365,21 +2492,21 @@ if (_wrapper) { } } } - QTabBar::tabInserted(index0); + QTabBar::keyPressEvent(arg__1); } -void PythonQtShell_QTabBar::tabLayoutChange() +void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabLayoutChange"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2387,21 +2514,21 @@ if (_wrapper) { } } } - QTabBar::tabLayoutChange(); + QTabBar::keyReleaseEvent(event0); } -void PythonQtShell_QTabBar::tabRemoved(int index0) +void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabRemoved"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2409,32 +2536,65 @@ if (_wrapper) { } } } - QTabBar::tabRemoved(index0); + QTabBar::leaveEvent(event0); } -QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const +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("tabSizeHint"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; + 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[2] = {NULL, (void*)&index0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2442,43 +2602,54 @@ if (_wrapper) { } } } - return QTabBar::tabSizeHint(index0); + return QTabBar::minimumSizeHint(); } -void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) +QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"QSize" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::tabletEvent(event0); + return QTabBar::minimumTabSizeHint(index0); } -void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2486,21 +2657,21 @@ if (_wrapper) { } } } - QTabBar::timerEvent(event0); + QTabBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2508,206 +2679,690 @@ if (_wrapper) { } } } - QTabBar::wheelEvent(event0); + QTabBar::mouseMoveEvent(arg__1); } -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; +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(); + } } } -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; + QTabBar::mousePressEvent(arg__1); } -QString PythonQtWrapper_QTabBar::accessibleTabName(QTabBar* theWrappedObject, int index) const +void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->accessibleTabName(index)); +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(); + } + } } - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addTab(icon, text)); + QTabBar::mouseReleaseEvent(arg__1); } - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) +void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->addTab(text)); +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(); + } + } } - -bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->autoHide()); + QTabBar::moveEvent(event0); } - -bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const +bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->changeCurrentOnDrag()); +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(); + } + } } - -int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->count()); + return QTabBar::nativeEvent(eventType0, message1, result2); } - -int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const +QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { - return ( theWrappedObject->currentIndex()); +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(); + } + } } - -bool PythonQtWrapper_QTabBar::documentMode(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->documentMode()); + return QTabBar::paintEngine(); } - -bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const +void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { - return ( theWrappedObject->drawBase()); +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(); + } + } } - -Qt::TextElideMode PythonQtWrapper_QTabBar::elideMode(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->elideMode()); + QTabBar::paintEvent(arg__1); } - -bool PythonQtWrapper_QTabBar::expanding(QTabBar* theWrappedObject) const +QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { - return ( theWrappedObject->expanding()); +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(); + } + } } - -QSize PythonQtWrapper_QTabBar::iconSize(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); + return QTabBar::redirected(offset0); } - -void PythonQtWrapper_QTabBar::initStyleOption(QTabBar* theWrappedObject, QStyleOptionTab* option, int tabIndex) const +void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_initStyleOption(option, tabIndex)); +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(); + } + } } - -int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertTab(index, icon, text)); + QTabBar::resizeEvent(arg__1); } - -int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QString& text) +void PythonQtShell_QTabBar::setVisible(bool visible0) { - return ( theWrappedObject->insertTab(index, text)); +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(); + } + } } - -bool PythonQtWrapper_QTabBar::isMovable(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); + QTabBar::setVisible(visible0); } - -bool PythonQtWrapper_QTabBar::isTabEnabled(QTabBar* theWrappedObject, int index) const +QPainter* PythonQtShell_QTabBar::sharedPainter() const { - return ( theWrappedObject->isTabEnabled(index)); +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(); + } + } } - -bool PythonQtWrapper_QTabBar::isTabVisible(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->isTabVisible(index)); + return QTabBar::sharedPainter(); } - -QSize PythonQtWrapper_QTabBar::minimumSizeHint(QTabBar* theWrappedObject) const +void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { - return ( theWrappedObject->minimumSizeHint()); -} - -QSize PythonQtWrapper_QTabBar::minimumTabSizeHint(QTabBar* theWrappedObject, int index) const +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 { - return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_minimumTabSizeHint(index)); +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(); + } + } } - -void PythonQtWrapper_QTabBar::moveTab(QTabBar* theWrappedObject, int from, int to) + return QTabBar::sizeHint(); +} +void PythonQtShell_QTabBar::tabInserted(int index0) { - ( theWrappedObject->moveTab(from, to)); +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(); + } + } } - -void PythonQtWrapper_QTabBar::removeTab(QTabBar* theWrappedObject, int index) + QTabBar::tabInserted(index0); +} +void PythonQtShell_QTabBar::tabLayoutChange() { - ( theWrappedObject->removeTab(index)); +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::SelectionBehavior PythonQtWrapper_QTabBar::selectionBehaviorOnRemove(QTabBar* theWrappedObject) const + QTabBar::tabLayoutChange(); +} +void PythonQtShell_QTabBar::tabRemoved(int index0) { - return ( theWrappedObject->selectionBehaviorOnRemove()); +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(); + } + } } - -void PythonQtWrapper_QTabBar::setAccessibleTabName(QTabBar* theWrappedObject, int index, const QString& name) + QTabBar::tabRemoved(index0); +} +QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { - ( theWrappedObject->setAccessibleTabName(index, name)); +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(); + } + } } - -void PythonQtWrapper_QTabBar::setAutoHide(QTabBar* theWrappedObject, bool hide) + return QTabBar::tabSizeHint(index0); +} +void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setAutoHide(hide)); +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(); + } + } } - -void PythonQtWrapper_QTabBar::setChangeCurrentOnDrag(QTabBar* theWrappedObject, bool change) + QTabBar::tabletEvent(event0); +} +void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setChangeCurrentOnDrag(change)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTabBar::setDocumentMode(QTabBar* theWrappedObject, bool set) + QTabBar::timerEvent(event0); +} +void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { - ( theWrappedObject->setDocumentMode(set)); +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); } -void PythonQtWrapper_QTabBar::setDrawBase(QTabBar* theWrappedObject, bool drawTheBase) +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 { - ( theWrappedObject->setDrawBase(drawTheBase)); + return ( theWrappedObject->accessibleTabName(index)); } -void PythonQtWrapper_QTabBar::setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode mode) +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) { - ( theWrappedObject->setElideMode(mode)); + return ( theWrappedObject->addTab(icon, text)); } -void PythonQtWrapper_QTabBar::setExpanding(QTabBar* theWrappedObject, bool enabled) +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) { - ( theWrappedObject->setExpanding(enabled)); + return ( theWrappedObject->addTab(text)); } -void PythonQtWrapper_QTabBar::setIconSize(QTabBar* theWrappedObject, const QSize& size) +bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const { - ( theWrappedObject->setIconSize(size)); + return ( theWrappedObject->autoHide()); } -void PythonQtWrapper_QTabBar::setMovable(QTabBar* theWrappedObject, bool movable) +bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const { - ( theWrappedObject->setMovable(movable)); + return ( theWrappedObject->changeCurrentOnDrag()); } -void PythonQtWrapper_QTabBar::setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior) +int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const { - ( theWrappedObject->setSelectionBehaviorOnRemove(behavior)); + return ( theWrappedObject->count()); } -void PythonQtWrapper_QTabBar::setShape(QTabBar* theWrappedObject, QTabBar::Shape shape) +int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const { - ( theWrappedObject->setShape(shape)); + return ( theWrappedObject->currentIndex()); } -void PythonQtWrapper_QTabBar::setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget) +bool PythonQtWrapper_QTabBar::documentMode(QTabBar* theWrappedObject) const { - ( theWrappedObject->setTabButton(index, position, widget)); + return ( theWrappedObject->documentMode()); } -void PythonQtWrapper_QTabBar::setTabData(QTabBar* theWrappedObject, int index, const QVariant& data) +bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const { - ( theWrappedObject->setTabData(index, data)); + return ( theWrappedObject->drawBase()); } -void PythonQtWrapper_QTabBar::setTabEnabled(QTabBar* theWrappedObject, int index, bool enabled) +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)); } @@ -2832,11 +3487,6 @@ bool PythonQtWrapper_QTabBar::tabsClosable(QTabBar* theWrappedObject) const return ( theWrappedObject->tabsClosable()); } -void PythonQtWrapper_QTabBar::timerEvent(QTabBar* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_timerEvent(event)); -} - bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const { return ( theWrappedObject->usesScrollButtons()); @@ -2858,9 +3508,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2880,9 +3530,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2892,6 +3542,28 @@ if (_wrapper) { } 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) { @@ -2902,9 +3574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2924,9 +3596,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2936,6 +3608,28 @@ if (_wrapper) { } 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) { @@ -2947,19 +3641,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2979,9 +3673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3001,9 +3695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3023,9 +3717,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3045,9 +3739,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3067,9 +3761,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3090,19 +3784,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3112,6 +3806,39 @@ if (_wrapper) { } 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) { @@ -3122,9 +3849,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3145,19 +3872,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3177,9 +3904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3200,19 +3927,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3233,19 +3960,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&width0}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3265,9 +3992,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3287,9 +4014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3309,9 +4036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3332,19 +4059,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3364,9 +4091,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3386,9 +4113,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3408,9 +4135,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3431,19 +4158,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3464,19 +4191,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3496,9 +4223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3518,9 +4245,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3540,9 +4267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3562,9 +4289,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3584,9 +4311,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3607,19 +4334,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3640,19 +4367,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3672,9 +4399,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3695,19 +4422,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3727,9 +4454,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3749,9 +4476,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3772,19 +4499,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3804,9 +4531,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3827,19 +4554,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3859,9 +4586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3881,9 +4608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3903,9 +4630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3915,6 +4642,28 @@ if (_wrapper) { } 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) { @@ -3925,9 +4674,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4220,9 +4969,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4242,9 +4991,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4254,6 +5003,28 @@ if (_wrapper) { } 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) { @@ -4264,9 +5035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4286,9 +5057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4308,9 +5079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4330,9 +5101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4352,9 +5123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4364,6 +5135,28 @@ if (_wrapper) { } 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) { @@ -4374,9 +5167,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4397,19 +5190,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4429,9 +5222,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4451,9 +5244,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4473,9 +5266,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4495,9 +5288,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4517,9 +5310,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4540,19 +5333,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4572,9 +5365,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4594,9 +5387,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4617,19 +5410,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4650,19 +5443,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4682,9 +5475,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4705,19 +5498,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4737,9 +5530,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4760,19 +5553,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4793,19 +5586,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4825,9 +5618,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4848,19 +5641,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4880,9 +5673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4902,9 +5695,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4925,19 +5718,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4957,9 +5750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4979,9 +5772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5002,19 +5795,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5035,19 +5828,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5067,9 +5860,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5089,9 +5882,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5111,9 +5904,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5133,9 +5926,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5156,19 +5949,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5189,19 +5982,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5221,9 +6014,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5243,9 +6036,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5265,9 +6058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5287,9 +6080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5310,19 +6103,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5342,9 +6135,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5365,19 +6158,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5398,19 +6191,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5430,9 +6223,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5453,19 +6246,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5485,9 +6278,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5507,9 +6300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5529,9 +6322,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5551,9 +6344,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5573,9 +6366,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5595,9 +6388,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5617,9 +6410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5640,19 +6433,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5672,9 +6465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5695,19 +6488,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5727,9 +6520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5749,9 +6542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5771,9 +6564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5793,9 +6586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5815,9 +6608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5837,9 +6630,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5860,19 +6653,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5892,9 +6685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5904,206 +6697,3815 @@ if (_wrapper) { } QTableView::showEvent(event0); } -QSize PythonQtShell_QTableView::sizeHint() const +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 { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->hiResGlobalY()); } - return QTableView::sizeHint(); + +QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pointerType()); } -int PythonQtShell_QTableView::sizeHintForColumn(int column0) const + +QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) 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] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pos()); } - return QTableView::sizeHintForColumn(column0); + +const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); } -int PythonQtShell_QTableView::sizeHintForRow(int row0) const + +qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) 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] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pressure()); } - return QTableView::sizeHintForRow(row0); + +qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); } -void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) + +qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const { -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] = {NULL, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tangentialPressure()); } - QTableView::startDrag(supportedActions0); + +qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->uniqueId()); } -void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) + +int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->x()); } - QTableView::tabletEvent(event0); + +int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->xTilt()); } -void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) + +int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->y()); } - QTableView::timerEvent(event0); + +int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->yTilt()); } -void PythonQtShell_QTableView::updateEditorData() + +int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->z()); } - QTableView::updateEditorData(); + + + +PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTableView::updateEditorGeometries() +void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6111,21 +10513,21 @@ if (_wrapper) { } } } - QTableView::updateEditorGeometries(); + QTapAndHoldGesture::childEvent(event0); } -void PythonQtShell_QTableView::updateGeometries() +void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6133,32 +10535,32 @@ if (_wrapper) { } } } - QTableView::updateGeometries(); + QTapAndHoldGesture::customEvent(event0); } -int PythonQtShell_QTableView::verticalOffset() const +bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6166,175 +10568,174 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QTapAndHoldGesture::event(event0); } -void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) +bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&value0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableView::verticalScrollbarValueChanged(value0); + return QTapAndHoldGesture::eventFilter(watched0, event1); } -QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const +void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::viewOptions(); + QTapAndHoldGesture::timerEvent(event0); } -bool PythonQtShell_QTableView::viewportEvent(QEvent* 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("viewportEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::viewportEvent(event0); + QTapGesture::childEvent(event0); } -QSize PythonQtShell_QTableView::viewportSizeHint() const +void PythonQtShell_QTapGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableView::viewportSizeHint(); + QTapGesture::customEvent(event0); } -QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const +bool PythonQtShell_QTapGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6342,32 +10743,32 @@ if (_wrapper) { } } } - return QTableView::visualRect(index0); + return QTapGesture::event(event0); } -QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const +bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&selection0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6375,21 +10776,21 @@ if (_wrapper) { } } } - return QTableView::visualRegionForSelection(selection0); + return QTapGesture::eventFilter(watched0, event1); } -void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6397,684 +10798,442 @@ if (_wrapper) { } } } - QTableView::wheelEvent(arg__1); + QTapGesture::timerEvent(event0); } -QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) +QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) { -return new PythonQtShell_QTableView(parent); } +return new PythonQtShell_QTapGesture(parent); } -const QMetaObject* PythonQtShell_QTableView::metaObject() const { +const QMetaObject* PythonQtShell_QTapGesture::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableView::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapGesture::staticMetaObject); } else { - return &QTableView::staticMetaObject; + return &QTapGesture::staticMetaObject; } } -int PythonQtShell_QTableView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTableView::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) +QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const { - ( theWrappedObject->clearSpans()); + return ( theWrappedObject->position()); } -int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const +void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) { - return ( theWrappedObject->columnAt(x)); + ( theWrappedObject->setPosition(pos)); } -int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const + + +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->columnSpan(row, column)); + return ( theWrappedObject->begin()); } -int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const +QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->columnViewportPosition(column)); + return ( theWrappedObject->blockFormat()); } -int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const +int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->columnWidth(column)); + return ( theWrappedObject->blockFormatIndex()); } -Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const +int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->gridStyle()); + return ( theWrappedObject->blockNumber()); } -QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->horizontalHeader()); + return ( theWrappedObject->charFormat()); } -bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const +int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->isColumnHidden(column)); + return ( theWrappedObject->charFormatIndex()); } -bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const +void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) { - return ( theWrappedObject->isCornerButtonEnabled()); + ( theWrappedObject->clearLayout()); } -bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const +bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const { - return ( theWrappedObject->isRowHidden(row)); + return ( theWrappedObject->contains(position)); } -bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const +const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->isSortingEnabled()); + return ( theWrappedObject->document()); } -int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const +QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->rowAt(y)); + return ( theWrappedObject->end()); } -int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const +int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->rowHeight(row)); + return ( theWrappedObject->firstLineNumber()); } -int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const +int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->rowSpan(row, column)); + return ( theWrappedObject->fragmentIndex()); } -int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const +bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->rowViewportPosition(row)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) +bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setColumnHidden(column, hide)); + return ( theWrappedObject->isVisible()); } -void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) +QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setColumnWidth(column, width)); + return ( theWrappedObject->layout()); } -void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) +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 { - ( theWrappedObject->setCornerButtonEnabled(enable)); + return ( theWrappedObject->revision()); } -void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) +void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) { - ( theWrappedObject->setGridStyle(style)); + ( theWrappedObject->setLineCount(count)); } -void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) +void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) { - ( theWrappedObject->setHorizontalHeader(header)); + ( theWrappedObject->setRevision(rev)); } -void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) +void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) { - ( theWrappedObject->setRowHeight(row, height)); + ( theWrappedObject->setUserData(data)); } -void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) +void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) { - ( theWrappedObject->setRowHidden(row, hide)); + ( theWrappedObject->setUserState(state)); } -void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) +void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) { - ( theWrappedObject->setSortingEnabled(enable)); + ( theWrappedObject->setVisible(visible)); } -void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) +QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) +Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setVerticalHeader(header)); + return ( theWrappedObject->textDirection()); } -void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) +QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setWordWrap(on)); + return ( theWrappedObject->textFormats()); } -bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const +QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->showGrid()); + return ( theWrappedObject->textList()); } -QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const +QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->verticalHeader()); + return ( theWrappedObject->userData()); } -bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const +int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->wordWrap()); + return ( theWrappedObject->userState()); } -PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { +PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) +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 { -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] = {NULL, (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); + return ( theWrappedObject->alignment()); } -void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) + +qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->bottomMargin()); } -void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) + +int PythonQtWrapper_QTextBlockFormat::headingLevel(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->headingLevel()); } -void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) + +int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->indent()); } -void PythonQtShell_QTableWidget::commitData(QWidget* editor0) + +bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->isValid()); } -void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) + +qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->leftMargin()); } -void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) + +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lineHeight()); } - QTableWidget::currentChanged(current0, previous1); + +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const +{ + return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); } -void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) + +int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (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(); - } - } + return ( theWrappedObject->lineHeightType()); } - QTableWidget::dataChanged(topLeft0, bottomRight1, roles2); + +QTextBlockFormat::MarkerType PythonQtWrapper_QTextBlockFormat::marker(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->marker()); } -int PythonQtShell_QTableWidget::devType() const + +bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->nonBreakableLines()); } - return QTableWidget::devType(); + +QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->pageBreakPolicy()); } -void PythonQtShell_QTableWidget::doItemsLayout() + +qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rightMargin()); } - QTableWidget::doItemsLayout(); + +void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); } -void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBottomMargin(margin)); } - QTableWidget::dragEnterEvent(event0); + +void PythonQtWrapper_QTextBlockFormat::setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel) +{ + ( theWrappedObject->setHeadingLevel(alevel)); } -void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setIndent(indent)); } - QTableWidget::dragLeaveEvent(event0); + +void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); } -void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLineHeight(height, heightType)); } - QTableWidget::dragMoveEvent(event0); + +void PythonQtWrapper_QTextBlockFormat::setMarker(QTextBlockFormat* theWrappedObject, QTextBlockFormat::MarkerType marker) +{ + ( theWrappedObject->setMarker(marker)); } -void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setNonBreakableLines(b)); } - QTableWidget::dropEvent(event0); + +void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +{ + ( theWrappedObject->setPageBreakPolicy(flags)); } -bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) + +void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) { -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] = {NULL, (void*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRightMargin(margin)); } - return QTableWidget::dropMimeData(row0, column1, data2, action3); + +void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) +{ + ( theWrappedObject->setTabPositions(tabs)); } -bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) + +void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) { -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] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTextIndent(aindent)); } - return QTableWidget::edit(index0, trigger1, event2); + +void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setTopMargin(margin)); } -void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) + +QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabPositions()); } - QTableWidget::editorDestroyed(editor0); + +qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const +{ + return ( theWrappedObject->textIndent()); } -void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) + +qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->topMargin()); } - QTableWidget::enterEvent(event0); + + + +PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QTableWidget::event(QEvent* e0) +void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::event(e0); + QTextBlockGroup::blockFormatChanged(block0); } -bool PythonQtShell_QTableWidget::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::eventFilter(object0, event1); + QTextBlockGroup::blockInserted(block0); } -void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7082,54 +11241,43 @@ if (_wrapper) { } } } - QTableWidget::focusInEvent(event0); + QTextBlockGroup::blockRemoved(block0); } -bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::focusNextPrevChild(next0); + QTextBlockGroup::childEvent(event0); } -void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7137,32 +11285,32 @@ if (_wrapper) { } } } - QTableWidget::focusOutEvent(event0); + QTextBlockGroup::customEvent(event0); } -bool PythonQtShell_QTableWidget::hasHeightForWidth() const +bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7170,32 +11318,32 @@ if (_wrapper) { } } } - return QTableWidget::hasHeightForWidth(); + return QTextBlockGroup::event(event0); } -int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const +bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7203,21 +11351,21 @@ if (_wrapper) { } } } - return QTableWidget::heightForWidth(arg__1); + return QTextBlockGroup::eventFilter(watched0, event1); } -void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7225,54 +11373,74 @@ if (_wrapper) { } } } - QTableWidget::hideEvent(event0); + QTextBlockGroup::timerEvent(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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QTableWidget::horizontalOffset(); +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 PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) +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("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7280,21 +11448,21 @@ if (_wrapper) { } } } - QTableWidget::horizontalScrollbarAction(action0); + QTextBrowser::actionEvent(event0); } -void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTextBrowser::backward() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("backward"); 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] = {NULL, (void*)&value0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7302,32 +11470,32 @@ if (_wrapper) { } } } - QTableWidget::horizontalScrollbarValueChanged(value0); + QTextBrowser::backward(); } -QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const +bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7335,43 +11503,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QTextBrowser::canInsertFromMimeData(source0); } -void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7379,87 +11525,43 @@ if (_wrapper) { } } } - 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] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::inputMethodQuery(query0); + QTextBrowser::changeEvent(e0); } -bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const +void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::isIndexHidden(index0); + QTextBrowser::childEvent(event0); } -void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7467,21 +11569,21 @@ if (_wrapper) { } } } - QTableWidget::keyPressEvent(event0); + QTextBrowser::closeEvent(event0); } -void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7489,43 +11591,54 @@ if (_wrapper) { } } } - QTableWidget::keyReleaseEvent(event0); + QTextBrowser::contextMenuEvent(e0); } -void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) +QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("createMimeDataFromSelection"); 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] = {NULL, (void*)&search0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::keyboardSearch(search0); + return QTextBrowser::createMimeDataFromSelection(); } -void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7533,32 +11646,32 @@ if (_wrapper) { } } } - QTableWidget::leaveEvent(event0); + QTextBrowser::customEvent(event0); } -int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QTextBrowser::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7566,120 +11679,87 @@ if (_wrapper) { } } } - return QTableWidget::metric(arg__1); + return QTextBrowser::devType(); } -QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const +void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&items0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::mimeData(items0); + QTextBrowser::doSetTextCursor(cursor0); } -QStringList PythonQtShell_QTableWidget::mimeTypes() const +void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::mimeTypes(); + QTextBrowser::dragEnterEvent(e0); } -QSize PythonQtShell_QTableWidget::minimumSizeHint() const +void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::minimumSizeHint(); + QTextBrowser::dragLeaveEvent(e0); } -void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7687,21 +11767,21 @@ if (_wrapper) { } } } - QTableWidget::mouseDoubleClickEvent(event0); + QTextBrowser::dragMoveEvent(e0); } -void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7709,21 +11789,21 @@ if (_wrapper) { } } } - QTableWidget::mouseMoveEvent(event0); + QTextBrowser::dropEvent(e0); } -void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7731,54 +11811,65 @@ if (_wrapper) { } } } - QTableWidget::mousePressEvent(event0); + QTextBrowser::enterEvent(event0); } -void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) +bool PythonQtShell_QTextBrowser::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::mouseReleaseEvent(event0); + return QTextBrowser::event(e0); } -QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +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("moveCursor"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7786,21 +11877,21 @@ if (_wrapper) { } } } - return QTableWidget::moveCursor(cursorAction0, modifiers1); + return QTextBrowser::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7808,32 +11899,32 @@ if (_wrapper) { } } } - QTableWidget::moveEvent(event0); + QTextBrowser::focusInEvent(e0); } -bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7841,87 +11932,109 @@ if (_wrapper) { } } } - return QTableWidget::nativeEvent(eventType0, message1, result2); + return QTextBrowser::focusNextPrevChild(next0); } -QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const +void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + 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); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::paintEngine(); + QTextBrowser::forward(); } -void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) +bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::paintEvent(e0); + return QTextBrowser::hasHeightForWidth(); } -QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const +int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7929,21 +12042,21 @@ if (_wrapper) { } } } - return QTableWidget::redirected(offset0); + return QTextBrowser::heightForWidth(arg__1); } -void PythonQtShell_QTableWidget::reset() +void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7951,21 +12064,21 @@ if (_wrapper) { } } } - QTableWidget::reset(); + QTextBrowser::hideEvent(event0); } -void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTextBrowser::home() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("home"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7973,21 +12086,21 @@ if (_wrapper) { } } } - QTableWidget::resizeEvent(event0); + QTextBrowser::home(); } -void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("initPainter"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7995,21 +12108,21 @@ if (_wrapper) { } } } - QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QTextBrowser::initPainter(painter0); } -void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8017,43 +12130,54 @@ if (_wrapper) { } } } - QTableWidget::rowsInserted(parent0, start1, end2); + QTextBrowser::inputMethodEvent(arg__1); } -void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) +QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::scrollContentsBy(dx0, dy1); + return QTextBrowser::inputMethodQuery(property0); } -void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("insertFromMimeData"); 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] = {NULL, (void*)&index0, (void*)&hint1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8061,21 +12185,21 @@ if (_wrapper) { } } } - QTableWidget::scrollTo(index0, hint1); + QTextBrowser::insertFromMimeData(source0); } -void PythonQtShell_QTableWidget::selectAll() +void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8083,54 +12207,43 @@ if (_wrapper) { } } } - QTableWidget::selectAll(); + QTextBrowser::keyPressEvent(ev0); } -QList PythonQtShell_QTableWidget::selectedIndexes() const +void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::selectedIndexes(); + QTextBrowser::keyReleaseEvent(e0); } -void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8138,32 +12251,32 @@ if (_wrapper) { } } } - QTableWidget::selectionChanged(selected0, deselected1); + QTextBrowser::leaveEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +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("selectionCommand"); + static PyObject* name = PyString_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8171,65 +12284,87 @@ if (_wrapper) { } } } - return QTableWidget::selectionCommand(index0, event1); + return QTextBrowser::loadResource(type0, name1); } -void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) +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("setRootIndex"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::setRootIndex(index0); + return QTextBrowser::metric(arg__1); } -void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&rect0, (void*)&command1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::setSelection(rect0, command1); + return QTextBrowser::minimumSizeHint(); } -void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8237,21 +12372,21 @@ if (_wrapper) { } } } - QTableWidget::setSelectionModel(selectionModel0); + QTextBrowser::mouseDoubleClickEvent(e0); } -void PythonQtShell_QTableWidget::setVisible(bool visible0) +void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8259,21 +12394,21 @@ if (_wrapper) { } } } - QTableWidget::setVisible(visible0); + QTextBrowser::mouseMoveEvent(ev0); } -void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) +void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8281,54 +12416,21 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::sharedPainter(); + QTextBrowser::mousePressEvent(ev0); } -void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8336,65 +12438,54 @@ if (_wrapper) { } } } - QTableWidget::showEvent(event0); + QTextBrowser::mouseReleaseEvent(ev0); } -QSize PythonQtShell_QTableWidget::sizeHint() const +void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) { 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::sizeHint(); + QTextBrowser::moveEvent(event0); } -int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const +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("sizeHintForColumn"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&column0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8402,32 +12493,32 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForColumn(column0); + return QTextBrowser::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const +QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&row0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8435,21 +12526,21 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForRow(row0); + return QTextBrowser::paintEngine(); } -void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8457,32 +12548,32 @@ if (_wrapper) { } } } - QTableWidget::startDrag(supportedActions0); + QTextBrowser::paintEvent(e0); } -Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const +QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8490,21 +12581,21 @@ if (_wrapper) { } } } - return QTableWidget::supportedDropActions(); + return QTextBrowser::redirected(offset0); } -void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextBrowser::reload() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("reload"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8512,21 +12603,21 @@ if (_wrapper) { } } } - QTableWidget::tabletEvent(event0); + QTextBrowser::reload(); } -void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8534,21 +12625,21 @@ if (_wrapper) { } } } - QTableWidget::timerEvent(event0); + QTextBrowser::resizeEvent(e0); } -void PythonQtShell_QTableWidget::updateEditorData() +void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8556,21 +12647,21 @@ if (_wrapper) { } } } - QTableWidget::updateEditorData(); + QTextBrowser::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTableWidget::updateEditorGeometries() +void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("setSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8578,21 +12669,21 @@ if (_wrapper) { } } } - QTableWidget::updateEditorGeometries(); + QTextBrowser::setSource(name0); } -void PythonQtShell_QTableWidget::updateGeometries() +void PythonQtShell_QTextBrowser::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "bool"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8600,76 +12691,76 @@ if (_wrapper) { } } } - QTableWidget::updateGeometries(); + QTextBrowser::setVisible(visible0); } -int PythonQtShell_QTableWidget::verticalOffset() const +void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("setupViewport"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::verticalOffset(); + QTextBrowser::setupViewport(viewport0); } -void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) +QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&action0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::verticalScrollbarAction(action0); + return QTextBrowser::sharedPainter(); } -void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8677,32 +12768,32 @@ if (_wrapper) { } } } - QTableWidget::verticalScrollbarValueChanged(value0); + QTextBrowser::showEvent(arg__1); } -QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +QSize PythonQtShell_QTextBrowser::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8710,98 +12801,76 @@ if (_wrapper) { } } } - return QTableWidget::viewOptions(); + return QTextBrowser::sizeHint(); } -bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::viewportEvent(event0); + QTextBrowser::tabletEvent(event0); } -QSize PythonQtShell_QTableWidget::viewportSizeHint() const +void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::viewportSizeHint(); + QTextBrowser::timerEvent(e0); } -QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const +bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8809,32 +12878,32 @@ if (_wrapper) { } } } - return QTableWidget::visualRect(index0); + return QTextBrowser::viewportEvent(arg__1); } -QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const +QSize PythonQtShell_QTextBrowser::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("viewportSizeHint"); 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] = {NULL, (void*)&selection0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8842,9 +12911,9 @@ if (_wrapper) { } } } - return QTableWidget::visualRegionForSelection(selection0); + return QTextBrowser::viewportSizeHint(); } -void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8854,9 +12923,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8864,1327 +12933,1582 @@ if (_wrapper) { } } } - QTableWidget::wheelEvent(arg__1); + QTextBrowser::wheelEvent(e0); } -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) -{ -return new PythonQtShell_QTableWidget(parent); } - -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) +QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) { -return new PythonQtShell_QTableWidget(rows, columns, parent); } +return new PythonQtShell_QTextBrowser(parent); } -const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { +const QMetaObject* PythonQtShell_QTextBrowser::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBrowser::staticMetaObject); } else { - return &QTableWidget::staticMetaObject; + return &QTextBrowser::staticMetaObject; } } -int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTableWidget::qt_metacall(call, id, args); +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; } -QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const +int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->cellWidget(row, column)); + return ( theWrappedObject->backwardHistoryCount()); } -void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) { - ( theWrappedObject->closePersistentEditor(item)); + ( theWrappedObject->clearHistory()); } -int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::doSetSource(QTextBrowser* theWrappedObject, const QUrl& name, QTextDocument::ResourceType type) { - return ( theWrappedObject->column(item)); + ( ((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->promoted_doSetSource(name, type)); } -int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->columnCount()); + return ( theWrappedObject->forwardHistoryCount()); } -int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const +QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const { - return ( theWrappedObject->currentColumn()); + return ( theWrappedObject->historyTitle(arg__1)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const +QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const { - return ( theWrappedObject->currentItem()); + return ( theWrappedObject->historyUrl(arg__1)); } -int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const +bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->currentRow()); + return ( theWrappedObject->isBackwardAvailable()); } -bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) +bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); + return ( theWrappedObject->isForwardAvailable()); } -void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const { - ( theWrappedObject->editItem(item)); + return ( theWrappedObject->openExternalLinks()); } -QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const +bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->findItems(text, flags)); + return ( theWrappedObject->openLinks()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const +QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->horizontalHeaderItem(column)); + return ( theWrappedObject->searchPaths()); } -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); + ( theWrappedObject->setOpenExternalLinks(open)); } -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); + ( theWrappedObject->setOpenLinks(open)); } -bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const +void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) { - return ( theWrappedObject->isPersistentEditorOpen(item)); + ( theWrappedObject->setSearchPaths(paths)); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const +QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->item(row, column)); + return ( theWrappedObject->source()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const +QTextDocument::ResourceType PythonQtWrapper_QTextBrowser::sourceType(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->itemAt(p)); + return ( theWrappedObject->sourceType()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const + + +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->itemAt(x, y)); + return ( theWrappedObject->anchorHref()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const +QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); + return ( theWrappedObject->anchorNames()); } -const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const +QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->itemPrototype()); + return ( theWrappedObject->font()); } -QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const +QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); + return ( theWrappedObject->fontCapitalization()); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const +QVariant PythonQtWrapper_QTextCharFormat::fontFamilies(QTextCharFormat* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); + return ( theWrappedObject->fontFamilies()); } -QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const +QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); + return ( theWrappedObject->fontFamily()); } -void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) +bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->openPersistentEditor(item)); + return ( theWrappedObject->fontFixedPitch()); } -void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) +QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->removeCellWidget(row, column)); + return ( theWrappedObject->fontHintingPreference()); } -int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->row(item)); + 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_QTableWidget::rowCount(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->tableCellRowSpan()); } -QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const +QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->selectedItems()); + return ( theWrappedObject->textOutline()); } -QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const +QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->selectedRanges()); + return ( theWrappedObject->toolTip()); } -void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) +QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->setCellWidget(row, column, widget)); + return ( theWrappedObject->underlineColor()); } -void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) +QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->setColumnCount(columns)); + return ( theWrappedObject->underlineStyle()); } -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) +QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->setCurrentCell(row, column)); + return ( theWrappedObject->verticalAlignment()); } -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) + + +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 { - ( theWrappedObject->setCurrentCell(row, column, command)); + return ( theWrappedObject->anchor()); } -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item)); + return ( theWrappedObject->atBlockEnd()); } -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) +bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item, command)); + return ( theWrappedObject->atBlockStart()); } -void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setHorizontalHeaderItem(column, item)); + return ( theWrappedObject->atEnd()); } -void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setHorizontalHeaderLabels(labels)); + return ( theWrappedObject->atStart()); } -void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) { - ( theWrappedObject->setItem(row, column, item)); + ( theWrappedObject->beginEditBlock()); } -void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setItemPrototype(item)); + return ( theWrappedObject->block()); } -void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) +QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setRangeSelected(range, select)); + return ( theWrappedObject->blockCharFormat()); } -void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) +QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setRowCount(rows)); + return ( theWrappedObject->blockFormat()); } -void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setVerticalHeaderItem(row, item)); + return ( theWrappedObject->blockNumber()); } -void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) +QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setVerticalHeaderLabels(labels)); + return ( theWrappedObject->charFormat()); } -void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) +void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) { - ( theWrappedObject->sortItems(column, order)); + ( theWrappedObject->clearSelection()); } -Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const +int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); + return ( theWrappedObject->columnNumber()); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) { - return ( theWrappedObject->takeHorizontalHeaderItem(column)); + return ( theWrappedObject->createList(style)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) { - return ( theWrappedObject->takeItem(row, column)); + return ( theWrappedObject->createList(format)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->takeVerticalHeaderItem(row)); + return ( theWrappedObject->currentFrame()); } -QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const +QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->verticalHeaderItem(row)); + return ( theWrappedObject->currentList()); } -int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const +QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->visualColumn(logicalColumn)); + return ( theWrappedObject->currentTable()); } -QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) { - return ( theWrappedObject->visualItemRect(item)); + ( theWrappedObject->deleteChar()); } -int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) { - return ( theWrappedObject->visualRow(logicalRow)); + ( theWrappedObject->deletePreviousChar()); } - - -PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QTableWidgetItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidgetItem::clone(); + return ( theWrappedObject->document()); } -QVariant PythonQtShell_QTableWidgetItem::data(int role0) const + +void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) { -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] = {NULL, (void*)&role0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->endEditBlock()); } - return QTableWidgetItem::data(role0); -} -bool PythonQtShell_QTableWidgetItem::__lt__(const QTableWidgetItem& other0) const + +bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QTableWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->hasComplexSelection()); } - return QTableWidgetItem::operator<(other0); -} -void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) + +bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->hasSelection()); } -void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) { -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] = {NULL, (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); + ( theWrappedObject->insertBlock()); } -void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const + +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) { -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] = {NULL, (void*)&out0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->insertBlock(format)); } - 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); } +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) +{ + ( theWrappedObject->insertBlock(format, charFormat)); +} -QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) { - return ( theWrappedObject->background()); + ( theWrappedObject->insertFragment(fragment)); } -Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) { - return ( theWrappedObject->checkState()); + return ( theWrappedObject->insertFrame(format)); } -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) { - return ( theWrappedObject->clone()); + ( theWrappedObject->insertHtml(html)); } -int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) { - return ( theWrappedObject->column()); + ( theWrappedObject->insertImage(image, name)); } -QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) { - return ( theWrappedObject->data(role)); + ( theWrappedObject->insertImage(name)); } -Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) { - return ( theWrappedObject->flags()); + ( theWrappedObject->insertImage(format)); } -QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) { - return ( theWrappedObject->font()); + ( theWrappedObject->insertImage(format, alignment)); } -QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) { - return ( theWrappedObject->foreground()); + return ( theWrappedObject->insertList(style)); } -QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) { - return ( theWrappedObject->icon()); + return ( theWrappedObject->insertList(format)); } -bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) { - return ( theWrappedObject->isSelected()); + return ( theWrappedObject->insertTable(rows, cols)); } -void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) { - out << (*theWrappedObject); + return ( theWrappedObject->insertTable(rows, cols, format)); } -void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) { - in >> (*theWrappedObject); + ( theWrappedObject->insertText(text)); } -void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) { - ( theWrappedObject->read(in)); + ( theWrappedObject->insertText(text, format)); } -int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const { - return ( theWrappedObject->row()); + return ( theWrappedObject->isCopyOf(other)); } -void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setBackground(brush)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) +void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) { - ( theWrappedObject->setCheckState(state)); + ( theWrappedObject->joinPreviousEditBlock()); } -void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +bool PythonQtWrapper_QTextCursor::keepPositionOnInsert(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setData(role, value)); + return ( theWrappedObject->keepPositionOnInsert()); } -void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) +void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) { - ( theWrappedObject->setFlags(flags)); + ( theWrappedObject->mergeBlockCharFormat(modifier)); } -void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) { - ( theWrappedObject->setFont(font)); + ( theWrappedObject->mergeBlockFormat(modifier)); } -void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) { - ( theWrappedObject->setForeground(brush)); + ( theWrappedObject->mergeCharFormat(modifier)); } -void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->movePosition(op, arg__2, n)); } -void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) +bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setSelected(select)); + return ( (*theWrappedObject)!= rhs); } -void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setSizeHint(size)); + return ( (*theWrappedObject)< rhs); } -void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) +bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setStatusTip(statusTip)); + return ( (*theWrappedObject)<= rhs); } -void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setText(text)); + return ( (*theWrappedObject)== rhs); } -void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) +bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setTextAlignment(alignment)); + return ( (*theWrappedObject)> rhs); } -void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const { - ( theWrappedObject->setToolTip(toolTip)); + return ( (*theWrappedObject)>= rhs); } -void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) +int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const { - ( theWrappedObject->setWhatsThis(whatsThis)); + return ( theWrappedObject->position()); } -QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->positionInBlock()); } -QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) { - return ( theWrappedObject->statusTip()); + ( theWrappedObject->removeSelectedText()); } -QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) { - return ( theWrappedObject->tableWidget()); + ( theWrappedObject->select(selection)); } -QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const +QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->selectedText()); } -int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->textAlignment()); + return ( theWrappedObject->selection()); } -QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->toolTip()); + return ( theWrappedObject->selectionEnd()); } -int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->selectionStart()); } -QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) { - return ( theWrappedObject->whatsThis()); + ( theWrappedObject->setBlockCharFormat(format)); } -void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const +void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) { - ( theWrappedObject->write(out)); + ( theWrappedObject->setBlockFormat(format)); } +void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCharFormat(format)); +} - -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 +void PythonQtWrapper_QTextCursor::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) { - return ( theWrappedObject->bottomRow()); + ( theWrappedObject->setKeepPositionOnInsert(b)); } -int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const +void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) { - return ( theWrappedObject->columnCount()); + ( theWrappedObject->setPosition(pos, mode)); } -int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const +void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) { - return ( theWrappedObject->leftColumn()); + ( theWrappedObject->setVerticalMovementX(x)); } -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::operator_assign(QTableWidgetSelectionRange* theWrappedObject, const QTableWidgetSelectionRange& other) +void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) { - return &( (*theWrappedObject)= other); + ( theWrappedObject->setVisualNavigation(b)); } -int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const +void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) { - return ( theWrappedObject->rightColumn()); + ( theWrappedObject->swap(other)); } -int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const +int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->verticalMovementX()); } -int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->topRow()); + return ( theWrappedObject->visualNavigation()); } -PythonQtShell_QTabletEvent::~PythonQtShell_QTabletEvent() { +PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { 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 +void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) { - return ( theWrappedObject->button()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const + QTextDocument::childEvent(event0); +} +void PythonQtShell_QTextDocument::clear() { - return ( theWrappedObject->buttons()); +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(); + } + } } - -QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->device()); + QTextDocument::timerEvent(event0); } +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) +{ +return new PythonQtShell_QTextDocument(parent); } -QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::deviceType(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->deviceType()); -} +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) +{ +return new PythonQtShell_QTextDocument(text, parent); } -QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); +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; + } } - -const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPosF()); +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; } - -int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) { - return ( theWrappedObject->globalX()); + ( theWrappedObject->addResource(type, name, resource)); } -int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) { - return ( theWrappedObject->globalY()); + ( theWrappedObject->adjustSize()); } -qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->hiResGlobalX()); + return ( theWrappedObject->allFormats()); } -qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->hiResGlobalY()); + return ( theWrappedObject->availableRedoSteps()); } -QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->pointerType()); + return ( theWrappedObject->availableUndoSteps()); } -QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const +QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->pos()); + return ( theWrappedObject->baseUrl()); } -const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const { - return &( theWrappedObject->posF()); + return ( theWrappedObject->begin()); } -qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->pressure()); + return ( theWrappedObject->blockCount()); } -qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const { - return ( theWrappedObject->rotation()); + return ( theWrappedObject->characterAt(pos)); } -qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const +int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->tangentialPressure()); + return ( theWrappedObject->characterCount()); } -qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) { - return ( theWrappedObject->uniqueId()); + ( theWrappedObject->clear()); } -int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) { - return ( theWrappedObject->x()); + ( theWrappedObject->clearUndoRedoStacks(historyToClear)); } -int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const { - return ( theWrappedObject->xTilt()); + return ( theWrappedObject->clone(parent)); } -int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const +QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) { - return ( theWrappedObject->y()); + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); } -int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->yTilt()); + return ( theWrappedObject->defaultCursorMoveStyle()); } -int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const +QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->z()); + return ( theWrappedObject->defaultFont()); } - - -QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) -{ -return new QTapAndHoldGesture(parent); } - -QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const +QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->defaultStyleSheet()); } -void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) +QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setPosition(pos)); + return ( theWrappedObject->defaultTextOption()); } -void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) +QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const { - (QTapAndHoldGesture::setTimeout(msecs)); + return ( theWrappedObject->documentLayout()); } -int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() +qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const { - return (QTapAndHoldGesture::timeout()); + return ( theWrappedObject->documentMargin()); } - - -QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) -{ -return new QTapGesture(parent); } - -QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const +void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) { - return ( theWrappedObject->position()); + ( theWrappedObject->drawContents(painter, rect)); } -void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) +QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setPosition(pos)); + return ( theWrappedObject->end()); } - - -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 +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - return ( theWrappedObject->begin()); + return ( theWrappedObject->find(expr, cursor, options)); } -QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const { - return ( theWrappedObject->blockFormat()); + return ( theWrappedObject->find(expr, from, options)); } -int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - return ( theWrappedObject->blockFormatIndex()); + return ( theWrappedObject->find(expr, cursor, options)); } -int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const { - return ( theWrappedObject->blockNumber()); + return ( theWrappedObject->find(expr, from, options)); } -QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - return ( theWrappedObject->charFormat()); + return ( theWrappedObject->find(subString, cursor, options)); } -int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const { - return ( theWrappedObject->charFormatIndex()); + return ( theWrappedObject->find(subString, from, options)); } -void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) +QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const { - ( theWrappedObject->clearLayout()); + return ( theWrappedObject->findBlock(pos)); } -bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const +QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const { - return ( theWrappedObject->contains(position)); + return ( theWrappedObject->findBlockByLineNumber(blockNumber)); } -const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const { - return ( theWrappedObject->document()); + return ( theWrappedObject->findBlockByNumber(blockNumber)); } -QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->end()); + return ( theWrappedObject->firstBlock()); } -int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const { - return ( theWrappedObject->firstLineNumber()); + return ( theWrappedObject->frameAt(pos)); } -int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const +qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->fragmentIndex()); + return ( theWrappedObject->idealWidth()); } -bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const +qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->indentWidth()); } -bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->isVisible()); + return ( theWrappedObject->isEmpty()); } -QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->layout()); + return ( theWrappedObject->isModified()); } -int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->isRedoAvailable()); } -int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->lineCount()); + return ( theWrappedObject->isUndoAvailable()); } -QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->next()); + return ( theWrappedObject->isUndoRedoEnabled()); } -bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const +QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const { - return ( (*theWrappedObject)!= o); + return ( theWrappedObject->lastBlock()); } -bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const +int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const { - return ( (*theWrappedObject)< o); + return ( theWrappedObject->lineCount()); } -bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const +QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) { - return ( (*theWrappedObject)== o); + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); } -int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) { - return ( theWrappedObject->position()); + ( theWrappedObject->markContentsDirty(from, length)); } -QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const +int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->previous()); + return ( theWrappedObject->maximumBlockCount()); } -int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const +QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const { - return ( theWrappedObject->revision()); + return ( theWrappedObject->metaInformation(info)); } -void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) +QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const { - ( theWrappedObject->setLineCount(count)); + return ( theWrappedObject->object(objectIndex)); } -void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) +QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const { - ( theWrappedObject->setRevision(rev)); + return ( theWrappedObject->objectForFormat(arg__1)); } -void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) +int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setUserData(data)); + return ( theWrappedObject->pageCount()); } -void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) +QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setUserState(state)); + return ( theWrappedObject->pageSize()); } -void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) +void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const { - ( theWrappedObject->setVisible(visible)); + ( theWrappedObject->print(printer)); } -QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) { - return ( theWrappedObject->text()); + ( theWrappedObject->redo(cursor)); } -Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const +QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const { - return ( theWrappedObject->textDirection()); + return ( theWrappedObject->resource(type, name)); } -QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const +int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->textFormats()); + return ( theWrappedObject->revision()); } -QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->textList()); + return ( theWrappedObject->rootFrame()); } -QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) { - return ( theWrappedObject->userData()); + ( theWrappedObject->setBaseUrl(url)); } -int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) { - return ( theWrappedObject->userState()); + ( theWrappedObject->setDefaultCursorMoveStyle(style)); } - - -PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setDefaultFont(font)); } -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() -{ -return new PythonQtShell_QTextBlockFormat(); } -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextBlockFormat(fmt); } +void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) +{ + ( theWrappedObject->setDefaultStyleSheet(sheet)); +} -Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->setDefaultTextOption(option)); } -qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) { - return ( theWrappedObject->bottomMargin()); + ( theWrappedObject->setDocumentLayout(layout)); } -int PythonQtWrapper_QTextBlockFormat::headingLevel(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) { - return ( theWrappedObject->headingLevel()); + ( theWrappedObject->setDocumentMargin(margin)); } -int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) { - return ( theWrappedObject->indent()); + ( theWrappedObject->setHtml(html)); } -bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setIndentWidth(width)); } -qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setMarkdown(QTextDocument* theWrappedObject, const QString& markdown, QTextDocument::MarkdownFeatures features) { - return ( theWrappedObject->leftMargin()); + ( theWrappedObject->setMarkdown(markdown, features)); } -qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) { - return ( theWrappedObject->lineHeight()); + ( theWrappedObject->setMaximumBlockCount(maximum)); } -qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const +void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) { - return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); + ( theWrappedObject->setMetaInformation(info, arg__2)); } -int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) { - return ( theWrappedObject->lineHeightType()); + ( theWrappedObject->setPageSize(size)); } -bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) { - return ( theWrappedObject->nonBreakableLines()); + ( theWrappedObject->setPlainText(text)); } -QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) { - return ( theWrappedObject->pageBreakPolicy()); + ( theWrappedObject->setTextWidth(width)); } -qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) { - return ( theWrappedObject->rightMargin()); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) +void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) { - ( theWrappedObject->setAlignment(alignment)); + ( theWrappedObject->setUseDesignMetrics(b)); } -void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) +QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setBottomMargin(margin)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QTextBlockFormat::setHeadingLevel(QTextBlockFormat* theWrappedObject, int alevel) +qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setHeadingLevel(alevel)); + return ( theWrappedObject->textWidth()); } -void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) +QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const { - ( theWrappedObject->setIndent(indent)); + return ( theWrappedObject->toHtml(encoding)); } -void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) +QString PythonQtWrapper_QTextDocument::toMarkdown(QTextDocument* theWrappedObject, QTextDocument::MarkdownFeatures features) const { - ( theWrappedObject->setLeftMargin(margin)); + return ( theWrappedObject->toMarkdown(features)); } -void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) +QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setLineHeight(height, heightType)); + return ( theWrappedObject->toPlainText()); } -void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) +QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setNonBreakableLines(b)); + return ( theWrappedObject->toRawText()); } -void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) { - ( theWrappedObject->setPageBreakPolicy(flags)); + ( theWrappedObject->undo(cursor)); } -void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) +bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setRightMargin(margin)); + return ( theWrappedObject->useDesignMetrics()); } -void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) + + +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) { - ( theWrappedObject->setTabPositions(tabs)); + return (QTextDocumentFragment::fromHtml(html)); } -void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) { - ( theWrappedObject->setTextIndent(aindent)); + return (QTextDocumentFragment::fromHtml(html, resourceProvider)); } -void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) { - ( theWrappedObject->setTopMargin(margin)); + return (QTextDocumentFragment::fromPlainText(plainText)); } -QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const +bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const { - return ( theWrappedObject->tabPositions()); + return ( theWrappedObject->isEmpty()); } -qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const { - return ( theWrappedObject->textIndent()); + return ( theWrappedObject->toHtml(encoding)); } -qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const { - return ( theWrappedObject->topMargin()); + return ( theWrappedObject->toPlainText()); } -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] = {NULL, (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) +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 { -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] = {NULL, (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); + return ( theWrappedObject->codec()); } -void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) + +QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->device()); } -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; - } +QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); } -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; + +QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) + +void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) { - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); + ( theWrappedObject->setCodec(codec)); } -void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) { - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); + ( theWrappedObject->setDevice(device)); } -QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const +void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) { - return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); + ( theWrappedObject->setFileName(fileName)); } -void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) +void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) { - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); + ( 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)); +} -PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +{ + return ( theWrappedObject->write(fragment)); } -QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() -{ -return new PythonQtShell_QTextBlockUserData(); } -PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { +PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) +void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10194,31 +14518,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10226,9 +14528,9 @@ if (_wrapper) { } } } - QTextBrowser::backward(); + QTextEdit::actionEvent(event0); } -bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const +bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10239,19 +14541,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10259,9 +14561,9 @@ if (_wrapper) { } } } - return QTextBrowser::canInsertFromMimeData(source0); + return QTextEdit::canInsertFromMimeData(source0); } -void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) +void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10271,9 +14573,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10281,9 +14583,31 @@ if (_wrapper) { } } } - QTextBrowser::changeEvent(e0); + QTextEdit::changeEvent(e0); } -void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) +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 @@ -10293,9 +14617,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10303,9 +14627,9 @@ if (_wrapper) { } } } - QTextBrowser::closeEvent(event0); + QTextEdit::closeEvent(event0); } -void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10315,9 +14639,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10325,9 +14649,9 @@ if (_wrapper) { } } } - QTextBrowser::contextMenuEvent(e0); + QTextEdit::contextMenuEvent(e0); } -QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10338,19 +14662,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMimeData* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10358,9 +14682,31 @@ if (_wrapper) { } } } - return QTextBrowser::createMimeDataFromSelection(); + return QTextEdit::createMimeDataFromSelection(); } -int PythonQtShell_QTextBrowser::devType() const +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 @@ -10371,19 +14717,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10391,9 +14737,9 @@ if (_wrapper) { } } } - return QTextBrowser::devType(); + return QTextEdit::devType(); } -void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) +void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10403,9 +14749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10413,9 +14759,9 @@ if (_wrapper) { } } } - QTextBrowser::doSetTextCursor(cursor0); + QTextEdit::doSetTextCursor(cursor0); } -void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) +void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10425,9 +14771,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10435,9 +14781,9 @@ if (_wrapper) { } } } - QTextBrowser::dragEnterEvent(e0); + QTextEdit::dragEnterEvent(e0); } -void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10447,9 +14793,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10457,9 +14803,9 @@ if (_wrapper) { } } } - QTextBrowser::dragLeaveEvent(e0); + QTextEdit::dragLeaveEvent(e0); } -void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10469,9 +14815,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10479,9 +14825,9 @@ if (_wrapper) { } } } - QTextBrowser::dragMoveEvent(e0); + QTextEdit::dragMoveEvent(e0); } -void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) +void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10491,9 +14837,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10501,9 +14847,9 @@ if (_wrapper) { } } } - QTextBrowser::dropEvent(e0); + QTextEdit::dropEvent(e0); } -void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) +void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10513,9 +14859,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10523,9 +14869,9 @@ if (_wrapper) { } } } - QTextBrowser::enterEvent(event0); + QTextEdit::enterEvent(event0); } -bool PythonQtShell_QTextBrowser::event(QEvent* e0) +bool PythonQtShell_QTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10536,19 +14882,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10556,9 +14902,9 @@ if (_wrapper) { } } } - return QTextBrowser::event(e0); + return QTextEdit::event(e0); } -bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10569,19 +14915,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10589,9 +14935,9 @@ if (_wrapper) { } } } - return QTextBrowser::eventFilter(arg__1, arg__2); + return QTextEdit::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10601,9 +14947,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10611,9 +14957,9 @@ if (_wrapper) { } } } - QTextBrowser::focusInEvent(e0); + QTextEdit::focusInEvent(e0); } -bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) +bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10624,19 +14970,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10644,9 +14990,9 @@ if (_wrapper) { } } } - return QTextBrowser::focusNextPrevChild(next0); + return QTextEdit::focusNextPrevChild(next0); } -void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) +void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10656,31 +15002,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10688,9 +15012,9 @@ if (_wrapper) { } } } - QTextBrowser::forward(); + QTextEdit::focusOutEvent(e0); } -bool PythonQtShell_QTextBrowser::hasHeightForWidth() const +bool PythonQtShell_QTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10701,19 +15025,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10721,9 +15045,9 @@ if (_wrapper) { } } } - return QTextBrowser::hasHeightForWidth(); + return QTextEdit::hasHeightForWidth(); } -int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const +int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10734,19 +15058,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10754,9 +15078,9 @@ if (_wrapper) { } } } - return QTextBrowser::heightForWidth(arg__1); + return QTextEdit::heightForWidth(arg__1); } -void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) +void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10766,31 +15090,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10798,9 +15100,9 @@ if (_wrapper) { } } } - QTextBrowser::home(); + QTextEdit::hideEvent(event0); } -void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const +void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10810,9 +15112,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10820,9 +15122,9 @@ if (_wrapper) { } } } - QTextBrowser::initPainter(painter0); + QTextEdit::initPainter(painter0); } -void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10832,9 +15134,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10842,9 +15144,9 @@ if (_wrapper) { } } } - QTextBrowser::inputMethodEvent(arg__1); + QTextEdit::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const +QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10855,19 +15157,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&property0}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10875,9 +15177,9 @@ if (_wrapper) { } } } - return QTextBrowser::inputMethodQuery(property0); + return QTextEdit::inputMethodQuery(property0); } -void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10887,9 +15189,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10897,9 +15199,9 @@ if (_wrapper) { } } } - QTextBrowser::insertFromMimeData(source0); + QTextEdit::insertFromMimeData(source0); } -void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10909,9 +15211,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10919,9 +15221,9 @@ if (_wrapper) { } } } - QTextBrowser::keyPressEvent(ev0); + QTextEdit::keyPressEvent(e0); } -void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10931,9 +15233,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10941,9 +15243,9 @@ if (_wrapper) { } } } - QTextBrowser::keyReleaseEvent(e0); + QTextEdit::keyReleaseEvent(e0); } -void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) +void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10953,9 +15255,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10963,9 +15265,9 @@ if (_wrapper) { } } } - QTextBrowser::leaveEvent(event0); + QTextEdit::leaveEvent(event0); } -QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) +QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10976,19 +15278,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&type0, (void*)&name1}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10996,9 +15298,9 @@ if (_wrapper) { } } } - return QTextBrowser::loadResource(type0, name1); + return QTextEdit::loadResource(type0, name1); } -int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11009,19 +15311,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11029,9 +15331,9 @@ if (_wrapper) { } } } - return QTextBrowser::metric(arg__1); + return QTextEdit::metric(arg__1); } -QSize PythonQtShell_QTextBrowser::minimumSizeHint() const +QSize PythonQtShell_QTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11042,19 +15344,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11062,9 +15364,9 @@ if (_wrapper) { } } } - return QTextBrowser::minimumSizeHint(); + return QTextEdit::minimumSizeHint(); } -void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11074,9 +15376,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11084,9 +15386,9 @@ if (_wrapper) { } } } - QTextBrowser::mouseDoubleClickEvent(e0); + QTextEdit::mouseDoubleClickEvent(e0); } -void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) +void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11096,9 +15398,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11106,9 +15408,9 @@ if (_wrapper) { } } } - QTextBrowser::mouseMoveEvent(ev0); + QTextEdit::mouseMoveEvent(e0); } -void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11118,9 +15420,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11128,9 +15430,9 @@ if (_wrapper) { } } } - QTextBrowser::mousePressEvent(ev0); + QTextEdit::mousePressEvent(e0); } -void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11140,9 +15442,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11150,9 +15452,9 @@ if (_wrapper) { } } } - QTextBrowser::mouseReleaseEvent(ev0); + QTextEdit::mouseReleaseEvent(e0); } -void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11162,9 +15464,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11172,9 +15474,9 @@ if (_wrapper) { } } } - QTextBrowser::moveEvent(event0); + QTextEdit::moveEvent(event0); } -bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11185,19 +15487,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11205,9 +15507,9 @@ if (_wrapper) { } } } - return QTextBrowser::nativeEvent(eventType0, message1, result2); + return QTextEdit::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const +QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11218,19 +15520,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11238,9 +15540,9 @@ if (_wrapper) { } } } - return QTextBrowser::paintEngine(); + return QTextEdit::paintEngine(); } -void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11250,9 +15552,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11260,9 +15562,9 @@ if (_wrapper) { } } } - QTextBrowser::paintEvent(e0); + QTextEdit::paintEvent(e0); } -QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11273,85 +15575,41 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } - } - if (result) { Py_DECREF(result); } - 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] = {NULL}; - 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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::resizeEvent(e0); + return QTextEdit::redirected(offset0); } -void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("resizeEvent"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11359,21 +15617,21 @@ if (_wrapper) { } } } - QTextBrowser::scrollContentsBy(dx0, dy1); + QTextEdit::resizeEvent(e0); } -void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) +void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSource"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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] = {NULL, (void*)&name0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11381,9 +15639,9 @@ if (_wrapper) { } } } - QTextBrowser::setSource(name0); + QTextEdit::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTextBrowser::setVisible(bool visible0) +void PythonQtShell_QTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11393,9 +15651,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11403,9 +15661,9 @@ if (_wrapper) { } } } - QTextBrowser::setVisible(visible0); + QTextEdit::setVisible(visible0); } -void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) +void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11415,9 +15673,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11425,9 +15683,9 @@ if (_wrapper) { } } } - QTextBrowser::setupViewport(viewport0); + QTextEdit::setupViewport(viewport0); } -QPainter* PythonQtShell_QTextBrowser::sharedPainter() const +QPainter* PythonQtShell_QTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11438,19 +15696,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11458,9 +15716,9 @@ if (_wrapper) { } } } - return QTextBrowser::sharedPainter(); + return QTextEdit::sharedPainter(); } -void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) +void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11470,9 +15728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11480,9 +15738,9 @@ if (_wrapper) { } } } - QTextBrowser::showEvent(arg__1); + QTextEdit::showEvent(arg__1); } -QSize PythonQtShell_QTextBrowser::sizeHint() const +QSize PythonQtShell_QTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11493,19 +15751,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11513,9 +15771,9 @@ if (_wrapper) { } } } - return QTextBrowser::sizeHint(); + return QTextEdit::sizeHint(); } -void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11525,9 +15783,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11535,9 +15793,9 @@ if (_wrapper) { } } } - QTextBrowser::tabletEvent(event0); + QTextEdit::tabletEvent(event0); } -void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) +void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11547,9 +15805,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11557,9 +15815,9 @@ if (_wrapper) { } } } - QTextBrowser::timerEvent(e0); + QTextEdit::timerEvent(e0); } -bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) +bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11570,19 +15828,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11590,9 +15848,9 @@ if (_wrapper) { } } } - return QTextBrowser::viewportEvent(arg__1); + return QTextEdit::viewportEvent(arg__1); } -QSize PythonQtShell_QTextBrowser::viewportSizeHint() const +QSize PythonQtShell_QTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11603,19 +15861,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11623,9 +15881,9 @@ if (_wrapper) { } } } - return QTextBrowser::viewportSizeHint(); + return QTextEdit::viewportSizeHint(); } -void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11635,723 +15893,467 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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_QTextDocument::~PythonQtShell_QTextDocument() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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] = {NULL}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; - } else { - 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] = {NULL, (void*)&f0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -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] = {NULL, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); -} -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()); + } else { + PyErr_Clear(); + } + } } - -QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->allFormats()); + QTextEdit::wheelEvent(e0); } +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) +{ +return new PythonQtShell_QTextEdit(parent); } -int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->availableRedoSteps()); -} +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QTextEdit(text, parent); } -int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->availableUndoSteps()); +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; + } } - -QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->baseUrl()); +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; } - -QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->begin()); + return ( theWrappedObject->acceptRichText()); } -int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->blockCount()); + return ( theWrappedObject->alignment()); } -QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const +QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->characterAt(pos)); + return ( theWrappedObject->anchorAt(pos)); } -int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const +QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->characterCount()); + return ( theWrappedObject->autoFormatting()); } -void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) +bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const { - ( theWrappedObject->clear()); + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); } -void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) +bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const { - ( theWrappedObject->clearUndoRedoStacks(historyToClear)); + return ( theWrappedObject->canPaste()); } -QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const +QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->clone(parent)); + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); } -QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) { - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); + return ( theWrappedObject->createStandardContextMenu()); } -Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) { - return ( theWrappedObject->defaultCursorMoveStyle()); + return ( theWrappedObject->createStandardContextMenu(position)); } -QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->defaultFont()); + return ( theWrappedObject->currentCharFormat()); } -QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const +QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->defaultStyleSheet()); + return ( theWrappedObject->currentFont()); } -QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->defaultTextOption()); + return ( theWrappedObject->cursorForPosition(pos)); } -QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->documentLayout()); + return ( theWrappedObject->cursorRect()); } -qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const { - return ( theWrappedObject->documentMargin()); + return ( theWrappedObject->cursorRect(cursor)); } -void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) +int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const { - ( theWrappedObject->drawContents(painter, rect)); + return ( theWrappedObject->cursorWidth()); } -QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->end()); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->find(expr, cursor, options)); + return ( theWrappedObject->document()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const +QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->find(expr, from, options)); + return ( theWrappedObject->documentTitle()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const +void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) { - return ( theWrappedObject->find(expr, cursor, options)); + ( theWrappedObject->ensureCursorVisible()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const +QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->find(expr, from, options)); + return ( theWrappedObject->extraSelections()); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->find(subString, cursor, options)); + return ( theWrappedObject->find(exp, options)); } -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->find(subString, from, options)); + return ( theWrappedObject->find(exp, options)); } -QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->findBlock(pos)); + return ( theWrappedObject->find(exp, options)); } -QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const +QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->findBlockByLineNumber(blockNumber)); + return ( theWrappedObject->fontFamily()); } -QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const +bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->findBlockByNumber(blockNumber)); + return ( theWrappedObject->fontItalic()); } -QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const +qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->firstBlock()); + return ( theWrappedObject->fontPointSize()); } -QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const +bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->frameAt(pos)); + return ( theWrappedObject->fontUnderline()); } -qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const +int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->idealWidth()); + return ( theWrappedObject->fontWeight()); } -qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const +QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const { - return ( theWrappedObject->indentWidth()); + return ( theWrappedObject->inputMethodQuery(query, argument)); } -bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) { - return ( theWrappedObject->isEmpty()); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); } -bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isModified()); + return ( theWrappedObject->isReadOnly()); } -bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isRedoAvailable()); + return ( theWrappedObject->isUndoRedoEnabled()); } -bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const +int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isUndoAvailable()); + return ( theWrappedObject->lineWrapColumnOrWidth()); } -bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const +QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isUndoRedoEnabled()); + return ( theWrappedObject->lineWrapMode()); } -QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const +QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) { - return ( theWrappedObject->lastBlock()); + return ( theWrappedObject->loadResource(type, name)); } -int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) { - return ( theWrappedObject->lineCount()); + ( theWrappedObject->mergeCurrentCharFormat(modifier)); } -QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) +void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); + ( theWrappedObject->moveCursor(operation, mode)); } -void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) +bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const { - ( theWrappedObject->markContentsDirty(from, length)); + return ( theWrappedObject->overwriteMode()); } -int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->maximumBlockCount()); + return ( theWrappedObject->placeholderText()); } -QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const +void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const { - return ( theWrappedObject->metaInformation(info)); + ( theWrappedObject->print(printer)); } -QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const +void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) { - return ( theWrappedObject->object(objectIndex)); + ( theWrappedObject->setAcceptRichText(accept)); } -QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const +void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) { - return ( theWrappedObject->objectForFormat(arg__1)); + ( theWrappedObject->setAutoFormatting(features)); } -int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) { - return ( theWrappedObject->pageCount()); + ( theWrappedObject->setCurrentCharFormat(format)); } -QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) { - return ( theWrappedObject->pageSize()); + ( theWrappedObject->setCursorWidth(width)); } -void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const +void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) { - ( theWrappedObject->print(printer)); + ( theWrappedObject->setDocument(document)); } -void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) +void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) { - ( theWrappedObject->redo(cursor)); + ( theWrappedObject->setDocumentTitle(title)); } -QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const +void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) { - return ( theWrappedObject->resource(type, name)); + ( theWrappedObject->setExtraSelections(selections)); } -int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) { - return ( theWrappedObject->revision()); + ( theWrappedObject->setLineWrapColumnOrWidth(w)); } -QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) { - return ( theWrappedObject->rootFrame()); + ( theWrappedObject->setLineWrapMode(mode)); } -void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) +void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) { - ( theWrappedObject->setBaseUrl(url)); + ( theWrappedObject->setOverwriteMode(overwrite)); } -void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) +void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) { - ( theWrappedObject->setDefaultCursorMoveStyle(style)); + ( theWrappedObject->setPlaceholderText(placeholderText)); } -void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) +void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) { - ( theWrappedObject->setDefaultFont(font)); + ( theWrappedObject->setReadOnly(ro)); } -void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) +void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) { - ( theWrappedObject->setDefaultStyleSheet(sheet)); + ( theWrappedObject->setTabChangesFocus(b)); } -void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) +void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) { - ( theWrappedObject->setDefaultTextOption(option)); + ( theWrappedObject->setTabStopDistance(distance)); } -void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) +void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) { - ( theWrappedObject->setDocumentLayout(layout)); + ( theWrappedObject->setTabStopWidth(width)); } -void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) +void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) { - ( theWrappedObject->setDocumentMargin(margin)); + ( theWrappedObject->setTextCursor(cursor)); } -void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) +void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) { - ( theWrappedObject->setHtml(html)); + ( theWrappedObject->setTextInteractionFlags(flags)); } -void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) +void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) { - ( theWrappedObject->setIndentWidth(width)); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) +void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) { - ( theWrappedObject->setMaximumBlockCount(maximum)); + ( theWrappedObject->setWordWrapMode(policy)); } -void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) +bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setMetaInformation(info, arg__2)); + return ( theWrappedObject->tabChangesFocus()); } -void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) +qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setPageSize(size)); + return ( theWrappedObject->tabStopDistance()); } -void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) +int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setPlainText(text)); + return ( theWrappedObject->tabStopWidth()); } -void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) +QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setTextWidth(width)); + return ( theWrappedObject->textBackgroundColor()); } -void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) +QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setUndoRedoEnabled(enable)); + return ( theWrappedObject->textColor()); } -void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) +QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setUseDesignMetrics(b)); + return ( theWrappedObject->textCursor()); } -QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const +Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->textInteractionFlags()); } -qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->textWidth()); + return ( theWrappedObject->toHtml()); } -QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const +QString PythonQtWrapper_QTextEdit::toMarkdown(QTextEdit* theWrappedObject, QTextDocument::MarkdownFeatures features) const { - return ( theWrappedObject->toHtml(encoding)); + return ( theWrappedObject->toMarkdown(features)); } -QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const { return ( theWrappedObject->toPlainText()); } -QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->toRawText()); -} - -void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) +QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const { - ( theWrappedObject->undo(cursor)); + return ( theWrappedObject->wordWrapMode()); } -bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) { - return ( theWrappedObject->useDesignMetrics()); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); } -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment() +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 QTextDocumentFragment(); } +return new PythonQtShell_QTextEdit__ExtraSelection(); } -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) +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() { -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()); -} - +return new QTextFragment(); } +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) +{ +return new QTextFragment(o); } -QTextCodec* PythonQtWrapper_QTextDocumentWriter::codec(QTextDocumentWriter* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->codec()); + return ( theWrappedObject->charFormat()); } -QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->charFormatIndex()); } -QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->contains(position)); } -QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->glyphRuns(from, length)); } -void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) +bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setCodec(codec)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) +int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setDevice(device)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) +bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - ( theWrappedObject->setFileName(fileName)); + return ( (*theWrappedObject)!= o); } -void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) +bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - ( theWrappedObject->setFormat(format)); + return ( (*theWrappedObject)< o); } -QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() +bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - return (QTextDocumentWriter::supportedDocumentFormats()); + return ( (*theWrappedObject)== o); } -bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) +int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->write(document)); + return ( theWrappedObject->position()); } -bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->write(fragment)); + return ( theWrappedObject->text()); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h similarity index 59% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h index 9fae064b..84af3c8b 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui9.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -3,9 +3,8 @@ #include #include #include -#include +#include #include -#include #include #include #include @@ -14,30 +13,59 @@ #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include #include +#include #include #include #include +#include #include #include #include #include +#include +#include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include #include #include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include +#include #include #include #include @@ -53,229 +81,34 @@ #include #include #include +#include #include #include #include +#include #include #include #include #include #include +#include +#include +#include #include +#include #include #include -class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton -{ -public: - PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionToolButton(); - - - 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; } -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(NULL) {}; - PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(NULL) {}; - - ~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; } -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(NULL) {}; - - ~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(NULL) {}; - - ~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(NULL) {}; - - ~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: -void delete_QStylePainter(QStylePainter* obj) { delete obj; } +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); @@ -293,15 +126,20 @@ void delete_QStylePainter(QStylePainter* obj) { delete obj; } class PythonQtShell_QStylePlugin : public QStylePlugin { public: - PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QStylePlugin(); + ~PythonQtShell_QStylePlugin() override; -virtual QStyle* create(const QString& key); +void childEvent(QChildEvent* event) override; +QStyle* create(const QString& key) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin @@ -314,7 +152,7 @@ class PythonQtWrapper_QStylePlugin : public QObject public: public slots: QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); -void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } +void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } QStyle* create(QStylePlugin* theWrappedObject, const QString& key); QStyle* py_q_create(QStylePlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QStylePlugin*)theWrappedObject)->py_q_create(key));} }; @@ -326,27 +164,31 @@ void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate { public: - PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStyledItemDelegate(); - -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual QString displayText(const QVariant& value, const QLocale& locale) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const; -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyledItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +QString displayText(const QVariant& value, const QLocale& locale) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate @@ -371,12 +213,11 @@ class PythonQtWrapper_QStyledItemDelegate : public QObject public: public slots: QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); -void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } +void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } QWidget* py_q_createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; QString py_q_displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_displayText(value, locale));} 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 eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event); 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));} @@ -396,16 +237,16 @@ void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } class PythonQtShell_QSurface : public QSurface { public: - PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(NULL) {}; + PythonQtShell_QSurface(QSurface::SurfaceClass type):QSurface(type),_wrapper(nullptr) {}; - ~PythonQtShell_QSurface(); + ~PythonQtShell_QSurface() override; -virtual QSurfaceFormat format() const; -virtual QSize size() const; -virtual QPlatformSurface* surfaceHandle() const; -virtual QSurface::SurfaceType surfaceType() const; +QSurfaceFormat format() const override; +QSize size() const override; +QPlatformSurface* surfaceHandle() const override; +QSurface::SurfaceType surfaceType() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSurface : public QSurface @@ -426,7 +267,7 @@ 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; } +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; @@ -463,7 +304,7 @@ public slots: QSurfaceFormat* new_QSurfaceFormat(); QSurfaceFormat* new_QSurfaceFormat(QSurfaceFormat::FormatOptions options); QSurfaceFormat* new_QSurfaceFormat(const QSurfaceFormat& other); -void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } +void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } int alphaBufferSize(QSurfaceFormat* theWrappedObject) const; int blueBufferSize(QSurfaceFormat* theWrappedObject) const; QSurfaceFormat::ColorSpace colorSpace(QSurfaceFormat* theWrappedObject) const; @@ -473,6 +314,7 @@ void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } bool hasAlpha(QSurfaceFormat* theWrappedObject) const; int majorVersion(QSurfaceFormat* theWrappedObject) const; int minorVersion(QSurfaceFormat* theWrappedObject) const; + bool __ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2); QSurfaceFormat* operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other); bool __eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2); QSurfaceFormat::FormatOptions options(QSurfaceFormat* theWrappedObject) const; @@ -514,12 +356,30 @@ void delete_QSurfaceFormat(QSurfaceFormat* obj) { delete obj; } +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; } +void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const; void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value); qreal swipeAngle(QSwipeGesture* theWrappedObject) const; @@ -533,16 +393,21 @@ void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter { public: - PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; - PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; + PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSyntaxHighlighter(); + ~PythonQtShell_QSyntaxHighlighter() override; -virtual void highlightBlock(const QString& text); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void highlightBlock(const QString& text) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSyntaxHighlighter : public QSyntaxHighlighter @@ -567,7 +432,7 @@ class PythonQtWrapper_QSyntaxHighlighter : public QObject public slots: QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); -void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } +void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } QTextBlock currentBlock(QSyntaxHighlighter* theWrappedObject) const; int currentBlockState(QSyntaxHighlighter* theWrappedObject) const; QTextBlockUserData* currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const; @@ -591,16 +456,20 @@ void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon { public: - PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(NULL) {}; - PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(NULL) {}; + PythonQtShell_QSystemTrayIcon(QObject* parent = nullptr):QSystemTrayIcon(parent),_wrapper(nullptr) {}; + PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr):QSystemTrayIcon(icon, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSystemTrayIcon(); + ~PythonQtShell_QSystemTrayIcon() override; -virtual bool event(QEvent* event); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon @@ -620,9 +489,8 @@ enum MessageIcon{ public slots: QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = nullptr); QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = nullptr); -void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } +void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const; - bool event(QSystemTrayIcon* theWrappedObject, QEvent* event); 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; @@ -642,61 +510,64 @@ void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } class PythonQtShell_QTabBar : public QTabBar { public: - PythonQtShell_QTabBar(QWidget* parent = nullptr):QTabBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTabBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual QSize minimumTabSizeHint(int index) const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabInserted(int index); -virtual void tabLayoutChange(); -virtual void tabRemoved(int index); -virtual QSize tabSizeHint(int index) const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTabBar(QWidget* parent = nullptr):QTabBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTabBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +QSize minimumTabSizeHint(int index) const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabInserted(int index) override; +void tabLayoutChange() override; +void tabRemoved(int index) override; +QSize tabSizeHint(int index) const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabBar : public QTabBar @@ -750,7 +621,7 @@ enum SelectionBehavior{ SelectLeftTab = QTabBar::SelectLeftTab, SelectRightTab = QTabBar::SelectRightTab, SelectPreviousTab = QTabBar::SelectPreviousTab}; public slots: QTabBar* new_QTabBar(QWidget* parent = nullptr); -void delete_QTabBar(QTabBar* obj) { delete obj; } +void delete_QTabBar(QTabBar* obj) { delete obj; } QString accessibleTabName(QTabBar* theWrappedObject, int index) const; int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); int addTab(QTabBar* theWrappedObject, const QString& text); @@ -829,7 +700,6 @@ void delete_QTabBar(QTabBar* obj) { delete obj; } QString tabToolTip(QTabBar* theWrappedObject, int index) const; QString tabWhatsThis(QTabBar* theWrappedObject, int index) const; bool tabsClosable(QTabBar* theWrappedObject) const; - void timerEvent(QTabBar* theWrappedObject, QTimerEvent* event); 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));} @@ -842,57 +712,61 @@ void delete_QTabBar(QTabBar* obj) { delete obj; } class PythonQtShell_QTabWidget : public QTabWidget { public: - PythonQtShell_QTabWidget(QWidget* parent = nullptr):QTabWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTabWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabInserted(int index); -virtual void tabRemoved(int index); -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTabWidget(QWidget* parent = nullptr):QTabWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTabWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabInserted(int index) override; +void tabRemoved(int index) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTabWidget : public QTabWidget @@ -926,7 +800,7 @@ class PythonQtWrapper_QTabWidget : public QObject public: public slots: QTabWidget* new_QTabWidget(QWidget* parent = nullptr); -void delete_QTabWidget(QTabWidget* obj) { delete obj; } +void delete_QTabWidget(QTabWidget* obj) { delete obj; } int addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label); int addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2); void py_q_changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -998,99 +872,101 @@ void delete_QTabWidget(QTabWidget* obj) { delete obj; } class PythonQtShell_QTableView : public QTableView { public: - PythonQtShell_QTableView(QWidget* parent = nullptr):QTableView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTableView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTableView(QWidget* parent = nullptr):QTableView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTableView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableView : public QTableView @@ -1153,7 +1029,7 @@ class PythonQtWrapper_QTableView : public QObject public: public slots: QTableView* new_QTableView(QWidget* parent = nullptr); -void delete_QTableView(QTableView* obj) { delete obj; } +void delete_QTableView(QTableView* obj) { delete obj; } void clearSpans(QTableView* theWrappedObject); int columnAt(QTableView* theWrappedObject, int x) const; int columnSpan(QTableView* theWrappedObject, int row, int column) const; @@ -1218,103 +1094,105 @@ void delete_QTableView(QTableView* obj) { delete obj; } class PythonQtShell_QTableWidget : public QTableWidget { public: - PythonQtShell_QTableWidget(QWidget* parent = nullptr):QTableWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = nullptr):QTableWidget(rows, columns, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTableWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTableWidget(QWidget* parent = nullptr):QTableWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = nullptr):QTableWidget(rows, columns, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTableWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidget : public QTableWidget @@ -1343,7 +1221,7 @@ class PythonQtWrapper_QTableWidget : public QObject public slots: QTableWidget* new_QTableWidget(QWidget* parent = nullptr); QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = nullptr); -void delete_QTableWidget(QTableWidget* obj) { delete obj; } +void delete_QTableWidget(QTableWidget* obj) { delete obj; } QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; @@ -1410,20 +1288,19 @@ void delete_QTableWidget(QTableWidget* obj) { delete obj; } class PythonQtShell_QTableWidgetItem : public QTableWidgetItem { public: - PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(NULL) {}; - PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(NULL) {}; - PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(NULL) {}; + PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(nullptr) {}; + PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(nullptr) {}; + PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(nullptr) {}; - ~PythonQtShell_QTableWidgetItem(); + ~PythonQtShell_QTableWidgetItem() override; -virtual QTableWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual bool __lt__(const QTableWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; +QTableWidgetItem* clone() const override; +QVariant data(int role) const override; +void read(QDataStream& in) override; +void setData(int role, const QVariant& value) override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem @@ -1445,7 +1322,7 @@ public slots: QTableWidgetItem* new_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type); QTableWidgetItem* new_QTableWidgetItem(const QString& text, int type = Type); QTableWidgetItem* new_QTableWidgetItem(int type = Type); -void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } +void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } QBrush background(QTableWidgetItem* theWrappedObject) const; Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; @@ -1501,7 +1378,7 @@ public slots: QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(); QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other); QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(int top, int left, int bottom, int right); -void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } +void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; @@ -1518,13 +1395,13 @@ void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete class PythonQtShell_QTabletEvent : public QTabletEvent { public: - PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {}; - PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons),_wrapper(NULL) {}; + PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(nullptr) {}; + PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons):QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons),_wrapper(nullptr) {}; - ~PythonQtShell_QTabletEvent(); + ~PythonQtShell_QTabletEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTabletEvent : public QObject @@ -1538,7 +1415,7 @@ enum TabletDevice{ public slots: QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons); -void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } +void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } Qt::MouseButton button(QTabletEvent* theWrappedObject) const; Qt::MouseButtons buttons(QTabletEvent* theWrappedObject) const; QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; @@ -1567,12 +1444,30 @@ void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } +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; } +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); @@ -1583,12 +1478,30 @@ void delete_QTapAndHoldGesture(QTapAndHoldGesture* obj) { delete obj; } +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; } +void delete_QTapGesture(QTapGesture* obj) { delete obj; } QPointF position(QTapGesture* theWrappedObject) const; void setPosition(QTapGesture* theWrappedObject, const QPointF& pos); }; @@ -1603,7 +1516,7 @@ class PythonQtWrapper_QTextBlock : public QObject public slots: QTextBlock* new_QTextBlock(); QTextBlock* new_QTextBlock(const QTextBlock& o); -void delete_QTextBlock(QTextBlock* obj) { delete obj; } +void delete_QTextBlock(QTextBlock* obj) { delete obj; } QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; int blockFormatIndex(QTextBlock* theWrappedObject) const; @@ -1649,21 +1562,23 @@ void delete_QTextBlock(QTextBlock* obj) { delete obj; } class PythonQtShell_QTextBlockFormat : public QTextBlockFormat { public: - PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextBlockFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockFormat : public QObject { Q_OBJECT public: -Q_ENUMS(LineHeightTypes ) +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); @@ -1671,7 +1586,7 @@ QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) { PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat(); *((QTextBlockFormat*)a) = other; return a; } -void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } +void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; int headingLevel(QTextBlockFormat* theWrappedObject) const; @@ -1681,6 +1596,7 @@ void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } 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; @@ -1690,6 +1606,7 @@ void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } 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); @@ -1709,17 +1626,22 @@ void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } class PythonQtShell_QTextBlockGroup : public QTextBlockGroup { public: - PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {}; + PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextBlockGroup(); + ~PythonQtShell_QTextBlockGroup() override; -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup @@ -1754,12 +1676,12 @@ QTextBlockGroup* new_QTextBlockGroup(QTextDocument* doc); class PythonQtShell_QTextBlockUserData : public QTextBlockUserData { public: - PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {}; + PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(nullptr) {}; - ~PythonQtShell_QTextBlockUserData(); + ~PythonQtShell_QTextBlockUserData() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextBlockUserData : public QObject @@ -1767,7 +1689,7 @@ class PythonQtWrapper_QTextBlockUserData : public QObject public: public slots: QTextBlockUserData* new_QTextBlockUserData(); -void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } +void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } }; @@ -1777,71 +1699,73 @@ void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } class PythonQtShell_QTextBrowser : public QTextBrowser { public: - PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextBrowser(); - -virtual void actionEvent(QActionEvent* event); -virtual void backward(); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual void forward(); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void home(); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reload(); -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setSource(const QUrl& name); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBrowser() override; + +void actionEvent(QActionEvent* event) override; +void backward() override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* ev) override; +void forward() override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void home() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reload() override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setSource(const QUrl& name) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser @@ -1876,7 +1800,7 @@ class PythonQtWrapper_QTextBrowser : public QObject public: public slots: QTextBrowser* new_QTextBrowser(QWidget* parent = nullptr); -void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } +void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } void py_q_backward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_backward());} int backwardHistoryCount(QTextBrowser* theWrappedObject) const; void clearHistory(QTextBrowser* theWrappedObject); @@ -1913,21 +1837,221 @@ void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } +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(NULL) {}; - PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(NULL) {}; + PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QTextDocument(); + ~PythonQtShell_QTextDocument() override; -virtual void clear(); -virtual QTextObject* createObject(const QTextFormat& f); -virtual QVariant loadResource(int type, const QUrl& name); +void childEvent(QChildEvent* event) override; +void clear() override; +QTextObject* createObject(const QTextFormat& f) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextDocument : public QTextDocument @@ -1942,19 +2066,22 @@ inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextD class PythonQtWrapper_QTextDocument : public QObject { Q_OBJECT public: -Q_ENUMS(FindFlag MetaInformation Stacks ) -Q_FLAGS(FindFlags ) +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 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; @@ -2022,6 +2149,7 @@ void delete_QTextDocument(QTextDocument* obj) { delete obj; } 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); @@ -2032,6 +2160,7 @@ void delete_QTextDocument(QTextDocument* obj) { delete obj; } 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); @@ -2051,7 +2180,7 @@ QTextDocumentFragment* new_QTextDocumentFragment(); QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); -void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } +void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); @@ -2069,7 +2198,10 @@ class PythonQtWrapper_QTextDocumentWriter : public QObject { Q_OBJECT public: public slots: -void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } +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; @@ -2084,3 +2216,306 @@ void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } }; + + + +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(); } +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp similarity index 78% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index defb7d66..8999f8e0 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -1,11 +1,9 @@ -#include "com_trolltech_qt_gui10.h" +#include "com_trolltech_qt_gui11.h" #include #include #include #include -#include #include -#include #include #include #include @@ -13,65 +11,85 @@ #include #include #include +#include #include +#include +#include #include +#include #include +#include #include #include -#include #include +#include #include +#include +#include #include #include #include +#include #include +#include +#include #include +#include +#include #include #include +#include #include -#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include #include +#include +#include +#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_QTextEdit::~PythonQtShell_QTextEdit() { +PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -79,76 +97,21 @@ if (_wrapper) { } } } - 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] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); + QTextFrame::childEvent(event0); } -void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) +void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - 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::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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -156,54 +119,32 @@ if (_wrapper) { } } } - QTextEdit::closeEvent(event0); + QTextFrame::customEvent(event0); } -void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) +bool PythonQtShell_QTextFrame::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QMimeData**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -211,32 +152,32 @@ if (_wrapper) { } } } - return QTextEdit::createMimeDataFromSelection(); + return QTextFrame::event(event0); } -int PythonQtShell_QTextEdit::devType() const +bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -244,21 +185,21 @@ if (_wrapper) { } } } - return QTextEdit::devType(); + return QTextFrame::eventFilter(watched0, event1); } -void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) +void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doSetTextCursor"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&cursor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -266,3172 +207,4161 @@ if (_wrapper) { } } } - QTextEdit::doSetTextCursor(cursor0); + QTextFrame::timerEvent(event0); } -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QTextEdit::dragEnterEvent(e0); +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; } -void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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); + return ( theWrappedObject->begin()); } -void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) + +QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->childFrames()); } -void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) + +QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->end()); } -void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) + +QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->firstCursorPosition()); } - QTextEdit::enterEvent(event0); + +int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->firstPosition()); } -bool PythonQtShell_QTextEdit::event(QEvent* e0) + +QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->frameFormat()); } - return QTextEdit::event(e0); + +QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->lastCursorPosition()); } -bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) + +int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lastPosition()); } - return QTextEdit::eventFilter(arg__1, arg__2); + +QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const +{ + return ( theWrappedObject->parentFrame()); } -void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) + +void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFrameFormat(format)); } - QTextEdit::focusInEvent(e0); + + + +PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) +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 { -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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::focusNextPrevChild(next0); + return ( theWrappedObject->border()); } -void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) + +QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->borderBrush()); } -bool PythonQtShell_QTextEdit::hasHeightForWidth() const + +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::hasHeightForWidth(); + return ( theWrappedObject->borderStyle()); } -int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const + +qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->bottomMargin()); } - return QTextEdit::heightForWidth(arg__1); + +QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->height()); } -void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) + +bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - QTextEdit::hideEvent(event0); + +qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftMargin()); } -void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const + +qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) 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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->margin()); } - QTextEdit::initPainter(painter0); + +qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->padding()); } -void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) + +QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pageBreakPolicy()); } - QTextEdit::inputMethodEvent(arg__1); + +QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->position()); } -QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const + +qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) 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] = {NULL, (void*)&property0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rightMargin()); } - return QTextEdit::inputMethodQuery(property0); + +void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) +{ + ( theWrappedObject->setBorder(border)); } -void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) + +void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) { -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] = {NULL, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBorderBrush(brush)); } - QTextEdit::insertFromMimeData(source0); + +void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +{ + ( theWrappedObject->setBorderStyle(style)); } -void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) + +void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBottomMargin(margin)); } - QTextEdit::keyPressEvent(e0); + +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +{ + ( theWrappedObject->setHeight(height)); } -void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) + +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHeight(height)); } - QTextEdit::keyReleaseEvent(e0); + +void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); } -void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMargin(margin)); } - QTextEdit::leaveEvent(event0); + +void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setPadding(padding)); } -QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) + +void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) { -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] = {NULL, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPageBreakPolicy(flags)); } - return QTextEdit::loadResource(type0, name1); + +void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) +{ + ( theWrappedObject->setPosition(f)); } -int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRightMargin(margin)); } - return QTextEdit::metric(arg__1); + +void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setTopMargin(margin)); } -QSize PythonQtShell_QTextEdit::minimumSizeHint() const + +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWidth(length)); +} + +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); } - return QTextEdit::minimumSizeHint(); + +qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->topMargin()); } -void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) + +QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); } - QTextEdit::mouseDoubleClickEvent(e0); + + + +PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) +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 { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->height()); } - QTextEdit::mouseMoveEvent(e0); + +bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) + +QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->name()); } - QTextEdit::mousePressEvent(e0); + +int PythonQtWrapper_QTextImageFormat::quality(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->quality()); } -void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) + +void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHeight(height)); } - QTextEdit::mouseReleaseEvent(e0); + +void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); } -void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QTextImageFormat::setQuality(QTextImageFormat* theWrappedObject, int quality) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setQuality(quality)); } - QTextEdit::moveEvent(event0); + +void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); } -bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->width()); } - return QTextEdit::nativeEvent(eventType0, message1, result2); + + + +QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() +{ +return new QTextInlineObject(); } + +qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); } -QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const + +qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->descent()); } - return QTextEdit::paintEngine(); + +QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) + +int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->formatIndex()); } - QTextEdit::paintEvent(e0); + +qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->height()); } -QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const + +bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) 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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - return QTextEdit::redirected(offset0); + +QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->rect()); } -void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) + +void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAscent(a)); } - QTextEdit::resizeEvent(e0); + +void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +{ + ( theWrappedObject->setDescent(d)); } -void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) + +void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) { -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] = {NULL, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWidth(w)); +} + +Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); } - QTextEdit::scrollContentsBy(dx0, dy1); + +int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->textPosition()); } -void PythonQtShell_QTextEdit::setVisible(bool visible0) + +qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const { -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] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); } - QTextEdit::setVisible(visible0); + + + +PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) +QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() +{ +return new PythonQtShell_QTextItem(); } + +qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const { -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] = {NULL, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ascent()); } - QTextEdit::setupViewport(viewport0); + +qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->descent()); } -QPainter* PythonQtShell_QTextEdit::sharedPainter() const + +QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->font()); } - return QTextEdit::sharedPainter(); + +QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const +{ + return ( theWrappedObject->renderFlags()); } -void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) + +QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const { -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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::viewportSizeHint(); + return ( theWrappedObject->text()); } -void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) + +qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->width()); } -QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) + + + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() { -return new PythonQtShell_QTextEdit(parent); } +return new QTextLayout(); } -QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) { -return new PythonQtShell_QTextEdit(text, parent); } +return new QTextLayout(text); } -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()); -} +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) +{ +return new QTextLayout(text, font, paintdevice); } -Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) +{ +return new QTextLayout(b); } -QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const +QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->anchorAt(pos)); + return ( theWrappedObject->additionalFormats()); } -QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) { - return ( theWrappedObject->autoFormatting()); + ( theWrappedObject->beginLayout()); } -bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const +QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); + return ( theWrappedObject->boundingRect()); } -bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->canPaste()); + return ( theWrappedObject->cacheEnabled()); } -QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) { - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); + ( theWrappedObject->clearAdditionalFormats()); } -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) +void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) { - return ( theWrappedObject->createStandardContextMenu()); + ( theWrappedObject->clearFormats()); } -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) +void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) { - return ( theWrappedObject->createStandardContextMenu(position)); + ( theWrappedObject->clearLayout()); } -QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const +QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) { - return ( theWrappedObject->currentCharFormat()); + return ( theWrappedObject->createLine()); } -QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const +Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->currentFont()); + return ( theWrappedObject->cursorMoveStyle()); } -QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const { - return ( theWrappedObject->cursorForPosition(pos)); + ( theWrappedObject->draw(p, pos, selections, clip)); } -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const { - return ( theWrappedObject->cursorRect()); + ( theWrappedObject->drawCursor(p, pos, cursorPosition)); } -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const { - return ( theWrappedObject->cursorRect(cursor)); + ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); } -int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) { - return ( theWrappedObject->cursorWidth()); + ( theWrappedObject->endLayout()); } -void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); + return ( theWrappedObject->font()); } -QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const +QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->document()); + return ( theWrappedObject->formats()); } -QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const +QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const { - return ( theWrappedObject->documentTitle()); + return ( theWrappedObject->glyphRuns(from, length)); } -void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) +bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const { - ( theWrappedObject->ensureCursorVisible()); + return ( theWrappedObject->isValidCursorPosition(pos)); } -QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const { - return ( theWrappedObject->extraSelections()); + return ( theWrappedObject->leftCursorPosition(oldPos)); } -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->lineAt(i)); } -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegularExpression& exp, QTextDocument::FindFlags options) +int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->lineCount()); } -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->lineForTextPosition(pos)); } -QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->fontFamily()); + return ( theWrappedObject->maximumWidth()); } -bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->fontItalic()); + return ( theWrappedObject->minimumWidth()); } -qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const { - return ( theWrappedObject->fontPointSize()); + return ( theWrappedObject->nextCursorPosition(oldPos, mode)); } -bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const +QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->fontUnderline()); + return ( theWrappedObject->position()); } -int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->fontWeight()); + return ( theWrappedObject->preeditAreaPosition()); } -QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const { - return ( theWrappedObject->inputMethodQuery(query, argument)); + return ( theWrappedObject->preeditAreaText()); } -void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) +int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); + return ( theWrappedObject->previousCursorPosition(oldPos, mode)); } -bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const { - return ( theWrappedObject->isReadOnly()); + return ( theWrappedObject->rightCursorPosition(oldPos)); } -bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) { - return ( theWrappedObject->isUndoRedoEnabled()); + ( theWrappedObject->setAdditionalFormats(overrides)); } -int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) { - return ( theWrappedObject->lineWrapColumnOrWidth()); + ( theWrappedObject->setCacheEnabled(enable)); } -QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) { - return ( theWrappedObject->lineWrapMode()); + ( theWrappedObject->setCursorMoveStyle(style)); } -QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) +void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) { - return ( theWrappedObject->loadResource(type, name)); + ( theWrappedObject->setFlags(flags)); } -void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) { - ( theWrappedObject->mergeCurrentCharFormat(modifier)); + ( theWrappedObject->setFont(f)); } -void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) { - ( theWrappedObject->moveCursor(operation, mode)); + ( theWrappedObject->setFormats(overrides)); } -bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) { - return ( theWrappedObject->overwriteMode()); + ( theWrappedObject->setPosition(p)); } -QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) { - return ( theWrappedObject->placeholderText()); + ( theWrappedObject->setPreeditArea(position, text)); } -void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) { - ( theWrappedObject->print(printer)); + ( theWrappedObject->setRawFont(rawFont)); } -void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) +void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) { - ( theWrappedObject->setAcceptRichText(accept)); + ( theWrappedObject->setText(string)); } -void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) +void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) { - ( theWrappedObject->setAutoFormatting(features)); + ( theWrappedObject->setTextOption(option)); } -void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) +QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const { - ( theWrappedObject->setCurrentCharFormat(format)); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) +const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const { - ( theWrappedObject->setCursorWidth(width)); + return &( theWrappedObject->textOption()); } -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)); +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(); } -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)); -} +QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() +{ +return new QTextLine(); } -void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const { - ( theWrappedObject->setTextInteractionFlags(flags)); + return ( theWrappedObject->ascent()); } -void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) +qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const { - ( theWrappedObject->setUndoRedoEnabled(enable)); + return ( theWrappedObject->cursorToX(cursorPos, edge)); } -void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) +qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const { - ( theWrappedObject->setWordWrapMode(policy)); + return ( theWrappedObject->descent()); } -bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const { - return ( theWrappedObject->tabChangesFocus()); + ( theWrappedObject->draw(p, point, selection)); } -qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const +QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const { - return ( theWrappedObject->tabStopDistance()); + return ( theWrappedObject->glyphRuns(from, length)); } -int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const { - return ( theWrappedObject->tabStopWidth()); + return ( theWrappedObject->height()); } -QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const { - return ( theWrappedObject->textBackgroundColor()); + return ( theWrappedObject->horizontalAdvance()); } -QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const { - return ( theWrappedObject->textColor()); + return ( theWrappedObject->isValid()); } -QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const { - return ( theWrappedObject->textCursor()); + return ( theWrappedObject->leading()); } -Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const { - return ( theWrappedObject->textInteractionFlags()); + return ( theWrappedObject->leadingIncluded()); } -void PythonQtWrapper_QTextEdit::timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e) +int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_timerEvent(e)); + return ( theWrappedObject->lineNumber()); } -QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const +QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const { - return ( theWrappedObject->toHtml()); + return ( theWrappedObject->naturalTextRect()); } -QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const { - return ( theWrappedObject->toPlainText()); + return ( theWrappedObject->naturalTextWidth()); } -QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const +QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const { - return ( theWrappedObject->wordWrapMode()); + return ( theWrappedObject->position()); } -void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) +QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); -} - - - -PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->rect()); } -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 +void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) { - return ( theWrappedObject->charFormat()); + ( theWrappedObject->setLeadingIncluded(included)); } -int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const +void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) { - return ( theWrappedObject->charFormatIndex()); + ( theWrappedObject->setLineWidth(width)); } -bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) { - return ( theWrappedObject->contains(position)); + ( theWrappedObject->setNumColumns(columns)); } -QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) { - return ( theWrappedObject->glyphRuns(from, length)); + ( theWrappedObject->setNumColumns(columns, alignmentWidth)); } -bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const +void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setPosition(pos)); } -int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const +int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->textLength()); } -bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const +int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const { - return ( (*theWrappedObject)!= o); + return ( theWrappedObject->textStart()); } -bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const +qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const { - return ( (*theWrappedObject)< o); + return ( theWrappedObject->width()); } -bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const +qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const { - return ( (*theWrappedObject)== o); + return ( theWrappedObject->x()); } -int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const +int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->xToCursor(x, arg__2)); } -QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->y()); } -PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { +PythonQtShell_QTextList::~PythonQtShell_QTextList() { 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 +void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { - return ( theWrappedObject->border()); +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(); + } + } } - -QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->borderBrush()); + QTextList::blockFormatChanged(block0); } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const +void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { - return ( theWrappedObject->borderStyle()); +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(); + } + } } - -qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomMargin()); + QTextList::blockInserted(block0); } - -QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const +void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { - return ( theWrappedObject->height()); +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(); + } + } } - -bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + QTextList::blockRemoved(block0); } - -qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const +void PythonQtShell_QTextList::childEvent(QChildEvent* event0) { - return ( theWrappedObject->leftMargin()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->margin()); + QTextList::childEvent(event0); } - -qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const +void PythonQtShell_QTextList::customEvent(QEvent* event0) { - return ( theWrappedObject->padding()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->pageBreakPolicy()); + QTextList::customEvent(event0); } - -QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const +bool PythonQtShell_QTextList::event(QEvent* event0) { - return ( theWrappedObject->position()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightMargin()); + return QTextList::event(event0); } - -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) +bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setBorderStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setBottomMargin(margin)); + return QTextList::eventFilter(watched0, event1); } - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setHeight(height)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); + QTextList::timerEvent(event0); } +QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +{ +return new PythonQtShell_QTextList(doc); } -void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setLeftMargin(margin)); +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; + } } - -void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setMargin(margin)); +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_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) +void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) { - ( theWrappedObject->setPadding(padding)); + ( theWrappedObject->add(block)); } -void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const { - ( theWrappedObject->setPageBreakPolicy(flags)); + return ( theWrappedObject->count()); } -void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) +QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const { - ( theWrappedObject->setPosition(f)); + return ( theWrappedObject->format()); } -void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) +QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const { - ( theWrappedObject->setRightMargin(margin)); + return ( theWrappedObject->item(i)); } -void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) +int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const { - ( theWrappedObject->setTopMargin(margin)); + return ( theWrappedObject->itemNumber(arg__1)); } -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) +QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const { - ( theWrappedObject->setWidth(length)); + return ( theWrappedObject->itemText(arg__1)); } -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) { - ( theWrappedObject->setWidth(width)); + ( theWrappedObject->remove(arg__1)); } -qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) { - return ( theWrappedObject->topMargin()); + ( theWrappedObject->removeItem(i)); } -QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) { - return ( theWrappedObject->width()); + ( theWrappedObject->setFormat(format)); } -PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { +PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() { -return new PythonQtShell_QTextImageFormat(); } +return new PythonQtShell_QTextListFormat(); } -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) { -return new PythonQtShell_QTextImageFormat(format); } +return new PythonQtShell_QTextListFormat(fmt); } -qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const +int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const { - return ( theWrappedObject->height()); + return ( theWrappedObject->indent()); } -bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const +bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const { return ( theWrappedObject->isValid()); } -QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const +QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const { - return ( theWrappedObject->name()); + return ( theWrappedObject->numberPrefix()); } -int PythonQtWrapper_QTextImageFormat::quality(QTextImageFormat* theWrappedObject) const +QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const { - return ( theWrappedObject->quality()); + return ( theWrappedObject->numberSuffix()); } -void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) +void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) { - ( theWrappedObject->setHeight(height)); + ( theWrappedObject->setIndent(indent)); } -void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) +void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) { - ( theWrappedObject->setName(name)); + ( theWrappedObject->setNumberPrefix(numberPrefix)); } -void PythonQtWrapper_QTextImageFormat::setQuality(QTextImageFormat* theWrappedObject, int quality) +void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) { - ( theWrappedObject->setQuality(quality)); + ( theWrappedObject->setNumberSuffix(numberSuffix)); } -void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) +void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) { - ( theWrappedObject->setWidth(width)); + ( theWrappedObject->setStyle(style)); } -qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const +QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const { - return ( theWrappedObject->width()); + return ( theWrappedObject->style()); } -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()); +PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { - return ( theWrappedObject->format()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); + QTextObject::childEvent(event0); } - -qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTextObject::customEvent(QEvent* event0) { - return ( theWrappedObject->height()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + QTextObject::customEvent(event0); } - -QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +bool PythonQtShell_QTextObject::event(QEvent* event0) { - return ( theWrappedObject->rect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) -{ - ( theWrappedObject->setAscent(a)); + return QTextObject::event(event0); } - -void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1) { - ( 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()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textPosition()); + return QTextObject::eventFilter(watched0, event1); } - -qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->width()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTextObject::timerEvent(event0); } -QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() +QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) { -return new PythonQtShell_QTextItem(); } +return new PythonQtShell_QTextObject(doc); } -qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); +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; + } } - -qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->descent()); +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; } - -QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const +QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->document()); } -QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const +QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const { - return ( theWrappedObject->renderFlags()); + return ( theWrappedObject->format()); } -QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const +int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->formatIndex()); } -qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const +int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const { - return ( theWrappedObject->width()); + return ( theWrappedObject->objectIndex()); } - - -QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) { - return ( theWrappedObject->additionalFormats()); + ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); } -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()); -} +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() +{ +return new QTextOption(); } -void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearAdditionalFormats()); -} +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) +{ +return new QTextOption(alignment); } -void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearFormats()); -} +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) +{ +return new QTextOption(o); } -void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) +Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const { - ( theWrappedObject->clearLayout()); + return ( theWrappedObject->alignment()); } -QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) +QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const { - return ( theWrappedObject->createLine()); + return ( theWrappedObject->flags()); } -Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->cursorMoveStyle()); + ( theWrappedObject->setAlignment(alignment)); } -void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const +void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) { - ( theWrappedObject->draw(p, pos, selections, clip)); + ( theWrappedObject->setFlags(flags)); } -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const +void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) { - ( theWrappedObject->drawCursor(p, pos, cursorPosition)); + ( theWrappedObject->setTabArray(tabStops)); } -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const +void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) { - ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); + ( theWrappedObject->setTabStop(tabStop)); } -void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) +void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) { - ( theWrappedObject->endLayout()); + ( theWrappedObject->setTabStopDistance(tabStopDistance)); } -QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) { - return ( theWrappedObject->font()); + ( theWrappedObject->setTabs(tabStops)); } -QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const +void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) { - return ( theWrappedObject->formats()); + ( theWrappedObject->setTextDirection(aDirection)); } -QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const +void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) { - return ( theWrappedObject->glyphRuns(from, length)); + ( theWrappedObject->setUseDesignMetrics(b)); } -bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const +void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) { - return ( theWrappedObject->isValidCursorPosition(pos)); + ( theWrappedObject->setWrapMode(wrap)); } -int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const { - return ( theWrappedObject->leftCursorPosition(oldPos)); + return ( theWrappedObject->tabArray()); } -QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const +qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const { - return ( theWrappedObject->lineAt(i)); + return ( theWrappedObject->tabStop()); } -int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const +qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const { - return ( theWrappedObject->lineCount()); + return ( theWrappedObject->tabStopDistance()); } -QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const { - return ( theWrappedObject->lineForTextPosition(pos)); + return ( theWrappedObject->tabs()); } -qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const +Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const { - return ( theWrappedObject->maximumWidth()); + return ( theWrappedObject->textDirection()); } -qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const +bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const { - return ( theWrappedObject->minimumWidth()); + return ( theWrappedObject->useDesignMetrics()); } -int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const { - return ( theWrappedObject->nextCursorPosition(oldPos, mode)); + return ( theWrappedObject->wrapMode()); } -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()); +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(); } -int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const -{ - return ( theWrappedObject->previousCursorPosition(oldPos, mode)); -} +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +{ +return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } -int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const { - return ( theWrappedObject->rightCursorPosition(oldPos)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) +bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const { - ( theWrappedObject->setAdditionalFormats(overrides)); + return ( (*theWrappedObject)== other); } -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)); +PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) +void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { - ( theWrappedObject->setFont(f)); -} - -void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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) { - ( theWrappedObject->setFormats(overrides)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) + QTextTable::customEvent(event0); +} +bool PythonQtShell_QTextTable::event(QEvent* event0) { - ( theWrappedObject->setPosition(p)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) + return QTextTable::event(event0); +} +bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setPreeditArea(position, text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) + return QTextTable::eventFilter(watched0, event1); +} +void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setRawFont(rawFont)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) +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->setText(string)); + ( theWrappedObject->appendColumns(count)); } -void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) +void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) { - ( theWrappedObject->setTextOption(option)); + ( theWrappedObject->appendRows(count)); } -QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->cellAt(c)); } -const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const { - return &( theWrappedObject->textOption()); + return ( theWrappedObject->cellAt(position)); } - - -PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const +{ + return ( theWrappedObject->cellAt(row, col)); } -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 +int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const { - return ( theWrappedObject->ascent()); + return ( theWrappedObject->columns()); } -qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const +QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const { - return ( theWrappedObject->cursorToX(cursorPos, edge)); + return ( theWrappedObject->format()); } -qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->descent()); + ( theWrappedObject->insertColumns(pos, num)); } -void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const +void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) { - ( theWrappedObject->draw(p, point, selection)); + ( theWrappedObject->insertRows(pos, num)); } -QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->glyphRuns(from, length)); + ( theWrappedObject->mergeCells(cursor)); } -qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { - return ( theWrappedObject->height()); + ( theWrappedObject->mergeCells(row, col, numRows, numCols)); } -qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->horizontalAdvance()); + ( theWrappedObject->removeColumns(pos, num)); } -bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->removeRows(pos, num)); } -qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) { - return ( theWrappedObject->leading()); + ( theWrappedObject->resize(rows, cols)); } -bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( theWrappedObject->leadingIncluded()); + return ( theWrappedObject->rowEnd(c)); } -int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( theWrappedObject->lineNumber()); + return ( theWrappedObject->rowStart(c)); } -QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const +int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const { - return ( theWrappedObject->naturalTextRect()); + return ( theWrappedObject->rows()); } -qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) { - return ( theWrappedObject->naturalTextWidth()); + ( theWrappedObject->setFormat(format)); } -QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const +void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { - return ( theWrappedObject->position()); + ( theWrappedObject->splitCell(row, col, numRows, numCols)); } -QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const + + +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->rect()); + return ( theWrappedObject->begin()); } -void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) +int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const { - ( theWrappedObject->setLeadingIncluded(included)); + return ( theWrappedObject->column()); } -void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) +int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const { - ( theWrappedObject->setLineWidth(width)); + return ( theWrappedObject->columnSpan()); } -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) +QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const { - ( theWrappedObject->setNumColumns(columns)); + return ( theWrappedObject->end()); } -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) +QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const { - ( theWrappedObject->setNumColumns(columns, alignmentWidth)); + return ( theWrappedObject->firstCursorPosition()); } -void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) +int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const { - ( theWrappedObject->setPosition(pos)); + return ( theWrappedObject->firstPosition()); } -int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->textLength()); + return ( theWrappedObject->format()); } -int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const +bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->textStart()); + return ( theWrappedObject->isValid()); } -qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->width()); + return ( theWrappedObject->lastCursorPosition()); } -qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->x()); + return ( theWrappedObject->lastPosition()); } -int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const +bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { - return ( theWrappedObject->xToCursor(x, arg__2)); + return ( (*theWrappedObject)!= other); } -qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const +bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { - return ( theWrappedObject->y()); + return ( (*theWrappedObject)== other); } - - -PythonQtShell_QTextList::~PythonQtShell_QTextList() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) +int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->row()); } -void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) + +int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const { -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] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rowSpan()); } - QTextList::blockInserted(block0); + +void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setFormat(format)); } -void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) + +int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const { -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] = {NULL, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tableCellFormatIndex()); } - QTextList::blockRemoved(block0); + + + +PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() { -return new PythonQtShell_QTextList(doc); } +return new PythonQtShell_QTextTableCellFormat(); } -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) +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableCellFormat(fmt); } + +qreal PythonQtWrapper_QTextTableCellFormat::bottomBorder(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->add(block)); + return ( theWrappedObject->bottomBorder()); } -int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const +QBrush PythonQtWrapper_QTextTableCellFormat::bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->bottomBorderBrush()); } -QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->bottomBorderStyle()); } -QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const +qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->item(i)); + return ( theWrappedObject->bottomPadding()); } -int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const +bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->itemNumber(arg__1)); + return ( theWrappedObject->isValid()); } -QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const +qreal PythonQtWrapper_QTextTableCellFormat::leftBorder(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->itemText(arg__1)); + return ( theWrappedObject->leftBorder()); } -void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) +QBrush PythonQtWrapper_QTextTableCellFormat::leftBorderBrush(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->remove(arg__1)); + return ( theWrappedObject->leftBorderBrush()); } -void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::leftBorderStyle(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->removeItem(i)); + return ( theWrappedObject->leftBorderStyle()); } -void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const { - ( theWrappedObject->setFormat(format)); + return ( theWrappedObject->leftPadding()); } +qreal PythonQtWrapper_QTextTableCellFormat::rightBorder(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightBorder()); +} +QBrush PythonQtWrapper_QTextTableCellFormat::rightBorderBrush(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightBorderBrush()); +} -PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::rightBorderStyle(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightBorderStyle()); } -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() -{ -return new PythonQtShell_QTextListFormat(); } -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextListFormat(fmt); } +qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightPadding()); +} -int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - return ( theWrappedObject->indent()); + ( theWrappedObject->setBorder(width)); } -bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setBorderBrush(brush)); } -QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - return ( theWrappedObject->numberPrefix()); + ( theWrappedObject->setBorderStyle(style)); } -QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setBottomBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - return ( theWrappedObject->numberSuffix()); + ( theWrappedObject->setBottomBorder(width)); } -void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) +void PythonQtWrapper_QTextTableCellFormat::setBottomBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setIndent(indent)); + ( theWrappedObject->setBottomBorderBrush(brush)); } -void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) +void PythonQtWrapper_QTextTableCellFormat::setBottomBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( theWrappedObject->setNumberPrefix(numberPrefix)); + ( theWrappedObject->setBottomBorderStyle(style)); } -void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) +void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setNumberSuffix(numberSuffix)); + ( theWrappedObject->setBottomPadding(padding)); } -void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +void PythonQtWrapper_QTextTableCellFormat::setLeftBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - ( theWrappedObject->setStyle(style)); + ( theWrappedObject->setLeftBorder(width)); } -QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setLeftBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->style()); + ( 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)); +} -PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setPadding(padding)); } -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; - } +void PythonQtWrapper_QTextTableCellFormat::setRightBorder(QTextTableCellFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setRightBorder(width)); } -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; + +void PythonQtWrapper_QTextTableCellFormat::setRightBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setRightBorderBrush(brush)); } -QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const + +void PythonQtWrapper_QTextTableCellFormat::setRightBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - return ( theWrappedObject->document()); + ( theWrappedObject->setRightBorderStyle(style)); } -QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->format()); + ( theWrappedObject->setRightPadding(padding)); } -int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setTopBorder(QTextTableCellFormat* theWrappedObject, qreal width) { - return ( theWrappedObject->formatIndex()); + ( theWrappedObject->setTopBorder(width)); } -int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const +void PythonQtWrapper_QTextTableCellFormat::setTopBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) { - return ( theWrappedObject->objectIndex()); + ( theWrappedObject->setTopBorderBrush(brush)); } -void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) +void PythonQtWrapper_QTextTableCellFormat::setTopBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); + ( theWrappedObject->setTopBorderStyle(style)); } - - -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 +void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->tabStopDistance()); + ( theWrappedObject->setTopPadding(padding)); } -QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const +qreal PythonQtWrapper_QTextTableCellFormat::topBorder(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->tabs()); + return ( theWrappedObject->topBorder()); } -Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const +QBrush PythonQtWrapper_QTextTableCellFormat::topBorderBrush(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->textDirection()); + return ( theWrappedObject->topBorderBrush()); } -bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::topBorderStyle(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->useDesignMetrics()); + return ( theWrappedObject->topBorderStyle()); } -QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const +qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const { - return ( theWrappedObject->wrapMode()); + return ( theWrappedObject->topPadding()); } -PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { +PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() { -return new PythonQtShell_QTextOption__Tab(); } +return new PythonQtShell_QTextTableFormat(); } -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) { -return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } - -bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const -{ - return ( (*theWrappedObject)!= other); -} +return new PythonQtShell_QTextTableFormat(fmt); } -bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->alignment()); } - - -void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) +bool PythonQtWrapper_QTextTableFormat::borderCollapse(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->appendColumns(count)); + return ( theWrappedObject->borderCollapse()); } -void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) +qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->appendRows(count)); + return ( theWrappedObject->cellPadding()); } -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const +qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->cellAt(c)); + return ( theWrappedObject->cellSpacing()); } -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const +void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) { - return ( theWrappedObject->cellAt(position)); + ( theWrappedObject->clearColumnWidthConstraints()); } -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const +QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->cellAt(row, col)); + return ( theWrappedObject->columnWidthConstraints()); } -int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const +int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* 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) +int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->insertColumns(pos, num)); + return ( theWrappedObject->headerRowCount()); } -void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) +bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->insertRows(pos, num)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) +void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) { - ( theWrappedObject->mergeCells(cursor)); + ( theWrappedObject->setAlignment(alignment)); } -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) +void PythonQtWrapper_QTextTableFormat::setBorderCollapse(QTextTableFormat* theWrappedObject, bool borderCollapse) { - ( theWrappedObject->mergeCells(row, col, numRows, numCols)); + ( theWrappedObject->setBorderCollapse(borderCollapse)); } -void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) +void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->removeColumns(pos, num)); + ( theWrappedObject->setCellPadding(padding)); } -void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) +void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) { - ( theWrappedObject->removeRows(pos, num)); + ( theWrappedObject->setCellSpacing(spacing)); } -void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) +void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) { - ( theWrappedObject->resize(rows, cols)); + ( theWrappedObject->setColumnWidthConstraints(constraints)); } -QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const +void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) { - return ( theWrappedObject->rowEnd(c)); + ( theWrappedObject->setColumns(columns)); } -QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const +void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) { - return ( theWrappedObject->rowStart(c)); + ( theWrappedObject->setHeaderRowCount(count)); } -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)); +PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - - - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) { -return new QTextTableCell(); } +return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) { -return new QTextTableCell(o); } - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} +return new PythonQtShell_QTileRules(rule); } -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()); +PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->firstCursorPosition()); +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(); + } + } } - -int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstPosition()); + QTimeEdit::actionEvent(event0); } - -QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { - return ( theWrappedObject->format()); -} - -bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); +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(); + } + } } - -QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); + QTimeEdit::changeEvent(event0); } - -int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) { - return ( theWrappedObject->lastPosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const -{ - return ( (*theWrappedObject)!= other); + QTimeEdit::childEvent(event0); } - -bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const +void PythonQtShell_QTimeEdit::clear() { - return ( (*theWrappedObject)== other); +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(); + } + } } - -int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->row()); + QTimeEdit::clear(); } - -int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->rowSpan()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setFormat(format)); + QTimeEdit::closeEvent(event0); } - -int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const +void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { - return ( theWrappedObject->tableCellFormatIndex()); +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(); + } + } } - - - -PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTimeEdit::contextMenuEvent(event0); } -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 +void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { - return ( theWrappedObject->bottomBorder()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QBrush PythonQtWrapper_QTextTableCellFormat::bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomBorderBrush()); + QTimeEdit::customEvent(event0); } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const +QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const { - return ( theWrappedObject->bottomBorderStyle()); +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(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomPadding()); + return QTimeEdit::dateTimeFromText(text0); } - -bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const +int PythonQtShell_QTimeEdit::devType() const { - return ( theWrappedObject->isValid()); +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(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::leftBorder(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftBorder()); + return QTimeEdit::devType(); } - -QBrush PythonQtWrapper_QTextTableCellFormat::leftBorderBrush(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->leftBorderBrush()); +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(); + } + } } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::leftBorderStyle(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftBorderStyle()); + QTimeEdit::dragEnterEvent(event0); } - -qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->leftPadding()); +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(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::rightBorder(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightBorder()); -} - -QBrush PythonQtWrapper_QTextTableCellFormat::rightBorderBrush(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightBorderBrush()); + QTimeEdit::dragLeaveEvent(event0); } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::rightBorderStyle(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->rightBorderStyle()); +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(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightPadding()); + QTimeEdit::dragMoveEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setBorder(QTextTableCellFormat* theWrappedObject, qreal width) +void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { - ( theWrappedObject->setBorder(width)); +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(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBorderBrush(brush)); + QTimeEdit::dropEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { - ( theWrappedObject->setBorderStyle(style)); +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(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setBottomBorder(QTextTableCellFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setBottomBorder(width)); + QTimeEdit::enterEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setBottomBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +bool PythonQtShell_QTimeEdit::event(QEvent* event0) { - ( theWrappedObject->setBottomBorderBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setBottomBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setBottomBorderStyle(style)); + return QTimeEdit::event(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setBottomPadding(padding)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setLeftBorder(QTextTableCellFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setLeftBorder(width)); + return QTimeEdit::eventFilter(watched0, event1); } - -void PythonQtWrapper_QTextTableCellFormat::setLeftBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) +void PythonQtShell_QTimeEdit::fixup(QString& input0) const { - ( theWrappedObject->setLeftBorderBrush(brush)); +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(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setLeftBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setLeftBorderStyle(style)); + QTimeEdit::fixup(input0); } - -void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->setLeftPadding(padding)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); + QTimeEdit::focusInEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setRightBorder(QTextTableCellFormat* theWrappedObject, qreal width) +bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { - ( theWrappedObject->setRightBorder(width)); +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(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setRightBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setRightBorderBrush(brush)); + return QTimeEdit::focusNextPrevChild(next0); } - -void PythonQtWrapper_QTextTableCellFormat::setRightBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) +void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->setRightBorderStyle(style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setRightPadding(padding)); + QTimeEdit::focusOutEvent(event0); } - -void PythonQtWrapper_QTextTableCellFormat::setTopBorder(QTextTableCellFormat* theWrappedObject, qreal width) +bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { - ( theWrappedObject->setTopBorder(width)); -} - -void PythonQtWrapper_QTextTableCellFormat::setTopBorderBrush(QTextTableCellFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setTopBorderBrush(brush)); +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(); + } + } } - -void PythonQtWrapper_QTextTableCellFormat::setTopBorderStyle(QTextTableCellFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setTopBorderStyle(style)); + return QTimeEdit::hasHeightForWidth(); } - -void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { - ( theWrappedObject->setTopPadding(padding)); +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(); + } + } } - -qreal PythonQtWrapper_QTextTableCellFormat::topBorder(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->topBorder()); + return QTimeEdit::heightForWidth(arg__1); } - -QBrush PythonQtWrapper_QTextTableCellFormat::topBorderBrush(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->topBorderBrush()); +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(); + } + } } - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextTableCellFormat::topBorderStyle(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->topBorderStyle()); + QTimeEdit::hideEvent(event0); } - -qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { - return ( theWrappedObject->topPadding()); +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(); + } + } } - - - -PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTimeEdit::initPainter(painter0); } -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 +void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->alignment()); +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(); + } + } } - -bool PythonQtWrapper_QTextTableFormat::borderCollapse(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->borderCollapse()); + QTimeEdit::inputMethodEvent(arg__1); } - -qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const +QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->cellPadding()); +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(); + } + } } - -qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->cellSpacing()); + return QTimeEdit::inputMethodQuery(arg__1); } - -void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) +void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->clearColumnWidthConstraints()); +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(); + } + } } - -QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->columnWidthConstraints()); + QTimeEdit::keyPressEvent(event0); } - -int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->columns()); +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(); + } + } } - -int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->headerRowCount()); + QTimeEdit::keyReleaseEvent(event0); } - -bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const +void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { - return ( theWrappedObject->isValid()); +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(); + } + } } - -void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); + QTimeEdit::leaveEvent(event0); } - -void PythonQtWrapper_QTextTableFormat::setBorderCollapse(QTextTableFormat* theWrappedObject, bool borderCollapse) +int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->setBorderCollapse(borderCollapse)); +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 PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) +void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->setCellPadding(padding)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setCellSpacing(spacing)); + QToolBar::keyReleaseEvent(event0); } - -void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) +void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) { - ( theWrappedObject->setColumnWidthConstraints(constraints)); +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(); + } + } } - -void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumns(columns)); + QToolBar::leaveEvent(event0); } - -void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) +int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->setHeaderRowCount(count)); +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(); + } + } } - - - -PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QToolBar::metric(arg__1); } -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); } +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(); + } + } } -void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) + 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("actionEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3439,21 +4369,21 @@ if (_wrapper) { } } } - QTimeEdit::actionEvent(event0); + QToolBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) +void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3461,21 +4391,21 @@ if (_wrapper) { } } } - QTimeEdit::changeEvent(event0); + QToolBar::mouseMoveEvent(event0); } -void PythonQtShell_QTimeEdit::clear() +void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3483,21 +4413,21 @@ if (_wrapper) { } } } - QTimeEdit::clear(); + QToolBar::mousePressEvent(event0); } -void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3505,21 +4435,21 @@ if (_wrapper) { } } } - QTimeEdit::closeEvent(event0); + QToolBar::mouseReleaseEvent(event0); } -void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3527,32 +4457,32 @@ if (_wrapper) { } } } - QTimeEdit::contextMenuEvent(event0); + QToolBar::moveEvent(event0); } -QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const +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("dateTimeFromText"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&text0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QDateTime*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3560,32 +4490,32 @@ if (_wrapper) { } } } - return QTimeEdit::dateTimeFromText(text0); + return QToolBar::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QTimeEdit::devType() const +QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3593,21 +4523,21 @@ if (_wrapper) { } } } - return QTimeEdit::devType(); + return QToolBar::paintEngine(); } -void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3615,43 +4545,54 @@ if (_wrapper) { } } } - QTimeEdit::dragEnterEvent(event0); + QToolBar::paintEvent(event0); } -void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) +QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::dragLeaveEvent(event0); + return QToolBar::redirected(offset0); } -void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3659,43 +4600,76 @@ if (_wrapper) { } } } - QTimeEdit::dragMoveEvent(event0); + QToolBar::resizeEvent(event0); } -void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::dropEvent(event0); + return QToolBar::sharedPainter(); } -void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) +void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3703,32 +4677,32 @@ if (_wrapper) { } } } - QTimeEdit::enterEvent(event0); + QToolBar::showEvent(event0); } -bool PythonQtShell_QTimeEdit::event(QEvent* event0) +QSize PythonQtShell_QToolBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3736,21 +4710,21 @@ if (_wrapper) { } } } - return QTimeEdit::event(event0); + return QToolBar::sizeHint(); } -void PythonQtShell_QTimeEdit::fixup(QString& input0) const +void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&input0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3758,21 +4732,21 @@ if (_wrapper) { } } } - QTimeEdit::fixup(input0); + QToolBar::tabletEvent(event0); } -void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3780,54 +4754,216 @@ if (_wrapper) { } } } - QTimeEdit::focusInEvent(event0); + QToolBar::timerEvent(event0); } -bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) +void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::focusNextPrevChild(next0); + QToolBar::wheelEvent(event0); } -void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* 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("focusOutEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3835,87 +4971,65 @@ if (_wrapper) { } } } - QTimeEdit::focusOutEvent(event0); + QToolBox::actionEvent(event0); } -bool PythonQtShell_QTimeEdit::hasHeightForWidth() const +void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("changeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::hasHeightForWidth(); + QToolBox::changeEvent(arg__1); } -int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const +void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::heightForWidth(arg__1); + QToolBox::childEvent(event0); } -void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3923,21 +5037,21 @@ if (_wrapper) { } } } - QTimeEdit::hideEvent(event0); + QToolBox::closeEvent(event0); } -void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3945,21 +5059,21 @@ if (_wrapper) { } } } - QTimeEdit::initPainter(painter0); + QToolBox::contextMenuEvent(event0); } -void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QToolBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3967,32 +5081,32 @@ if (_wrapper) { } } } - QTimeEdit::inputMethodEvent(arg__1); + QToolBox::customEvent(event0); } -QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QToolBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4000,21 +5114,21 @@ if (_wrapper) { } } } - return QTimeEdit::inputMethodQuery(arg__1); + return QToolBox::devType(); } -void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4022,21 +5136,21 @@ if (_wrapper) { } } } - QTimeEdit::keyPressEvent(event0); + QToolBox::dragEnterEvent(event0); } -void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4044,21 +5158,21 @@ if (_wrapper) { } } } - QTimeEdit::keyReleaseEvent(event0); + QToolBox::dragLeaveEvent(event0); } -void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4066,131 +5180,131 @@ if (_wrapper) { } } } - QTimeEdit::leaveEvent(event0); + QToolBox::dragMoveEvent(event0); } -int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::metric(arg__1); + QToolBox::dropEvent(event0); } -QSize PythonQtShell_QTimeEdit::minimumSizeHint() const +void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::minimumSizeHint(); + QToolBox::enterEvent(event0); } -void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QToolBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::mouseDoubleClickEvent(event0); + return QToolBox::event(e0); } -void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::mouseMoveEvent(event0); + return QToolBox::eventFilter(watched0, event1); } -void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4198,43 +5312,54 @@ if (_wrapper) { } } } - QTimeEdit::mousePressEvent(event0); + QToolBox::focusInEvent(event0); } -void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) +bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::mouseReleaseEvent(event0); + return QToolBox::focusNextPrevChild(next0); } -void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4242,32 +5367,32 @@ if (_wrapper) { } } } - QTimeEdit::moveEvent(event0); + QToolBox::focusOutEvent(event0); } -bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QToolBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4275,32 +5400,32 @@ if (_wrapper) { } } } - return QTimeEdit::nativeEvent(eventType0, message1, result2); + return QToolBox::hasHeightForWidth(); } -QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const +int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4308,76 +5433,43 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QToolBox::heightForWidth(arg__1); } -QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const +void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::redirected(offset0); + QToolBox::hideEvent(event0); } -void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4385,21 +5477,21 @@ if (_wrapper) { } } } - QTimeEdit::resizeEvent(event0); + QToolBox::initPainter(painter0); } -void PythonQtShell_QTimeEdit::setVisible(bool visible0) +void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4407,32 +5499,32 @@ if (_wrapper) { } } } - QTimeEdit::setVisible(visible0); + QToolBox::inputMethodEvent(arg__1); } -QPainter* PythonQtShell_QTimeEdit::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4440,21 +5532,21 @@ if (_wrapper) { } } } - return QTimeEdit::sharedPainter(); + return QToolBox::inputMethodQuery(arg__1); } -void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QToolBox::itemInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4462,54 +5554,43 @@ if (_wrapper) { } } } - QTimeEdit::showEvent(event0); + QToolBox::itemInserted(index0); } -QSize PythonQtShell_QTimeEdit::sizeHint() const +void PythonQtShell_QToolBox::itemRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("itemRemoved"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::sizeHint(); + QToolBox::itemRemoved(index0); } -void PythonQtShell_QTimeEdit::stepBy(int steps0) +void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4517,54 +5598,43 @@ if (_wrapper) { } } } - QTimeEdit::stepBy(steps0); + QToolBox::keyPressEvent(event0); } -QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const +void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepEnabled"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); - } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::stepEnabled(); + QToolBox::keyReleaseEvent(event0); } -void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4572,32 +5642,32 @@ if (_wrapper) { } } } - QTimeEdit::tabletEvent(event0); + QToolBox::leaveEvent(event0); } -QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const +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("textFromDateTime"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&dt0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4605,54 +5675,32 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QToolBox::metric(arg__1); } -QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const +QSize PythonQtShell_QToolBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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] = {NULL, (void*)&input0, (void*)&pos1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4660,21 +5708,21 @@ if (_wrapper) { } } } - return QTimeEdit::validate(input0, pos1); + return QToolBox::minimumSizeHint(); } -void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4682,48 +5730,21 @@ if (_wrapper) { } } } - 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); } + QToolBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4731,21 +5752,21 @@ if (_wrapper) { } } } - QToolBar::actionEvent(event0); + QToolBox::mouseMoveEvent(event0); } -void PythonQtShell_QToolBar::changeEvent(QEvent* event0) +void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4753,21 +5774,21 @@ if (_wrapper) { } } } - QToolBar::changeEvent(event0); + QToolBox::mousePressEvent(event0); } -void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4775,21 +5796,21 @@ if (_wrapper) { } } } - QToolBar::closeEvent(event0); + QToolBox::mouseReleaseEvent(event0); } -void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4797,32 +5818,32 @@ if (_wrapper) { } } } - QToolBar::contextMenuEvent(event0); + QToolBox::moveEvent(event0); } -int PythonQtShell_QToolBar::devType() const +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("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4830,43 +5851,54 @@ if (_wrapper) { } } } - return QToolBar::devType(); + return QToolBox::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) +QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::dragEnterEvent(event0); + return QToolBox::paintEngine(); } -void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4874,43 +5906,54 @@ if (_wrapper) { } } } - QToolBar::dragLeaveEvent(event0); + QToolBox::paintEvent(arg__1); } -void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) +QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::dragMoveEvent(event0); + return QToolBox::redirected(offset0); } -void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4918,21 +5961,21 @@ if (_wrapper) { } } } - QToolBar::dropEvent(event0); + QToolBox::resizeEvent(event0); } -void PythonQtShell_QToolBar::enterEvent(QEvent* event0) +void PythonQtShell_QToolBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4940,32 +5983,32 @@ if (_wrapper) { } } } - QToolBar::enterEvent(event0); + QToolBox::setVisible(visible0); } -bool PythonQtShell_QToolBar::event(QEvent* event0) +QPainter* PythonQtShell_QToolBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4973,21 +6016,21 @@ if (_wrapper) { } } } - return QToolBar::event(event0); + return QToolBox::sharedPainter(); } -void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4995,32 +6038,32 @@ if (_wrapper) { } } } - QToolBar::focusInEvent(event0); + QToolBox::showEvent(e0); } -bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) +QSize PythonQtShell_QToolBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5028,21 +6071,21 @@ if (_wrapper) { } } } - return QToolBar::focusNextPrevChild(next0); + return QToolBox::sizeHint(); } -void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5050,87 +6093,188 @@ if (_wrapper) { } } } - QToolBar::focusOutEvent(event0); + QToolBox::tabletEvent(event0); } -bool PythonQtShell_QToolBar::hasHeightForWidth() const +void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::hasHeightForWidth(); + QToolBox::timerEvent(event0); } -int PythonQtShell_QToolBar::heightForWidth(int arg__1) const +void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::heightForWidth(arg__1); + 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_QToolBar::hideEvent(QHideEvent* event0) +void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5138,21 +6282,21 @@ if (_wrapper) { } } } - QToolBar::hideEvent(event0); + QToolButton::actionEvent(arg__1); } -void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const +void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5160,21 +6304,21 @@ if (_wrapper) { } } } - QToolBar::initPainter(painter0); + QToolButton::changeEvent(arg__1); } -void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5182,54 +6326,43 @@ if (_wrapper) { } } } - QToolBar::inputMethodEvent(arg__1); + QToolButton::checkStateSet(); } -QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBar::inputMethodQuery(arg__1); + QToolButton::childEvent(event0); } -void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5237,21 +6370,21 @@ if (_wrapper) { } } } - QToolBar::keyPressEvent(event0); + QToolButton::closeEvent(event0); } -void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5259,21 +6392,21 @@ if (_wrapper) { } } } - QToolBar::keyReleaseEvent(event0); + QToolButton::contextMenuEvent(event0); } -void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) +void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5281,65 +6414,32 @@ if (_wrapper) { } } } - QToolBar::leaveEvent(event0); + QToolButton::customEvent(event0); } -int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QToolButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + 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::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5347,21 +6447,21 @@ if (_wrapper) { } } } - return QToolBar::minimumSizeHint(); + return QToolButton::devType(); } -void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5369,21 +6469,21 @@ if (_wrapper) { } } } - QToolBar::mouseDoubleClickEvent(event0); + QToolButton::dragEnterEvent(event0); } -void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5391,21 +6491,21 @@ if (_wrapper) { } } } - QToolBar::mouseMoveEvent(event0); + QToolButton::dragLeaveEvent(event0); } -void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5413,21 +6513,21 @@ if (_wrapper) { } } } - QToolBar::mousePressEvent(event0); + QToolButton::dragMoveEvent(event0); } -void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5435,21 +6535,21 @@ if (_wrapper) { } } } - QToolBar::mouseReleaseEvent(event0); + QToolButton::dropEvent(event0); } -void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5457,32 +6557,32 @@ if (_wrapper) { } } } - QToolBar::moveEvent(event0); + QToolButton::enterEvent(arg__1); } -bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5490,87 +6590,32 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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); + return QToolButton::event(e0); } -QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const +bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5578,43 +6623,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QToolButton::eventFilter(watched0, event1); } -void PythonQtShell_QToolBar::setVisible(bool visible0) +void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5622,32 +6645,32 @@ if (_wrapper) { } } } - QToolBar::setVisible(visible0); + QToolButton::focusInEvent(e0); } -QPainter* PythonQtShell_QToolBar::sharedPainter() const +bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5655,21 +6678,21 @@ if (_wrapper) { } } } - return QToolBar::sharedPainter(); + return QToolButton::focusNextPrevChild(next0); } -void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) +void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5677,32 +6700,32 @@ if (_wrapper) { } } } - QToolBar::showEvent(event0); + QToolButton::focusOutEvent(e0); } -QSize PythonQtShell_QToolBar::sizeHint() const +bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5710,43 +6733,54 @@ if (_wrapper) { } } } - return QToolBar::sizeHint(); + return QToolButton::hasHeightForWidth(); } -void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) +int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::tabletEvent(event0); + return QToolButton::heightForWidth(arg__1); } -void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5754,194 +6788,54 @@ if (_wrapper) { } } } - 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)); + QToolButton::hideEvent(event0); } - - - -QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) -{ -return new QToolBarChangeEvent(t); } - -bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const +bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { - return ( theWrappedObject->toggle()); -} - - - -PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) + 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("actionEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5949,21 +6843,21 @@ if (_wrapper) { } } } - QToolBox::actionEvent(event0); + QToolButton::initPainter(painter0); } -void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) +void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5971,43 +6865,54 @@ if (_wrapper) { } } } - QToolBox::changeEvent(arg__1); + QToolButton::inputMethodEvent(arg__1); } -void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) +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("closeEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::closeEvent(event0); + return QToolButton::inputMethodQuery(arg__1); } -void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6015,54 +6920,43 @@ if (_wrapper) { } } } - QToolBox::contextMenuEvent(event0); + QToolButton::keyPressEvent(e0); } -int PythonQtShell_QToolBox::devType() const +void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBox::devType(); + QToolButton::keyReleaseEvent(e0); } -void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6070,43 +6964,87 @@ if (_wrapper) { } } } - QToolBox::dragEnterEvent(event0); + QToolButton::leaveEvent(arg__1); } -void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::dragLeaveEvent(event0); + return QToolButton::metric(arg__1); } -void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) +QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6114,21 +7052,21 @@ if (_wrapper) { } } } - QToolBox::dragMoveEvent(event0); + QToolButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6136,21 +7074,21 @@ if (_wrapper) { } } } - QToolBox::dropEvent(event0); + QToolButton::mouseMoveEvent(e0); } -void PythonQtShell_QToolBox::enterEvent(QEvent* event0) +void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6158,54 +7096,43 @@ if (_wrapper) { } } } - QToolBox::enterEvent(event0); + QToolButton::mousePressEvent(arg__1); } -bool PythonQtShell_QToolBox::event(QEvent* e0) +void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBox::event(e0); + QToolButton::mouseReleaseEvent(arg__1); } -void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6213,32 +7140,32 @@ if (_wrapper) { } } } - QToolBox::focusInEvent(event0); + QToolButton::moveEvent(event0); } -bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("nativeEvent"); 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); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6246,21 +7173,21 @@ if (_wrapper) { } } } - return QToolBox::focusNextPrevChild(next0); + return QToolButton::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QToolButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6268,32 +7195,32 @@ if (_wrapper) { } } } - QToolBox::focusOutEvent(event0); + QToolButton::nextCheckState(); } -bool PythonQtShell_QToolBox::hasHeightForWidth() const +QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6301,76 +7228,76 @@ if (_wrapper) { } } } - return QToolBox::hasHeightForWidth(); + return QToolButton::paintEngine(); } -int PythonQtShell_QToolBox::heightForWidth(int arg__1) const +void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBox::heightForWidth(arg__1); + QToolButton::paintEvent(arg__1); } -void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) +QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::hideEvent(event0); + return QToolButton::redirected(offset0); } -void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const +void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6378,21 +7305,21 @@ if (_wrapper) { } } } - QToolBox::initPainter(painter0); + QToolButton::resizeEvent(event0); } -void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6400,32 +7327,32 @@ if (_wrapper) { } } } - QToolBox::inputMethodEvent(arg__1); + QToolButton::setVisible(visible0); } -QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6433,21 +7360,21 @@ if (_wrapper) { } } } - return QToolBox::inputMethodQuery(arg__1); + return QToolButton::sharedPainter(); } -void PythonQtShell_QToolBox::itemInserted(int index0) +void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemInserted"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6455,43 +7382,54 @@ if (_wrapper) { } } } - QToolBox::itemInserted(index0); + QToolButton::showEvent(event0); } -void PythonQtShell_QToolBox::itemRemoved(int index0) +QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemRemoved"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&index0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::itemRemoved(index0); + return QToolButton::sizeHint(); } -void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6499,21 +7437,21 @@ if (_wrapper) { } } } - QToolBox::keyPressEvent(event0); + QToolButton::tabletEvent(event0); } -void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6521,21 +7459,21 @@ if (_wrapper) { } } } - QToolBox::keyReleaseEvent(event0); + QToolButton::timerEvent(arg__1); } -void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) +void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6543,705 +7481,640 @@ if (_wrapper) { } } } - QToolBox::leaveEvent(event0); + 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)); } -int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->type()); } - return QToolBox::metric(arg__1); + +QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -QSize PythonQtShell_QToolBox::minimumSizeHint() const + + + +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 { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->device()); } - return QToolBox::minimumSizeHint(); + +void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) +{ + ( theWrappedObject->setDevice(adevice)); } -void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTarget(atarget)); } - QToolBox::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) +{ + ( theWrappedObject->setTouchPointStates(aTouchPointStates)); } -void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) + +void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTouchPoints(atouchPoints)); } - QToolBox::mouseMoveEvent(event0); + +void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) +{ + ( theWrappedObject->setWindow(awindow)); } -void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) + +QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->target()); } - QToolBox::mousePressEvent(event0); + +Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->touchPointStates()); } -void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) + +const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->touchPoints()); } - QToolBox::mouseReleaseEvent(event0); + +QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->window()); } -void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) + + + +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 { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ellipseDiameters()); } - QToolBox::moveEvent(event0); + +QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->flags()); } -bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->id()); } - return QToolBox::nativeEvent(eventType0, message1, result2); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastNormalizedPos()); } -QPaintEngine* PythonQtShell_QToolBox::paintEngine() const + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lastPos()); } - return QToolBox::paintEngine(); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); } -void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lastScreenPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->normalizedPos()); } - QToolBox::paintEvent(arg__1); + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) +{ + return &( (*theWrappedObject)= other); } -QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) 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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pos()); } - return QToolBox::redirected(offset0); + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pressure()); } -void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) + +QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rawScreenPositions()); } - QToolBox::resizeEvent(event0); + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rect()); } -void PythonQtShell_QToolBox::setVisible(bool visible0) + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const { -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] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rotation()); } - QToolBox::setVisible(visible0); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); } -QPainter* PythonQtShell_QToolBox::sharedPainter() const + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sceneRect()); } - return QToolBox::sharedPainter(); + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); } -void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->screenRect()); } - QToolBox::showEvent(e0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) +{ + ( theWrappedObject->setEllipseDiameters(dia)); } -QSize PythonQtShell_QToolBox::sizeHint() const + +void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFlags(flags)); } - return QToolBox::sizeHint(); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +{ + ( theWrappedObject->setId(id)); } -void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); } - QToolBox::tabletEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +{ + ( theWrappedObject->setLastPos(lastPos)); } -void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLastScenePos(lastScenePos)); } - QToolBox::wheelEvent(event0); + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +{ + ( theWrappedObject->setLastScreenPos(lastScreenPos)); } -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; - } +void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) +{ + ( theWrappedObject->setNormalizedPos(normalizedPos)); } -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; + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); } -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) { - return ( theWrappedObject->addItem(widget, icon, text)); + ( theWrappedObject->setPressure(pressure)); } -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) +void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) { - return ( theWrappedObject->addItem(widget, text)); + ( theWrappedObject->setRawScreenPositions(positions)); } -int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) { - return ( theWrappedObject->count()); + ( theWrappedObject->setRect(rect)); } -int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) { - return ( theWrappedObject->currentIndex()); + ( theWrappedObject->setRotation(angle)); } -QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) { - return ( theWrappedObject->currentWidget()); + ( theWrappedObject->setScenePos(scenePos)); } -int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) { - return ( theWrappedObject->indexOf(widget)); + ( theWrappedObject->setSceneRect(sceneRect)); } -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) { - return ( theWrappedObject->insertItem(index, widget, icon, text)); + ( theWrappedObject->setScreenPos(screenPos)); } -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) { - return ( theWrappedObject->insertItem(index, widget, text)); + ( theWrappedObject->setScreenRect(screenRect)); } -bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) { - return ( theWrappedObject->isItemEnabled(index)); + ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); } -QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) { - return ( theWrappedObject->itemIcon(index)); + ( theWrappedObject->setStartPos(startPos)); } -void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) { - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); + ( theWrappedObject->setStartScenePos(startScenePos)); } -void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) { - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); + ( theWrappedObject->setStartScreenPos(startScreenPos)); } -QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) { - return ( theWrappedObject->itemText(index)); + ( theWrappedObject->setState(state)); } -QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const +void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) { - return ( theWrappedObject->itemToolTip(index)); + ( theWrappedObject->setUniqueId(uid)); } -void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) +void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) { - ( theWrappedObject->removeItem(index)); + ( theWrappedObject->setVelocity(v)); } -void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setItemEnabled(index, enabled)); + return ( theWrappedObject->startNormalizedPos()); } -void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setItemIcon(index, icon)); + return ( theWrappedObject->startPos()); } -void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setItemText(index, text)); + 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)); } -void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) +QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const { - ( theWrappedObject->setItemToolTip(index, toolTip)); + return ( theWrappedObject->velocity()); } -QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); +QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { +PythonQtShell_QTransposeProxyModel::~PythonQtShell_QTransposeProxyModel() { 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] = {NULL, (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) +QModelIndex PythonQtShell_QTransposeProxyModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::changeEvent(arg__1); + return QTransposeProxyModel::buddy(index0); } -void PythonQtShell_QToolButton::checkStateSet() +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("checkStateSet"); + static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::checkStateSet(); + return QTransposeProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QTransposeProxyModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::closeEvent(event0); + return QTransposeProxyModel::canFetchMore(parent0); } -void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QTransposeProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7249,32 +8122,32 @@ if (_wrapper) { } } } - QToolButton::contextMenuEvent(event0); + QTransposeProxyModel::childEvent(event0); } -int PythonQtShell_QToolButton::devType() const +int PythonQtShell_QTransposeProxyModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7282,43 +8155,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QTransposeProxyModel::columnCount(parent0); } -void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QTransposeProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7326,98 +8177,131 @@ if (_wrapper) { } } } - QToolButton::dragLeaveEvent(event0); + QTransposeProxyModel::customEvent(event0); } -void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::dragMoveEvent(event0); + return QTransposeProxyModel::data(proxyIndex0, role1); } -void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::dropEvent(event0); + return QTransposeProxyModel::dropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) +bool PythonQtShell_QTransposeProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::enterEvent(arg__1); + return QTransposeProxyModel::event(event0); } -bool PythonQtShell_QToolButton::event(QEvent* e0) +bool PythonQtShell_QTransposeProxyModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7425,21 +8309,21 @@ if (_wrapper) { } } } - return QToolButton::event(e0); + return QTransposeProxyModel::eventFilter(watched0, event1); } -void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTransposeProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7447,32 +8331,32 @@ if (_wrapper) { } } } - QToolButton::focusInEvent(e0); + QTransposeProxyModel::fetchMore(parent0); } -bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7480,54 +8364,32 @@ if (_wrapper) { } } } - return QToolButton::focusNextPrevChild(next0); + return QTransposeProxyModel::flags(index0); } -void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) +bool PythonQtShell_QTransposeProxyModel::hasChildren(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7535,32 +8397,32 @@ if (_wrapper) { } } } - return QToolButton::hasHeightForWidth(); + return QTransposeProxyModel::hasChildren(parent0); } -int PythonQtShell_QToolButton::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("headerData"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7568,54 +8430,65 @@ if (_wrapper) { } } } - return QToolButton::heightForWidth(arg__1); + return QTransposeProxyModel::headerData(section0, orientation1, role2); } -void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) +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("hideEvent"); + static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::hideEvent(event0); + return QTransposeProxyModel::index(row0, column1, parent2); } -bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const +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("hitButton"); + static PyObject* name = PyString_FromString("insertColumns"); 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); + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7623,76 +8496,98 @@ if (_wrapper) { } } } - return QToolButton::hitButton(pos0); + return QTransposeProxyModel::insertColumns(column0, count1, parent2); } -void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("insertRows"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::initPainter(painter0); + return QTransposeProxyModel::insertRows(row0, count1, parent2); } -void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) +QMap PythonQtShell_QTransposeProxyModel::itemData(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); + } else { + returnValue = *((QMap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::inputMethodEvent(arg__1); + return QTransposeProxyModel::itemData(index0); } -QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QModelIndex PythonQtShell_QTransposeProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7700,98 +8595,131 @@ if (_wrapper) { } } } - return QToolButton::inputMethodQuery(arg__1); + return QTransposeProxyModel::mapFromSource(sourceIndex0); } -void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) +QItemSelection PythonQtShell_QTransposeProxyModel::mapSelectionFromSource(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::keyPressEvent(e0); + return QTransposeProxyModel::mapSelectionFromSource(selection0); } -void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) +QItemSelection PythonQtShell_QTransposeProxyModel::mapSelectionToSource(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::keyReleaseEvent(e0); + return QTransposeProxyModel::mapSelectionToSource(selection0); } -void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) +QModelIndex PythonQtShell_QTransposeProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("mapToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&proxyIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::leaveEvent(arg__1); + return QTransposeProxyModel::mapToSource(proxyIndex0); } -int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("match"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7799,32 +8727,32 @@ if (_wrapper) { } } } - return QToolButton::metric(arg__1); + return QTransposeProxyModel::match(start0, role1, value2, hits3, flags4); } -QSize PythonQtShell_QToolButton::minimumSizeHint() const +QMimeData* PythonQtShell_QTransposeProxyModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("mimeData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7832,142 +8760,197 @@ if (_wrapper) { } } } - return QToolButton::minimumSizeHint(); + return QTransposeProxyModel::mimeData(indexes0); } -void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) +QStringList PythonQtShell_QTransposeProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::mouseDoubleClickEvent(event0); + return QTransposeProxyModel::mimeTypes(); } -void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) +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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("moveColumns"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::mouseMoveEvent(e0); + return QTransposeProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) +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("mousePressEvent"); + static PyObject* name = PyString_FromString("moveRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::mousePressEvent(arg__1); + return QTransposeProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) +QModelIndex PythonQtShell_QTransposeProxyModel::parent(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("parent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::mouseReleaseEvent(arg__1); + return QTransposeProxyModel::parent(index0); } -void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) +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("moveEvent"); + static PyObject* name = PyString_FromString("removeColumns"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::moveEvent(event0); + return QTransposeProxyModel::removeColumns(column0, count1, parent2); } -bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("removeRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7975,21 +8958,21 @@ if (_wrapper) { } } } - return QToolButton::nativeEvent(eventType0, message1, result2); + return QTransposeProxyModel::removeRows(row0, count1, parent2); } -void PythonQtShell_QToolButton::nextCheckState() +void PythonQtShell_QTransposeProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextCheckState"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7997,32 +8980,32 @@ if (_wrapper) { } } } - QToolButton::nextCheckState(); + QTransposeProxyModel::revert(); } -QPaintEngine* PythonQtShell_QToolButton::paintEngine() const +QHash PythonQtShell_QTransposeProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("roleNames"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + QHash returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8030,54 +9013,65 @@ if (_wrapper) { } } } - return QToolButton::paintEngine(); + return QTransposeProxyModel::roleNames(); } -void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) +int PythonQtShell_QTransposeProxyModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("rowCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::paintEvent(arg__1); + return QTransposeProxyModel::rowCount(parent0); } -QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("setData"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8085,43 +9079,87 @@ if (_wrapper) { } } } - return QToolButton::redirected(offset0); + return QTransposeProxyModel::setData(index0, value1, role2); } -void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) +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("resizeEvent"); + static PyObject* name = PyString_FromString("setHeaderData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::resizeEvent(event0); + return QTransposeProxyModel::setHeaderData(section0, orientation1, value2, role3); } -void PythonQtShell_QToolButton::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("setItemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + 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] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&newSourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8129,32 +9167,32 @@ if (_wrapper) { } } } - QToolButton::setVisible(visible0); + QTransposeProxyModel::setSourceModel(newSourceModel0); } -QPainter* PythonQtShell_QToolButton::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("sibling"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8162,21 +9200,21 @@ if (_wrapper) { } } } - return QToolButton::sharedPainter(); + return QTransposeProxyModel::sibling(row0, column1, idx2); } -void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) +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("showEvent"); + static PyObject* name = PyString_FromString("sort"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8184,32 +9222,32 @@ if (_wrapper) { } } } - QToolButton::showEvent(event0); + QTransposeProxyModel::sort(column0, order1); } -QSize PythonQtShell_QToolButton::sizeHint() const +QSize PythonQtShell_QTransposeProxyModel::span(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("span"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8217,268 +9255,148 @@ if (_wrapper) { } } } - return QToolButton::sizeHint(); + return QTransposeProxyModel::span(index0); } -void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) +bool PythonQtShell_QTransposeProxyModel::submit() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("submit"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::tabletEvent(event0); + return QTransposeProxyModel::submit(); } -void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) +Qt::DropActions PythonQtShell_QTransposeProxyModel::supportedDragActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("supportedDragActions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::timerEvent(arg__1); + return QTransposeProxyModel::supportedDragActions(); } -void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) +Qt::DropActions PythonQtShell_QTransposeProxyModel::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("supportedDropActions"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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)); + return QTransposeProxyModel::supportedDropActions(); } - -void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) +void PythonQtShell_QTransposeProxyModel::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setName(name)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) -{ - ( theWrappedObject->setType(devType)); + QTransposeProxyModel::timerEvent(event0); } +QTransposeProxyModel* PythonQtWrapper_QTransposeProxyModel::new_QTransposeProxyModel(QObject* parent) +{ +return new PythonQtShell_QTransposeProxyModel(parent); } -QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const -{ - return ( theWrappedObject->type()); +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; + } } - -QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +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); } @@ -8493,9 +9411,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8515,9 +9433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8527,6 +9445,28 @@ if (_wrapper) { } 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) { @@ -8537,9 +9477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&editor0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8559,9 +9499,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8581,9 +9521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8603,9 +9543,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8625,9 +9565,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8637,6 +9577,28 @@ if (_wrapper) { } 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) { @@ -8647,9 +9609,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8670,19 +9632,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8702,9 +9664,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8724,9 +9686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8746,9 +9708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8768,9 +9730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8790,9 +9752,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8812,9 +9774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8834,9 +9796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8857,19 +9819,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8889,9 +9851,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8911,9 +9873,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8934,19 +9896,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8967,19 +9929,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8999,9 +9961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9022,19 +9984,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9054,9 +10016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9077,19 +10039,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9110,19 +10072,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9142,9 +10104,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9165,19 +10127,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9197,9 +10159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9219,9 +10181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9242,19 +10204,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9274,9 +10236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9296,9 +10258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9319,19 +10281,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9352,19 +10314,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9384,9 +10346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9406,9 +10368,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9428,9 +10390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9450,9 +10412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9473,19 +10435,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9506,19 +10468,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9538,9 +10500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9560,9 +10522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9582,9 +10544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9604,9 +10566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9627,19 +10589,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9659,9 +10621,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9682,19 +10644,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9715,19 +10677,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9747,9 +10709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9770,19 +10732,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9802,9 +10764,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9824,9 +10786,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9846,9 +10808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9868,9 +10830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9890,9 +10852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&dx0, (void*)&dy1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9912,9 +10874,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9934,9 +10896,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9957,19 +10919,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9989,9 +10951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&selected0, (void*)&deselected1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10012,19 +10974,19 @@ if (_wrapper) { static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10044,9 +11006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&model0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10066,9 +11028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10088,9 +11050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&rect0, (void*)&command1}; + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10110,9 +11072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10132,9 +11094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10154,9 +11116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10177,19 +11139,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10209,9 +11171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10232,19 +11194,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10265,19 +11227,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10298,19 +11260,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10330,9 +11292,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10352,9 +11314,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10374,9 +11336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10396,9 +11358,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10418,9 +11380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10440,9 +11402,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10463,19 +11425,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10495,9 +11457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10517,9 +11479,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10540,19 +11502,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10573,19 +11535,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10606,19 +11568,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10639,19 +11601,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10672,19 +11634,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10704,9 +11666,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10847,460 +11809,141 @@ 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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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); + +bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->rootIsDecorated()); } -void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) + +int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const { -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] = {NULL, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); } - QTreeWidget::commitData(editor0); + +void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAllColumnsShowFocus(enable)); } -void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) + +void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAnimated(enable)); } - QTreeWidget::contextMenuEvent(arg__1); + +void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) +{ + ( theWrappedObject->setAutoExpandDelay(delay)); } -void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) + +void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) { -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] = {NULL, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setColumnHidden(column, hide)); } - QTreeWidget::currentChanged(current0, previous1); + +void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); } -void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) + +void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) { -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] = {NULL, (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(); - } - } + ( theWrappedObject->setExpanded(index, expand)); } - QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); + +void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setExpandsOnDoubleClick(enable)); } -int PythonQtShell_QTreeWidget::devType() const + +void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); } - return QTreeWidget::devType(); + +void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHeader(header)); } -void PythonQtShell_QTreeWidget::doItemsLayout() + +void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHeaderHidden(hide)); } - QTreeWidget::doItemsLayout(); + +void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) +{ + ( theWrappedObject->setIndentation(i)); } -void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setItemsExpandable(enable)); } - QTreeWidget::dragEnterEvent(event0); + +void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +{ + ( theWrappedObject->setRootIsDecorated(show)); } -void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRowHidden(row, parent, hide)); } - QTreeWidget::dragLeaveEvent(event0); + +void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); } -void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTreePosition(logicalIndex)); } - QTreeWidget::dragMoveEvent(event0); + +void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +{ + ( theWrappedObject->setUniformRowHeights(uniform)); } -void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const + +void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) { -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] = {NULL, (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(); - } - } + ( theWrappedObject->setWordWrap(on)); +} + +int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->treePosition()); +} + +bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->uniformRowHeights()); } - QTreeWidget::drawBranches(painter0, rect1, index2); + +bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); } -void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const + + + +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("drawRow"); + static PyObject* name = PyString_FromString("actionEvent"); 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] = {NULL, (void*)&painter0, (void*)&options1, (void*)&index2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11308,21 +11951,21 @@ if (_wrapper) { } } } - QTreeWidget::drawRow(painter0, options1, index2); + QTreeWidget::actionEvent(event0); } -void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11330,87 +11973,65 @@ if (_wrapper) { } } } - QTreeWidget::dropEvent(event0); + QTreeWidget::changeEvent(arg__1); } -bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) +void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::dropMimeData(parent0, index1, data2, action3); + QTreeWidget::childEvent(event0); } -bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +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("edit"); + static PyObject* name = PyString_FromString("closeEditor"); 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] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::edit(index0, trigger1, event2); + QTreeWidget::closeEditor(editor0, hint1); } -void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) +void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11418,21 +12039,21 @@ if (_wrapper) { } } } - QTreeWidget::editorDestroyed(editor0); + QTreeWidget::closeEvent(event0); } -void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) +void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11440,87 +12061,43 @@ if (_wrapper) { } } } - QTreeWidget::enterEvent(event0); + QTreeWidget::commitData(editor0); } -bool PythonQtShell_QTreeWidget::event(QEvent* e0) +void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::event(e0); + QTreeWidget::contextMenuEvent(arg__1); } -bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 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] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11528,54 +12105,43 @@ if (_wrapper) { } } } - QTreeWidget::focusInEvent(event0); + QTreeWidget::currentChanged(current0, previous1); } -bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::focusNextPrevChild(next0); + QTreeWidget::customEvent(event0); } -void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* 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("focusOutEvent"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11583,65 +12149,32 @@ if (_wrapper) { } } } - QTreeWidget::focusOutEvent(event0); + QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); } -bool PythonQtShell_QTreeWidget::hasHeightForWidth() const +int PythonQtShell_QTreeWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11649,21 +12182,21 @@ if (_wrapper) { } } } - return QTreeWidget::heightForWidth(arg__1); + return QTreeWidget::devType(); } -void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QTreeWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11671,54 +12204,43 @@ if (_wrapper) { } } } - QTreeWidget::hideEvent(event0); + QTreeWidget::doItemsLayout(); } -int PythonQtShell_QTreeWidget::horizontalOffset() const +void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::horizontalOffset(); + QTreeWidget::dragEnterEvent(event0); } -void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) +void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11726,21 +12248,21 @@ if (_wrapper) { } } } - QTreeWidget::horizontalScrollbarAction(action0); + QTreeWidget::dragLeaveEvent(event0); } -void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11748,54 +12270,43 @@ if (_wrapper) { } } } - QTreeWidget::horizontalScrollbarValueChanged(value0); + QTreeWidget::dragMoveEvent(event0); } -QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const +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("indexAt"); + static PyObject* name = PyString_FromString("drawBranches"); 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] = {NULL, (void*)&p0}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::indexAt(p0); + QTreeWidget::drawBranches(painter0, rect1, index2); } -void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("drawRow"); 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] = {NULL, (void*)&painter0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11803,21 +12314,21 @@ if (_wrapper) { } } } - QTreeWidget::initPainter(painter0); + QTreeWidget::drawRow(painter0, options1, index2); } -void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11825,32 +12336,32 @@ if (_wrapper) { } } } - QTreeWidget::inputMethodEvent(event0); + QTreeWidget::dropEvent(event0); } -QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("dropMimeData"); 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] = {NULL, (void*)&query0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11858,32 +12369,32 @@ if (_wrapper) { } } } - return QTreeWidget::inputMethodQuery(query0); + return QTreeWidget::dropMimeData(parent0, index1, data2, action3); } -bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const +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("isIndexHidden"); + static PyObject* name = PyString_FromString("edit"); 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); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11891,21 +12402,21 @@ if (_wrapper) { } } } - return QTreeWidget::isIndexHidden(index0); + return QTreeWidget::edit(index0, trigger1, event2); } -void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11913,21 +12424,21 @@ if (_wrapper) { } } } - QTreeWidget::keyPressEvent(event0); + QTreeWidget::editorDestroyed(editor0); } -void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11935,43 +12446,87 @@ if (_wrapper) { } } } - QTreeWidget::keyReleaseEvent(event0); + QTreeWidget::enterEvent(event0); } -void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) +bool PythonQtShell_QTreeWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::keyboardSearch(search0); + return QTreeWidget::event(e0); } -void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) +bool PythonQtShell_QTreeWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11979,32 +12534,32 @@ if (_wrapper) { } } } - QTreeWidget::leaveEvent(event0); + QTreeWidget::focusInEvent(event0); } -int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12012,65 +12567,54 @@ if (_wrapper) { } } } - return QTreeWidget::metric(arg__1); + return QTreeWidget::focusNextPrevChild(next0); } -QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const +void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&items0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::mimeData(items0); + QTreeWidget::focusOutEvent(event0); } -QStringList PythonQtShell_QTreeWidget::mimeTypes() const +bool PythonQtShell_QTreeWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeTypes"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStringList"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12078,32 +12622,32 @@ if (_wrapper) { } } } - return QTreeWidget::mimeTypes(); + return QTreeWidget::hasHeightForWidth(); } -QSize PythonQtShell_QTreeWidget::minimumSizeHint() const +int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12111,21 +12655,21 @@ if (_wrapper) { } } } - return QTreeWidget::minimumSizeHint(); + return QTreeWidget::heightForWidth(arg__1); } -void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12133,43 +12677,54 @@ if (_wrapper) { } } } - QTreeWidget::mouseDoubleClickEvent(event0); + QTreeWidget::hideEvent(event0); } -void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) +int PythonQtShell_QTreeWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::mouseMoveEvent(event0); + return QTreeWidget::horizontalOffset(); } -void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12177,21 +12732,21 @@ if (_wrapper) { } } } - QTreeWidget::mousePressEvent(event0); + QTreeWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12199,32 +12754,32 @@ if (_wrapper) { } } } - QTreeWidget::mouseReleaseEvent(event0); + QTreeWidget::horizontalScrollbarValueChanged(value0); } -QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("indexAt"); 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); + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[3] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12232,21 +12787,21 @@ if (_wrapper) { } } } - return QTreeWidget::moveCursor(cursorAction0, modifiers1); + return QTreeWidget::indexAt(p0); } -void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12254,65 +12809,54 @@ if (_wrapper) { } } } - QTreeWidget::moveEvent(event0); + QTreeWidget::initPainter(painter0); } -bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::nativeEvent(eventType0, message1, result2); + QTreeWidget::inputMethodEvent(event0); } -QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12320,54 +12864,32 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QTreeWidget::inputMethodQuery(query0); } -QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const +bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12375,21 +12897,21 @@ if (_wrapper) { } } } - return QTreeWidget::redirected(offset0); + return QTreeWidget::isIndexHidden(index0); } -void PythonQtShell_QTreeWidget::reset() +void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12397,21 +12919,21 @@ if (_wrapper) { } } } - QTreeWidget::reset(); + QTreeWidget::keyPressEvent(event0); } -void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12419,21 +12941,21 @@ if (_wrapper) { } } } - QTreeWidget::resizeEvent(event0); + QTreeWidget::keyReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("keyboardSearch"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12441,21 +12963,21 @@ if (_wrapper) { } } } - QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); + QTreeWidget::keyboardSearch(search0); } -void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12463,98 +12985,131 @@ if (_wrapper) { } } } - QTreeWidget::rowsInserted(parent0, start1, end2); + QTreeWidget::leaveEvent(event0); } -void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) +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("scrollContentsBy"); + static PyObject* name = PyString_FromString("metric"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::scrollContentsBy(dx0, dy1); + return QTreeWidget::metric(arg__1); } -void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("mimeData"); 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] = {NULL, (void*)&index0, (void*)&hint1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::scrollTo(index0, hint1); + return QTreeWidget::mimeData(items0); } -void PythonQtShell_QTreeWidget::selectAll() +QStringList PythonQtShell_QTreeWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QStringList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::selectAll(); + return QTreeWidget::mimeTypes(); } -QList PythonQtShell_QTreeWidget::selectedIndexes() const +QSize PythonQtShell_QTreeWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12562,21 +13117,21 @@ if (_wrapper) { } } } - return QTreeWidget::selectedIndexes(); + return QTreeWidget::minimumSizeHint(); } -void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); 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] = {NULL, (void*)&selected0, (void*)&deselected1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12584,54 +13139,43 @@ if (_wrapper) { } } } - QTreeWidget::selectionChanged(selected0, deselected1); + QTreeWidget::mouseDoubleClickEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL, (void*)&index0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::selectionCommand(index0, event1); + QTreeWidget::mouseMoveEvent(event0); } -void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12639,21 +13183,21 @@ if (_wrapper) { } } } - QTreeWidget::setRootIndex(index0); + QTreeWidget::mousePressEvent(event0); } -void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL, (void*)&rect0, (void*)&command1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12661,43 +13205,54 @@ if (_wrapper) { } } } - QTreeWidget::setSelection(rect0, command1); + QTreeWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +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("setSelectionModel"); + static PyObject* name = PyString_FromString("moveCursor"); 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] = {NULL, (void*)&selectionModel0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setSelectionModel(selectionModel0); + return QTreeWidget::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QTreeWidget::setVisible(bool visible0) +void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12705,54 +13260,65 @@ if (_wrapper) { } } } - QTreeWidget::setVisible(visible0); + QTreeWidget::moveEvent(event0); } -void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) +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("setupViewport"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&viewport0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setupViewport(viewport0); + return QTreeWidget::nativeEvent(eventType0, message1, result2); } -QPainter* PythonQtShell_QTreeWidget::sharedPainter() const +QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12760,21 +13326,21 @@ if (_wrapper) { } } } - return QTreeWidget::sharedPainter(); + return QTreeWidget::paintEngine(); } -void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12782,32 +13348,32 @@ if (_wrapper) { } } } - QTreeWidget::showEvent(event0); + QTreeWidget::paintEvent(event0); } -QSize PythonQtShell_QTreeWidget::sizeHint() const +QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12815,87 +13381,65 @@ if (_wrapper) { } } } - return QTreeWidget::sizeHint(); + return QTreeWidget::redirected(offset0); } -int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const +void PythonQtShell_QTreeWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("reset"); 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] = {NULL, (void*)&column0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForColumn(column0); + QTreeWidget::reset(); } -int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const +void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForRow(row0); + QTreeWidget::resizeEvent(event0); } -void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) +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("startDrag"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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] = {NULL, (void*)&supportedActions0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12903,54 +13447,43 @@ if (_wrapper) { } } } - QTreeWidget::startDrag(supportedActions0); + QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +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("supportedDropActions"); + static PyObject* name = PyString_FromString("rowsInserted"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::supportedDropActions(); + QTreeWidget::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12958,21 +13491,21 @@ if (_wrapper) { } } } - QTreeWidget::tabletEvent(event0); + QTreeWidget::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) +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("timerEvent"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12980,21 +13513,21 @@ if (_wrapper) { } } } - QTreeWidget::timerEvent(event0); + QTreeWidget::scrollTo(index0, hint1); } -void PythonQtShell_QTreeWidget::updateEditorData() +void PythonQtShell_QTreeWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13002,43 +13535,54 @@ if (_wrapper) { } } } - QTreeWidget::updateEditorData(); + QTreeWidget::selectAll(); } -void PythonQtShell_QTreeWidget::updateEditorGeometries() +QList PythonQtShell_QTreeWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::updateEditorGeometries(); + return QTreeWidget::selectedIndexes(); } -void PythonQtShell_QTreeWidget::updateGeometries() +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("updateGeometries"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13046,32 +13590,32 @@ if (_wrapper) { } } } - QTreeWidget::updateGeometries(); + QTreeWidget::selectionChanged(selected0, deselected1); } -int PythonQtShell_QTreeWidget::verticalOffset() const +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("verticalOffset"); + static PyObject* name = PyString_FromString("selectionCommand"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13079,21 +13623,21 @@ if (_wrapper) { } } } - return QTreeWidget::verticalOffset(); + return QTreeWidget::selectionCommand(index0, event1); } -void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) +void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13101,21 +13645,43 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarAction(action0); + QTreeWidget::setRootIndex(index0); } -void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) +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("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + 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] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13123,98 +13689,76 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarValueChanged(value0); + QTreeWidget::setSelectionModel(selectionModel0); } -QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +void PythonQtShell_QTreeWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("setVisible"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewOptions(); + QTreeWidget::setVisible(visible0); } -bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewportEvent(event0); + QTreeWidget::setupViewport(viewport0); } -QSize PythonQtShell_QTreeWidget::viewportSizeHint() const +QPainter* PythonQtShell_QTreeWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13222,65 +13766,54 @@ if (_wrapper) { } } } - return QTreeWidget::viewportSizeHint(); + return QTreeWidget::sharedPainter(); } -QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const +void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::visualRect(index0); + QTreeWidget::showEvent(event0); } -QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const +QSize PythonQtShell_QTreeWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&selection0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13288,302 +13821,340 @@ if (_wrapper) { } } } - return QTreeWidget::visualRegionForSelection(selection0); + return QTreeWidget::sizeHint(); } -void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) +int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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)); + return QTreeWidget::sizeHintForColumn(column0); } - -QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const +int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const { - return ( theWrappedObject->selectedItems()); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); + return QTreeWidget::sizeHintForRow(row0); } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) { - ( theWrappedObject->setCurrentItem(item)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) -{ - ( theWrappedObject->setCurrentItem(item, column)); + QTreeWidget::startDrag(supportedActions0); } - -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) +Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const { - ( theWrappedObject->setCurrentItem(item, column, command)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) -{ - ( theWrappedObject->setFirstItemColumnSpanned(item, span)); + return QTreeWidget::supportedDropActions(); } - -void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setHeaderItem(item)); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setHeaderLabel(label)); + QTreeWidget::tabletEvent(event0); } - -void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) +void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setHeaderLabels(labels)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) -{ - ( theWrappedObject->setItemWidget(item, column, widget)); + QTreeWidget::timerEvent(event0); } - -int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const +void PythonQtShell_QTreeWidget::updateEditorData() { - return ( theWrappedObject->sortColumn()); +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(); + } + } } - -void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortItems(column, order)); + QTreeWidget::updateEditorData(); } - -Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const +void PythonQtShell_QTreeWidget::updateEditorGeometries() { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); +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(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) + QTreeWidget::updateEditorGeometries(); +} +void PythonQtShell_QTreeWidget::updateGeometries() { - return ( theWrappedObject->takeTopLevelItem(index)); +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(); + } + } } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const + QTreeWidget::updateGeometries(); +} +int PythonQtShell_QTreeWidget::verticalOffset() const { - return ( theWrappedObject->topLevelItem(index)); +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(); + } + } } - -int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const + return QTreeWidget::verticalOffset(); +} +void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) { - return ( theWrappedObject->topLevelItemCount()); +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(); + } + } } - -QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const + QTreeWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) { - return ( theWrappedObject->visualItemRect(item)); +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(); + } + } } - - - -PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTreeWidget::verticalScrollbarValueChanged(value0); } -QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTreeWidgetItem*"}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTreeWidgetItem* returnValue{}; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((QTreeWidgetItem**)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13591,32 +14162,32 @@ if (_wrapper) { } } } - return QTreeWidgetItem::clone(); + return QTreeWidget::viewOptions(); } -QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const +bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("viewportEvent"); 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] = {NULL, (void*)&column0, (void*)&role1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13624,32 +14195,32 @@ if (_wrapper) { } } } - return QTreeWidgetItem::data(column0, role1); + return QTreeWidget::viewportEvent(event0); } -bool PythonQtShell_QTreeWidgetItem::__lt__(const QTreeWidgetItem& other0) const +QSize PythonQtShell_QTreeWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QTreeWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13657,65 +14228,87 @@ if (_wrapper) { } } } - return QTreeWidgetItem::operator<(other0); + return QTreeWidget::viewportSizeHint(); } -void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) +QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidgetItem::read(in0); + return QTreeWidget::visualRect(index0); } -void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) +QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); 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] = {NULL, (void*)&column0, (void*)&role1, (void*)&value2}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidgetItem::setData(column0, role1, value2); + return QTreeWidget::visualRegionForSelection(selection0); } -void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const +void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13723,333 +14316,248 @@ if (_wrapper) { } } } - QTreeWidgetItem::write(out0); + QTreeWidget::wheelEvent(arg__1); } -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) +QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) { -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)); -} +return new PythonQtShell_QTreeWidget(parent); } -Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->checkState(column)); +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; + } } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); +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; } - -int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { - return ( theWrappedObject->childCount()); + ( theWrappedObject->addTopLevelItem(item)); } -QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) { - return ( theWrappedObject->childIndicatorPolicy()); + ( theWrappedObject->addTopLevelItems(items)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) { - return ( theWrappedObject->clone()); + ( theWrappedObject->closePersistentEditor(item, column)); } -int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* 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 +int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const { - return ( theWrappedObject->isDisabled()); + return ( theWrappedObject->currentColumn()); } -bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const { - return ( theWrappedObject->isExpanded()); + return ( theWrappedObject->currentItem()); } -bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTreeWidget::dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { - return ( theWrappedObject->isFirstColumnSpanned()); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropMimeData(parent, index, data, action)); } -bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) { - return ( theWrappedObject->isHidden()); + ( theWrappedObject->editItem(item, column)); } -bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const +QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const { - return ( theWrappedObject->isSelected()); + return ( theWrappedObject->findItems(text, flags, column)); } -void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const { - out << (*theWrappedObject); + return ( theWrappedObject->headerItem()); } -void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const { - in >> (*theWrappedObject); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column) const { - return ( theWrappedObject->parent()); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); } -void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) +int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const { - ( theWrappedObject->read(in)); + return ( theWrappedObject->indexOfTopLevelItem(item)); } -void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) +void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) { - ( theWrappedObject->removeChild(child)); + ( theWrappedObject->insertTopLevelItem(index, item)); } -void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) { - ( theWrappedObject->setBackground(column, brush)); + ( theWrappedObject->insertTopLevelItems(index, items)); } -void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const { - ( theWrappedObject->setCheckState(column, state)); + return ( theWrappedObject->invisibleRootItem()); } -void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) +bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const { - ( theWrappedObject->setChildIndicatorPolicy(policy)); + return ( theWrappedObject->isFirstItemColumnSpanned(item)); } -void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) +bool PythonQtWrapper_QTreeWidget::isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const { - ( theWrappedObject->setData(column, role, value)); + return ( theWrappedObject->isPersistentEditorOpen(item, column)); } -void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const { - ( theWrappedObject->setDisabled(disabled)); + return ( theWrappedObject->itemAbove(item)); } -void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const { - ( theWrappedObject->setExpanded(expand)); + return ( theWrappedObject->itemAt(p)); } -void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const { - ( theWrappedObject->setFirstColumnSpanned(span)); + return ( theWrappedObject->itemAt(x, y)); } -void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const { - ( theWrappedObject->setFlags(flags)); + return ( theWrappedObject->itemBelow(item)); } -void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const { - ( theWrappedObject->setFont(column, font)); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); } -void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const { - ( theWrappedObject->setForeground(column, brush)); + return ( theWrappedObject->itemWidget(item, column)); } -void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const { - ( theWrappedObject->setHidden(hide)); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); } -void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const { - ( theWrappedObject->setIcon(column, icon)); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); } -void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) +void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) { - ( theWrappedObject->setSelected(select)); + ( theWrappedObject->openPersistentEditor(item, column)); } -void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) +void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) { - ( theWrappedObject->setSizeHint(column, size)); + ( theWrappedObject->removeItemWidget(item, column)); } -void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) +QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const { - ( theWrappedObject->setStatusTip(column, statusTip)); + return ( theWrappedObject->selectedItems()); } -void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) { - ( theWrappedObject->setText(column, text)); + ( theWrappedObject->setColumnCount(columns)); } -void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) { - ( theWrappedObject->setTextAlignment(column, alignment)); + ( theWrappedObject->setCurrentItem(item)); } -void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) { - ( theWrappedObject->setToolTip(column, toolTip)); + ( theWrappedObject->setCurrentItem(item, column)); } -void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) { - ( theWrappedObject->setWhatsThis(column, whatsThis)); + ( theWrappedObject->setCurrentItem(item, column, command)); } -QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) { - return ( theWrappedObject->sizeHint(column)); + ( theWrappedObject->setFirstItemColumnSpanned(item, span)); } -void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) +void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { - ( theWrappedObject->sortChildren(column, order)); + ( theWrappedObject->setHeaderItem(item)); } -QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) { - return ( theWrappedObject->statusTip(column)); + ( theWrappedObject->setHeaderLabel(label)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) { - return ( theWrappedObject->takeChild(index)); + ( theWrappedObject->setHeaderLabels(labels)); } -PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) +void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) { - return ( theWrappedObject->takeChildren()); + ( theWrappedObject->setItemWidget(item, column, widget)); } -QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const { - return ( theWrappedObject->text(column)); + return ( theWrappedObject->sortColumn()); } -int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) { - return ( theWrappedObject->textAlignment(column)); + ( theWrappedObject->sortItems(column, order)); } -QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const { - return ( theWrappedObject->toolTip(column)); + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); } -QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) { - return ( theWrappedObject->treeWidget()); + return ( theWrappedObject->takeTopLevelItem(index)); } -int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->topLevelItem(index)); } -QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const +int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const { - return ( theWrappedObject->whatsThis(column)); + return ( theWrappedObject->topLevelItemCount()); } -void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const +QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const { - ( theWrappedObject->write(out)); + return ( theWrappedObject->visualItemRect(item)); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h similarity index 59% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h index a726cac4..7ea94321 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui10.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui11.h @@ -1,9 +1,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -11,347 +9,113 @@ #include #include #include +#include #include +#include +#include #include +#include #include +#include #include #include #include #include #include +#include #include +#include +#include #include #include #include +#include #include +#include +#include #include +#include +#include #include #include +#include #include -#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include #include +#include +#include +#include #include #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_QTextEdit : public QTextEdit +class PythonQtShell_QTextFrame : public QTextFrame { public: - PythonQtShell_QTextEdit(QWidget* parent = nullptr):QTextEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTextEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e); - void py_q_timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_timerEvent(e));} - QString toHtml(QTextEdit* theWrappedObject) 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); -}; - + 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; - -class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection -{ -public: - PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(NULL) {}; - - ~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; } + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; - - - - -class PythonQtWrapper_QTextFragment : public QObject +class PythonQtWrapper_QTextFrame : 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(); } +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); }; @@ -361,13 +125,13 @@ void delete_QTextFragment(QTextFragment* obj) { delete obj; } class PythonQtShell_QTextFrameFormat : public QTextFrameFormat { public: - PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextFrameFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrameFormat : public QObject @@ -385,7 +149,7 @@ QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); *((QTextFrameFormat*)a) = other; return a; } -void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } +void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } qreal border(QTextFrameFormat* theWrappedObject) const; QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; @@ -425,13 +189,13 @@ void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } class PythonQtShell_QTextImageFormat : public QTextImageFormat { public: - PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; + PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(nullptr) {}; ~PythonQtShell_QTextImageFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextImageFormat : public QObject @@ -444,7 +208,7 @@ QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); *((QTextImageFormat*)a) = other; return a; } -void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } +void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } qreal height(QTextImageFormat* theWrappedObject) const; bool isValid(QTextImageFormat* theWrappedObject) const; QString name(QTextImageFormat* theWrappedObject) const; @@ -454,7 +218,7 @@ void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } void setQuality(QTextImageFormat* theWrappedObject, int quality = 100); void setWidth(QTextImageFormat* theWrappedObject, qreal width); qreal width(QTextImageFormat* theWrappedObject) const; - bool __nonzero__(QTextImageFormat* obj) { return obj->isValid(); } + bool __nonzero__(QTextImageFormat* obj) { return !obj->isEmpty(); } }; @@ -470,7 +234,7 @@ QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) { QTextInlineObject* a = new QTextInlineObject(); *((QTextInlineObject*)a) = other; return a; } -void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } +void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } qreal ascent(QTextInlineObject* theWrappedObject) const; qreal descent(QTextInlineObject* theWrappedObject) const; QTextFormat format(QTextInlineObject* theWrappedObject) const; @@ -494,12 +258,12 @@ void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } class PythonQtShell_QTextItem : public QTextItem { public: - PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; + PythonQtShell_QTextItem():QTextItem(),_wrapper(nullptr) {}; ~PythonQtShell_QTextItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextItem : public QObject @@ -512,7 +276,7 @@ enum RenderFlag{ Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QTextItem* new_QTextItem(); -void delete_QTextItem(QTextItem* obj) { delete obj; } +void delete_QTextItem(QTextItem* obj) { delete obj; } qreal ascent(QTextItem* theWrappedObject) const; qreal descent(QTextItem* theWrappedObject) const; QFont font(QTextItem* theWrappedObject) const; @@ -532,7 +296,11 @@ Q_ENUMS(CursorMode ) enum CursorMode{ SkipCharacters = QTextLayout::SkipCharacters, SkipWords = QTextLayout::SkipWords}; public slots: -void delete_QTextLayout(QTextLayout* obj) { delete obj; } +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; @@ -584,12 +352,12 @@ void delete_QTextLayout(QTextLayout* obj) { delete obj; } class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange { public: - PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(NULL) {}; + PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(nullptr) {}; ~PythonQtShell_QTextLayout__FormatRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextLayout__FormatRange : public QObject @@ -601,7 +369,7 @@ QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::Format PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); *((QTextLayout::FormatRange*)a) = other; return a; } -void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } +void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } void py_set_format(QTextLayout::FormatRange* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } QTextCharFormat py_get_format(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->format; } void py_set_length(QTextLayout::FormatRange* theWrappedObject, int length){ theWrappedObject->length = length; } @@ -628,7 +396,7 @@ QTextLine* new_QTextLine(const QTextLine& other) { QTextLine* a = new QTextLine(); *((QTextLine*)a) = other; return a; } -void delete_QTextLine(QTextLine* obj) { delete obj; } +void delete_QTextLine(QTextLine* obj) { delete obj; } qreal ascent(QTextLine* theWrappedObject) const; qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; qreal descent(QTextLine* theWrappedObject) const; @@ -665,17 +433,22 @@ void delete_QTextLine(QTextLine* obj) { delete obj; } class PythonQtShell_QTextList : public QTextList { public: - PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; - - ~PythonQtShell_QTextList(); - -virtual void blockFormatChanged(const QTextBlock& block); -virtual void blockInserted(const QTextBlock& block); -virtual void blockRemoved(const QTextBlock& block); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextList() override; + +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextList : public QObject @@ -683,7 +456,7 @@ class PythonQtWrapper_QTextList : public QObject public: public slots: QTextList* new_QTextList(QTextDocument* doc); -void delete_QTextList(QTextList* obj) { delete obj; } +void delete_QTextList(QTextList* obj) { delete obj; } void add(QTextList* theWrappedObject, const QTextBlock& block); int count(QTextList* theWrappedObject) const; QTextListFormat format(QTextList* theWrappedObject) const; @@ -703,13 +476,13 @@ void delete_QTextList(QTextList* obj) { delete obj; } class PythonQtShell_QTextListFormat : public QTextListFormat { public: - PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextListFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextListFormat : public QObject @@ -725,7 +498,7 @@ QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); *((QTextListFormat*)a) = other; return a; } -void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } +void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } int indent(QTextListFormat* theWrappedObject) const; bool isValid(QTextListFormat* theWrappedObject) const; QString numberPrefix(QTextListFormat* theWrappedObject) const; @@ -745,14 +518,19 @@ void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } class PythonQtShell_QTextObject : public QTextObject { public: - PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; + PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(nullptr) {}; - ~PythonQtShell_QTextObject(); + ~PythonQtShell_QTextObject() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextObject : public QTextObject @@ -792,7 +570,7 @@ public slots: QTextOption* new_QTextOption(); QTextOption* new_QTextOption(Qt::Alignment alignment); QTextOption* new_QTextOption(const QTextOption& o); -void delete_QTextOption(QTextOption* obj) { delete obj; } +void delete_QTextOption(QTextOption* obj) { delete obj; } Qt::Alignment alignment(QTextOption* theWrappedObject) const; QTextOption::Flags flags(QTextOption* theWrappedObject) const; void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); @@ -820,13 +598,13 @@ void delete_QTextOption(QTextOption* obj) { delete obj; } class PythonQtShell_QTextOption__Tab : public QTextOption::Tab { public: - PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(NULL) {}; - PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(NULL) {}; + PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(nullptr) {}; + PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(nullptr) {}; ~PythonQtShell_QTextOption__Tab(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextOption__Tab : public QObject @@ -839,7 +617,7 @@ QTextOption::Tab* new_QTextOption__Tab(const QTextOption::Tab& other) { PythonQtShell_QTextOption__Tab* a = new PythonQtShell_QTextOption__Tab(); *((QTextOption::Tab*)a) = other; return a; } -void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } +void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } @@ -854,11 +632,30 @@ QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return th +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: -void delete_QTextTable(QTextTable* obj) { delete obj; } +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; @@ -890,7 +687,7 @@ class PythonQtWrapper_QTextTableCell : public QObject public slots: QTextTableCell* new_QTextTableCell(); QTextTableCell* new_QTextTableCell(const QTextTableCell& o); -void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } +void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; int column(QTextTableCell* theWrappedObject) const; int columnSpan(QTextTableCell* theWrappedObject) const; @@ -917,13 +714,13 @@ void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat { public: - PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextTableCellFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableCellFormat : public QObject @@ -936,7 +733,7 @@ QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); *((QTextTableCellFormat*)a) = other; return a; } -void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } +void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } qreal bottomBorder(QTextTableCellFormat* theWrappedObject) const; QBrush bottomBorderBrush(QTextTableCellFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle bottomBorderStyle(QTextTableCellFormat* theWrappedObject) const; @@ -974,7 +771,7 @@ void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } QBrush topBorderBrush(QTextTableCellFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle topBorderStyle(QTextTableCellFormat* theWrappedObject) const; qreal topPadding(QTextTableCellFormat* theWrappedObject) const; - bool __nonzero__(QTextTableCellFormat* obj) { return obj->isValid(); } + bool __nonzero__(QTextTableCellFormat* obj) { return !obj->isEmpty(); } }; @@ -984,13 +781,13 @@ void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } class PythonQtShell_QTextTableFormat : public QTextTableFormat { public: - PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; - PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; + PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(nullptr) {}; ~PythonQtShell_QTextTableFormat(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableFormat : public QObject @@ -1003,7 +800,7 @@ QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); *((QTextTableFormat*)a) = other; return a; } -void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } +void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; bool borderCollapse(QTextTableFormat* theWrappedObject) const; qreal cellPadding(QTextTableFormat* theWrappedObject) const; @@ -1030,13 +827,13 @@ void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } class PythonQtShell_QTileRules : public QTileRules { public: - PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {}; - PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {}; + PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(nullptr) {}; + PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(nullptr) {}; ~PythonQtShell_QTileRules(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTileRules : public QObject @@ -1045,7 +842,7 @@ class PythonQtWrapper_QTileRules : public QObject public slots: QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule); QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile); -void delete_QTileRules(QTileRules* obj) { delete obj; } +void delete_QTileRules(QTileRules* obj) { delete obj; } void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } @@ -1059,64 +856,67 @@ Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedOb class PythonQtShell_QTimeEdit : public QTimeEdit { public: - PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(NULL) {}; - PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTimeEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QDateTime dateTimeFromText(const QString& text) const; -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& input) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromDateTime(const QDateTime& dt) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimeEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimeEdit : public QObject @@ -1125,7 +925,7 @@ class PythonQtWrapper_QTimeEdit : public QObject public slots: QTimeEdit* new_QTimeEdit(QWidget* parent = nullptr); QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = nullptr); -void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } +void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } }; @@ -1135,56 +935,60 @@ void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } class PythonQtShell_QToolBar : public QToolBar { public: - PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(NULL) {}; - PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBar : public QToolBar @@ -1206,7 +1010,7 @@ class PythonQtWrapper_QToolBar : public QObject public slots: QToolBar* new_QToolBar(QWidget* parent = nullptr); QToolBar* new_QToolBar(const QString& title, QWidget* parent = nullptr); -void delete_QToolBar(QToolBar* obj) { delete obj; } +void delete_QToolBar(QToolBar* obj) { delete obj; } QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; void py_q_actionEvent(QToolBar* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_actionEvent(event));} @@ -1265,7 +1069,7 @@ class PythonQtWrapper_QToolBarChangeEvent : public QObject public: public slots: QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); -void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } +void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } bool toggle(QToolBarChangeEvent* theWrappedObject) const; }; @@ -1276,57 +1080,61 @@ void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } class PythonQtShell_QToolBox : public QToolBox { public: - PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QToolBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void itemInserted(int index); -virtual void itemRemoved(int index); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* e); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void itemInserted(int index) override; +void itemRemoved(int index) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBox : public QToolBox @@ -1348,7 +1156,7 @@ class PythonQtWrapper_QToolBox : public QObject public: public slots: QToolBox* new_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QToolBox(QToolBox* obj) { delete obj; } +void delete_QToolBox(QToolBox* obj) { delete obj; } int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text); void py_q_changeEvent(QToolBox* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_changeEvent(arg__1));} @@ -1383,59 +1191,62 @@ void delete_QToolBox(QToolBox* obj) { delete obj; } class PythonQtShell_QToolButton : public QToolButton { public: - PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QToolButton(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolButton() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolButton : public QToolButton @@ -1472,7 +1283,7 @@ class PythonQtWrapper_QToolButton : public QObject public: public slots: QToolButton* new_QToolButton(QWidget* parent = nullptr); -void delete_QToolButton(QToolButton* obj) { delete obj; } +void delete_QToolButton(QToolButton* obj) { delete obj; } void py_q_actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_actionEvent(arg__1));} Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; bool autoRaise(QToolButton* theWrappedObject) const; @@ -1509,7 +1320,7 @@ class PythonQtWrapper_QToolTip : public QObject { Q_OBJECT public: public slots: -void delete_QToolTip(QToolTip* obj) { delete obj; } +void delete_QToolTip(QToolTip* obj) { delete obj; } QFont static_QToolTip_font(); void static_QToolTip_hideText(); bool static_QToolTip_isVisible(); @@ -1538,7 +1349,7 @@ enum DeviceType{ Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) public slots: QTouchDevice* new_QTouchDevice(); -void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } +void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; QList static_QTouchDevice_devices(); int maximumTouchPoints(QTouchDevice* theWrappedObject) const; @@ -1555,104 +1366,318 @@ void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } +class PythonQtShell_QTouchEvent : public QTouchEvent +{ +public: + PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(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(NULL) {}; - - ~PythonQtShell_QTreeView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeView : public QTreeView @@ -1739,7 +1764,7 @@ class PythonQtWrapper_QTreeView : public QObject public: public slots: QTreeView* new_QTreeView(QWidget* parent = nullptr); -void delete_QTreeView(QTreeView* obj) { delete obj; } +void delete_QTreeView(QTreeView* obj) { delete obj; } bool allColumnsShowFocus(QTreeView* theWrappedObject) const; int autoExpandDelay(QTreeView* theWrappedObject) const; int columnAt(QTreeView* theWrappedObject, int x) const; @@ -1834,104 +1859,106 @@ void delete_QTreeView(QTreeView* obj) { delete obj; } class PythonQtShell_QTreeWidget : public QTreeWidget { public: - PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; -virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget @@ -1959,7 +1986,7 @@ class PythonQtWrapper_QTreeWidget : public QObject public: public slots: QTreeWidget* new_QTreeWidget(QWidget* parent = nullptr); -void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } +void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } void addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); void addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items); void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); @@ -2015,125 +2042,3 @@ void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } }; - - - -class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem -{ -public: - PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(treeview, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, const QStringList& strings, int type = Type):QTreeWidgetItem(treeview, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* treeview, int type = Type):QTreeWidgetItem(treeview, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {}; - PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {}; - - ~PythonQtShell_QTreeWidgetItem(); - -virtual QTreeWidgetItem* clone() const; -virtual QVariant data(int column, int role) const; -virtual bool __lt__(const QTreeWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(int column, int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - 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.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp similarity index 77% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp index 4ffaf696..f7bbde9e 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp @@ -1,4 +1,4 @@ -#include "com_trolltech_qt_gui11.h" +#include "com_trolltech_qt_gui12.h" #include #include #include @@ -12,67 +12,86 @@ #include #include #include -#include +#include +#include #include +#include #include #include +#include #include +#include #include #include #include +#include #include +#include +#include #include +#include +#include #include #include #include +#include +#include #include #include #include +#include +#include +#include #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() { +PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QUndoCommand::id() const +QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("id"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QTreeWidgetItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QTreeWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QTreeWidgetItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -80,32 +99,32 @@ if (_wrapper) { } } } - return QUndoCommand::id(); + return QTreeWidgetItem::clone(); } -bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) +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("mergeWith"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL, (void*)&other0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -113,21 +132,21 @@ if (_wrapper) { } } } - return QUndoCommand::mergeWith(other0); + return QTreeWidgetItem::data(column0, role1); } -void PythonQtShell_QUndoCommand::redo() +void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redo"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -135,21 +154,21 @@ if (_wrapper) { } } } - QUndoCommand::redo(); + QTreeWidgetItem::read(in0); } -void PythonQtShell_QUndoCommand::undo() +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("undo"); + static PyObject* name = PyString_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -157,352 +176,1411 @@ if (_wrapper) { } } } - QUndoCommand::undo(); + QTreeWidgetItem::setData(column0, role1, value2); } -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) +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_QUndoCommand(parent); } +return new PythonQtShell_QTreeWidgetItem(treeview, after, type); } -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis treeview, const QStringList& strings, int type) { -return new PythonQtShell_QUndoCommand(text, parent); } +return new PythonQtShell_QTreeWidgetItem(treeview, strings, type); } -QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const +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) { - return ( theWrappedObject->actionText()); + ( theWrappedObject->addChild(child)); } -const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const +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_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const +int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const { return ( theWrappedObject->childCount()); } -int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const +QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->id()); + return ( theWrappedObject->childIndicatorPolicy()); } -bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isObsolete()); + return ( theWrappedObject->clone()); } -bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) +int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->mergeWith(other)); + return ( theWrappedObject->columnCount()); } -void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) +QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const { - ( theWrappedObject->redo()); + return ( theWrappedObject->data(column, role)); } -void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) +void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) { - ( theWrappedObject->setObsolete(obsolete)); + ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); } -void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) +Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const { - ( theWrappedObject->setText(text)); + return ( theWrappedObject->flags()); } -QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const +QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->font(column)); } -void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) +QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const { - ( theWrappedObject->undo()); + 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)); +} -PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) +{ + ( theWrappedObject->insertChild(index, child)); } -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; - } +void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) +{ + ( theWrappedObject->insertChildren(index, children)); } -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; + +bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isDisabled()); } -QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const + +bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->activeStack()); + return ( theWrappedObject->isExpanded()); } -void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const { - ( theWrappedObject->addStack(stack)); + return ( theWrappedObject->isFirstColumnSpanned()); } -bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const +bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->canRedo()); + return ( theWrappedObject->isHidden()); } -bool PythonQtWrapper_QUndoGroup::canUndo(QUndoGroup* theWrappedObject) const +bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->canUndo()); + return ( theWrappedObject->isSelected()); } -QAction* PythonQtWrapper_QUndoGroup::createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) { - return ( theWrappedObject->createRedoAction(parent, prefix)); + out << (*theWrappedObject); } -QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) { - return ( theWrappedObject->createUndoAction(parent, prefix)); + in >> (*theWrappedObject); } -bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const { - return ( theWrappedObject->isClean()); + return ( theWrappedObject->parent()); } -QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) { - return ( theWrappedObject->redoText()); + ( theWrappedObject->read(in)); } -void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) { - ( theWrappedObject->removeStack(stack)); + ( theWrappedObject->removeChild(child)); } -QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) { - return ( theWrappedObject->stacks()); + ( theWrappedObject->setBackground(column, brush)); } -QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) { - return ( theWrappedObject->undoText()); + ( 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)); +} -PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) +{ + ( theWrappedObject->setDisabled(disabled)); } -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; - } +void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) +{ + ( theWrappedObject->setExpanded(expand)); } -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_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) +{ + ( theWrappedObject->setFirstColumnSpanned(span)); } -void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) + +void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) { - ( theWrappedObject->beginMacro(text)); + ( theWrappedObject->setFlags(flags)); } -bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) { - return ( theWrappedObject->canRedo()); + ( theWrappedObject->setFont(column, font)); } -bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) { - return ( theWrappedObject->canUndo()); + ( theWrappedObject->setForeground(column, brush)); } -int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) { - return ( theWrappedObject->cleanIndex()); + ( theWrappedObject->setHidden(hide)); } -void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) +void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) { - ( theWrappedObject->clear()); + ( theWrappedObject->setIcon(column, icon)); } -const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const +void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) { - return ( theWrappedObject->command(index)); + ( theWrappedObject->setSelected(select)); } -int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) { - return ( theWrappedObject->count()); + ( theWrappedObject->setSizeHint(column, size)); } -QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) { - return ( theWrappedObject->createRedoAction(parent, prefix)); + ( theWrappedObject->setStatusTip(column, statusTip)); } -QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) { - return ( theWrappedObject->createUndoAction(parent, prefix)); + ( theWrappedObject->setText(column, text)); } -void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) +void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) { - ( theWrappedObject->endMacro()); + ( theWrappedObject->setTextAlignment(column, alignment)); } -int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) { - return ( theWrappedObject->index()); + ( theWrappedObject->setToolTip(column, toolTip)); } -bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) { - return ( theWrappedObject->isActive()); + ( theWrappedObject->setWhatsThis(column, whatsThis)); } -bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const +QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->isClean()); + return ( theWrappedObject->sizeHint(column)); } -void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) +void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) { - ( theWrappedObject->push(cmd)); + ( theWrappedObject->sortChildren(column, order)); } -QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const +QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->redoText()); + return ( theWrappedObject->statusTip(column)); } -void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) { - ( theWrappedObject->setUndoLimit(limit)); + return ( theWrappedObject->takeChild(index)); } -QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const +PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) { - return ( theWrappedObject->text(idx)); + return ( theWrappedObject->takeChildren()); } -int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const +QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->undoLimit()); + return ( theWrappedObject->text(column)); } -QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const +int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const { - return ( theWrappedObject->undoText()); + 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()); +} -PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { +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)); +} + + + +PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) +int PythonQtShell_QUndoCommand::id() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("id"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::actionEvent(event0); + return QUndoCommand::id(); } -void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) +bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mergeWith"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&other0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; + if (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::changeEvent(arg__1); + QUndoView::closeEvent(event0); } -void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QUndoView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + 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] = {NULL, (void*)&editor0, (void*)&hint1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::closeEditor(editor0, hint1); + return QUndoView::edit(index0, trigger1, event2); } -void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -510,21 +1588,21 @@ if (_wrapper) { } } } - QUndoView::closeEvent(event0); + QUndoView::editorDestroyed(editor0); } -void PythonQtShell_QUndoView::commitData(QWidget* editor0) +void PythonQtShell_QUndoView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -532,65 +1610,87 @@ if (_wrapper) { } } } - QUndoView::commitData(editor0); + QUndoView::enterEvent(event0); } -void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) +bool PythonQtShell_QUndoView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::contextMenuEvent(arg__1); + return QUndoView::event(e0); } -void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¤t0, (void*)&previous1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::currentChanged(current0, previous1); + return QUndoView::eventFilter(object0, event1); } -void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -598,32 +1698,32 @@ if (_wrapper) { } } } - QUndoView::dataChanged(topLeft0, bottomRight1, roles2); + QUndoView::focusInEvent(event0); } -int PythonQtShell_QUndoView::devType() const +bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -631,43 +1731,21 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::doItemsLayout(); + return QUndoView::focusNextPrevChild(next0); } -void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -675,65 +1753,87 @@ if (_wrapper) { } } } - QUndoView::dragEnterEvent(event0); + QUndoView::focusOutEvent(event0); } -void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) +bool PythonQtShell_QUndoView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::dragLeaveEvent(e0); + return QUndoView::hasHeightForWidth(); } -void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) +int PythonQtShell_QUndoView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::dragMoveEvent(e0); + return QUndoView::heightForWidth(arg__1); } -void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) +void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -741,32 +1841,32 @@ if (_wrapper) { } } } - QUndoView::dropEvent(e0); + QUndoView::hideEvent(event0); } -bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +int PythonQtShell_QUndoView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("horizontalOffset"); 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] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -774,21 +1874,21 @@ if (_wrapper) { } } } - return QUndoView::edit(index0, trigger1, event2); + return QUndoView::horizontalOffset(); } -void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) +void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -796,21 +1896,21 @@ if (_wrapper) { } } } - QUndoView::editorDestroyed(editor0); + QUndoView::horizontalScrollbarAction(action0); } -void PythonQtShell_QUndoView::enterEvent(QEvent* event0) +void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -818,32 +1918,32 @@ if (_wrapper) { } } } - QUndoView::enterEvent(event0); + QUndoView::horizontalScrollbarValueChanged(value0); } -bool PythonQtShell_QUndoView::event(QEvent* e0) +QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -851,87 +1951,109 @@ if (_wrapper) { } } } - return QUndoView::event(e0); + return QUndoView::indexAt(p0); } -bool PythonQtShell_QUndoView::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::eventFilter(object0, event1); + QUndoView::initPainter(painter0); } -void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + 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); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::focusInEvent(event0); + return QUndoView::inputMethodQuery(query0); } -bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) +bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -939,21 +2061,21 @@ if (_wrapper) { } } } - return QUndoView::focusNextPrevChild(next0); + return QUndoView::isIndexHidden(index0); } -void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -961,87 +2083,65 @@ if (_wrapper) { } } } - QUndoView::focusOutEvent(event0); + QUndoView::keyPressEvent(event0); } -bool PythonQtShell_QUndoView::hasHeightForWidth() const +void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::hasHeightForWidth(); + QUndoView::keyReleaseEvent(event0); } -int PythonQtShell_QUndoView::heightForWidth(int arg__1) const +void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&search0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::heightForWidth(arg__1); + QUndoView::keyboardSearch(search0); } -void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) +void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1049,32 +2149,32 @@ if (_wrapper) { } } } - QUndoView::hideEvent(event0); + QUndoView::leaveEvent(event0); } -int PythonQtShell_QUndoView::horizontalOffset() const +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("horizontalOffset"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1082,43 +2182,54 @@ if (_wrapper) { } } } - return QUndoView::horizontalOffset(); + return QUndoView::metric(arg__1); } -void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) +QSize PythonQtShell_QUndoView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&action0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::horizontalScrollbarAction(action0); + return QUndoView::minimumSizeHint(); } -void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1126,54 +2237,43 @@ if (_wrapper) { } } } - QUndoView::horizontalScrollbarValueChanged(value0); + QUndoView::mouseDoubleClickEvent(event0); } -QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const +void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::indexAt(p0); + QUndoView::mouseMoveEvent(e0); } -void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const +void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1181,21 +2281,21 @@ if (_wrapper) { } } } - QUndoView::initPainter(painter0); + QUndoView::mousePressEvent(event0); } -void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1203,32 +2303,32 @@ if (_wrapper) { } } } - QUndoView::inputMethodEvent(event0); + QUndoView::mouseReleaseEvent(e0); } -QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("moveCursor"); 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] = {NULL, (void*)&query0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1236,32 +2336,54 @@ if (_wrapper) { } } } - return QUndoView::inputMethodQuery(query0); + return QUndoView::moveCursor(cursorAction0, modifiers1); } -bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const +void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + 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[2] = {NULL, (void*)&index0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1269,43 +2391,54 @@ if (_wrapper) { } } } - return QUndoView::isIndexHidden(index0); + return QUndoView::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) +QPaintEngine* PythonQtShell_QUndoView::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::keyPressEvent(event0); + return QUndoView::paintEngine(); } -void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1313,43 +2446,54 @@ if (_wrapper) { } } } - QUndoView::keyReleaseEvent(event0); + QUndoView::paintEvent(e0); } -void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) +QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::keyboardSearch(search0); + return QUndoView::redirected(offset0); } -void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) +void PythonQtShell_QUndoView::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1357,87 +2501,65 @@ if (_wrapper) { } } } - QUndoView::leaveEvent(event0); + QUndoView::reset(); } -int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::metric(arg__1); + QUndoView::resizeEvent(e0); } -QSize PythonQtShell_QUndoView::minimumSizeHint() const +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("minimumSizeHint"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::minimumSizeHint(); + QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) +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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1445,21 +2567,21 @@ if (_wrapper) { } } } - QUndoView::mouseDoubleClickEvent(event0); + QUndoView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1467,21 +2589,21 @@ if (_wrapper) { } } } - QUndoView::mouseMoveEvent(e0); + QUndoView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) +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("mousePressEvent"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1489,21 +2611,21 @@ if (_wrapper) { } } } - QUndoView::mousePressEvent(event0); + QUndoView::scrollTo(index0, hint1); } -void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QUndoView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1511,32 +2633,32 @@ if (_wrapper) { } } } - QUndoView::mouseReleaseEvent(e0); + QUndoView::selectAll(); } -QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +QList PythonQtShell_QUndoView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("selectedIndexes"); 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] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1544,21 +2666,21 @@ if (_wrapper) { } } } - return QUndoView::moveCursor(cursorAction0, modifiers1); + return QUndoView::selectedIndexes(); } -void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) +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("moveEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1566,32 +2688,32 @@ if (_wrapper) { } } } - QUndoView::moveEvent(event0); + QUndoView::selectionChanged(selected0, deselected1); } -bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("selectionCommand"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1599,54 +2721,43 @@ if (_wrapper) { } } } - return QUndoView::nativeEvent(eventType0, message1, result2); + return QUndoView::selectionCommand(index0, event1); } -QPaintEngine* PythonQtShell_QUndoView::paintEngine() const +void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("setModel"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::paintEngine(); + QUndoView::setModel(model0); } -void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) +void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1654,54 +2765,43 @@ if (_wrapper) { } } } - QUndoView::paintEvent(e0); + QUndoView::setRootIndex(index0); } -QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("setSelection"); 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] = {NULL, (void*)&offset0}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::redirected(offset0); + QUndoView::setSelection(rect0, command1); } -void PythonQtShell_QUndoView::reset() +void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1709,21 +2809,21 @@ if (_wrapper) { } } } - QUndoView::reset(); + QUndoView::setSelectionModel(selectionModel0); } -void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QUndoView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1731,21 +2831,21 @@ if (_wrapper) { } } } - QUndoView::resizeEvent(e0); + QUndoView::setVisible(visible0); } -void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("setupViewport"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1753,43 +2853,54 @@ if (_wrapper) { } } } - QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); + QUndoView::setupViewport(viewport0); } -void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +QPainter* PythonQtShell_QUndoView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::rowsInserted(parent0, start1, end2); + return QUndoView::sharedPainter(); } -void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("showEvent"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1797,76 +2908,98 @@ if (_wrapper) { } } } - QUndoView::scrollContentsBy(dx0, dy1); + QUndoView::showEvent(event0); } -void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +QSize PythonQtShell_QUndoView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&index0, (void*)&hint1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::scrollTo(index0, hint1); + return QUndoView::sizeHint(); } -void PythonQtShell_QUndoView::selectAll() +int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::selectAll(); + return QUndoView::sizeHintForColumn(column0); } -QList PythonQtShell_QUndoView::selectedIndexes() const +int PythonQtShell_QUndoView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("sizeHintForRow"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1874,21 +3007,21 @@ if (_wrapper) { } } } - return QUndoView::selectedIndexes(); + return QUndoView::sizeHintForRow(row0); } -void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("startDrag"); 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] = {NULL, (void*)&selected0, (void*)&deselected1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1896,54 +3029,43 @@ if (_wrapper) { } } } - QUndoView::selectionChanged(selected0, deselected1); + QUndoView::startDrag(supportedActions0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("tabletEvent"); 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] = {NULL, (void*)&index0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoView::selectionCommand(index0, event1); + QUndoView::tabletEvent(event0); } -void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1951,21 +3073,21 @@ if (_wrapper) { } } } - QUndoView::setModel(model0); + QUndoView::timerEvent(e0); } -void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("updateEditorData"); 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] = {NULL, (void*)&index0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1973,21 +3095,21 @@ if (_wrapper) { } } } - QUndoView::setRootIndex(index0); + QUndoView::updateEditorData(); } -void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QUndoView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("updateEditorGeometries"); 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] = {NULL, (void*)&rect0, (void*)&command1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1995,21 +3117,21 @@ if (_wrapper) { } } } - QUndoView::setSelection(rect0, command1); + QUndoView::updateEditorGeometries(); } -void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QUndoView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("updateGeometries"); 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] = {NULL, (void*)&selectionModel0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2017,21 +3139,54 @@ if (_wrapper) { } } } - QUndoView::setSelectionModel(selectionModel0); + QUndoView::updateGeometries(); } -void PythonQtShell_QUndoView::setVisible(bool visible0) +int PythonQtShell_QUndoView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + 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] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2039,21 +3194,21 @@ if (_wrapper) { } } } - QUndoView::setVisible(visible0); + QUndoView::verticalScrollbarAction(action0); } -void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) +void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2061,32 +3216,32 @@ if (_wrapper) { } } } - QUndoView::setupViewport(viewport0); + QUndoView::verticalScrollbarValueChanged(value0); } -QPainter* PythonQtShell_QUndoView::sharedPainter() const +QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2094,54 +3249,65 @@ if (_wrapper) { } } } - return QUndoView::sharedPainter(); + return QUndoView::viewOptions(); } -void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) +bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::showEvent(event0); + return QUndoView::viewportEvent(event0); } -QSize PythonQtShell_QUndoView::sizeHint() const +QSize PythonQtShell_QUndoView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2149,32 +3315,32 @@ if (_wrapper) { } } } - return QUndoView::sizeHint(); + return QUndoView::viewportSizeHint(); } -int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const +QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2182,32 +3348,32 @@ if (_wrapper) { } } } - return QUndoView::sizeHintForColumn(column0); + return QUndoView::visualRect(index0); } -int PythonQtShell_QUndoView::sizeHintForRow(int row0) const +QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRegion*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2215,21 +3381,21 @@ if (_wrapper) { } } } - return QUndoView::sizeHintForRow(row0); + return QUndoView::visualRegionForSelection(selection0); } -void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2237,65 +3403,82 @@ if (_wrapper) { } } } - QUndoView::startDrag(supportedActions0); + 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()); } -void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) + +QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->group()); } - QUndoView::tabletEvent(event0); + +void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setCleanIcon(icon)); } -void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) + +void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setEmptyLabel(label)); } - QUndoView::timerEvent(e0); + +QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->stack()); } -void PythonQtShell_QUndoView::updateEditorData() + + + +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("updateEditorData"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2303,21 +3486,21 @@ if (_wrapper) { } } } - QUndoView::updateEditorData(); + QVBoxLayout::addItem(arg__1); } -void PythonQtShell_QUndoView::updateEditorGeometries() +void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2325,54 +3508,65 @@ if (_wrapper) { } } } - QUndoView::updateEditorGeometries(); + QVBoxLayout::childEvent(e0); } -void PythonQtShell_QUndoView::updateGeometries() +QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::updateGeometries(); + return QVBoxLayout::controlTypes(); } -int PythonQtShell_QUndoView::verticalOffset() const +int PythonQtShell_QVBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2380,21 +3574,21 @@ if (_wrapper) { } } } - return QUndoView::verticalOffset(); + return QVBoxLayout::count(); } -void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) +void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2402,54 +3596,65 @@ if (_wrapper) { } } } - QUndoView::verticalScrollbarAction(action0); + QVBoxLayout::customEvent(event0); } -void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) +bool PythonQtShell_QVBoxLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoView::verticalScrollbarValueChanged(value0); + return QVBoxLayout::event(event0); } -QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const +bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2457,32 +3662,32 @@ if (_wrapper) { } } } - return QUndoView::viewOptions(); + return QVBoxLayout::eventFilter(watched0, event1); } -bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) +Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2490,32 +3695,32 @@ if (_wrapper) { } } } - return QUndoView::viewportEvent(event0); + return QVBoxLayout::expandingDirections(); } -QSize PythonQtShell_QUndoView::viewportSizeHint() const +QRect PythonQtShell_QVBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2523,32 +3728,32 @@ if (_wrapper) { } } } - return QUndoView::viewportSizeHint(); + return QVBoxLayout::geometry(); } -QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const +bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2556,32 +3761,32 @@ if (_wrapper) { } } } - return QUndoView::visualRect(index0); + return QVBoxLayout::hasHeightForWidth(); } -QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const +int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2589,137 +3794,120 @@ if (_wrapper) { } } } - return QUndoView::visualRegionForSelection(selection0); + return QVBoxLayout::heightForWidth(arg__1); } -void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) +int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + int returnValue{}; + void* args[2] = {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::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)); + if (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(); + } + } } - -void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setEmptyLabel(label)); + return QVBoxLayout::indexOf(arg__1); } - -QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const +void PythonQtShell_QVBoxLayout::invalidate() { - return ( theWrappedObject->stack()); +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(); + } + } } - - - -PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QVBoxLayout::invalidate(); } -void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) +bool PythonQtShell_QVBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("isEmpty"); 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] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QVBoxLayout::addItem(arg__1); + return QVBoxLayout::isEmpty(); } -int PythonQtShell_QVBoxLayout::count() const +QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("itemAt"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2727,32 +3915,32 @@ if (_wrapper) { } } } - return QVBoxLayout::count(); + return QVBoxLayout::itemAt(arg__1); } -Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const +QLayout* PythonQtShell_QVBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2760,32 +3948,32 @@ if (_wrapper) { } } } - return QVBoxLayout::expandingDirections(); + return QVBoxLayout::layout(); } -bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const +QSize PythonQtShell_QVBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2793,32 +3981,32 @@ if (_wrapper) { } } } - return QVBoxLayout::hasHeightForWidth(); + return QVBoxLayout::maximumSize(); } -int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const +int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + 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] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2826,54 +4014,87 @@ if (_wrapper) { } } } - return QVBoxLayout::heightForWidth(arg__1); + return QVBoxLayout::minimumHeightForWidth(arg__1); } -void PythonQtShell_QVBoxLayout::invalidate() +QSize PythonQtShell_QVBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QVBoxLayout::invalidate(); + return QVBoxLayout::minimumSize(); } -QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const +void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2881,32 +4102,32 @@ if (_wrapper) { } } } - return QVBoxLayout::itemAt(arg__1); + return QVBoxLayout::sizeHint(); } -QSize PythonQtShell_QVBoxLayout::maximumSize() const +QSpacerItem* PythonQtShell_QVBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2914,32 +4135,32 @@ if (_wrapper) { } } } - return QVBoxLayout::maximumSize(); + return QVBoxLayout::spacerItem(); } -int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const +QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2947,32 +4168,54 @@ if (_wrapper) { } } } - return QVBoxLayout::minimumHeightForWidth(arg__1); + return QVBoxLayout::takeAt(arg__1); } -QSize PythonQtShell_QVBoxLayout::minimumSize() const +void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); - QSize returnValue{}; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2980,21 +4223,70 @@ if (_wrapper) { } } } - return QVBoxLayout::minimumSize(); + 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_QVBoxLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3002,32 +4294,32 @@ if (_wrapper) { } } } - QVBoxLayout::setGeometry(arg__1); + QValidator::customEvent(event0); } -QSize PythonQtShell_QVBoxLayout::sizeHint() const +bool PythonQtShell_QValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3035,32 +4327,32 @@ if (_wrapper) { } } } - return QVBoxLayout::sizeHint(); + return QValidator::event(event0); } -QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) +bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3068,34 +4360,7 @@ if (_wrapper) { } } } - return QVBoxLayout::takeAt(arg__1); -} -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); } + return QValidator::eventFilter(watched0, event1); } void PythonQtShell_QValidator::fixup(QString& arg__1) const { @@ -3107,9 +4372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3119,6 +4384,28 @@ if (_wrapper) { } 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) { @@ -3130,19 +4417,19 @@ if (_wrapper) { static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { returnValue = *((QValidator::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3255,6 +4542,11 @@ QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector2D::__ne__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, const QVector2D& v2) { return ( (*theWrappedObject)* v2); @@ -3285,6 +4577,11 @@ QVector2D* PythonQtWrapper_QVector2D::__iadd__(QVector2D* theWrappedObject, con 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); @@ -3477,6 +4774,11 @@ QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector3D::__ne__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix) { return ( (*theWrappedObject)* matrix); @@ -3512,6 +4814,11 @@ QVector3D* PythonQtWrapper_QVector3D::__iadd__(QVector3D* theWrappedObject, con 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); @@ -3693,6 +5000,11 @@ QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) co return ( theWrappedObject->normalized()); } +bool PythonQtWrapper_QVector4D::__ne__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix) { return ( (*theWrappedObject)* matrix); @@ -3728,6 +5040,11 @@ QVector4D* PythonQtWrapper_QVector4D::__iadd__(QVector4D* theWrappedObject, con 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); @@ -4038,9 +5355,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4060,9 +5377,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4072,6 +5389,28 @@ if (_wrapper) { } 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) { @@ -4082,9 +5421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4104,9 +5443,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4116,6 +5455,28 @@ if (_wrapper) { } 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) { @@ -4127,19 +5488,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4159,9 +5520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4181,9 +5542,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4203,9 +5564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4225,9 +5586,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4247,9 +5608,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4270,19 +5631,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4292,6 +5653,39 @@ if (_wrapper) { } 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) { @@ -4302,9 +5696,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4325,19 +5719,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4357,9 +5751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4380,19 +5774,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4413,19 +5807,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4445,9 +5839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4467,9 +5861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4489,9 +5883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4512,19 +5906,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4544,9 +5938,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4566,9 +5960,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4588,9 +5982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4611,19 +6005,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4644,19 +6038,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4676,9 +6070,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4698,9 +6092,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4720,9 +6114,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4742,9 +6136,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4764,9 +6158,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4787,19 +6181,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4820,19 +6214,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4852,9 +6246,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4875,19 +6269,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4907,9 +6301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4929,9 +6323,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4952,19 +6346,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4984,9 +6378,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5007,19 +6401,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5039,9 +6433,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5051,6 +6445,28 @@ if (_wrapper) { } 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) { @@ -5061,9 +6477,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5235,11 +6651,6 @@ void PythonQtWrapper_QWidget::destroy(QWidget* theWrappedObject, bool destroyWi ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_destroy(destroyWindow, destroySubWindows)); } -int PythonQtWrapper_QWidget::devType(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->devType()); -} - void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); @@ -5275,11 +6686,6 @@ void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* eve ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(event)); } -bool PythonQtWrapper_QWidget::event(QWidget* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_event(event)); -} - void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(event)); @@ -5430,11 +6836,6 @@ void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(event)); } -void PythonQtWrapper_QWidget::initPainter(QWidget* theWrappedObject, QPainter* painter) const -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_initPainter(painter)); -} - void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); @@ -5550,6 +6951,11 @@ 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()); @@ -5615,11 +7021,6 @@ int PythonQtWrapper_QWidget::maximumWidth(QWidget* theWrappedObject) const return ( theWrappedObject->maximumWidth()); } -int PythonQtWrapper_QWidget::metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_metric(arg__1)); -} - int PythonQtWrapper_QWidget::minimumHeight(QWidget* theWrappedObject) const { return ( theWrappedObject->minimumHeight()); @@ -5710,11 +7111,6 @@ void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt: ( theWrappedObject->overrideWindowState(state)); } -QPaintEngine* PythonQtWrapper_QWidget::paintEngine(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->paintEngine()); -} - void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(event)); @@ -5745,11 +7141,6 @@ QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const return ( theWrappedObject->rect()); } -QPaintDevice* PythonQtWrapper_QWidget::redirected(QWidget* theWrappedObject, QPoint* offset) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_redirected(offset)); -} - void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) { ( theWrappedObject->releaseKeyboard()); @@ -5820,6 +7211,11 @@ QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) con 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)); @@ -5955,6 +7351,11 @@ void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt: ( 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)); @@ -6150,11 +7551,6 @@ void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::Wind ( theWrappedObject->setWindowState(state)); } -QPainter* PythonQtWrapper_QWidget::sharedPainter(QWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_sharedPainter()); -} - void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* event) { ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(event)); @@ -6378,6 +7774,28 @@ 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) { @@ -6389,19 +7807,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QWidget* returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6411,6 +7829,28 @@ if (_wrapper) { } 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) { @@ -6421,9 +7861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6444,19 +7884,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6477,27 +7917,49 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QWidgetAction::eventFilter(arg__1, arg__2); + QWidgetAction::timerEvent(event0); } QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) { @@ -6536,11 +7998,6 @@ void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); } -bool PythonQtWrapper_QWidgetAction::eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} - void PythonQtWrapper_QWidgetAction::releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget) { ( theWrappedObject->releaseWidget(widget)); @@ -6573,19 +8030,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSizePolicy::ControlTypes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6606,19 +8063,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6639,19 +8096,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRect returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6672,19 +8129,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6705,19 +8162,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6737,9 +8194,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6760,19 +8217,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6782,6 +8239,39 @@ if (_wrapper) { } 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) { @@ -6793,19 +8283,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6826,19 +8316,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6859,19 +8349,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6891,9 +8381,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6914,19 +8404,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6947,19 +8437,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSpacerItem* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6980,19 +8470,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QWidget* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7012,6 +8502,50 @@ 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) { @@ -7023,19 +8557,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7045,6 +8579,39 @@ if (_wrapper) { } 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) { @@ -7055,9 +8622,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7077,9 +8644,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7100,19 +8667,19 @@ if (_wrapper) { static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7132,9 +8699,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7155,19 +8722,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSurfaceFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7187,9 +8754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7209,9 +8776,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7231,9 +8798,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7253,9 +8820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7275,9 +8842,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7297,9 +8864,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7319,9 +8886,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7341,9 +8908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7364,19 +8931,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7396,9 +8963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7418,9 +8985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7441,19 +9008,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7474,19 +9041,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSurface::SurfaceType returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7506,9 +9073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7518,6 +9085,28 @@ if (_wrapper) { } 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) { @@ -7528,9 +9117,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7550,9 +9139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7562,6 +9151,10 @@ if (_wrapper) { } 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); } @@ -7609,11 +9202,6 @@ qreal PythonQtWrapper_QWindow::devicePixelRatio(QWindow* theWrappedObject) cons return ( theWrappedObject->devicePixelRatio()); } -bool PythonQtWrapper_QWindow::event(QWindow* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_event(arg__1)); -} - void PythonQtWrapper_QWindow::exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1) { ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_exposeEvent(arg__1)); @@ -7644,11 +9232,6 @@ void PythonQtWrapper_QWindow::focusOutEvent(QWindow* theWrappedObject, QFocusEve ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusOutEvent(arg__1)); } -QSurfaceFormat PythonQtWrapper_QWindow::format(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - QRect PythonQtWrapper_QWindow::frameGeometry(QWindow* theWrappedObject) const { return ( theWrappedObject->frameGeometry()); @@ -7854,6 +9437,11 @@ void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEven ( ((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)); @@ -7944,6 +9532,11 @@ void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, ( 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)); @@ -7979,21 +9572,11 @@ void PythonQtWrapper_QWindow::showEvent(QWindow* theWrappedObject, QShowEvent* ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_showEvent(arg__1)); } -QSize PythonQtWrapper_QWindow::size(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - QSize PythonQtWrapper_QWindow::sizeIncrement(QWindow* theWrappedObject) const { return ( theWrappedObject->sizeIncrement()); } -QSurface::SurfaceType PythonQtWrapper_QWindow::surfaceType(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->surfaceType()); -} - void PythonQtWrapper_QWindow::tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1) { ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_tabletEvent(arg__1)); @@ -8103,9 +9686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8125,9 +9708,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8147,9 +9730,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8159,6 +9742,28 @@ if (_wrapper) { } 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) { @@ -8169,9 +9774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8191,9 +9796,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8213,9 +9818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8225,6 +9830,28 @@ if (_wrapper) { } 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) { @@ -8236,19 +9863,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8268,9 +9895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8290,9 +9917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8312,9 +9939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8334,9 +9961,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8356,9 +9983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8378,9 +10005,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8401,19 +10028,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8434,19 +10061,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8467,19 +10094,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8499,9 +10126,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8522,19 +10149,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8554,9 +10181,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8577,19 +10204,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8610,19 +10237,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8642,9 +10269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8664,9 +10291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8686,9 +10313,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8708,9 +10335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8731,19 +10358,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8763,9 +10390,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8785,9 +10412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8807,9 +10434,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8830,19 +10457,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8863,19 +10490,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8895,9 +10522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8917,9 +10544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8939,9 +10566,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8961,9 +10588,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8983,9 +10610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9006,19 +10633,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9039,19 +10666,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9071,9 +10698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9094,19 +10721,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9126,9 +10753,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9149,19 +10776,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9181,9 +10808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9203,9 +10830,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9225,9 +10852,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9248,19 +10875,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9280,9 +10907,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9303,19 +10930,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9335,9 +10962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9347,6 +10974,28 @@ if (_wrapper) { } 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) { @@ -9358,19 +11007,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9390,9 +11039,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9620,9 +11269,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9642,9 +11291,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9654,6 +11303,28 @@ if (_wrapper) { } 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) { @@ -9664,9 +11335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9686,9 +11357,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9708,9 +11379,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9720,6 +11391,28 @@ if (_wrapper) { } 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) { @@ -9731,19 +11424,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9763,9 +11456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9785,9 +11478,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9807,9 +11500,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9829,9 +11522,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9851,9 +11544,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9874,19 +11567,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9896,6 +11589,39 @@ if (_wrapper) { } 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) { @@ -9906,9 +11632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9929,19 +11655,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9961,9 +11687,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9984,19 +11710,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10017,19 +11743,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10049,9 +11775,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10071,9 +11797,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10093,9 +11819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10115,9 +11841,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10138,19 +11864,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10171,19 +11897,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10203,9 +11929,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10225,9 +11951,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10247,9 +11973,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10270,19 +11996,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10303,19 +12029,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10335,9 +12061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10357,9 +12083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10379,9 +12105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10401,9 +12127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10423,9 +12149,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10446,19 +12172,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10479,19 +12205,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10512,19 +12238,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10544,9 +12270,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10567,19 +12293,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10599,9 +12325,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10621,9 +12347,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10644,19 +12370,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10676,9 +12402,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10699,19 +12425,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10731,9 +12457,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10743,6 +12469,28 @@ if (_wrapper) { } 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) { @@ -10754,19 +12502,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10786,9 +12534,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h index c4b1d703..c53b0368 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui11.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui12.h @@ -11,30 +11,53 @@ #include #include #include +#include +#include #include +#include #include #include +#include #include +#include #include #include #include +#include #include +#include +#include #include +#include +#include #include #include #include +#include +#include #include #include #include +#include +#include +#include #include +#include +#include #include +#include +#include +#include #include #include #include +#include +#include #include #include #include #include +#include #include #include #include @@ -46,20 +69,141 @@ +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));} +}; + + + + + class PythonQtShell_QUndoCommand : public QUndoCommand { public: - PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(NULL) {}; - PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(NULL) {}; + PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUndoCommand(); + ~PythonQtShell_QUndoCommand() override; -virtual int id() const; -virtual bool mergeWith(const QUndoCommand* other); -virtual void redo(); -virtual void undo(); +int id() const override; +bool mergeWith(const QUndoCommand* other) override; +void redo() override; +void undo() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand @@ -76,7 +220,7 @@ class PythonQtWrapper_QUndoCommand : public QObject public slots: QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); -void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } +void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } QString actionText(QUndoCommand* theWrappedObject) const; const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; int childCount(QUndoCommand* theWrappedObject) const; @@ -101,14 +245,19 @@ void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } class PythonQtShell_QUndoGroup : public QUndoGroup { public: - PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(NULL) {}; + PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUndoGroup(); + ~PythonQtShell_QUndoGroup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoGroup : public QObject @@ -116,7 +265,7 @@ class PythonQtWrapper_QUndoGroup : public QObject public: public slots: QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); -void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } +void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); bool canRedo(QUndoGroup* theWrappedObject) const; @@ -137,14 +286,19 @@ void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } class PythonQtShell_QUndoStack : public QUndoStack { public: - PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(NULL) {}; + PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QUndoStack(); + ~PythonQtShell_QUndoStack() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoStack : public QObject @@ -152,7 +306,7 @@ class PythonQtWrapper_QUndoStack : public QObject public: public slots: QUndoStack* new_QUndoStack(QObject* parent = nullptr); -void delete_QUndoStack(QUndoStack* obj) { delete obj; } +void delete_QUndoStack(QUndoStack* obj) { delete obj; } void beginMacro(QUndoStack* theWrappedObject, const QString& text); bool canRedo(QUndoStack* theWrappedObject) const; bool canUndo(QUndoStack* theWrappedObject) const; @@ -181,101 +335,103 @@ void delete_QUndoStack(QUndoStack* obj) { delete obj; } class PythonQtShell_QUndoView : public QUndoView { public: - PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = nullptr):QUndoView(group, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = nullptr):QUndoView(stack, parent),_wrapper(NULL) {}; - PythonQtShell_QUndoView(QWidget* parent = nullptr):QUndoView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QUndoView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = nullptr):QUndoView(group, parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = nullptr):QUndoView(stack, parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoView(QWidget* parent = nullptr):QUndoView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* e) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QUndoView : public QObject @@ -285,7 +441,7 @@ public slots: QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = nullptr); QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = nullptr); QUndoView* new_QUndoView(QWidget* parent = nullptr); -void delete_QUndoView(QUndoView* obj) { delete obj; } +void delete_QUndoView(QUndoView* obj) { delete obj; } QIcon cleanIcon(QUndoView* theWrappedObject) const; QString emptyLabel(QUndoView* theWrappedObject) const; QUndoGroup* group(QUndoView* theWrappedObject) const; @@ -301,28 +457,40 @@ void delete_QUndoView(QUndoView* obj) { delete obj; } class PythonQtShell_QVBoxLayout : public QVBoxLayout { public: - PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(nullptr) {}; + PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVBoxLayout : public QObject @@ -331,7 +499,8 @@ class PythonQtWrapper_QVBoxLayout : public QObject public slots: QVBoxLayout* new_QVBoxLayout(); QVBoxLayout* new_QVBoxLayout(QWidget* parent); -void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } +void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } + bool __nonzero__(QVBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -341,16 +510,21 @@ void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } class PythonQtShell_QValidator : public QValidator { public: - PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(NULL) {}; + PythonQtShell_QValidator(QObject* parent = nullptr):QValidator(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QValidator(); + ~PythonQtShell_QValidator() override; -virtual void fixup(QString& arg__1) const; -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& arg__1, int& arg__2) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QValidator : public QValidator @@ -364,7 +538,7 @@ class PythonQtWrapper_QValidator : public QObject public: public slots: QValidator* new_QValidator(QObject* parent = nullptr); -void delete_QValidator(QValidator* obj) { delete obj; } +void delete_QValidator(QValidator* obj) { delete obj; } void fixup(QValidator* theWrappedObject, QString& arg__1) const; void py_q_fixup(QValidator* theWrappedObject, QString& arg__1) const{ (((PythonQtPublicPromoter_QValidator*)theWrappedObject)->py_q_fixup(arg__1));} QLocale locale(QValidator* theWrappedObject) const; @@ -391,7 +565,7 @@ QVector2D* new_QVector2D(const QVector2D& other) { QVector2D* a = new QVector2D(); *((QVector2D*)a) = other; return a; } -void delete_QVector2D(QVector2D* obj) { delete obj; } +void delete_QVector2D(QVector2D* obj) { delete obj; } float distanceToLine(QVector2D* theWrappedObject, const QVector2D& point, const QVector2D& direction) const; float distanceToPoint(QVector2D* theWrappedObject, const QVector2D& point) const; float static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2); @@ -400,12 +574,14 @@ void delete_QVector2D(QVector2D* obj) { delete obj; } float lengthSquared(QVector2D* theWrappedObject) const; void normalize(QVector2D* theWrappedObject); QVector2D normalized(QVector2D* theWrappedObject) const; + bool __ne__(QVector2D* theWrappedObject, const QVector2D& v2); const QVector2D __mul__(QVector2D* theWrappedObject, const QVector2D& v2); const QVector2D __mul__(QVector2D* theWrappedObject, float factor); QVector2D* __imul__(QVector2D* theWrappedObject, const QVector2D& vector); 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); @@ -447,7 +623,7 @@ QVector3D* new_QVector3D(const QVector3D& other) { QVector3D* a = new QVector3D(); *((QVector3D*)a) = other; return a; } -void delete_QVector3D(QVector3D* obj) { delete obj; } +void delete_QVector3D(QVector3D* obj) { delete obj; } QVector3D static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2); float distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const; float distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const; @@ -461,6 +637,7 @@ void delete_QVector3D(QVector3D* obj) { delete obj; } QVector3D static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3); void normalize(QVector3D* theWrappedObject); QVector3D normalized(QVector3D* theWrappedObject) const; + bool __ne__(QVector3D* theWrappedObject, const QVector3D& v2); QVector3D __mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix); const QVector3D __mul__(QVector3D* theWrappedObject, const QVector3D& v2); const QVector3D __mul__(QVector3D* theWrappedObject, float factor); @@ -468,6 +645,7 @@ void delete_QVector3D(QVector3D* obj) { delete obj; } 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); @@ -514,13 +692,14 @@ QVector4D* new_QVector4D(const QVector4D& other) { QVector4D* a = new QVector4D(); *((QVector4D*)a) = other; return a; } -void delete_QVector4D(QVector4D* obj) { delete obj; } +void delete_QVector4D(QVector4D* obj) { delete obj; } float static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2); bool isNull(QVector4D* theWrappedObject) const; float length(QVector4D* theWrappedObject) const; float lengthSquared(QVector4D* theWrappedObject) const; void normalize(QVector4D* theWrappedObject); QVector4D normalized(QVector4D* theWrappedObject) const; + bool __ne__(QVector4D* theWrappedObject, const QVector4D& v2); QVector4D __mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix); const QVector4D __mul__(QVector4D* theWrappedObject, const QVector4D& v2); const QVector4D __mul__(QVector4D* theWrappedObject, float factor); @@ -528,6 +707,7 @@ void delete_QVector4D(QVector4D* obj) { delete obj; } 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); @@ -564,7 +744,7 @@ class PythonQtWrapper_QWhatsThis : public QObject { Q_OBJECT public: public slots: -void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } +void delete_QWhatsThis(QWhatsThis* obj) { delete obj; } QAction* static_QWhatsThis_createAction(QObject* parent = nullptr); void static_QWhatsThis_enterWhatsThisMode(); void static_QWhatsThis_hideText(); @@ -582,7 +762,7 @@ class PythonQtWrapper_QWhatsThisClickedEvent : public QObject public: public slots: QWhatsThisClickedEvent* new_QWhatsThisClickedEvent(const QString& href); -void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } +void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } QString href(QWhatsThisClickedEvent* theWrappedObject) const; }; @@ -593,18 +773,18 @@ void delete_QWhatsThisClickedEvent(QWhatsThisClickedEvent* obj) { delete obj; } 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(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted):QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; - PythonQtShell_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical):QWheelEvent(pos, delta, buttons, modifiers, orient),_wrapper(NULL) {}; + PythonQtShell_QWheelEvent(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(); + ~PythonQtShell_QWheelEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QWheelEvent : public QObject @@ -618,7 +798,7 @@ QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPo QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted); QWheelEvent* new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); QWheelEvent* new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient = Qt::Vertical); -void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } +void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } QPoint angleDelta(QWheelEvent* theWrappedObject) const; Qt::MouseButtons buttons(QWheelEvent* theWrappedObject) const; int delta(QWheelEvent* theWrappedObject) const; @@ -646,55 +826,59 @@ void delete_QWheelEvent(QWheelEvent* obj) { delete obj; } class PythonQtShell_QWidget : public QWidget { public: - PythonQtShell_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QWidget(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QWidget(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidget : public QWidget @@ -789,7 +973,7 @@ enum RenderFlag{ Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QWidget* new_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QWidget(QWidget* obj) { delete obj; } +void delete_QWidget(QWidget* obj) { delete obj; } bool acceptDrops(QWidget* theWrappedObject) const; QString accessibleDescription(QWidget* theWrappedObject) const; QString accessibleName(QWidget* theWrappedObject) const; @@ -823,7 +1007,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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 devType(QWidget* theWrappedObject) const; 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));} @@ -837,7 +1020,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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 event(QWidget* theWrappedObject, QEvent* 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));} @@ -875,7 +1057,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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 initPainter(QWidget* theWrappedObject, QPainter* painter) const; 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));} @@ -904,6 +1085,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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));} @@ -918,7 +1100,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } int maximumHeight(QWidget* theWrappedObject) const; QSize maximumSize(QWidget* theWrappedObject) const; int maximumWidth(QWidget* theWrappedObject) const; - int metric(QWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) 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; @@ -945,7 +1126,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } QRect normalGeometry(QWidget* theWrappedObject) const; void overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type); void overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state); - QPaintEngine* paintEngine(QWidget* theWrappedObject) const; 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));} @@ -954,7 +1134,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } QPoint pos(QWidget* theWrappedObject) const; QWidget* previousInFocusChain(QWidget* theWrappedObject) const; QRect rect(QWidget* theWrappedObject) const; - QPaintDevice* redirected(QWidget* theWrappedObject, QPoint* offset) 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); @@ -971,6 +1150,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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); @@ -998,6 +1178,7 @@ void delete_QWidget(QWidget* obj) { delete obj; } 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); @@ -1038,7 +1219,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } void setWindowOpacity(QWidget* theWrappedObject, qreal level); void setWindowRole(QWidget* theWrappedObject, const QString& arg__1); void setWindowState(QWidget* theWrappedObject, Qt::WindowStates state); - QPainter* sharedPainter(QWidget* theWrappedObject) const; 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));} @@ -1096,18 +1276,21 @@ void delete_QWidget(QWidget* obj) { delete obj; } class PythonQtShell_QWidgetAction : public QWidgetAction { public: - PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(NULL) {}; + PythonQtShell_QWidgetAction(QObject* parent):QWidgetAction(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QWidgetAction(); + ~PythonQtShell_QWidgetAction() override; -virtual QWidget* createWidget(QWidget* parent); -virtual void deleteWidget(QWidget* widget); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); +void childEvent(QChildEvent* event) override; +QWidget* createWidget(QWidget* parent) override; +void customEvent(QEvent* event) override; +void deleteWidget(QWidget* widget) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetAction : public QWidgetAction @@ -1128,7 +1311,7 @@ class PythonQtWrapper_QWidgetAction : public QObject public: public slots: QWidgetAction* new_QWidgetAction(QObject* parent); -void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } +void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } QWidget* createWidget(QWidgetAction* theWrappedObject, QWidget* parent); QWidget* py_q_createWidget(QWidgetAction* theWrappedObject, QWidget* parent){ return (((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->py_q_createWidget(parent));} QList createdWidgets(QWidgetAction* theWrappedObject) const; @@ -1136,7 +1319,6 @@ void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } 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 eventFilter(QWidgetAction* theWrappedObject, QObject* arg__1, QEvent* arg__2); 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); @@ -1150,26 +1332,27 @@ void delete_QWidgetAction(QWidgetAction* obj) { delete obj; } class PythonQtShell_QWidgetItem : public QWidgetItem { public: - PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(NULL) {}; - - ~PythonQtShell_QWidgetItem(); - -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWidgetItem(QWidget* w):QWidgetItem(w),_wrapper(nullptr) {}; + + ~PythonQtShell_QWidgetItem() override; + +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWidgetItem : public QWidgetItem @@ -1192,7 +1375,7 @@ class PythonQtWrapper_QWidgetItem : public QObject public: public slots: QWidgetItem* new_QWidgetItem(QWidget* w); -void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } +void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } QSizePolicy::ControlTypes py_q_controlTypes(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_controlTypes());} Qt::Orientations py_q_expandingDirections(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_expandingDirections());} QRect py_q_geometry(QWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWidgetItem*)theWrappedObject)->py_q_geometry());} @@ -1214,36 +1397,41 @@ void delete_QWidgetItem(QWidgetItem* obj) { delete obj; } class PythonQtShell_QWindow : public QWindow { public: - PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWindow(); - -virtual bool event(QEvent* arg__1); -virtual void exposeEvent(QExposeEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual QObject* focusObject() const; -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual QSurfaceFormat format() const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void showEvent(QShowEvent* arg__1); -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; -virtual void tabletEvent(QTabletEvent* arg__1); -virtual void touchEvent(QTouchEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWindow(QScreen* screen = nullptr):QWindow(screen),_wrapper(nullptr) {}; + PythonQtShell_QWindow(QWindow* parent):QWindow(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWindow() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void resizeEvent(QResizeEvent* arg__1) override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWindow : public QWindow @@ -1294,15 +1482,15 @@ 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; } +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 event(QWindow* theWrappedObject, QEvent* arg__1); 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));} @@ -1314,7 +1502,6 @@ void delete_QWindow(QWindow* obj) { delete obj; } 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 format(QWindow* theWrappedObject) const; QSurfaceFormat py_q_format(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_format());} QRect frameGeometry(QWindow* theWrappedObject) const; QMargins frameMargins(QWindow* theWrappedObject) const; @@ -1367,6 +1554,7 @@ void delete_QWindow(QWindow* obj) { delete obj; } 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); @@ -1385,6 +1573,7 @@ void delete_QWindow(QWindow* obj) { delete obj; } 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); @@ -1393,10 +1582,8 @@ void delete_QWindow(QWindow* obj) { delete obj; } 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 size(QWindow* theWrappedObject) const; QSize py_q_size(QWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWindow*)theWrappedObject)->py_q_size());} QSize sizeIncrement(QWindow* theWrappedObject) const; - QSurface::SurfaceType surfaceType(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));} @@ -1427,7 +1614,7 @@ class PythonQtWrapper_QWindowStateChangeEvent : public QObject public: public slots: QWindowStateChangeEvent* new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride = false); -void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } +void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; } bool isOverride(QWindowStateChangeEvent* theWrappedObject) const; Qt::WindowStates oldState(QWindowStateChangeEvent* theWrappedObject) const; }; @@ -1439,65 +1626,68 @@ void delete_QWindowStateChangeEvent(QWindowStateChangeEvent* obj) { delete obj; class PythonQtShell_QWizard : public QWizard { public: - PythonQtShell_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QWizard(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QWizard(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void cleanupPage(int id); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializePage(int id); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual void open(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool validateCurrentPage(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QWizard(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QWizard() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void cleanupPage(int id) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializePage(int id) override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +int nextId() const override; +void open() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool validateCurrentPage() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizard : public QWizard @@ -1534,7 +1724,7 @@ enum WizardPixmap{ Q_DECLARE_FLAGS(WizardOptions, WizardOption) public slots: QWizard* new_QWizard(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QWizard(QWizard* obj) { delete obj; } +void delete_QWizard(QWizard* obj) { delete obj; } int addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page); QAbstractButton* button(QWizard* theWrappedObject, QWizard::WizardButton which) const; QString buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const; @@ -1591,60 +1781,64 @@ void delete_QWizard(QWizard* obj) { delete obj; } class PythonQtShell_QWizardPage : public QWizardPage { public: - PythonQtShell_QWizardPage(QWidget* parent = nullptr):QWizardPage(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QWizardPage(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void cleanupPage(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializePage(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual bool isComplete() const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual int nextId() const; -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool validatePage(); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QWizardPage(QWidget* parent = nullptr):QWizardPage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWizardPage() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void cleanupPage() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void initializePage() override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +bool isComplete() const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +int nextId() const override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool validatePage() override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QWizardPage : public QWizardPage @@ -1665,7 +1859,7 @@ class PythonQtWrapper_QWizardPage : public QObject public: public slots: QWizardPage* new_QWizardPage(QWidget* parent = nullptr); -void delete_QWizardPage(QWizardPage* obj) { delete obj; } +void delete_QWizardPage(QWizardPage* obj) { delete obj; } QString buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const; void cleanupPage(QWizardPage* theWrappedObject); void py_q_cleanupPage(QWizardPage* theWrappedObject){ (((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->py_q_cleanupPage());} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp similarity index 74% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 97fbffde..f800d623 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -3,65 +3,114 @@ #include #include #include +#include #include +#include +#include +#include #include #include #include #include +#include +#include +#include #include +#include #include -#include +#include #include -#include +#include +#include #include #include +#include #include #include -#include #include -#include -#include #include -#include #include #include #include #include #include +#include +#include +#include #include #include +#include +#include +#include #include -#include +#include +#include +#include #include #include #include #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_QFontDialog::~PythonQtShell_QFontDialog() { +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_QFontDialog::accept() +void PythonQtShell_QFocusFrame::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -69,21 +118,21 @@ if (_wrapper) { } } } - QFontDialog::accept(); + QFocusFrame::actionEvent(event0); } -void PythonQtShell_QFontDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QFocusFrame::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -91,21 +140,21 @@ if (_wrapper) { } } } - QFontDialog::actionEvent(event0); + QFocusFrame::changeEvent(arg__1); } -void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) +void PythonQtShell_QFocusFrame::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -113,9 +162,9 @@ if (_wrapper) { } } } - QFontDialog::changeEvent(event0); + QFocusFrame::childEvent(event0); } -void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QFocusFrame::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -125,9 +174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -135,9 +184,9 @@ if (_wrapper) { } } } - QFontDialog::closeEvent(arg__1); + QFocusFrame::closeEvent(event0); } -void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QFocusFrame::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -147,9 +196,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -157,64 +206,64 @@ if (_wrapper) { } } } - QFontDialog::contextMenuEvent(arg__1); + QFocusFrame::contextMenuEvent(event0); } -int PythonQtShell_QFontDialog::devType() const +void PythonQtShell_QFocusFrame::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFontDialog::devType(); + QFocusFrame::customEvent(event0); } -void PythonQtShell_QFontDialog::done(int result0) +int PythonQtShell_QFocusFrame::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + 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(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFontDialog::done(result0); + return QFocusFrame::devType(); } -void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QFocusFrame::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -224,9 +273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -234,9 +283,9 @@ if (_wrapper) { } } } - QFontDialog::dragEnterEvent(event0); + QFocusFrame::dragEnterEvent(event0); } -void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QFocusFrame::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -246,9 +295,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -256,9 +305,9 @@ if (_wrapper) { } } } - QFontDialog::dragLeaveEvent(event0); + QFocusFrame::dragLeaveEvent(event0); } -void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QFocusFrame::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -268,9 +317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -278,9 +327,9 @@ if (_wrapper) { } } } - QFontDialog::dragMoveEvent(event0); + QFocusFrame::dragMoveEvent(event0); } -void PythonQtShell_QFontDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QFocusFrame::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -290,9 +339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -300,9 +349,9 @@ if (_wrapper) { } } } - QFontDialog::dropEvent(event0); + QFocusFrame::dropEvent(event0); } -void PythonQtShell_QFontDialog::enterEvent(QEvent* event0) +void PythonQtShell_QFocusFrame::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -312,9 +361,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -322,9 +371,9 @@ if (_wrapper) { } } } - QFontDialog::enterEvent(event0); + QFocusFrame::enterEvent(event0); } -bool PythonQtShell_QFontDialog::event(QEvent* event0) +bool PythonQtShell_QFocusFrame::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -335,19 +384,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -355,9 +404,9 @@ if (_wrapper) { } } } - return QFontDialog::event(event0); + return QFocusFrame::event(e0); } -bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QFocusFrame::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -368,52 +417,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -421,9 +437,9 @@ if (_wrapper) { } } } - return QFontDialog::exec(); + return QFocusFrame::eventFilter(arg__1, arg__2); } -void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QFocusFrame::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -433,9 +449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -443,9 +459,9 @@ if (_wrapper) { } } } - QFontDialog::focusInEvent(event0); + QFocusFrame::focusInEvent(event0); } -bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QFocusFrame::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -456,19 +472,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -476,9 +492,9 @@ if (_wrapper) { } } } - return QFontDialog::focusNextPrevChild(next0); + return QFocusFrame::focusNextPrevChild(next0); } -void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QFocusFrame::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -488,9 +504,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -498,9 +514,9 @@ if (_wrapper) { } } } - QFontDialog::focusOutEvent(event0); + QFocusFrame::focusOutEvent(event0); } -bool PythonQtShell_QFontDialog::hasHeightForWidth() const +bool PythonQtShell_QFocusFrame::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -511,19 +527,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -531,9 +547,9 @@ if (_wrapper) { } } } - return QFontDialog::hasHeightForWidth(); + return QFocusFrame::hasHeightForWidth(); } -int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const +int PythonQtShell_QFocusFrame::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -544,19 +560,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -564,9 +580,9 @@ if (_wrapper) { } } } - return QFontDialog::heightForWidth(arg__1); + return QFocusFrame::heightForWidth(arg__1); } -void PythonQtShell_QFontDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QFocusFrame::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -576,9 +592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -586,9 +602,9 @@ if (_wrapper) { } } } - QFontDialog::hideEvent(event0); + QFocusFrame::hideEvent(event0); } -void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QFocusFrame::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -598,9 +614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -608,9 +624,9 @@ if (_wrapper) { } } } - QFontDialog::initPainter(painter0); + QFocusFrame::initPainter(painter0); } -void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QFocusFrame::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -620,9 +636,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -630,9 +646,9 @@ if (_wrapper) { } } } - QFontDialog::inputMethodEvent(arg__1); + QFocusFrame::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QFontDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QFocusFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -643,19 +659,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -663,9 +679,9 @@ if (_wrapper) { } } } - return QFontDialog::inputMethodQuery(arg__1); + return QFocusFrame::inputMethodQuery(arg__1); } -void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QFocusFrame::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -675,9 +691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -685,9 +701,9 @@ if (_wrapper) { } } } - QFontDialog::keyPressEvent(arg__1); + QFocusFrame::keyPressEvent(event0); } -void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QFocusFrame::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -697,9 +713,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -707,9 +723,9 @@ if (_wrapper) { } } } - QFontDialog::keyReleaseEvent(event0); + QFocusFrame::keyReleaseEvent(event0); } -void PythonQtShell_QFontDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QFocusFrame::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -719,9 +735,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -729,9 +745,9 @@ if (_wrapper) { } } } - QFontDialog::leaveEvent(event0); + QFocusFrame::leaveEvent(event0); } -int PythonQtShell_QFontDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QFocusFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -742,19 +758,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -762,32 +778,32 @@ if (_wrapper) { } } } - return QFontDialog::metric(arg__1); + return QFocusFrame::metric(arg__1); } -QSize PythonQtShell_QFontDialog::minimumSizeHint() const +QSize PythonQtShell_QFocusFrame::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -795,9 +811,9 @@ if (_wrapper) { } } } - return QFontDialog::minimumSizeHint(); + return QFocusFrame::minimumSizeHint(); } -void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QFocusFrame::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -807,9 +823,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -817,9 +833,9 @@ if (_wrapper) { } } } - QFontDialog::mouseDoubleClickEvent(event0); + QFocusFrame::mouseDoubleClickEvent(event0); } -void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QFocusFrame::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -829,9 +845,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -839,9 +855,9 @@ if (_wrapper) { } } } - QFontDialog::mouseMoveEvent(event0); + QFocusFrame::mouseMoveEvent(event0); } -void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QFocusFrame::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -851,9 +867,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -861,9 +877,9 @@ if (_wrapper) { } } } - QFontDialog::mousePressEvent(event0); + QFocusFrame::mousePressEvent(event0); } -void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QFocusFrame::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -873,9 +889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -883,9 +899,9 @@ if (_wrapper) { } } } - QFontDialog::mouseReleaseEvent(event0); + QFocusFrame::mouseReleaseEvent(event0); } -void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QFocusFrame::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -895,9 +911,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -905,9 +921,9 @@ if (_wrapper) { } } } - QFontDialog::moveEvent(event0); + QFocusFrame::moveEvent(event0); } -bool PythonQtShell_QFontDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QFocusFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -918,19 +934,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -938,9 +954,9 @@ if (_wrapper) { } } } - return QFontDialog::nativeEvent(eventType0, message1, result2); + return QFocusFrame::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const +QPaintEngine* PythonQtShell_QFocusFrame::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -951,19 +967,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -971,9 +987,9 @@ if (_wrapper) { } } } - return QFontDialog::paintEngine(); + return QFocusFrame::paintEngine(); } -void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QFocusFrame::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -983,9 +999,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -993,9 +1009,9 @@ if (_wrapper) { } } } - QFontDialog::paintEvent(event0); + QFocusFrame::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QFocusFrame::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1006,19 +1022,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1026,31 +1042,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QFontDialog::reject(); + return QFocusFrame::redirected(offset0); } -void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QFocusFrame::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1060,9 +1054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1070,9 +1064,9 @@ if (_wrapper) { } } } - QFontDialog::resizeEvent(arg__1); + QFocusFrame::resizeEvent(event0); } -void PythonQtShell_QFontDialog::setVisible(bool visible0) +void PythonQtShell_QFocusFrame::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1082,9 +1076,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1092,9 +1086,9 @@ if (_wrapper) { } } } - QFontDialog::setVisible(visible0); + QFocusFrame::setVisible(visible0); } -QPainter* PythonQtShell_QFontDialog::sharedPainter() const +QPainter* PythonQtShell_QFocusFrame::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1105,19 +1099,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1125,9 +1119,9 @@ if (_wrapper) { } } } - return QFontDialog::sharedPainter(); + return QFocusFrame::sharedPainter(); } -void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QFocusFrame::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1137,9 +1131,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1147,32 +1141,32 @@ if (_wrapper) { } } } - QFontDialog::showEvent(arg__1); + QFocusFrame::showEvent(event0); } -QSize PythonQtShell_QFontDialog::sizeHint() const +QSize PythonQtShell_QFocusFrame::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1180,9 +1174,9 @@ if (_wrapper) { } } } - return QFontDialog::sizeHint(); + return QFocusFrame::sizeHint(); } -void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QFocusFrame::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1192,9 +1186,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1202,9 +1196,31 @@ if (_wrapper) { } } } - QFontDialog::tabletEvent(event0); + QFocusFrame::tabletEvent(event0); } -void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* 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 @@ -1214,9 +1230,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1224,193 +1240,59 @@ if (_wrapper) { } } } - QFontDialog::wheelEvent(event0); + QFocusFrame::wheelEvent(event0); } -QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(QWidget* parent) -{ -return new PythonQtShell_QFontDialog(parent); } - -QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(const QFont& initial, QWidget* parent) +QFocusFrame* PythonQtWrapper_QFocusFrame::new_QFocusFrame(QWidget* parent) { -return new PythonQtShell_QFontDialog(initial, parent); } +return new PythonQtShell_QFocusFrame(parent); } -const QMetaObject* PythonQtShell_QFontDialog::metaObject() const { +const QMetaObject* PythonQtShell_QFocusFrame::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFontDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFocusFrame::staticMetaObject); } else { - return &QFontDialog::staticMetaObject; + return &QFocusFrame::staticMetaObject; } } -int PythonQtShell_QFontDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFontDialog::qt_metacall(call, id, args); +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; } -QFont PythonQtWrapper_QFontDialog::currentFont(QFontDialog* theWrappedObject) const +void PythonQtWrapper_QFocusFrame::initStyleOption(QFocusFrame* theWrappedObject, QStyleOption* option) const { - return ( theWrappedObject->currentFont()); + ( ((PythonQtPublicPromoter_QFocusFrame*)theWrappedObject)->promoted_initStyleOption(option)); } -QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, QWidget* parent) +void PythonQtWrapper_QFocusFrame::setWidget(QFocusFrame* theWrappedObject, QWidget* widget) { - return (QFontDialog::getFont(ok, parent)); + ( theWrappedObject->setWidget(widget)); } -QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title, QFontDialog::FontDialogOptions options) +QWidget* PythonQtWrapper_QFocusFrame::widget(QFocusFrame* theWrappedObject) const { - return (QFontDialog::getFont(ok, initial, parent, title, options)); + return ( theWrappedObject->widget()); } -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()); +PythonQtShell_QFontComboBox::~PythonQtShell_QFontComboBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -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()); -} - - - -PythonQtShell_QFormLayout::~PythonQtShell_QFormLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QFormLayout::addItem(QLayoutItem* item0) +void PythonQtShell_QFontComboBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1418,153 +1300,109 @@ if (_wrapper) { } } } - QFormLayout::addItem(item0); + QFontComboBox::actionEvent(event0); } -int PythonQtShell_QFormLayout::count() const +void PythonQtShell_QFontComboBox::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("changeEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::count(); + QFontComboBox::changeEvent(e0); } -Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const +void PythonQtShell_QFontComboBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::expandingDirections(); + QFontComboBox::childEvent(event0); } -bool PythonQtShell_QFormLayout::hasHeightForWidth() const +void PythonQtShell_QFontComboBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::hasHeightForWidth(); + QFontComboBox::closeEvent(event0); } -int PythonQtShell_QFormLayout::heightForWidth(int width0) const +void PythonQtShell_QFontComboBox::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&width0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::heightForWidth(width0); + QFontComboBox::contextMenuEvent(e0); } -void PythonQtShell_QFormLayout::invalidate() +void PythonQtShell_QFontComboBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1572,32 +1410,32 @@ if (_wrapper) { } } } - QFormLayout::invalidate(); + QFontComboBox::customEvent(event0); } -QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const +int PythonQtShell_QFontComboBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&index0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1605,54 +1443,43 @@ if (_wrapper) { } } } - return QFormLayout::itemAt(index0); + return QFontComboBox::devType(); } -QSize PythonQtShell_QFormLayout::minimumSize() const +void PythonQtShell_QFontComboBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::minimumSize(); + QFontComboBox::dragEnterEvent(event0); } -void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) +void PythonQtShell_QFontComboBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1660,310 +1487,65 @@ if (_wrapper) { } } } - QFormLayout::setGeometry(rect0); + QFontComboBox::dragLeaveEvent(event0); } -QSize PythonQtShell_QFormLayout::sizeHint() const +void PythonQtShell_QFontComboBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::sizeHint(); + QFontComboBox::dragMoveEvent(event0); } -QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) +void PythonQtShell_QFontComboBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QFormLayout::takeAt(index0); -} -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::addItem(QFormLayout* theWrappedObject, QLayoutItem* item) -{ - ( theWrappedObject->addItem(item)); -} - -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)); -} - -int PythonQtWrapper_QFormLayout::count(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -Qt::Orientations PythonQtWrapper_QFormLayout::expandingDirections(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -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::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const -{ - ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); -} - -bool PythonQtWrapper_QFormLayout::hasHeightForWidth(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QFormLayout::heightForWidth(QFormLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - -int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -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::invalidate(QFormLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemAt(index)); -} - -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, QWidget* field) const -{ - return ( theWrappedObject->labelForField(field)); -} - -QSize PythonQtWrapper_QFormLayout::minimumSize(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -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::setGeometry(QFormLayout* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -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::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)); -} - -QSize PythonQtWrapper_QFormLayout::sizeHint(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); -} - -QLayoutItem* PythonQtWrapper_QFormLayout::takeAt(QFormLayout* theWrappedObject, int index) -{ - return ( theWrappedObject->takeAt(index)); -} - -int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const -{ - return ( theWrappedObject->verticalSpacing()); -} - - - -PythonQtShell_QFrame::~PythonQtShell_QFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFontComboBox::dropEvent(event0); } -void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) +void PythonQtShell_QFontComboBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1971,241 +1553,65 @@ if (_wrapper) { } } } - QFrame::actionEvent(event0); + QFontComboBox::enterEvent(event0); } -void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) +bool PythonQtShell_QFontComboBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QFrame::changeEvent(arg__1); + return QFontComboBox::event(e0); } -void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QFontComboBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2213,9 +1619,9 @@ if (_wrapper) { } } } - return QFrame::event(e0); + return QFontComboBox::eventFilter(watched0, event1); } -void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QFontComboBox::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2225,9 +1631,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2235,9 +1641,9 @@ if (_wrapper) { } } } - QFrame::focusInEvent(event0); + QFontComboBox::focusInEvent(e0); } -bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) +bool PythonQtShell_QFontComboBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2248,19 +1654,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2268,9 +1674,9 @@ if (_wrapper) { } } } - return QFrame::focusNextPrevChild(next0); + return QFontComboBox::focusNextPrevChild(next0); } -void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QFontComboBox::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2280,9 +1686,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2290,9 +1696,9 @@ if (_wrapper) { } } } - QFrame::focusOutEvent(event0); + QFontComboBox::focusOutEvent(e0); } -bool PythonQtShell_QFrame::hasHeightForWidth() const +bool PythonQtShell_QFontComboBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2303,19 +1709,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2323,9 +1729,9 @@ if (_wrapper) { } } } - return QFrame::hasHeightForWidth(); + return QFontComboBox::hasHeightForWidth(); } -int PythonQtShell_QFrame::heightForWidth(int arg__1) const +int PythonQtShell_QFontComboBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2336,19 +1742,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2356,9 +1762,9 @@ if (_wrapper) { } } } - return QFrame::heightForWidth(arg__1); + return QFontComboBox::heightForWidth(arg__1); } -void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) +void PythonQtShell_QFontComboBox::hideEvent(QHideEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2368,9 +1774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2378,9 +1784,31 @@ if (_wrapper) { } } } - QFrame::hideEvent(event0); + QFontComboBox::hideEvent(e0); } -void PythonQtShell_QFrame::initPainter(QPainter* painter0) const +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 @@ -2390,9 +1818,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2400,9 +1828,9 @@ if (_wrapper) { } } } - QFrame::initPainter(painter0); + QFontComboBox::initPainter(painter0); } -void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QFontComboBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2412,9 +1840,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2422,9 +1850,9 @@ if (_wrapper) { } } } - QFrame::inputMethodEvent(arg__1); + QFontComboBox::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QFontComboBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2435,19 +1863,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2455,9 +1883,9 @@ if (_wrapper) { } } } - return QFrame::inputMethodQuery(arg__1); + return QFontComboBox::inputMethodQuery(arg__1); } -void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QFontComboBox::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2467,9 +1895,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2477,9 +1905,9 @@ if (_wrapper) { } } } - QFrame::keyPressEvent(event0); + QFontComboBox::keyPressEvent(e0); } -void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QFontComboBox::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2489,9 +1917,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2499,9 +1927,9 @@ if (_wrapper) { } } } - QFrame::keyReleaseEvent(event0); + QFontComboBox::keyReleaseEvent(e0); } -void PythonQtShell_QFrame::leaveEvent(QEvent* event0) +void PythonQtShell_QFontComboBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2511,9 +1939,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2521,9 +1949,9 @@ if (_wrapper) { } } } - QFrame::leaveEvent(event0); + QFontComboBox::leaveEvent(event0); } -int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QFontComboBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2534,19 +1962,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2554,32 +1982,32 @@ if (_wrapper) { } } } - return QFrame::metric(arg__1); + return QFontComboBox::metric(arg__1); } -QSize PythonQtShell_QFrame::minimumSizeHint() const +QSize PythonQtShell_QFontComboBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2587,9 +2015,9 @@ if (_wrapper) { } } } - return QFrame::minimumSizeHint(); + return QFontComboBox::minimumSizeHint(); } -void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QFontComboBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2599,9 +2027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2609,9 +2037,9 @@ if (_wrapper) { } } } - QFrame::mouseDoubleClickEvent(event0); + QFontComboBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QFontComboBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2621,9 +2049,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2631,9 +2059,9 @@ if (_wrapper) { } } } - QFrame::mouseMoveEvent(event0); + QFontComboBox::mouseMoveEvent(event0); } -void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QFontComboBox::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2643,9 +2071,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2653,9 +2081,9 @@ if (_wrapper) { } } } - QFrame::mousePressEvent(event0); + QFontComboBox::mousePressEvent(e0); } -void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QFontComboBox::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2665,9 +2093,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2675,9 +2103,9 @@ if (_wrapper) { } } } - QFrame::mouseReleaseEvent(event0); + QFontComboBox::mouseReleaseEvent(e0); } -void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) +void PythonQtShell_QFontComboBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2687,9 +2115,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2697,9 +2125,9 @@ if (_wrapper) { } } } - QFrame::moveEvent(event0); + QFontComboBox::moveEvent(event0); } -bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QFontComboBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2710,19 +2138,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2730,9 +2158,9 @@ if (_wrapper) { } } } - return QFrame::nativeEvent(eventType0, message1, result2); + return QFontComboBox::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QFrame::paintEngine() const +QPaintEngine* PythonQtShell_QFontComboBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2743,19 +2171,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2763,9 +2191,9 @@ if (_wrapper) { } } } - return QFrame::paintEngine(); + return QFontComboBox::paintEngine(); } -void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QFontComboBox::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2775,9 +2203,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2785,9 +2213,9 @@ if (_wrapper) { } } } - QFrame::paintEvent(arg__1); + QFontComboBox::paintEvent(e0); } -QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QFontComboBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2798,19 +2226,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2818,9 +2246,9 @@ if (_wrapper) { } } } - return QFrame::redirected(offset0); + return QFontComboBox::redirected(offset0); } -void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QFontComboBox::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2830,9 +2258,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2840,9 +2268,9 @@ if (_wrapper) { } } } - QFrame::resizeEvent(event0); + QFontComboBox::resizeEvent(e0); } -void PythonQtShell_QFrame::setVisible(bool visible0) +void PythonQtShell_QFontComboBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2852,9 +2280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2862,9 +2290,9 @@ if (_wrapper) { } } } - QFrame::setVisible(visible0); + QFontComboBox::setVisible(visible0); } -QPainter* PythonQtShell_QFrame::sharedPainter() const +QPainter* PythonQtShell_QFontComboBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2875,19 +2303,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2895,9 +2323,9 @@ if (_wrapper) { } } } - return QFrame::sharedPainter(); + return QFontComboBox::sharedPainter(); } -void PythonQtShell_QFrame::showEvent(QShowEvent* event0) +void PythonQtShell_QFontComboBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2907,9 +2335,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2917,32 +2345,54 @@ if (_wrapper) { } } } - QFrame::showEvent(event0); + QFontComboBox::showEvent(e0); } -QSize PythonQtShell_QFrame::sizeHint() const +void PythonQtShell_QFontComboBox::showPopup() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("showPopup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2950,9 +2400,9 @@ if (_wrapper) { } } } - return QFrame::sizeHint(); + return QFontComboBox::sizeHint(); } -void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QFontComboBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2962,9 +2412,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2972,9 +2422,31 @@ if (_wrapper) { } } } - QFrame::tabletEvent(event0); + QFontComboBox::tabletEvent(event0); } -void PythonQtShell_QFrame::wheelEvent(QWheelEvent* 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 @@ -2984,9 +2456,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2994,331 +2466,259 @@ if (_wrapper) { } } } - QFrame::wheelEvent(event0); + QFontComboBox::wheelEvent(e0); } -QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) +QFontComboBox* PythonQtWrapper_QFontComboBox::new_QFontComboBox(QWidget* parent) { -return new PythonQtShell_QFrame(parent, f); } +return new PythonQtShell_QFontComboBox(parent); } -const QMetaObject* PythonQtShell_QFrame::metaObject() const { +const QMetaObject* PythonQtShell_QFontComboBox::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFrame::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QFontComboBox::staticMetaObject); } else { - return &QFrame::staticMetaObject; + return &QFontComboBox::staticMetaObject; } } -int PythonQtShell_QFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QFrame::qt_metacall(call, id, args); +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; } -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 +QFont PythonQtWrapper_QFontComboBox::currentFont(QFontComboBox* theWrappedObject) const { - return ( theWrappedObject->frameShape()); + return ( theWrappedObject->currentFont()); } -int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const +QFontComboBox::FontFilters PythonQtWrapper_QFontComboBox::fontFilters(QFontComboBox* theWrappedObject) const { - return ( theWrappedObject->frameStyle()); + return ( theWrappedObject->fontFilters()); } -int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const +void PythonQtWrapper_QFontComboBox::setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters) { - return ( theWrappedObject->frameWidth()); + ( theWrappedObject->setFontFilters(filters)); } -void PythonQtWrapper_QFrame::initStyleOption(QFrame* theWrappedObject, QStyleOptionFrame* option) const +void PythonQtWrapper_QFontComboBox::setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1) { - ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_initStyleOption(option)); + ( theWrappedObject->setWritingSystem(arg__1)); } -int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const +QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFontComboBox* theWrappedObject) const { - return ( theWrappedObject->lineWidth()); + return ( theWrappedObject->writingSystem()); } -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)); -} +QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() +{ +return new QFontDatabase(); } -void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) { - ( theWrappedObject->setFrameShape(arg__1)); + return (QFontDatabase::addApplicationFont(fileName)); } -void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) { - ( theWrappedObject->setFrameStyle(arg__1)); + return (QFontDatabase::addApplicationFontFromData(fontData)); } -void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) +QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) { - ( theWrappedObject->setLineWidth(arg__1)); + return (QFontDatabase::applicationFontFamilies(id)); } -void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) +bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - ( theWrappedObject->setMidLineWidth(arg__1)); + return ( theWrappedObject->bold(family, style)); } -QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const +QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->families(writingSystem)); } - - -QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) -{ -return new QGesture(parent); } - -QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const +QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const { - return ( theWrappedObject->gestureCancelPolicy()); + return ( theWrappedObject->font(family, style, pointSize)); } -Qt::GestureType PythonQtWrapper_QGesture::gestureType(QGesture* theWrappedObject) const +bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const { - return ( theWrappedObject->gestureType()); + return ( theWrappedObject->hasFamily(family)); } -bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const +bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - return ( theWrappedObject->hasHotSpot()); + return ( theWrappedObject->isBitmapScalable(family, style)); } -QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const +bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - return ( theWrappedObject->hotSpot()); + return ( theWrappedObject->isFixedPitch(family, style)); } -void PythonQtWrapper_QGesture::setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy) +bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const { - ( theWrappedObject->setGestureCancelPolicy(policy)); + return ( theWrappedObject->isPrivateFamily(family)); } -void PythonQtWrapper_QGesture::setHotSpot(QGesture* theWrappedObject, const QPointF& value) +bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - ( theWrappedObject->setHotSpot(value)); + return ( theWrappedObject->isScalable(family, style)); } -Qt::GestureState PythonQtWrapper_QGesture::state(QGesture* theWrappedObject) const +bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - return ( theWrappedObject->state()); + return ( theWrappedObject->isSmoothlyScalable(family, style)); } -void PythonQtWrapper_QGesture::unsetHotSpot(QGesture* theWrappedObject) +bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - ( theWrappedObject->unsetHotSpot()); -} - -QString PythonQtWrapper_QGesture::py_toString(QGesture* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; + return ( theWrappedObject->italic(family, style)); } - - -QGestureEvent* PythonQtWrapper_QGestureEvent::new_QGestureEvent(const QList& gestures) -{ -return new QGestureEvent(gestures); } - -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, QGesture* arg__1) +QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) { - ( theWrappedObject->accept(arg__1)); + return ( theWrappedObject->pointSizes(family, style)); } -void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() { - ( theWrappedObject->accept(arg__1)); + return (QFontDatabase::removeAllApplicationFonts()); } -QList PythonQtWrapper_QGestureEvent::activeGestures(QGestureEvent* theWrappedObject) const +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) { - return ( theWrappedObject->activeGestures()); + return (QFontDatabase::removeApplicationFont(id)); } -QList PythonQtWrapper_QGestureEvent::canceledGestures(QGestureEvent* theWrappedObject) const +QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) { - return ( theWrappedObject->canceledGestures()); + return ( theWrappedObject->smoothSizes(family, style)); } -QGesture* PythonQtWrapper_QGestureEvent::gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const +QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() { - return ( theWrappedObject->gesture(type)); + return (QFontDatabase::standardSizes()); } -QList PythonQtWrapper_QGestureEvent::gestures(QGestureEvent* theWrappedObject) const +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) { - return ( theWrappedObject->gestures()); + return ( theWrappedObject->styleString(font)); } -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, QGesture* arg__1) +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) { - ( theWrappedObject->ignore(arg__1)); + return ( theWrappedObject->styleString(fontInfo)); } -void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) +QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const { - ( theWrappedObject->ignore(arg__1)); + return ( theWrappedObject->styles(family)); } -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() { - return ( theWrappedObject->isAccepted(arg__1)); + return (QFontDatabase::supportsThreadedFontRendering()); } -bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const +QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) { - return ( theWrappedObject->isAccepted(arg__1)); + return (QFontDatabase::systemFont(type)); } -QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const +int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const { - return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); + return ( theWrappedObject->weight(family, style)); } -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) { - ( theWrappedObject->setAccepted(arg__1, arg__2)); + return (QFontDatabase::writingSystemName(writingSystem)); } -void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) { - ( theWrappedObject->setAccepted(arg__1, arg__2)); + return (QFontDatabase::writingSystemSample(writingSystem)); } -void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const { - ( theWrappedObject->setWidget(widget)); + return ( theWrappedObject->writingSystems()); } -QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const { - return ( theWrappedObject->widget()); -} - -QString PythonQtWrapper_QGestureEvent::py_toString(QGestureEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; + return ( theWrappedObject->writingSystems(family)); } -PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { +PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) +void PythonQtShell_QFontDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("create"); + static PyObject* name = PyString_FromString("accept"); 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] = {NULL, (void*)&target0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); - } else { - returnValue = *((QGesture**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGestureRecognizer::create(target0); + QFontDialog::accept(); } -QGestureRecognizer::Result PythonQtShell_QGestureRecognizer::recognize(QGesture* state0, QObject* watched1, QEvent* event2) +void PythonQtShell_QFontDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("recognize"); + static PyObject* name = PyString_FromString("actionEvent"); 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] = {NULL, (void*)&state0, (void*)&watched1, (void*)&event2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("recognize", methodInfo, result); - } else { - returnValue = *((QGestureRecognizer::Result*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGestureRecognizer::Result(); + QFontDialog::actionEvent(event0); } -void PythonQtShell_QGestureRecognizer::reset(QGesture* state0) +void PythonQtShell_QFontDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGesture*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3326,150 +2726,120 @@ if (_wrapper) { } } } - QGestureRecognizer::reset(state0); -} -QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() -{ -return new PythonQtShell_QGestureRecognizer(); } - -QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) -{ - return ( theWrappedObject->create(target)); + QFontDialog::changeEvent(event0); } - -QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) +void PythonQtShell_QFontDialog::childEvent(QChildEvent* event0) { - return ( theWrappedObject->recognize(state, watched, event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) -{ - return (QGestureRecognizer::registerRecognizer(recognizer)); + QFontDialog::childEvent(event0); } - -void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) +void PythonQtShell_QFontDialog::closeEvent(QCloseEvent* arg__1) { - ( theWrappedObject->reset(state)); -} - -void PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type) -{ - (QGestureRecognizer::unregisterRecognizer(type)); -} - - - -QGradient* PythonQtWrapper_QGradient::new_QGradient() -{ -return new QGradient(); } - -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)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsAnchor::setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setSpacing(spacing)); + QFontDialog::closeEvent(arg__1); } - -QSizePolicy::Policy PythonQtWrapper_QGraphicsAnchor::sizePolicy(QGraphicsAnchor* theWrappedObject) const +void PythonQtShell_QFontDialog::contextMenuEvent(QContextMenuEvent* arg__1) { - return ( theWrappedObject->sizePolicy()); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsAnchor::spacing(QGraphicsAnchor* theWrappedObject) const -{ - return ( theWrappedObject->spacing()); + QFontDialog::contextMenuEvent(arg__1); } - -void PythonQtWrapper_QGraphicsAnchor::unsetSpacing(QGraphicsAnchor* theWrappedObject) +void PythonQtShell_QFontDialog::customEvent(QEvent* event0) { - ( theWrappedObject->unsetSpacing()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsAnchorLayout::~PythonQtShell_QGraphicsAnchorLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFontDialog::customEvent(event0); } -int PythonQtShell_QGraphicsAnchorLayout::count() const +int PythonQtShell_QFontDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3477,21 +2847,21 @@ if (_wrapper) { } } } - return QGraphicsAnchorLayout::count(); + return QFontDialog::devType(); } -void PythonQtShell_QGraphicsAnchorLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QFontDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3499,21 +2869,21 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); + QFontDialog::done(result0); } -void PythonQtShell_QGraphicsAnchorLayout::invalidate() +void PythonQtShell_QFontDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3521,54 +2891,43 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::invalidate(); + QFontDialog::dragEnterEvent(event0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const +void PythonQtShell_QFontDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsAnchorLayout::itemAt(index0); + QFontDialog::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) +void PythonQtShell_QFontDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3576,21 +2935,21 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::removeAt(index0); + QFontDialog::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) +void PythonQtShell_QFontDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3598,32 +2957,54 @@ if (_wrapper) { } } } - QGraphicsAnchorLayout::setGeometry(rect0); + QFontDialog::dropEvent(event0); } -QSizeF PythonQtShell_QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QFontDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3631,141 +3012,120 @@ if (_wrapper) { } } } - return QGraphicsAnchorLayout::sizeHint(which0, constraint1); + return QFontDialog::event(event0); } -void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() +bool PythonQtShell_QFontDialog::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsAnchorLayout::updateGeometry(); + return QFontDialog::eventFilter(object0, event1); } -void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) +int PythonQtShell_QFontDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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::setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - -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)); -} - -QSizeF PythonQtWrapper_QGraphicsAnchorLayout::sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->promoted_sizeHint(which, constraint)); + return QFontDialog::exec(); } - -qreal PythonQtWrapper_QGraphicsAnchorLayout::verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const +void PythonQtShell_QFontDialog::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->verticalSpacing()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QGraphicsBlurEffect::~PythonQtShell_QGraphicsBlurEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QFontDialog::focusInEvent(event0); } -QRectF PythonQtShell_QGraphicsBlurEffect::boundingRectFor(const QRectF& rect0) const +bool PythonQtShell_QFontDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&rect0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3773,21 +3133,21 @@ if (_wrapper) { } } } - return QGraphicsBlurEffect::boundingRectFor(rect0); + return QFontDialog::focusNextPrevChild(next0); } -void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) +void PythonQtShell_QFontDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3795,87 +3155,65 @@ if (_wrapper) { } } } - QGraphicsBlurEffect::draw(painter0); + QFontDialog::focusOutEvent(event0); } -void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +bool PythonQtShell_QFontDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&flags0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsBlurEffect::sourceChanged(flags0); -} -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); } + return QFontDialog::hasHeightForWidth(); } -QRectF PythonQtShell_QGraphicsColorizeEffect::boundingRectFor(const QRectF& sourceRect0) const +int PythonQtShell_QFontDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&sourceRect0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3883,21 +3221,21 @@ if (_wrapper) { } } } - return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); + return QFontDialog::heightForWidth(arg__1); } -void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) +void PythonQtShell_QFontDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3905,21 +3243,21 @@ if (_wrapper) { } } } - QGraphicsColorizeEffect::draw(painter0); + QFontDialog::hideEvent(event0); } -void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QFontDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3927,109 +3265,76 @@ if (_wrapper) { } } } - QGraphicsColorizeEffect::sourceChanged(flags0); -} -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); } + QFontDialog::initPainter(painter0); } -QRectF PythonQtShell_QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect0) const +void PythonQtShell_QFontDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsDropShadowEffect::boundingRectFor(rect0); + QFontDialog::inputMethodEvent(arg__1); } -void PythonQtShell_QGraphicsDropShadowEffect::draw(QPainter* painter0) +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("draw"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsDropShadowEffect::draw(painter0); + return QFontDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +void PythonQtShell_QFontDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sourceChanged"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4037,102 +3342,43 @@ if (_wrapper) { } } } - QGraphicsDropShadowEffect::sourceChanged(flags0); -} -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); } + QFontDialog::keyPressEvent(arg__1); } -QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const +void PythonQtShell_QFontDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRectFor"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&sourceRect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEffect::boundingRectFor(sourceRect0); + QFontDialog::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) +void PythonQtShell_QFontDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4140,127 +3386,65 @@ if (_wrapper) { } } } - + QFontDialog::leaveEvent(event0); } -void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) +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("sourceChanged"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&flags0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsEffect::sourceChanged(flags0); -} -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); } + return QFontDialog::metric(arg__1); } -QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const +QSize PythonQtShell_QFontDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4268,153 +3452,109 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::boundingRect(); + return QFontDialog::minimumSizeHint(); } -bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const +void PythonQtShell_QFontDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::contains(point0); + QFontDialog::mouseDoubleClickEvent(event0); } -QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const +void PythonQtShell_QFontDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::extension(variant0); + QFontDialog::mouseMoveEvent(event0); } -bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QFontDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::isObscuredBy(item0); + QFontDialog::mousePressEvent(event0); } -QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const +void PythonQtShell_QFontDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::opaqueArea(); + QFontDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QFontDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4422,54 +3562,65 @@ if (_wrapper) { } } } - QGraphicsEllipseItem::paint(painter0, option1, widget2); + QFontDialog::moveEvent(event0); } -void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +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("setExtension"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsEllipseItem::setExtension(extension0, variant1); + return QFontDialog::nativeEvent(eventType0, message1, result2); } -QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const +QPaintEngine* PythonQtShell_QFontDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4477,65 +3628,54 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::shape(); + return QFontDialog::paintEngine(); } -bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QFontDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsEllipseItem::supportsExtension(extension0); + QFontDialog::paintEvent(event0); } -int PythonQtShell_QGraphicsEllipseItem::type() const +QPaintDevice* PythonQtShell_QFontDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4543,147 +3683,43 @@ if (_wrapper) { } } } - return QGraphicsEllipseItem::type(); -} -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(rect, parent); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsEllipseItem::new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsEllipseItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsEllipseItem::boundingRect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsEllipseItem::contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsEllipseItem::extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsEllipseItem::paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QRectF PythonQtWrapper_QGraphicsEllipseItem::rect(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QGraphicsEllipseItem::setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -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)); -} - -QPainterPath PythonQtWrapper_QGraphicsEllipseItem::shape(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -int PythonQtWrapper_QGraphicsEllipseItem::spanAngle(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->spanAngle()); -} - -int PythonQtWrapper_QGraphicsEllipseItem::startAngle(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->startAngle()); -} - -bool PythonQtWrapper_QGraphicsEllipseItem::supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsEllipseItem::type(QGraphicsEllipseItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsGridLayout::~PythonQtShell_QGraphicsGridLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QFontDialog::redirected(offset0); } -int PythonQtShell_QGraphicsGridLayout::count() const +void PythonQtShell_QFontDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsGridLayout::count(); + QFontDialog::reject(); } -void PythonQtShell_QGraphicsGridLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QFontDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4691,21 +3727,21 @@ if (_wrapper) { } } } - QGraphicsGridLayout::getContentsMargins(left0, top1, right2, bottom3); + QFontDialog::resizeEvent(arg__1); } -void PythonQtShell_QGraphicsGridLayout::invalidate() +void PythonQtShell_QFontDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "bool"}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4713,32 +3749,32 @@ if (_wrapper) { } } } - QGraphicsGridLayout::invalidate(); + QFontDialog::setVisible(visible0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsGridLayout::itemAt(int index0) const +QPainter* PythonQtShell_QFontDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4746,21 +3782,21 @@ if (_wrapper) { } } } - return QGraphicsGridLayout::itemAt(index0); + return QFontDialog::sharedPainter(); } -void PythonQtShell_QGraphicsGridLayout::removeAt(int index0) +void PythonQtShell_QFontDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4768,76 +3804,76 @@ if (_wrapper) { } } } - QGraphicsGridLayout::removeAt(index0); + QFontDialog::showEvent(arg__1); } -void PythonQtShell_QGraphicsGridLayout::setGeometry(const QRectF& rect0) +QSize PythonQtShell_QFontDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&rect0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsGridLayout::setGeometry(rect0); + return QFontDialog::sizeHint(); } -QSizeF PythonQtShell_QGraphicsGridLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QFontDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsGridLayout::sizeHint(which0, constraint1); + QFontDialog::tabletEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::updateGeometry() +void PythonQtShell_QFontDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4845,21 +3881,21 @@ if (_wrapper) { } } } - QGraphicsGridLayout::updateGeometry(); + QFontDialog::timerEvent(event0); } -void PythonQtShell_QGraphicsGridLayout::widgetEvent(QEvent* e0) +void PythonQtShell_QFontDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4867,335 +3903,597 @@ if (_wrapper) { } } } - QGraphicsGridLayout::widgetEvent(e0); + QFontDialog::wheelEvent(event0); } -QGraphicsGridLayout* PythonQtWrapper_QGraphicsGridLayout::new_QGraphicsGridLayout(QGraphicsLayoutItem* parent) +QFontDialog* PythonQtWrapper_QFontDialog::new_QFontDialog(QWidget* parent) { -return new PythonQtShell_QGraphicsGridLayout(parent); } +return new PythonQtShell_QFontDialog(parent); } -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment) +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 { - ( theWrappedObject->addItem(item, row, column, alignment)); + return ( theWrappedObject->currentFont()); } -void PythonQtWrapper_QGraphicsGridLayout::addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, QWidget* parent) { - ( theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, alignment)); + return (QFontDialog::getFont(ok, parent)); } -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const +QFont PythonQtWrapper_QFontDialog::static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title, QFontDialog::FontDialogOptions options) { - return ( theWrappedObject->alignment(item)); + return (QFontDialog::getFont(ok, initial, parent, title, options)); } -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const +void PythonQtWrapper_QFontDialog::open(QFontDialog* theWrappedObject, QObject* receiver, const char* member) { - return ( theWrappedObject->columnAlignment(column)); + ( theWrappedObject->open(receiver, member)); } -int PythonQtWrapper_QGraphicsGridLayout::columnCount(QGraphicsGridLayout* theWrappedObject) const +QFontDialog::FontDialogOptions PythonQtWrapper_QFontDialog::options(QFontDialog* theWrappedObject) const { - return ( theWrappedObject->columnCount()); + return ( theWrappedObject->options()); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +QFont PythonQtWrapper_QFontDialog::selectedFont(QFontDialog* theWrappedObject) const { - return ( theWrappedObject->columnMaximumWidth(column)); + return ( theWrappedObject->selectedFont()); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const +void PythonQtWrapper_QFontDialog::setCurrentFont(QFontDialog* theWrappedObject, const QFont& font) { - return ( theWrappedObject->columnMinimumWidth(column)); + ( theWrappedObject->setCurrentFont(font)); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const +void PythonQtWrapper_QFontDialog::setOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option, bool on) { - return ( theWrappedObject->columnPreferredWidth(column)); + ( theWrappedObject->setOption(option, on)); } -qreal PythonQtWrapper_QGraphicsGridLayout::columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const +void PythonQtWrapper_QFontDialog::setOptions(QFontDialog* theWrappedObject, QFontDialog::FontDialogOptions options) { - return ( theWrappedObject->columnSpacing(column)); + ( theWrappedObject->setOptions(options)); } -int PythonQtWrapper_QGraphicsGridLayout::columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const +bool PythonQtWrapper_QFontDialog::testOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option) const { - return ( theWrappedObject->columnStretchFactor(column)); + return ( theWrappedObject->testOption(option)); } -qreal PythonQtWrapper_QGraphicsGridLayout::horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const + + +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->horizontalSpacing()); + return ( theWrappedObject->bold()); } -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsGridLayout::itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const +bool PythonQtWrapper_QFontInfo::exactMatch(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->itemAt(row, column)); + return ( theWrappedObject->exactMatch()); } -void PythonQtWrapper_QGraphicsGridLayout::removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) +QString PythonQtWrapper_QFontInfo::family(QFontInfo* theWrappedObject) const { - ( theWrappedObject->removeItem(item)); + return ( theWrappedObject->family()); } -Qt::Alignment PythonQtWrapper_QGraphicsGridLayout::rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const +bool PythonQtWrapper_QFontInfo::fixedPitch(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowAlignment(row)); + return ( theWrappedObject->fixedPitch()); } -int PythonQtWrapper_QGraphicsGridLayout::rowCount(QGraphicsGridLayout* theWrappedObject) const +bool PythonQtWrapper_QFontInfo::italic(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->italic()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +bool PythonQtWrapper_QFontInfo::overline(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowMaximumHeight(row)); + return ( theWrappedObject->overline()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const +int PythonQtWrapper_QFontInfo::pixelSize(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowMinimumHeight(row)); + return ( theWrappedObject->pixelSize()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const +int PythonQtWrapper_QFontInfo::pointSize(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowPreferredHeight(row)); + return ( theWrappedObject->pointSize()); } -qreal PythonQtWrapper_QGraphicsGridLayout::rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const +qreal PythonQtWrapper_QFontInfo::pointSizeF(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowSpacing(row)); + return ( theWrappedObject->pointSizeF()); } -int PythonQtWrapper_QGraphicsGridLayout::rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const +bool PythonQtWrapper_QFontInfo::rawMode(QFontInfo* theWrappedObject) const { - return ( theWrappedObject->rowStretchFactor(row)); + return ( theWrappedObject->rawMode()); } -void PythonQtWrapper_QGraphicsGridLayout::setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +bool PythonQtWrapper_QFontInfo::strikeOut(QFontInfo* theWrappedObject) const { - ( theWrappedObject->setAlignment(item, alignment)); + return ( theWrappedObject->strikeOut()); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment) +QFont::Style PythonQtWrapper_QFontInfo::style(QFontInfo* theWrappedObject) const { - ( theWrappedObject->setColumnAlignment(column, alignment)); + return ( theWrappedObject->style()); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +QFont::StyleHint PythonQtWrapper_QFontInfo::styleHint(QFontInfo* theWrappedObject) const { - ( theWrappedObject->setColumnFixedWidth(column, width)); + return ( theWrappedObject->styleHint()); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +QString PythonQtWrapper_QFontInfo::styleName(QFontInfo* theWrappedObject) const { - ( theWrappedObject->setColumnMaximumWidth(column, width)); + return ( theWrappedObject->styleName()); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +void PythonQtWrapper_QFontInfo::swap(QFontInfo* theWrappedObject, QFontInfo& other) { - ( theWrappedObject->setColumnMinimumWidth(column, width)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width) +bool PythonQtWrapper_QFontInfo::underline(QFontInfo* theWrappedObject) const { - ( theWrappedObject->setColumnPreferredWidth(column, width)); + return ( theWrappedObject->underline()); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing) +int PythonQtWrapper_QFontInfo::weight(QFontInfo* theWrappedObject) const { - ( theWrappedObject->setColumnSpacing(column, spacing)); + return ( theWrappedObject->weight()); } -void PythonQtWrapper_QGraphicsGridLayout::setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch) + + +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 { - ( theWrappedObject->setColumnStretchFactor(column, stretch)); + return ( theWrappedObject->ascent()); } -void PythonQtWrapper_QGraphicsGridLayout::setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect) +int PythonQtWrapper_QFontMetrics::averageCharWidth(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->averageCharWidth()); } -void PythonQtWrapper_QGraphicsGridLayout::setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const { - ( theWrappedObject->setHorizontalSpacing(spacing)); + return ( theWrappedObject->boundingRect(arg__1)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment) +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops, int* tabarray) const { - ( theWrappedObject->setRowAlignment(row, alignment)); + return ( theWrappedObject->boundingRect(r, flags, text, tabstops, tabarray)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, const QString& text) const { - ( theWrappedObject->setRowFixedHeight(row, height)); + return ( theWrappedObject->boundingRect(text)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +QRect PythonQtWrapper_QFontMetrics::boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops, int* tabarray) const { - ( theWrappedObject->setRowMaximumHeight(row, height)); + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text, tabstops, tabarray)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +int PythonQtWrapper_QFontMetrics::capHeight(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->setRowMinimumHeight(row, height)); + return ( theWrappedObject->capHeight()); } -void PythonQtWrapper_QGraphicsGridLayout::setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height) +int PythonQtWrapper_QFontMetrics::charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const { - ( theWrappedObject->setRowPreferredHeight(row, height)); + return ( theWrappedObject->charWidth(str, pos)); } -void PythonQtWrapper_QGraphicsGridLayout::setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing) +int PythonQtWrapper_QFontMetrics::descent(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->setRowSpacing(row, spacing)); + return ( theWrappedObject->descent()); } -void PythonQtWrapper_QGraphicsGridLayout::setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch) +QString PythonQtWrapper_QFontMetrics::elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags) const { - ( theWrappedObject->setRowStretchFactor(row, stretch)); + return ( theWrappedObject->elidedText(text, mode, width, flags)); } -void PythonQtWrapper_QGraphicsGridLayout::setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +qreal PythonQtWrapper_QFontMetrics::fontDpi(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->setSpacing(spacing)); + return ( theWrappedObject->fontDpi()); } -void PythonQtWrapper_QGraphicsGridLayout::setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing) +int PythonQtWrapper_QFontMetrics::height(QFontMetrics* theWrappedObject) const { - ( theWrappedObject->setVerticalSpacing(spacing)); + return ( theWrappedObject->height()); } -QSizeF PythonQtWrapper_QGraphicsGridLayout::sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +int PythonQtWrapper_QFontMetrics::horizontalAdvance(QFontMetrics* theWrappedObject, QChar arg__1) const { - return ( theWrappedObject->sizeHint(which, constraint)); + return ( theWrappedObject->horizontalAdvance(arg__1)); } -qreal PythonQtWrapper_QGraphicsGridLayout::verticalSpacing(QGraphicsGridLayout* theWrappedObject) const +int PythonQtWrapper_QFontMetrics::horizontalAdvance(QFontMetrics* theWrappedObject, const QString& arg__1, int len) const { - return ( theWrappedObject->verticalSpacing()); + 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)); +} -PythonQtShell_QGraphicsItem::~PythonQtShell_QGraphicsItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +int PythonQtWrapper_QFontMetrics::leading(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->leading()); } -void PythonQtShell_QGraphicsItem::advance(int phase0) + +int PythonQtWrapper_QFontMetrics::leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const { -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] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->leftBearing(arg__1)); } - QGraphicsItem::advance(phase0); + +int PythonQtWrapper_QFontMetrics::lineSpacing(QFontMetrics* theWrappedObject) const +{ + return ( theWrappedObject->lineSpacing()); } -QRectF PythonQtShell_QGraphicsItem::boundingRect() const + +int PythonQtWrapper_QFontMetrics::lineWidth(QFontMetrics* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE + 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("boundingRect"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRectF(); + QFormLayout::addItem(item0); } -bool PythonQtShell_QGraphicsItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QFormLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&other0, (void*)&mode1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItem::collidesWithItem(other0, mode1); + QFormLayout::childEvent(e0); } -bool PythonQtShell_QGraphicsItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +QSizePolicy::ControlTypes PythonQtShell_QFormLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("controlTypes"); 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] = {NULL, (void*)&path0, (void*)&mode1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5203,32 +4501,32 @@ if (_wrapper) { } } } - return QGraphicsItem::collidesWithPath(path0, mode1); + return QFormLayout::controlTypes(); } -bool PythonQtShell_QGraphicsItem::contains(const QPointF& point0) const +int PythonQtShell_QFormLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("count"); 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] = {NULL, (void*)&point0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5236,21 +4534,21 @@ if (_wrapper) { } } } - return QGraphicsItem::contains(point0); + return QFormLayout::count(); } -void PythonQtShell_QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QFormLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5258,120 +4556,164 @@ if (_wrapper) { } } } - QGraphicsItem::contextMenuEvent(event0); + QFormLayout::customEvent(event0); } -void PythonQtShell_QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QFormLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::dragEnterEvent(event0); + return QFormLayout::event(event0); } -void PythonQtShell_QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* 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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::dragLeaveEvent(event0); + return QFormLayout::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +Qt::Orientations PythonQtShell_QFormLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::dragMoveEvent(event0); + return QFormLayout::expandingDirections(); } -void PythonQtShell_QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +QRect PythonQtShell_QFormLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::dropEvent(event0); + return QFormLayout::geometry(); } -QVariant PythonQtShell_QGraphicsItem::extension(const QVariant& variant0) const +bool PythonQtShell_QFormLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"bool"}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5379,65 +4721,87 @@ if (_wrapper) { } } } - return QGraphicsItem::extension(variant0); + return QFormLayout::hasHeightForWidth(); } -void PythonQtShell_QGraphicsItem::focusInEvent(QFocusEvent* event0) +int PythonQtShell_QFormLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::focusInEvent(event0); + return QFormLayout::heightForWidth(width0); } -void PythonQtShell_QGraphicsItem::focusOutEvent(QFocusEvent* event0) +int PythonQtShell_QFormLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::focusOutEvent(event0); + return QFormLayout::indexOf(arg__1); } -void PythonQtShell_QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QFormLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5445,98 +4809,131 @@ if (_wrapper) { } } } - QGraphicsItem::hoverEnterEvent(event0); + QFormLayout::invalidate(); } -void PythonQtShell_QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QFormLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::hoverLeaveEvent(event0); + return QFormLayout::isEmpty(); } -void PythonQtShell_QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +QLayoutItem* PythonQtShell_QFormLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::hoverMoveEvent(event0); + return QFormLayout::itemAt(index0); } -void PythonQtShell_QGraphicsItem::inputMethodEvent(QInputMethodEvent* event0) +QLayout* PythonQtShell_QFormLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::inputMethodEvent(event0); + return QFormLayout::layout(); } -QVariant PythonQtShell_QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query0) const +QSize PythonQtShell_QFormLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("maximumSize"); 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] = {NULL, (void*)&query0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5544,32 +4941,32 @@ if (_wrapper) { } } } - return QGraphicsItem::inputMethodQuery(query0); + return QFormLayout::maximumSize(); } -bool PythonQtShell_QGraphicsItem::isObscuredBy(const QGraphicsItem* item0) const +int PythonQtShell_QFormLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5577,57 +4974,54 @@ if (_wrapper) { } } } - return QGraphicsItem::isObscuredBy(item0); + return QFormLayout::minimumHeightForWidth(arg__1); } -QVariant PythonQtShell_QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QSize PythonQtShell_QFormLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + static const char* argumentList[] ={"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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsItem::itemChange(change0, value1); + return QFormLayout::minimumSize(); } -void PythonQtShell_QGraphicsItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QFormLayout::setGeometry(const QRect& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5635,87 +5029,120 @@ if (_wrapper) { } } } - QGraphicsItem::keyPressEvent(event0); + QFormLayout::setGeometry(rect0); } -void PythonQtShell_QGraphicsItem::keyReleaseEvent(QKeyEvent* event0) +QSize PythonQtShell_QFormLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::keyReleaseEvent(event0); + return QFormLayout::sizeHint(); } -void PythonQtShell_QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +QSpacerItem* PythonQtShell_QFormLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); + } else { + returnValue = *((QSpacerItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::mouseDoubleClickEvent(event0); + return QFormLayout::spacerItem(); } -void PythonQtShell_QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +QLayoutItem* PythonQtShell_QFormLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItem::mouseMoveEvent(event0); + return QFormLayout::takeAt(index0); } -void PythonQtShell_QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QFormLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5723,54 +5150,32 @@ if (_wrapper) { } } } - QGraphicsItem::mousePressEvent(event0); + QFormLayout::timerEvent(event0); } -void PythonQtShell_QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +QWidget* PythonQtShell_QFormLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - 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 char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5778,1269 +5183,1776 @@ if (_wrapper) { } } } - return QGraphicsItem::opaqueArea(); + return QFormLayout::widget(); } -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] = {NULL, (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(); - } +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; } -bool PythonQtShell_QGraphicsItem::sceneEvent(QEvent* event0) +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP layout) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsItem::sceneEvent(event0); + ( theWrappedObject->addRow(layout)); } -bool PythonQtShell_QGraphicsItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { -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] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); + ( theWrappedObject->addRow(label, field)); } -void PythonQtShell_QGraphicsItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { -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] = {NULL, (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); + ( theWrappedObject->addRow(label, field)); } -QPainterPath PythonQtShell_QGraphicsItem::shape() const + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, PythonQtPassOwnershipToCPP widget) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsItem::shape(); + ( theWrappedObject->addRow(widget)); } -bool PythonQtShell_QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension0) const + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) { -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] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsItem::supportsExtension(extension0); + ( theWrappedObject->addRow(labelText, field)); } -int PythonQtShell_QGraphicsItem::type() const + +void PythonQtWrapper_QFormLayout::addRow(QFormLayout* theWrappedObject, const QString& labelText, PythonQtPassOwnershipToCPP field) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsItem::type(); + ( theWrappedObject->addRow(labelText, field)); } -void PythonQtShell_QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent* event0) + +QFormLayout::FieldGrowthPolicy PythonQtWrapper_QFormLayout::fieldGrowthPolicy(QFormLayout* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->fieldGrowthPolicy()); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::new_QGraphicsItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItem(parent); } -bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QFormLayout::formAlignment(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->acceptDrops()); + return ( theWrappedObject->formAlignment()); } -bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const { - return ( theWrappedObject->acceptHoverEvents()); + ( theWrappedObject->getItemPosition(index, rowPtr, rolePtr)); } -bool PythonQtWrapper_QGraphicsItem::acceptTouchEvents(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const { - return ( theWrappedObject->acceptTouchEvents()); + ( theWrappedObject->getLayoutPosition(layout, rowPtr, rolePtr)); } -Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const { - return ( theWrappedObject->acceptedMouseButtons()); + ( theWrappedObject->getWidgetPosition(widget, rowPtr, rolePtr)); } -void PythonQtWrapper_QGraphicsItem::addToIndex(QGraphicsItem* theWrappedObject) +int PythonQtWrapper_QFormLayout::horizontalSpacing(QFormLayout* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_addToIndex()); + return ( theWrappedObject->horizontalSpacing()); } -void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase) +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout) { - ( theWrappedObject->advance(phase)); + ( theWrappedObject->insertRow(row, layout)); } -QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->boundingRect()); + ( theWrappedObject->insertRow(row, label, field)); } -QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP label, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->boundingRegion(itemToDeviceTransform)); + ( theWrappedObject->insertRow(row, label, field)); } -qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP widget) { - return ( theWrappedObject->boundingRegionGranularity()); + ( theWrappedObject->insertRow(row, widget)); } -QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->cacheMode()); + ( theWrappedObject->insertRow(row, labelText, field)); } -QList PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, PythonQtPassOwnershipToCPP field) { - return ( theWrappedObject->childItems()); + ( theWrappedObject->insertRow(row, labelText, field)); } -QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const +QLayoutItem* PythonQtWrapper_QFormLayout::itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const { - return ( theWrappedObject->childrenBoundingRect()); + return ( theWrappedObject->itemAt(row, role)); } -void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject) +Qt::Alignment PythonQtWrapper_QFormLayout::labelAlignment(QFormLayout* theWrappedObject) const { - ( theWrappedObject->clearFocus()); + return ( theWrappedObject->labelAlignment()); } -QPainterPath PythonQtWrapper_QGraphicsItem::clipPath(QGraphicsItem* theWrappedObject) const +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QLayout* field) const { - return ( theWrappedObject->clipPath()); + return ( theWrappedObject->labelForField(field)); } -bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const +QWidget* PythonQtWrapper_QFormLayout::labelForField(QFormLayout* theWrappedObject, QWidget* field) const { - return ( theWrappedObject->collidesWithItem(other, mode)); + return ( theWrappedObject->labelForField(field)); } -bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QLayout* layout) { - return ( theWrappedObject->collidesWithPath(path, mode)); + ( theWrappedObject->removeRow(layout)); } -QList PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->collidingItems(mode)); + ( theWrappedObject->removeRow(widget)); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const +void PythonQtWrapper_QFormLayout::removeRow(QFormLayout* theWrappedObject, int row) { - return ( theWrappedObject->commonAncestorItem(other)); + ( theWrappedObject->removeRow(row)); } -bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const +int PythonQtWrapper_QFormLayout::rowCount(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->contains(point)); + return ( theWrappedObject->rowCount()); } -void PythonQtWrapper_QGraphicsItem::contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +QFormLayout::RowWrapPolicy PythonQtWrapper_QFormLayout::rowWrapPolicy(QFormLayout* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_contextMenuEvent(event)); + return ( theWrappedObject->rowWrapPolicy()); } -QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy) { - return ( theWrappedObject->cursor()); + ( theWrappedObject->setFieldGrowthPolicy(policy)); } -QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const +void PythonQtWrapper_QFormLayout::setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->data(key)); + ( theWrappedObject->setFormAlignment(alignment)); } -QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const +void PythonQtWrapper_QFormLayout::setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing) { - return ( theWrappedObject->deviceTransform(viewportTransform)); + ( theWrappedObject->setHorizontalSpacing(spacing)); } -void PythonQtWrapper_QGraphicsItem::dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QFormLayout::setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP item) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragEnterEvent(event)); + ( theWrappedObject->setItem(row, role, item)); } -void PythonQtWrapper_QGraphicsItem::dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QFormLayout::setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); + ( theWrappedObject->setLabelAlignment(alignment)); } -void PythonQtWrapper_QGraphicsItem::dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QFormLayout::setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP layout) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dragMoveEvent(event)); + ( theWrappedObject->setLayout(row, role, layout)); } -void PythonQtWrapper_QGraphicsItem::dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QFormLayout::setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_dropEvent(event)); + ( theWrappedObject->setRowWrapPolicy(policy)); } -qreal PythonQtWrapper_QGraphicsItem::effectiveOpacity(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFormLayout::setSpacing(QFormLayout* theWrappedObject, int arg__1) { - return ( theWrappedObject->effectiveOpacity()); + ( theWrappedObject->setSpacing(arg__1)); } -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +void PythonQtWrapper_QFormLayout::setVerticalSpacing(QFormLayout* theWrappedObject, int spacing) { - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); + ( theWrappedObject->setVerticalSpacing(spacing)); } -void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +void PythonQtWrapper_QFormLayout::setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, PythonQtPassOwnershipToCPP widget) { - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); + ( theWrappedObject->setWidget(row, role, widget)); } -QVariant PythonQtWrapper_QGraphicsItem::extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const +int PythonQtWrapper_QFormLayout::spacing(QFormLayout* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_extension(variant)); + return ( theWrappedObject->spacing()); } -bool PythonQtWrapper_QGraphicsItem::filtersChildEvents(QGraphicsItem* theWrappedObject) const +QFormLayout::TakeRowResult PythonQtWrapper_QFormLayout::takeRow(QFormLayout* theWrappedObject, QLayout* layout) { - return ( theWrappedObject->filtersChildEvents()); + return ( theWrappedObject->takeRow(layout)); } -QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const +QFormLayout::TakeRowResult PythonQtWrapper_QFormLayout::takeRow(QFormLayout* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->flags()); + return ( theWrappedObject->takeRow(widget)); } -void PythonQtWrapper_QGraphicsItem::focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event) +QFormLayout::TakeRowResult PythonQtWrapper_QFormLayout::takeRow(QFormLayout* theWrappedObject, int row) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_focusInEvent(event)); + return ( theWrappedObject->takeRow(row)); } -QGraphicsItem* PythonQtWrapper_QGraphicsItem::focusItem(QGraphicsItem* theWrappedObject) const +int PythonQtWrapper_QFormLayout::verticalSpacing(QFormLayout* theWrappedObject) const { - return ( theWrappedObject->focusItem()); + return ( theWrappedObject->verticalSpacing()); } -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()); +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(); } -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()); +PythonQtShell_QFrame::~PythonQtShell_QFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QFrame::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->group()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->handlesChildEvents()); + QFrame::actionEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QFrame::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->hasCursor()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); + QFrame::changeEvent(arg__1); } - -void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject) +void PythonQtShell_QFrame::childEvent(QChildEvent* event0) { - ( theWrappedObject->hide()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); + QFrame::childEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtShell_QFrame::closeEvent(QCloseEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); + QFrame::closeEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event) +void PythonQtShell_QFrame::contextMenuEvent(QContextMenuEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodEvent(event)); +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(); + } + } } - -Qt::InputMethodHints PythonQtWrapper_QGraphicsItem::inputMethodHints(QGraphicsItem* theWrappedObject) const + QFrame::contextMenuEvent(event0); +} +void PythonQtShell_QFrame::customEvent(QEvent* event0) { - return ( theWrappedObject->inputMethodHints()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsItem::inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_inputMethodQuery(query)); + QFrame::customEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) +int PythonQtShell_QFrame::devType() const { - ( theWrappedObject->installSceneEventFilter(filterItem)); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isActive(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); + return QFrame::devType(); } - -bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const +void PythonQtShell_QFrame::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->isAncestorOf(child)); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel) const -{ - return ( theWrappedObject->isBlockedByModalPanel(blockingPanel)); + QFrame::dragEnterEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isClipped(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QFrame::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->isClipped()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); + QFrame::dragLeaveEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const +void PythonQtShell_QFrame::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->isObscured(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->isObscured(x, y, w, h)); + QFrame::dragMoveEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const +void PythonQtShell_QFrame::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->isObscuredBy(item)); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isPanel(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isPanel()); + QFrame::dropEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QFrame::enterEvent(QEvent* event0) { - return ( theWrappedObject->isSelected()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isUnderMouse()); + QFrame::enterEvent(event0); } - -bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const +bool PythonQtShell_QFrame::event(QEvent* e0) { - return ( theWrappedObject->isVisible()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const -{ - return ( theWrappedObject->isVisibleTo(parent)); + return QFrame::event(e0); } - -bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const +bool PythonQtShell_QFrame::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->isWidget()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->isWindow()); + return QFrame::eventFilter(watched0, event1); } - -QVariant PythonQtWrapper_QGraphicsItem::itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +void PythonQtShell_QFrame::focusInEvent(QFocusEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_itemChange(change, value)); +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(); + } + } } - -QTransform PythonQtWrapper_QGraphicsItem::itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok) const -{ - return ( theWrappedObject->itemTransform(other, ok)); + QFrame::focusInEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) +bool PythonQtShell_QFrame::focusNextPrevChild(bool next0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyPressEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); + return QFrame::focusNextPrevChild(next0); } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const +void PythonQtShell_QFrame::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->mapFromItem(item, path)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const -{ - return ( theWrappedObject->mapFromItem(item, point)); + QFrame::focusOutEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const +bool PythonQtShell_QFrame::hasHeightForWidth() const { - return ( theWrappedObject->mapFromItem(item, polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromItem(item, rect)); + return QFrame::hasHeightForWidth(); } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const +int PythonQtShell_QFrame::heightForWidth(int arg__1) const { - return ( theWrappedObject->mapFromItem(item, x, y)); +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(); + } + } } - -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)); + return QFrame::heightForWidth(arg__1); } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +void PythonQtShell_QFrame::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->mapFromParent(path)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapFromParent(point)); + QFrame::hideEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +void PythonQtShell_QFrame::initPainter(QPainter* painter0) const { - return ( theWrappedObject->mapFromParent(polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromParent(rect)); + QFrame::initPainter(painter0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +void PythonQtShell_QFrame::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->mapFromParent(x, y)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapFromParent(x, y, w, h)); + QFrame::inputMethodEvent(arg__1); } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +QVariant PythonQtShell_QFrame::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->mapFromScene(path)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapFromScene(point)); + return QFrame::inputMethodQuery(arg__1); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +void PythonQtShell_QFrame::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->mapFromScene(polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapFromScene(rect)); + QFrame::keyPressEvent(event0); } - -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 +void PythonQtShell_QFrame::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->mapRectFromItem(item, x, y, w, h)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectFromParent(rect)); + QFrame::keyReleaseEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QFrame::leaveEvent(QEvent* event0) { - return ( theWrappedObject->mapRectFromParent(x, y, w, h)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectFromScene(rect)); + QFrame::leaveEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +int PythonQtShell_QFrame::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->mapRectFromScene(x, y, w, h)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectToItem(item, rect)); + return QFrame::metric(arg__1); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +QSize PythonQtShell_QFrame::minimumSizeHint() const { - return ( theWrappedObject->mapRectToItem(item, x, y, w, h)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectToParent(rect)); + return QFrame::minimumSizeHint(); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QFrame::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->mapRectToParent(x, y, w, h)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapRectToScene(rect)); + QFrame::mouseDoubleClickEvent(event0); } - -QRectF PythonQtWrapper_QGraphicsItem::mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QFrame::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->mapRectToScene(x, y, w, h)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToItem(item, path)); + QFrame::mouseMoveEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const +void PythonQtShell_QFrame::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->mapToItem(item, point)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapToItem(item, polygon)); + QFrame::mousePressEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const +void PythonQtShell_QFrame::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->mapToItem(item, rect)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const -{ - return ( theWrappedObject->mapToItem(item, x, y)); + QFrame::mouseReleaseEvent(event0); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const +void PythonQtShell_QFrame::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->mapToItem(item, x, y, w, h)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const -{ - return ( theWrappedObject->mapToParent(path)); + QFrame::moveEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const +bool PythonQtShell_QFrame::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->mapToParent(point)); -} - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const -{ - return ( theWrappedObject->mapToParent(polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapToParent(rect)); + return QFrame::nativeEvent(eventType0, message1, result2); } - -QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +QPaintEngine* PythonQtShell_QFrame::paintEngine() const { - return ( theWrappedObject->mapToParent(x, y)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToParent(x, y, w, h)); + return QFrame::paintEngine(); } - -QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const +void PythonQtShell_QFrame::paintEvent(QPaintEvent* arg__1) { - return ( theWrappedObject->mapToScene(path)); +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(); + } + } } - -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->mapToScene(point)); + QFrame::paintEvent(arg__1); } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const +QPaintDevice* PythonQtShell_QFrame::redirected(QPoint* offset0) const { - return ( theWrappedObject->mapToScene(polygon)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const -{ - return ( theWrappedObject->mapToScene(rect)); + return QFrame::redirected(offset0); } - -QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const +void PythonQtShell_QFrame::resizeEvent(QResizeEvent* event0) { - return ( theWrappedObject->mapToScene(x, y)); +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(); + } + } } - -QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const -{ - return ( theWrappedObject->mapToScene(x, y, w, h)); + QFrame::resizeEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +void PythonQtShell_QFrame::setVisible(bool visible0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); + QFrame::setVisible(visible0); } - -void PythonQtWrapper_QGraphicsItem::mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) +QPainter* PythonQtShell_QFrame::sharedPainter() const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mousePressEvent(event)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); + return QFrame::sharedPainter(); } - -void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy) +void PythonQtShell_QFrame::showEvent(QShowEvent* event0) { - ( theWrappedObject->moveBy(dx, dy)); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsItem::opacity(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); + QFrame::showEvent(event0); } - -QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const +QSize PythonQtShell_QFrame::sizeHint() const { - return ( theWrappedObject->opaqueArea()); +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(); + } + } } - -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()); + return QFrame::sizeHint(); } - -QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QFrame::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->parentItem()); +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(); + } + } } - -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); + QFrame::tabletEvent(event0); } - -QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const +void PythonQtShell_QFrame::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->pos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::prepareGeometryChange(QGraphicsItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_prepareGeometryChange()); + QFrame::timerEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::removeFromIndex(QGraphicsItem* theWrappedObject) +void PythonQtShell_QFrame::wheelEvent(QWheelEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_removeFromIndex()); +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(); + } + } } - -void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem) -{ - ( theWrappedObject->removeSceneEventFilter(filterItem)); + QFrame::wheelEvent(event0); } +QFrame* PythonQtWrapper_QFrame::new_QFrame(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QFrame(parent, f); } -void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) -{ - ( theWrappedObject->resetTransform()); +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; + } } - -qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const -{ - return ( theWrappedObject->rotation()); +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; } - -qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFrame::drawFrame(QFrame* theWrappedObject, QPainter* arg__1) { - return ( theWrappedObject->scale()); + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_drawFrame(arg__1)); } -QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const +QRect PythonQtWrapper_QFrame::frameRect(QFrame* theWrappedObject) const { - return ( theWrappedObject->scene()); + return ( theWrappedObject->frameRect()); } -QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const +QFrame::Shadow PythonQtWrapper_QFrame::frameShadow(QFrame* theWrappedObject) const { - return ( theWrappedObject->sceneBoundingRect()); + return ( theWrappedObject->frameShadow()); } -bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) +QFrame::Shape PythonQtWrapper_QFrame::frameShape(QFrame* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); + return ( theWrappedObject->frameShape()); } -bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) +int PythonQtWrapper_QFrame::frameStyle(QFrame* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEventFilter(watched, event)); + return ( theWrappedObject->frameStyle()); } -QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const +int PythonQtWrapper_QFrame::frameWidth(QFrame* theWrappedObject) const { - return ( theWrappedObject->scenePos()); + return ( theWrappedObject->frameWidth()); } -QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QFrame::initStyleOption(QFrame* theWrappedObject, QStyleOptionFrame* option) const { - return ( theWrappedObject->sceneTransform()); + ( ((PythonQtPublicPromoter_QFrame*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) +int PythonQtWrapper_QFrame::lineWidth(QFrame* theWrappedObject) const { - ( theWrappedObject->scroll(dx, dy, rect)); + return ( theWrappedObject->lineWidth()); } -void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) +int PythonQtWrapper_QFrame::midLineWidth(QFrame* theWrappedObject) const { - ( theWrappedObject->setAcceptDrops(on)); + return ( theWrappedObject->midLineWidth()); } -void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtWrapper_QFrame::setFrameRect(QFrame* theWrappedObject, const QRect& arg__1) { - ( theWrappedObject->setAcceptHoverEvents(enabled)); + ( theWrappedObject->setFrameRect(arg__1)); } -void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtWrapper_QFrame::setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1) { - ( theWrappedObject->setAcceptTouchEvents(enabled)); + ( theWrappedObject->setFrameShadow(arg__1)); } -void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) +void PythonQtWrapper_QFrame::setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1) { - ( theWrappedObject->setAcceptedMouseButtons(buttons)); + ( theWrappedObject->setFrameShape(arg__1)); } -void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) +void PythonQtWrapper_QFrame::setFrameStyle(QFrame* theWrappedObject, int arg__1) { - ( theWrappedObject->setActive(active)); + ( theWrappedObject->setFrameStyle(arg__1)); } -void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) +void PythonQtWrapper_QFrame::setLineWidth(QFrame* theWrappedObject, int arg__1) { - ( theWrappedObject->setBoundingRegionGranularity(granularity)); + ( theWrappedObject->setLineWidth(arg__1)); } -void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) +void PythonQtWrapper_QFrame::setMidLineWidth(QFrame* theWrappedObject, int arg__1) { - ( theWrappedObject->setCacheMode(mode, cacheSize)); + ( theWrappedObject->setMidLineWidth(arg__1)); } -void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) +QSize PythonQtWrapper_QFrame::sizeHint(QFrame* theWrappedObject) const { - ( theWrappedObject->setCursor(cursor)); + return ( theWrappedObject->sizeHint()); } -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)); +PythonQtShell_QGesture::~PythonQtShell_QGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +void PythonQtShell_QGesture::childEvent(QChildEvent* event0) { - ( theWrappedObject->setFiltersChildEvents(enabled)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) -{ - ( theWrappedObject->setFlag(flag, enabled)); + QGesture::childEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) +void PythonQtShell_QGesture::customEvent(QEvent* event0) { - ( theWrappedObject->setFlags(flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) -{ - ( theWrappedObject->setFocus(focusReason)); + QGesture::customEvent(event0); } - -void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) +bool PythonQtShell_QGesture::event(QEvent* event0) { - ( theWrappedObject->setFocusProxy(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) -{ - ( theWrappedObject->setGraphicsEffect(effect)); + return QGesture::event(event0); } - -void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +bool PythonQtShell_QGesture::eventFilter(QObject* watched0, QEvent* event1) { - ( 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)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) -{ - ( theWrappedObject->setSelected(selected)); + return QGesture::eventFilter(watched0, event1); } - -void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) +void PythonQtShell_QGesture::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setToolTip(toolTip)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) -{ - ( theWrappedObject->setTransform(matrix, combine)); + QGesture::timerEvent(event0); } +QGesture* PythonQtWrapper_QGesture::new_QGesture(QObject* parent) +{ +return new PythonQtShell_QGesture(parent); } -void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) -{ - ( theWrappedObject->setTransformOriginPoint(origin)); +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; + } } - -void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) -{ - ( theWrappedObject->setTransformOriginPoint(ax, ay)); +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; } - -void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) +QGesture::GestureCancelPolicy PythonQtWrapper_QGesture::gestureCancelPolicy(QGesture* theWrappedObject) const { - ( theWrappedObject->setTransformations(transformations)); + return ( theWrappedObject->gestureCancelPolicy()); } -void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) +Qt::GestureType PythonQtWrapper_QGesture::gestureType(QGesture* theWrappedObject) const { - ( theWrappedObject->setVisible(visible)); + return ( theWrappedObject->gestureType()); } -void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) +bool PythonQtWrapper_QGesture::hasHotSpot(QGesture* theWrappedObject) const { - ( theWrappedObject->setX(x)); + return ( theWrappedObject->hasHotSpot()); } -void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) +QPointF PythonQtWrapper_QGesture::hotSpot(QGesture* theWrappedObject) const { - ( theWrappedObject->setY(y)); + return ( theWrappedObject->hotSpot()); } -void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) +void PythonQtWrapper_QGesture::setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy) { - ( theWrappedObject->setZValue(z)); + ( theWrappedObject->setGestureCancelPolicy(policy)); } -QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGesture::setHotSpot(QGesture* theWrappedObject, const QPointF& value) { - return ( theWrappedObject->shape()); + ( theWrappedObject->setHotSpot(value)); } -void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +Qt::GestureState PythonQtWrapper_QGesture::state(QGesture* theWrappedObject) const { - ( theWrappedObject->show()); + return ( theWrappedObject->state()); } -void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) +void PythonQtWrapper_QGesture::unsetHotSpot(QGesture* theWrappedObject) { - ( theWrappedObject->stackBefore(sibling)); + ( theWrappedObject->unsetHotSpot()); } -bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); +QString PythonQtWrapper_QGesture::py_toString(QGesture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -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()); -} +QGestureEvent* PythonQtWrapper_QGestureEvent::new_QGestureEvent(const QList& gestures) +{ +return new QGestureEvent(gestures); } -QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, QGesture* arg__1) { - return ( theWrappedObject->transform()); + ( theWrappedObject->accept(arg__1)); } -QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGestureEvent::accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) { - return ( theWrappedObject->transformOriginPoint()); + ( theWrappedObject->accept(arg__1)); } -QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const +QList PythonQtWrapper_QGestureEvent::activeGestures(QGestureEvent* theWrappedObject) const { - return ( theWrappedObject->transformations()); + return ( theWrappedObject->activeGestures()); } -int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const +QList PythonQtWrapper_QGestureEvent::canceledGestures(QGestureEvent* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->canceledGestures()); } -void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) +QGesture* PythonQtWrapper_QGestureEvent::gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const { - ( theWrappedObject->ungrabKeyboard()); + return ( theWrappedObject->gesture(type)); } -void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) +QList PythonQtWrapper_QGestureEvent::gestures(QGestureEvent* theWrappedObject) const { - ( theWrappedObject->ungrabMouse()); + return ( theWrappedObject->gestures()); } -void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) +void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, QGesture* arg__1) { - ( theWrappedObject->unsetCursor()); + ( theWrappedObject->ignore(arg__1)); } -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QGestureEvent::ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) { - ( theWrappedObject->update(rect)); + ( theWrappedObject->ignore(arg__1)); } -void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) +bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const { - ( theWrappedObject->update(x, y, width, height)); + return ( theWrappedObject->isAccepted(arg__1)); } -void PythonQtWrapper_QGraphicsItem::updateMicroFocus(QGraphicsItem* theWrappedObject) +bool PythonQtWrapper_QGestureEvent::isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); + return ( theWrappedObject->isAccepted(arg__1)); } -void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) +QPointF PythonQtWrapper_QGestureEvent::mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const { - ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_wheelEvent(event)); + return ( theWrappedObject->mapToGraphicsScene(gesturePoint)); } -QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2) { - return ( theWrappedObject->window()); + ( theWrappedObject->setAccepted(arg__1, arg__2)); } -qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGestureEvent::setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2) { - return ( theWrappedObject->x()); + ( theWrappedObject->setAccepted(arg__1, arg__2)); } -qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const +void PythonQtWrapper_QGestureEvent::setWidget(QGestureEvent* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->y()); + ( theWrappedObject->setWidget(widget)); } -qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const +QWidget* PythonQtWrapper_QGestureEvent::widget(QGestureEvent* theWrappedObject) const { - return ( theWrappedObject->zValue()); + return ( theWrappedObject->widget()); } -QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { +QString PythonQtWrapper_QGestureEvent::py_toString(QGestureEvent* obj) { QString result; QDebug d(&result); d << obj; @@ -7049,258 +6961,384 @@ QString PythonQtWrapper_QGraphicsItem::py_toString(QGraphicsItem* obj) { -PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { +PythonQtShell_QGestureRecognizer::~PythonQtShell_QGestureRecognizer() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) +QGesture* PythonQtShell_QGestureRecognizer::create(QObject* target0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("afterAnimationStep"); + static PyObject* name = PyString_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal"}; + static const char* argumentList[] ={"QGesture*" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&step0}; + QGesture* returnValue{}; + void* args[2] = {nullptr, (void*)&target0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QGesture**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemAnimation::afterAnimationStep(step0); + return QGestureRecognizer::create(target0); } -void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) +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("beforeAnimationStep"); + static PyObject* name = PyString_FromString("recognize"); 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] = {NULL, (void*)&step0}; + 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) { Py_DECREF(result); } - Py_DECREF(obj); + if (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(); } } } - QGraphicsItemAnimation::beforeAnimationStep(step0); + QGestureRecognizer::reset(state0); } -QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) +QGestureRecognizer* PythonQtWrapper_QGestureRecognizer::new_QGestureRecognizer() { -return new PythonQtShell_QGraphicsItemAnimation(parent); } +return new PythonQtShell_QGestureRecognizer(); } -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; - } +QGesture* PythonQtWrapper_QGestureRecognizer::create(QGestureRecognizer* theWrappedObject, QObject* target) +{ + return ( theWrappedObject->create(target)); } -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; + +QGestureRecognizer::Result PythonQtWrapper_QGestureRecognizer::recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event) +{ + return ( theWrappedObject->recognize(state, watched, event)); } -void PythonQtWrapper_QGraphicsItemAnimation::afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) + +Qt::GestureType PythonQtWrapper_QGestureRecognizer::static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer) { - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_afterAnimationStep(step)); + return (QGestureRecognizer::registerRecognizer(recognizer)); } -void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) +void PythonQtWrapper_QGestureRecognizer::reset(QGestureRecognizer* theWrappedObject, QGesture* state) { - ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); + ( theWrappedObject->reset(state)); } -void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) +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()); } -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +QGlyphRun::GlyphRunFlags PythonQtWrapper_QGlyphRun::flags(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->horizontalScaleAt(step)); + return ( theWrappedObject->flags()); } -qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +QVector PythonQtWrapper_QGlyphRun::glyphIndexes(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->horizontalShearAt(step)); + return ( theWrappedObject->glyphIndexes()); } -QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::isEmpty(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->item()); + return ( theWrappedObject->isEmpty()); } -QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +bool PythonQtWrapper_QGlyphRun::isRightToLeft(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->matrixAt(step)); + return ( theWrappedObject->isRightToLeft()); } -QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +bool PythonQtWrapper_QGlyphRun::__ne__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const { - return ( theWrappedObject->posAt(step)); + return ( (*theWrappedObject)!= other); } -QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const +QGlyphRun* PythonQtWrapper_QGlyphRun::operator_assign(QGlyphRun* theWrappedObject, const QGlyphRun& other) { - return ( theWrappedObject->posList()); + return &( (*theWrappedObject)= other); } -qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +bool PythonQtWrapper_QGlyphRun::__eq__(QGlyphRun* theWrappedObject, const QGlyphRun& other) const { - return ( theWrappedObject->rotationAt(step)); + return ( (*theWrappedObject)== other); } -QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const +bool PythonQtWrapper_QGlyphRun::overline(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->rotationList()); + return ( theWrappedObject->overline()); } -QList > PythonQtWrapper_QGraphicsItemAnimation::scaleList(QGraphicsItemAnimation* theWrappedObject) const +QVector PythonQtWrapper_QGlyphRun::positions(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->scaleList()); + return ( theWrappedObject->positions()); } -void PythonQtWrapper_QGraphicsItemAnimation::setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item) +QRawFont PythonQtWrapper_QGlyphRun::rawFont(QGlyphRun* theWrappedObject) const { - ( theWrappedObject->setItem(item)); + return ( theWrappedObject->rawFont()); } -void PythonQtWrapper_QGraphicsItemAnimation::setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos) +void PythonQtWrapper_QGlyphRun::setBoundingRect(QGlyphRun* theWrappedObject, const QRectF& boundingRect) { - ( theWrappedObject->setPosAt(step, pos)); + ( theWrappedObject->setBoundingRect(boundingRect)); } -void PythonQtWrapper_QGraphicsItemAnimation::setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle) +void PythonQtWrapper_QGlyphRun::setFlag(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlag flag, bool enabled) { - ( theWrappedObject->setRotationAt(step, angle)); + ( theWrappedObject->setFlag(flag, enabled)); } -void PythonQtWrapper_QGraphicsItemAnimation::setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy) +void PythonQtWrapper_QGlyphRun::setFlags(QGlyphRun* theWrappedObject, QGlyphRun::GlyphRunFlags flags) { - ( theWrappedObject->setScaleAt(step, sx, sy)); + ( theWrappedObject->setFlags(flags)); } -void PythonQtWrapper_QGraphicsItemAnimation::setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv) +void PythonQtWrapper_QGlyphRun::setGlyphIndexes(QGlyphRun* theWrappedObject, const QVector& glyphIndexes) { - ( theWrappedObject->setShearAt(step, sh, sv)); + ( theWrappedObject->setGlyphIndexes(glyphIndexes)); } -void PythonQtWrapper_QGraphicsItemAnimation::setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine) +void PythonQtWrapper_QGlyphRun::setOverline(QGlyphRun* theWrappedObject, bool overline) { - ( theWrappedObject->setTimeLine(timeLine)); + ( theWrappedObject->setOverline(overline)); } -void PythonQtWrapper_QGraphicsItemAnimation::setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy) +void PythonQtWrapper_QGlyphRun::setPositions(QGlyphRun* theWrappedObject, const QVector& positions) { - ( theWrappedObject->setTranslationAt(step, dx, dy)); + ( theWrappedObject->setPositions(positions)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::shearList(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGlyphRun::setRawData(QGlyphRun* theWrappedObject, const unsigned int* glyphIndexArray, const QPointF* glyphPositionArray, int size) { - return ( theWrappedObject->shearList()); + ( theWrappedObject->setRawData(glyphIndexArray, glyphPositionArray, size)); } -QTimeLine* PythonQtWrapper_QGraphicsItemAnimation::timeLine(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGlyphRun::setRawFont(QGlyphRun* theWrappedObject, const QRawFont& rawFont) { - return ( theWrappedObject->timeLine()); + ( theWrappedObject->setRawFont(rawFont)); } -QTransform PythonQtWrapper_QGraphicsItemAnimation::transformAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGlyphRun::setRightToLeft(QGlyphRun* theWrappedObject, bool on) { - return ( theWrappedObject->transformAt(step)); + ( theWrappedObject->setRightToLeft(on)); } -QList > PythonQtWrapper_QGraphicsItemAnimation::translationList(QGraphicsItemAnimation* theWrappedObject) const +void PythonQtWrapper_QGlyphRun::setStrikeOut(QGlyphRun* theWrappedObject, bool strikeOut) { - return ( theWrappedObject->translationList()); + ( theWrappedObject->setStrikeOut(strikeOut)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGlyphRun::setUnderline(QGlyphRun* theWrappedObject, bool underline) { - return ( theWrappedObject->verticalScaleAt(step)); + ( theWrappedObject->setUnderline(underline)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +bool PythonQtWrapper_QGlyphRun::strikeOut(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->verticalShearAt(step)); + return ( theWrappedObject->strikeOut()); } -qreal PythonQtWrapper_QGraphicsItemAnimation::xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +void PythonQtWrapper_QGlyphRun::swap(QGlyphRun* theWrappedObject, QGlyphRun& other) { - return ( theWrappedObject->xTranslationAt(step)); + ( theWrappedObject->swap(other)); } -qreal PythonQtWrapper_QGraphicsItemAnimation::yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const +bool PythonQtWrapper_QGlyphRun::underline(QGlyphRun* theWrappedObject) const { - return ( theWrappedObject->yTranslationAt(step)); + return ( theWrappedObject->underline()); } -PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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()); } -void PythonQtShell_QGraphicsItemGroup::advance(int phase0) + +bool PythonQtWrapper_QGradient::__ne__(QGradient* theWrappedObject, const QGradient& other) const { -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] = {NULL, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - QGraphicsItemGroup::advance(phase0); + +bool PythonQtWrapper_QGradient::__eq__(QGradient* theWrappedObject, const QGradient& gradient) const +{ + return ( (*theWrappedObject)== gradient); } -QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const + +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("boundingRect"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7308,98 +7346,76 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::boundingRect(); + return QGraphicsAnchorLayout::count(); } -bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +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("collidesWithItem"); + static PyObject* name = PyString_FromString("getContentsMargins"); 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] = {NULL, (void*)&other0, (void*)&mode1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::collidesWithItem(other0, mode1); + QGraphicsAnchorLayout::getContentsMargins(left0, top1, right2, bottom3); } -bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsAnchorLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("invalidate"); 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] = {NULL, (void*)&path0, (void*)&mode1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::collidesWithPath(path0, mode1); + QGraphicsAnchorLayout::invalidate(); } -bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const +QGraphicsLayoutItem* PythonQtShell_QGraphicsAnchorLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QGraphicsLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7407,21 +7423,21 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::contains(point0); + return QGraphicsAnchorLayout::itemAt(index0); } -void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7429,21 +7445,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::contextMenuEvent(event0); + QGraphicsAnchorLayout::removeAt(index0); } -void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7451,43 +7467,54 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragEnterEvent(event0); + QGraphicsAnchorLayout::setGeometry(rect0); } -void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::dragLeaveEvent(event0); + return QGraphicsAnchorLayout::sizeHint(which0, constraint1); } -void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7495,21 +7522,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dragMoveEvent(event0); + QGraphicsAnchorLayout::updateGeometry(); } -void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsAnchorLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7517,32 +7544,87 @@ if (_wrapper) { } } } - QGraphicsItemGroup::dropEvent(event0); + QGraphicsAnchorLayout::widgetEvent(e0); } -QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const +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("extension"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7550,21 +7632,21 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::extension(variant0); + return QGraphicsBlurEffect::boundingRectFor(rect0); } -void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7572,21 +7654,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::focusInEvent(event0); + QGraphicsBlurEffect::childEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7594,21 +7676,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::focusOutEvent(event0); + QGraphicsBlurEffect::customEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverEnterEvent"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7616,65 +7698,87 @@ if (_wrapper) { } } } - QGraphicsItemGroup::hoverEnterEvent(event0); + QGraphicsBlurEffect::draw(painter0); } -void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +bool PythonQtShell_QGraphicsBlurEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverLeaveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::hoverLeaveEvent(event0); + return QGraphicsBlurEffect::event(event0); } -void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* 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("hoverMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::hoverMoveEvent(event0); + return QGraphicsBlurEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7682,65 +7786,87 @@ if (_wrapper) { } } } - QGraphicsItemGroup::inputMethodEvent(event0); + QGraphicsBlurEffect::sourceChanged(flags0); } -QVariant PythonQtShell_QGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QGraphicsBlurEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::inputMethodQuery(query0); + QGraphicsBlurEffect::timerEvent(event0); } -bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper) { +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("isObscuredBy"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"QRectF" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&sourceRect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7748,57 +7874,43 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::isObscuredBy(item0); + return QGraphicsColorizeEffect::boundingRectFor(sourceRect0); } -QVariant PythonQtShell_QGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsColorizeEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::itemChange(change0, value1); + QGraphicsColorizeEffect::childEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7806,21 +7918,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::keyPressEvent(event0); + QGraphicsColorizeEffect::customEvent(event0); } -void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7828,65 +7940,87 @@ if (_wrapper) { } } } - QGraphicsItemGroup::keyReleaseEvent(event0); + QGraphicsColorizeEffect::draw(painter0); } -void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QGraphicsColorizeEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::mouseDoubleClickEvent(event0); + return QGraphicsColorizeEffect::event(event0); } -void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* 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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsItemGroup::mouseMoveEvent(event0); + return QGraphicsColorizeEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsEffect::ChangeFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&flags0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7894,21 +8028,21 @@ if (_wrapper) { } } } - QGraphicsItemGroup::mousePressEvent(event0); + QGraphicsColorizeEffect::sourceChanged(flags0); } -void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsColorizeEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7916,32 +8050,65 @@ if (_wrapper) { } } } - QGraphicsItemGroup::mouseReleaseEvent(event0); + QGraphicsColorizeEffect::timerEvent(event0); } -QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const +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("opaqueArea"); + static PyObject* name = PyString_FromString("boundingRectFor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7949,21 +8116,21 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::opaqueArea(); + return QGraphicsDropShadowEffect::boundingRectFor(rect0); } -void PythonQtShell_QGraphicsItemGroup::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsDropShadowEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7971,32 +8138,76 @@ if (_wrapper) { } } } - QGraphicsItemGroup::paint(painter0, option1, widget2); + QGraphicsDropShadowEffect::childEvent(event0); } -bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsDropShadowEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8004,32 +8215,32 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::sceneEvent(event0); + return QGraphicsDropShadowEffect::event(event0); } -bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsDropShadowEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8037,21 +8248,21 @@ if (_wrapper) { } } } - return QGraphicsItemGroup::sceneEventFilter(watched0, event1); + return QGraphicsDropShadowEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8059,173 +8270,102 @@ if (_wrapper) { } } } - QGraphicsItemGroup::setExtension(extension0, variant1); + QGraphicsDropShadowEffect::sourceChanged(flags0); } -QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const +void PythonQtShell_QGraphicsDropShadowEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsItemGroup::shape(); + QGraphicsDropShadowEffect::timerEvent(event0); } -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] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QGraphicsItemGroup::supportsExtension(extension0); +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; } -int PythonQtShell_QGraphicsItemGroup::type() const +qreal PythonQtWrapper_QGraphicsDropShadowEffect::blurRadius(QGraphicsDropShadowEffect* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsItemGroup::type(); + return ( theWrappedObject->blurRadius()); } -void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) + +QColor PythonQtWrapper_QGraphicsDropShadowEffect::color(QGraphicsDropShadowEffect* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->color()); } - QGraphicsItemGroup::wheelEvent(event0); + +QPointF PythonQtWrapper_QGraphicsDropShadowEffect::offset(QGraphicsDropShadowEffect* theWrappedObject) const +{ + return ( theWrappedObject->offset()); } -QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsItemGroup(parent); } -void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +qreal PythonQtWrapper_QGraphicsDropShadowEffect::xOffset(QGraphicsDropShadowEffect* theWrappedObject) const { - ( theWrappedObject->addToGroup(item)); + return ( theWrappedObject->xOffset()); } -void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) +qreal PythonQtWrapper_QGraphicsDropShadowEffect::yOffset(QGraphicsDropShadowEffect* theWrappedObject) const { - ( theWrappedObject->removeFromGroup(item)); + return ( theWrappedObject->yOffset()); } -PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { +PythonQtShell_QGraphicsEffect::~PythonQtShell_QGraphicsEffect() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QGraphicsLayout::count() const +QRectF PythonQtShell_QGraphicsEffect::boundingRectFor(const QRectF& sourceRect0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("boundingRectFor"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8233,43 +8373,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QGraphicsEffect::boundingRectFor(sourceRect0); } -void PythonQtShell_QGraphicsLayout::invalidate() +void PythonQtShell_QGraphicsEffect::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8277,54 +8395,43 @@ if (_wrapper) { } } } - QGraphicsLayout::invalidate(); + QGraphicsEffect::childEvent(event0); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const +void PythonQtShell_QGraphicsEffect::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QGraphicsLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return 0; + QGraphicsEffect::customEvent(event0); } -void PythonQtShell_QGraphicsLayout::removeAt(int index0) +void PythonQtShell_QGraphicsEffect::draw(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeAt"); + static PyObject* name = PyString_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8334,52 +8441,63 @@ if (_wrapper) { } } -void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) +bool PythonQtShell_QGraphicsEffect::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLayout::setGeometry(rect0); + return QGraphicsEffect::event(event0); } -QSizeF PythonQtShell_QGraphicsLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +bool PythonQtShell_QGraphicsEffect::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8387,21 +8505,21 @@ if (_wrapper) { } } } - return QSizeF(); + return QGraphicsEffect::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsLayout::updateGeometry() +void PythonQtShell_QGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("sourceChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8409,21 +8527,21 @@ if (_wrapper) { } } } - QGraphicsLayout::updateGeometry(); + QGraphicsEffect::sourceChanged(flags0); } -void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) +void PythonQtShell_QGraphicsEffect::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widgetEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8431,86 +8549,94 @@ if (_wrapper) { } } } - QGraphicsLayout::widgetEvent(e0); + QGraphicsEffect::timerEvent(event0); } -QGraphicsLayout* PythonQtWrapper_QGraphicsLayout::new_QGraphicsLayout(QGraphicsLayoutItem* parent) +QGraphicsEffect* PythonQtWrapper_QGraphicsEffect::new_QGraphicsEffect(QObject* parent) { -return new PythonQtShell_QGraphicsLayout(parent); } +return new PythonQtShell_QGraphicsEffect(parent); } -void PythonQtWrapper_QGraphicsLayout::activate(QGraphicsLayout* theWrappedObject) +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 { - ( theWrappedObject->activate()); + return ( theWrappedObject->boundingRect()); } -void PythonQtWrapper_QGraphicsLayout::addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem) +QRectF PythonQtWrapper_QGraphicsEffect::boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const { - ( ((PythonQtPublicPromoter_QGraphicsLayout*)theWrappedObject)->promoted_addChildLayoutItem(layoutItem)); + return ( theWrappedObject->boundingRectFor(sourceRect)); } -int PythonQtWrapper_QGraphicsLayout::count(QGraphicsLayout* theWrappedObject) const +void PythonQtWrapper_QGraphicsEffect::draw(QGraphicsEffect* theWrappedObject, QPainter* painter) { - return ( theWrappedObject->count()); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_draw(painter)); } -bool PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_instantInvalidatePropagation() +void PythonQtWrapper_QGraphicsEffect::drawSource(QGraphicsEffect* theWrappedObject, QPainter* painter) { - return (QGraphicsLayout::instantInvalidatePropagation()); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_drawSource(painter)); } -void PythonQtWrapper_QGraphicsLayout::invalidate(QGraphicsLayout* theWrappedObject) +bool PythonQtWrapper_QGraphicsEffect::isEnabled(QGraphicsEffect* theWrappedObject) const { - ( theWrappedObject->invalidate()); + return ( theWrappedObject->isEnabled()); } -bool PythonQtWrapper_QGraphicsLayout::isActivated(QGraphicsLayout* theWrappedObject) const -{ - return ( theWrappedObject->isActivated()); -} - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayout::itemAt(QGraphicsLayout* theWrappedObject, int i) const +QRectF PythonQtWrapper_QGraphicsEffect::sourceBoundingRect(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system) const { - return ( theWrappedObject->itemAt(i)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceBoundingRect(system)); } -void PythonQtWrapper_QGraphicsLayout::removeAt(QGraphicsLayout* theWrappedObject, int index) +void PythonQtWrapper_QGraphicsEffect::sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags) { - ( theWrappedObject->removeAt(index)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceChanged(flags)); } -void PythonQtWrapper_QGraphicsLayout::setContentsMargins(QGraphicsLayout* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +bool PythonQtWrapper_QGraphicsEffect::sourceIsPixmap(QGraphicsEffect* theWrappedObject) const { - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourceIsPixmap()); } -void PythonQtWrapper_QGraphicsLayout::static_QGraphicsLayout_setInstantInvalidatePropagation(bool enable) +QPixmap PythonQtWrapper_QGraphicsEffect::sourcePixmap(QGraphicsEffect* theWrappedObject, Qt::CoordinateSystem system, QPoint* offset, QGraphicsEffect::PixmapPadMode mode) const { - (QGraphicsLayout::setInstantInvalidatePropagation(enable)); + return ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_sourcePixmap(system, offset, mode)); } -void PythonQtWrapper_QGraphicsLayout::widgetEvent(QGraphicsLayout* theWrappedObject, QEvent* e) +void PythonQtWrapper_QGraphicsEffect::updateBoundingRect(QGraphicsEffect* theWrappedObject) { - ( theWrappedObject->widgetEvent(e)); + ( ((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->promoted_updateBoundingRect()); } -PythonQtShell_QGraphicsLayoutItem::~PythonQtShell_QGraphicsLayoutItem() { +PythonQtShell_QGraphicsEllipseItem::~PythonQtShell_QGraphicsEllipseItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsLayoutItem::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +void PythonQtShell_QGraphicsEllipseItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getContentsMargins"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8518,54 +8644,65 @@ if (_wrapper) { } } } - QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); + QGraphicsEllipseItem::advance(phase0); } -void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) +QRectF PythonQtShell_QGraphicsEllipseItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("boundingRect"); 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] = {NULL, (void*)&rect0}; + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLayoutItem::setGeometry(rect0); + return QGraphicsEllipseItem::boundingRect(); } -QSizeF PythonQtShell_QGraphicsLayoutItem::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +bool PythonQtShell_QGraphicsEllipseItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8573,276 +8710,208 @@ if (_wrapper) { } } } - return QSizeF(); + return QGraphicsEllipseItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsLayoutItem::updateGeometry() +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("updateGeometry"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - 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)); + return QGraphicsEllipseItem::collidesWithPath(path0, mode1); } - -QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const +bool PythonQtShell_QGraphicsEllipseItem::contains(const QPointF& point0) const { - return ( theWrappedObject->graphicsItem()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->isLayout()); + return QGraphicsEllipseItem::contains(point0); } - -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { - return ( theWrappedObject->maximumHeight()); +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(); + } + } } - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); + QGraphicsEllipseItem::contextMenuEvent(event0); } - -qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->maximumWidth()); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); + QGraphicsEllipseItem::dragEnterEvent(event0); } - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->minimumSize()); +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(); + } + } } - -qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); + QGraphicsEllipseItem::dragLeaveEvent(event0); } - -bool PythonQtWrapper_QGraphicsLayoutItem::ownedByLayout(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->ownedByLayout()); +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(); + } + } } - -QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->parentLayoutItem()); + QGraphicsEllipseItem::dragMoveEvent(event0); } - -qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const +void PythonQtShell_QGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->preferredHeight()); +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(); + } + } } - -QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const -{ - return ( theWrappedObject->preferredSize()); + QGraphicsEllipseItem::dropEvent(event0); } - -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) +QVariant PythonQtShell_QGraphicsEllipseItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("advance"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8850,120 +8919,87 @@ if (_wrapper) { } } } - return QGraphicsLineItem::boundingRect(); + return QGraphicsEllipseItem::extension(variant0); } -bool PythonQtShell_QGraphicsLineItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsEllipseItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithItem"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL, (void*)&other0, (void*)&mode1}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::collidesWithItem(other0, mode1); + QGraphicsEllipseItem::focusInEvent(event0); } -bool PythonQtShell_QGraphicsLineItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +void PythonQtShell_QGraphicsEllipseItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("collidesWithPath"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL, (void*)&path0, (void*)&mode1}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::collidesWithPath(path0, mode1); + QGraphicsEllipseItem::focusOutEvent(event0); } -bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsLineItem::contains(point0); + QGraphicsEllipseItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8971,21 +9007,21 @@ if (_wrapper) { } } } - QGraphicsLineItem::contextMenuEvent(event0); + QGraphicsEllipseItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8993,21 +9029,21 @@ if (_wrapper) { } } } - QGraphicsLineItem::dragEnterEvent(event0); + QGraphicsEllipseItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9015,284 +9051,75 @@ if (_wrapper) { } } } - QGraphicsLineItem::dragLeaveEvent(event0); + QGraphicsEllipseItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLineItem::dragMoveEvent(event0); + return QGraphicsEllipseItem::inputMethodQuery(query0); } -void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +bool PythonQtShell_QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsLineItem::dropEvent(event0); + return QGraphicsEllipseItem::isObscuredBy(item0); } -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] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsLineItem::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +QVariant PythonQtShell_QGraphicsEllipseItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9303,19 +9130,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { returnValue = value1; @@ -9326,9 +9153,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::itemChange(change0, value1); + return QGraphicsEllipseItem::itemChange(change0, value1); } -void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9338,9 +9165,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9348,9 +9175,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::keyPressEvent(event0); + QGraphicsEllipseItem::keyPressEvent(event0); } -void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9360,9 +9187,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9370,9 +9197,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::keyReleaseEvent(event0); + QGraphicsEllipseItem::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9382,9 +9209,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9392,9 +9219,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseDoubleClickEvent(event0); + QGraphicsEllipseItem::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9404,9 +9231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9414,9 +9241,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseMoveEvent(event0); + QGraphicsEllipseItem::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9426,9 +9253,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9436,9 +9263,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mousePressEvent(event0); + QGraphicsEllipseItem::mousePressEvent(event0); } -void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9448,9 +9275,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9458,9 +9285,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::mouseReleaseEvent(event0); + QGraphicsEllipseItem::mouseReleaseEvent(event0); } -QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const +QPainterPath PythonQtShell_QGraphicsEllipseItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9471,19 +9298,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9491,9 +9318,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::opaqueArea(); + return QGraphicsEllipseItem::opaqueArea(); } -void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsEllipseItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9503,9 +9330,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9513,9 +9340,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::paint(painter0, option1, widget2); + QGraphicsEllipseItem::paint(painter0, option1, widget2); } -bool PythonQtShell_QGraphicsLineItem::sceneEvent(QEvent* event0) +bool PythonQtShell_QGraphicsEllipseItem::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9526,19 +9353,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9546,9 +9373,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::sceneEvent(event0); + return QGraphicsEllipseItem::sceneEvent(event0); } -bool PythonQtShell_QGraphicsLineItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsEllipseItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9559,19 +9386,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9579,9 +9406,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::sceneEventFilter(watched0, event1); + return QGraphicsEllipseItem::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9591,9 +9418,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9601,9 +9428,9 @@ if (_wrapper) { } } } - QGraphicsLineItem::setExtension(extension0, variant1); + QGraphicsEllipseItem::setExtension(extension0, variant1); } -QPainterPath PythonQtShell_QGraphicsLineItem::shape() const +QPainterPath PythonQtShell_QGraphicsEllipseItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9614,19 +9441,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9634,9 +9461,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::shape(); + return QGraphicsEllipseItem::shape(); } -bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9647,19 +9474,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9667,9 +9494,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::supportsExtension(extension0); + return QGraphicsEllipseItem::supportsExtension(extension0); } -int PythonQtShell_QGraphicsLineItem::type() const +int PythonQtShell_QGraphicsEllipseItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9680,19 +9507,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9700,9 +9527,9 @@ if (_wrapper) { } } } - return QGraphicsLineItem::type(); + return QGraphicsEllipseItem::type(); } -void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9712,9 +9539,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9722,674 +9549,2533 @@ if (_wrapper) { } } } - QGraphicsLineItem::wheelEvent(event0); + 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)); } -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); } +void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->resetTransform()); +} -QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } +qreal PythonQtWrapper_QGraphicsItem::rotation(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} -QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const +qreal PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject) const { - return ( theWrappedObject->line()); + return ( theWrappedObject->scale()); } -QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const +QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const { - return ( theWrappedObject->pen()); + return ( theWrappedObject->scene()); } -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) +QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const { - ( theWrappedObject->setLine(line)); + return ( theWrappedObject->sceneBoundingRect()); } -void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) +bool PythonQtWrapper_QGraphicsItem::sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event) { - ( theWrappedObject->setLine(x1, y1, x2, y2)); + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_sceneEvent(event)); } -void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) +bool PythonQtWrapper_QGraphicsItem::sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event) { - ( theWrappedObject->setPen(pen)); + 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()); +} -PythonQtShell_QGraphicsLinearLayout::~PythonQtShell_QGraphicsLinearLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect) +{ + ( theWrappedObject->scroll(dx, dy, rect)); } -int PythonQtShell_QGraphicsLinearLayout::count() const + +void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAcceptDrops(on)); } - return QGraphicsLinearLayout::count(); + +void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAcceptHoverEvents(enabled)); } -void PythonQtShell_QGraphicsLinearLayout::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const + +void PythonQtWrapper_QGraphicsItem::setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled) { -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] = {NULL, (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(); - } - } + ( theWrappedObject->setAcceptTouchEvents(enabled)); } - QGraphicsLinearLayout::getContentsMargins(left0, top1, right2, bottom3); + +void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons) +{ + ( theWrappedObject->setAcceptedMouseButtons(buttons)); } -void PythonQtShell_QGraphicsLinearLayout::invalidate() + +void PythonQtWrapper_QGraphicsItem::setActive(QGraphicsItem* theWrappedObject, bool active) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setActive(active)); } - QGraphicsLinearLayout::invalidate(); + +void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity) +{ + ( theWrappedObject->setBoundingRegionGranularity(granularity)); } -QGraphicsLayoutItem* PythonQtShell_QGraphicsLinearLayout::itemAt(int index0) const + +void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize) { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QGraphicsLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCacheMode(mode, cacheSize)); } - return QGraphicsLinearLayout::itemAt(index0); + +void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor) +{ + ( theWrappedObject->setCursor(cursor)); } -void PythonQtShell_QGraphicsLinearLayout::removeAt(int index0) + +void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value) { -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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setData(key, value)); } - QGraphicsLinearLayout::removeAt(index0); + +void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setEnabled(enabled)); } -void PythonQtShell_QGraphicsLinearLayout::setGeometry(const QRectF& rect0) + +void PythonQtWrapper_QGraphicsItem::setExtension(QGraphicsItem* theWrappedObject, int extension, const QVariant& variant) { -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] = {NULL, (void*)&rect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_setExtension(extension, variant)); } - QGraphicsLinearLayout::setGeometry(rect0); + +void PythonQtWrapper_QGraphicsItem::setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setFiltersChildEvents(enabled)); } -QSizeF PythonQtShell_QGraphicsLinearLayout::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const + +void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled) { -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] = {NULL, (void*)&which0, (void*)&constraint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFlag(flag, enabled)); } - return QGraphicsLinearLayout::sizeHint(which0, constraint1); + +void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); } -void PythonQtShell_QGraphicsLinearLayout::updateGeometry() + +void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFocus(focusReason)); } - QGraphicsLinearLayout::updateGeometry(); + +void PythonQtWrapper_QGraphicsItem::setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item) +{ + ( theWrappedObject->setFocusProxy(item)); } -void PythonQtShell_QGraphicsLinearLayout::widgetEvent(QEvent* e0) + +void PythonQtWrapper_QGraphicsItem::setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect) { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setGraphicsEffect(effect)); } - QGraphicsLinearLayout::widgetEvent(e0); + +void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group) +{ + ( theWrappedObject->setGroup(group)); } -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_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setHandlesChildEvents(enabled)); +} -void PythonQtWrapper_QGraphicsLinearLayout::addItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToCPP item) +void PythonQtWrapper_QGraphicsItem::setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints) { - ( theWrappedObject->addItem(item)); + ( theWrappedObject->setInputMethodHints(hints)); } -void PythonQtWrapper_QGraphicsLinearLayout::addStretch(QGraphicsLinearLayout* theWrappedObject, int stretch) +void PythonQtWrapper_QGraphicsItem::setOpacity(QGraphicsItem* theWrappedObject, qreal opacity) { - ( theWrappedObject->addStretch(stretch)); + ( theWrappedObject->setOpacity(opacity)); } -Qt::Alignment PythonQtWrapper_QGraphicsLinearLayout::alignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +void PythonQtWrapper_QGraphicsItem::setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality) { - return ( theWrappedObject->alignment(item)); + ( theWrappedObject->setPanelModality(panelModality)); } -void PythonQtWrapper_QGraphicsLinearLayout::dump(QGraphicsLinearLayout* theWrappedObject, int indent) const +void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, PythonQtNewOwnerOfThis parent) { - ( theWrappedObject->dump(indent)); + ( theWrappedObject->setParentItem(parent)); } -void PythonQtWrapper_QGraphicsLinearLayout::insertItem(QGraphicsLinearLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos) { - ( theWrappedObject->insertItem(index, item)); + ( theWrappedObject->setPos(pos)); } -void PythonQtWrapper_QGraphicsLinearLayout::insertStretch(QGraphicsLinearLayout* theWrappedObject, int index, int stretch) +void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y) { - ( theWrappedObject->insertStretch(index, stretch)); + ( theWrappedObject->setPos(x, y)); } -qreal PythonQtWrapper_QGraphicsLinearLayout::itemSpacing(QGraphicsLinearLayout* theWrappedObject, int index) const +void PythonQtWrapper_QGraphicsItem::setRotation(QGraphicsItem* theWrappedObject, qreal angle) { - return ( theWrappedObject->itemSpacing(index)); + ( theWrappedObject->setRotation(angle)); } -Qt::Orientation PythonQtWrapper_QGraphicsLinearLayout::orientation(QGraphicsLinearLayout* theWrappedObject) const +void PythonQtWrapper_QGraphicsItem::setScale(QGraphicsItem* theWrappedObject, qreal scale) { - return ( theWrappedObject->orientation()); + ( theWrappedObject->setScale(scale)); } -void PythonQtWrapper_QGraphicsLinearLayout::removeItem(QGraphicsLinearLayout* theWrappedObject, PythonQtPassOwnershipToPython item) +void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected) { - ( theWrappedObject->removeItem(item)); + ( theWrappedObject->setSelected(selected)); } -void PythonQtWrapper_QGraphicsLinearLayout::setAlignment(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment) +void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip) { - ( theWrappedObject->setAlignment(item, alignment)); + ( theWrappedObject->setToolTip(toolTip)); } -void PythonQtWrapper_QGraphicsLinearLayout::setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine) { - ( theWrappedObject->setGeometry(rect)); + ( theWrappedObject->setTransform(matrix, combine)); } -void PythonQtWrapper_QGraphicsLinearLayout::setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing) +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin) { - ( theWrappedObject->setItemSpacing(index, spacing)); + ( theWrappedObject->setTransformOriginPoint(origin)); } -void PythonQtWrapper_QGraphicsLinearLayout::setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation) +void PythonQtWrapper_QGraphicsItem::setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay) { - ( theWrappedObject->setOrientation(orientation)); + ( theWrappedObject->setTransformOriginPoint(ax, ay)); } -void PythonQtWrapper_QGraphicsLinearLayout::setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing) +void PythonQtWrapper_QGraphicsItem::setTransformations(QGraphicsItem* theWrappedObject, const QList& transformations) { - ( theWrappedObject->setSpacing(spacing)); + ( theWrappedObject->setTransformations(transformations)); } -void PythonQtWrapper_QGraphicsLinearLayout::setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch) +void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible) { - ( theWrappedObject->setStretchFactor(item, stretch)); + ( theWrappedObject->setVisible(visible)); } -QSizeF PythonQtWrapper_QGraphicsLinearLayout::sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +void PythonQtWrapper_QGraphicsItem::setX(QGraphicsItem* theWrappedObject, qreal x) { - return ( theWrappedObject->sizeHint(which, constraint)); + ( theWrappedObject->setX(x)); } -qreal PythonQtWrapper_QGraphicsLinearLayout::spacing(QGraphicsLinearLayout* theWrappedObject) const +void PythonQtWrapper_QGraphicsItem::setY(QGraphicsItem* theWrappedObject, qreal y) { - return ( theWrappedObject->spacing()); + ( theWrappedObject->setY(y)); } -int PythonQtWrapper_QGraphicsLinearLayout::stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const +void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z) { - return ( theWrappedObject->stretchFactor(item)); + ( theWrappedObject->setZValue(z)); } +QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} +void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->show()); +} -PythonQtShell_QGraphicsOpacityEffect::~PythonQtShell_QGraphicsOpacityEffect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QGraphicsItem::stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling) +{ + ( theWrappedObject->stackBefore(sibling)); } -QRectF PythonQtShell_QGraphicsOpacityEffect::boundingRectFor(const QRectF& sourceRect0) const + +bool PythonQtWrapper_QGraphicsItem::supportsExtension(QGraphicsItem* theWrappedObject, int extension) 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] = {NULL, (void*)&sourceRect0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRectFor", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_supportsExtension(extension)); } - return QGraphicsOpacityEffect::boundingRectFor(sourceRect0); + +QGraphicsObject* PythonQtWrapper_QGraphicsItem::toGraphicsObject(QGraphicsItem* theWrappedObject) +{ + return ( theWrappedObject->toGraphicsObject()); } -void PythonQtShell_QGraphicsOpacityEffect::draw(QPainter* painter0) + +QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const { -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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toolTip()); } - QGraphicsOpacityEffect::draw(painter0); + +QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItem()); } -void PythonQtShell_QGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags flags0) + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const { -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] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->topLevelWidget()); } - QGraphicsOpacityEffect::sourceChanged(flags0); + +QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transform()); } -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; - } +QPointF PythonQtWrapper_QGraphicsItem::transformOriginPoint(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformOriginPoint()); } -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; + +QList PythonQtWrapper_QGraphicsItem::transformations(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->transformations()); } -qreal PythonQtWrapper_QGraphicsOpacityEffect::opacity(QGraphicsOpacityEffect* theWrappedObject) const + +int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const { - return ( theWrappedObject->opacity()); + return ( theWrappedObject->type()); } -QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffect* theWrappedObject) const +void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject) { - return ( theWrappedObject->opacityMask()); + ( theWrappedObject->ungrabKeyboard()); } +void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->ungrabMouse()); +} +void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); +} -PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->update(rect)); } -QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const + +void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->update(x, y, width, height)); +} + +void PythonQtWrapper_QGraphicsItem::updateMicroFocus(QGraphicsItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_updateMicroFocus()); } - return QGraphicsPathItem::boundingRect(); + +void PythonQtWrapper_QGraphicsItem::wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QGraphicsItem*)theWrappedObject)->promoted_wheelEvent(event)); } -bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const + +QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) 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] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->window()); } - return QGraphicsPathItem::contains(point0); + +qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const +{ + return ( theWrappedObject->x()); } -QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const + +qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) 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] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + 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; } - return QGraphicsPathItem::extension(variant0); + + + +PythonQtShell_QGraphicsItemAnimation::~PythonQtShell_QGraphicsItemAnimation() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsItemAnimation::afterAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("afterAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&step0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::isObscuredBy(item0); + QGraphicsItemAnimation::afterAnimationStep(step0); } -QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const +void PythonQtShell_QGraphicsItemAnimation::beforeAnimationStep(qreal step0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("beforeAnimationStep"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::opaqueArea(); + QGraphicsItemAnimation::beforeAnimationStep(step0); } -void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsItemAnimation::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10397,21 +12083,21 @@ if (_wrapper) { } } } - QGraphicsPathItem::paint(painter0, option1, widget2); + QGraphicsItemAnimation::childEvent(event0); } -void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsItemAnimation::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setExtension"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10419,32 +12105,32 @@ if (_wrapper) { } } } - QGraphicsPathItem::setExtension(extension0, variant1); + QGraphicsItemAnimation::customEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPathItem::shape() const +bool PythonQtShell_QGraphicsItemAnimation::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10452,32 +12138,32 @@ if (_wrapper) { } } } - return QGraphicsPathItem::shape(); + return QGraphicsItemAnimation::event(event0); } -bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsItemAnimation::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10485,106 +12171,189 @@ if (_wrapper) { } } } - return QGraphicsPathItem::supportsExtension(extension0); + return QGraphicsItemAnimation::eventFilter(watched0, event1); } -int PythonQtShell_QGraphicsPathItem::type() const +void PythonQtShell_QGraphicsItemAnimation::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPathItem::type(); + QGraphicsItemAnimation::timerEvent(event0); } -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) +QGraphicsItemAnimation* PythonQtWrapper_QGraphicsItemAnimation::new_QGraphicsItemAnimation(QObject* parent) { -return new PythonQtShell_QGraphicsPathItem(parent); } +return new PythonQtShell_QGraphicsItemAnimation(parent); } -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(path, 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)); +} -QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItemAnimation::beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step) { - return ( theWrappedObject->boundingRect()); + ( ((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->promoted_beforeAnimationStep(step)); } -bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QGraphicsItemAnimation::clear(QGraphicsItemAnimation* theWrappedObject) { - return ( theWrappedObject->contains(point)); + ( theWrappedObject->clear()); } -QVariant PythonQtWrapper_QGraphicsPathItem::extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_extension(variant)); + return ( theWrappedObject->horizontalScaleAt(step)); } -void PythonQtWrapper_QGraphicsPathItem::paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +qreal PythonQtWrapper_QGraphicsItemAnimation::horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->paint(painter, option, widget)); + return ( theWrappedObject->horizontalShearAt(step)); } -QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const +QGraphicsItem* PythonQtWrapper_QGraphicsItemAnimation::item(QGraphicsItemAnimation* theWrappedObject) const { - return ( theWrappedObject->path()); + return ( theWrappedObject->item()); } -void PythonQtWrapper_QGraphicsPathItem::setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant) +QMatrix PythonQtWrapper_QGraphicsItemAnimation::matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_setExtension(extension, variant)); + return ( theWrappedObject->matrixAt(step)); } -void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) +QPointF PythonQtWrapper_QGraphicsItemAnimation::posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - ( theWrappedObject->setPath(path)); + return ( theWrappedObject->posAt(step)); } -QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const +QList > PythonQtWrapper_QGraphicsItemAnimation::posList(QGraphicsItemAnimation* theWrappedObject) const { - return ( theWrappedObject->shape()); + return ( theWrappedObject->posList()); } -bool PythonQtWrapper_QGraphicsPathItem::supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const +qreal PythonQtWrapper_QGraphicsItemAnimation::rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const { - return ( ((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->promoted_supportsExtension(extension)); + return ( theWrappedObject->rotationAt(step)); } -int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const +QList > PythonQtWrapper_QGraphicsItemAnimation::rotationList(QGraphicsItemAnimation* theWrappedObject) const { - return ( theWrappedObject->type()); + 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_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { + + +PythonQtShell_QGraphicsItemGroup::~PythonQtShell_QGraphicsItemGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsPixmapItem::advance(int phase0) +void PythonQtShell_QGraphicsItemGroup::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10594,9 +12363,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&phase0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10604,9 +12373,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::advance(phase0); + QGraphicsItemGroup::advance(phase0); } -QRectF PythonQtShell_QGraphicsPixmapItem::boundingRect() const +QRectF PythonQtShell_QGraphicsItemGroup::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10617,19 +12386,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10637,9 +12406,9 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::boundingRect(); + return QGraphicsItemGroup::boundingRect(); } -bool PythonQtShell_QGraphicsPixmapItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItemGroup::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10650,19 +12419,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&other0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10670,9 +12439,9 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::collidesWithItem(other0, mode1); + return QGraphicsItemGroup::collidesWithItem(other0, mode1); } -bool PythonQtShell_QGraphicsPixmapItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +bool PythonQtShell_QGraphicsItemGroup::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10683,19 +12452,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&path0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10703,9 +12472,9 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::collidesWithPath(path0, mode1); + return QGraphicsItemGroup::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsPixmapItem::contains(const QPointF& point0) const +bool PythonQtShell_QGraphicsItemGroup::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10716,19 +12485,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10736,9 +12505,9 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::contains(point0); + return QGraphicsItemGroup::contains(point0); } -void PythonQtShell_QGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +void PythonQtShell_QGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10748,9 +12517,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10758,9 +12527,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::contextMenuEvent(event0); + QGraphicsItemGroup::contextMenuEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10770,9 +12539,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10780,9 +12549,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragEnterEvent(event0); + QGraphicsItemGroup::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10792,9 +12561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10802,9 +12571,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragLeaveEvent(event0); + QGraphicsItemGroup::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10814,9 +12583,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10824,9 +12593,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dragMoveEvent(event0); + QGraphicsItemGroup::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10836,9 +12605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10846,9 +12615,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::dropEvent(event0); + QGraphicsItemGroup::dropEvent(event0); } -QVariant PythonQtShell_QGraphicsPixmapItem::extension(const QVariant& variant0) const +QVariant PythonQtShell_QGraphicsItemGroup::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10859,19 +12628,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10879,9 +12648,9 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::extension(variant0); + return QGraphicsItemGroup::extension(variant0); } -void PythonQtShell_QGraphicsPixmapItem::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsItemGroup::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10891,9 +12660,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10901,9 +12670,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::focusInEvent(event0); + QGraphicsItemGroup::focusInEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsItemGroup::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10913,9 +12682,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10923,9 +12692,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::focusOutEvent(event0); + QGraphicsItemGroup::focusOutEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10935,9 +12704,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10945,9 +12714,9 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::hoverEnterEvent(event0); + QGraphicsItemGroup::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +void PythonQtShell_QGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10955,289 +12724,11 @@ if (_wrapper) { 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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 char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11245,54 +12736,43 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::mouseReleaseEvent(event0); + QGraphicsItemGroup::hoverLeaveEvent(event0); } -QPainterPath PythonQtShell_QGraphicsPixmapItem::opaqueArea() const +void PythonQtShell_QGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::opaqueArea(); + QGraphicsItemGroup::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsItemGroup::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11300,32 +12780,32 @@ if (_wrapper) { } } } - QGraphicsPixmapItem::paint(painter0, option1, widget2); + QGraphicsItemGroup::inputMethodEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::sceneEvent(QEvent* 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("sceneEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11333,32 +12813,32 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::sceneEvent(event0); + return QGraphicsItemGroup::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsPixmapItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +bool PythonQtShell_QGraphicsItemGroup::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEventFilter"); + static PyObject* name = PyString_FromString("isObscuredBy"); 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); + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11366,142 +12846,123 @@ if (_wrapper) { } } } - return QGraphicsPixmapItem::sceneEventFilter(watched0, event1); + return QGraphicsItemGroup::isObscuredBy(item0); } -void PythonQtShell_QGraphicsPixmapItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +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("setExtension"); + static PyObject* name = PyString_FromString("itemChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPixmapItem::setExtension(extension0, variant1); + return QGraphicsItemGroup::itemChange(change0, value1); } -QPainterPath PythonQtShell_QGraphicsPixmapItem::shape() const +void PythonQtShell_QGraphicsItemGroup::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::shape(); + QGraphicsItemGroup::keyPressEvent(event0); } -bool PythonQtShell_QGraphicsPixmapItem::supportsExtension(QGraphicsItem::Extension extension0) const +void PythonQtShell_QGraphicsItemGroup::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsExtension"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::supportsExtension(extension0); + QGraphicsItemGroup::keyReleaseEvent(event0); } -int PythonQtShell_QGraphicsPixmapItem::type() const +void PythonQtShell_QGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPixmapItem::type(); + QGraphicsItemGroup::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +void PythonQtShell_QGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11509,157 +12970,76 @@ if (_wrapper) { } } } - 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); } + QGraphicsItemGroup::mouseMoveEvent(event0); } -QRectF PythonQtShell_QGraphicsPolygonItem::boundingRect() const +void PythonQtShell_QGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::boundingRect(); + QGraphicsItemGroup::mousePressEvent(event0); } -bool PythonQtShell_QGraphicsPolygonItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::contains(point0); + QGraphicsItemGroup::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QGraphicsPolygonItem::extension(const QVariant& variant0) const +QPainterPath PythonQtShell_QGraphicsItemGroup::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("opaqueArea"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11667,65 +13047,54 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::extension(variant0); + return QGraphicsItemGroup::opaqueArea(); } -bool PythonQtShell_QGraphicsPolygonItem::isObscuredBy(const QGraphicsItem* item0) const +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("isObscuredBy"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsPolygonItem::isObscuredBy(item0); + QGraphicsItemGroup::paint(painter0, option1, widget2); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::opaqueArea() const +bool PythonQtShell_QGraphicsItemGroup::sceneEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("opaqueArea"); + static PyObject* name = PyString_FromString("sceneEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11733,31 +13102,42 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::opaqueArea(); + return QGraphicsItemGroup::sceneEvent(event0); } -void PythonQtShell_QGraphicsPolygonItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsItemGroup::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("sceneEventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsPolygonItem::paint(painter0, option1, widget2); + return QGraphicsItemGroup::sceneEventFilter(watched0, event1); } -void PythonQtShell_QGraphicsPolygonItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsItemGroup::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11767,9 +13147,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11777,9 +13157,9 @@ if (_wrapper) { } } } - QGraphicsPolygonItem::setExtension(extension0, variant1); + QGraphicsItemGroup::setExtension(extension0, variant1); } -QPainterPath PythonQtShell_QGraphicsPolygonItem::shape() const +QPainterPath PythonQtShell_QGraphicsItemGroup::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11790,19 +13170,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11810,9 +13190,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::shape(); + return QGraphicsItemGroup::shape(); } -bool PythonQtShell_QGraphicsPolygonItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsItemGroup::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11823,19 +13203,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11843,9 +13223,9 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::supportsExtension(extension0); + return QGraphicsItemGroup::supportsExtension(extension0); } -int PythonQtShell_QGraphicsPolygonItem::type() const +int PythonQtShell_QGraphicsItemGroup::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11856,19 +13236,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11876,106 +13256,74 @@ if (_wrapper) { } } } - return QGraphicsPolygonItem::type(); -} -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(parent); } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsPolygonItem::new_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPolygonItem(polygon, parent); } - -QRectF PythonQtWrapper_QGraphicsPolygonItem::boundingRect(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsPolygonItem::contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsPolygonItem::extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_extension(variant)); -} - -Qt::FillRule PythonQtWrapper_QGraphicsPolygonItem::fillRule(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->fillRule()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QPolygonF PythonQtWrapper_QGraphicsPolygonItem::polygon(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->polygon()); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsPolygonItem::setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule) -{ - ( theWrappedObject->setFillRule(rule)); + return QGraphicsItemGroup::type(); } - -void PythonQtWrapper_QGraphicsPolygonItem::setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon) +void PythonQtShell_QGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent* event0) { - ( theWrappedObject->setPolygon(polygon)); +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(); + } + } } - -QPainterPath PythonQtWrapper_QGraphicsPolygonItem::shape(QGraphicsPolygonItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); + QGraphicsItemGroup::wheelEvent(event0); } +QGraphicsItemGroup* PythonQtWrapper_QGraphicsItemGroup::new_QGraphicsItemGroup(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsItemGroup(parent); } -bool PythonQtWrapper_QGraphicsPolygonItem::supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const +void PythonQtWrapper_QGraphicsItemGroup::addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) { - return ( ((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->promoted_supportsExtension(extension)); + ( theWrappedObject->addToGroup(item)); } -int PythonQtWrapper_QGraphicsPolygonItem::type(QGraphicsPolygonItem* theWrappedObject) const +void PythonQtWrapper_QGraphicsItemGroup::removeFromGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item) { - return ( theWrappedObject->type()); + ( theWrappedObject->removeFromGroup(item)); } -PythonQtShell_QGraphicsProxyWidget::~PythonQtShell_QGraphicsProxyWidget() { +PythonQtShell_QGraphicsLayout::~PythonQtShell_QGraphicsLayout() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QRectF PythonQtShell_QGraphicsProxyWidget::boundingRect() const +int PythonQtShell_QGraphicsLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11983,21 +13331,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::boundingRect(); + return int(); } -void PythonQtShell_QGraphicsProxyWidget::changeEvent(QEvent* event0) +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("changeEvent"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12005,21 +13353,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::changeEvent(event0); + QGraphicsLayout::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsProxyWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QGraphicsLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("invalidate"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12027,43 +13375,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::closeEvent(event0); + QGraphicsLayout::invalidate(); } -void PythonQtShell_QGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +QGraphicsLayoutItem* PythonQtShell_QGraphicsLayout::itemAt(int i0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const char* argumentList[] ={"QGraphicsLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QGraphicsLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QGraphicsLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::contextMenuEvent(event0); + return nullptr; } -void PythonQtShell_QGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLayout::removeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("removeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12071,21 +13430,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragEnterEvent(event0); + } -void PythonQtShell_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLayout::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12093,43 +13452,54 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dragLeaveEvent(event0); + QGraphicsLayout::setGeometry(rect0); } -void PythonQtShell_QGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::dragMoveEvent(event0); + return QSizeF(); } -void PythonQtShell_QGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent* event0) +void PythonQtShell_QGraphicsLayout::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12137,87 +13507,130 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::dropEvent(event0); + QGraphicsLayout::updateGeometry(); } -bool PythonQtShell_QGraphicsProxyWidget::event(QEvent* event0) +void PythonQtShell_QGraphicsLayout::widgetEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("widgetEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::event(event0); + 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); } } -bool PythonQtShell_QGraphicsProxyWidget::eventFilter(QObject* object0, QEvent* event1) +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("eventFilter"); + static PyObject* name = PyString_FromString("getContentsMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::eventFilter(object0, event1); + QGraphicsLayoutItem::getContentsMargins(left0, top1, right2, bottom3); } -void PythonQtShell_QGraphicsProxyWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsLayoutItem::setGeometry(const QRectF& rect0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "const QRectF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12225,32 +13638,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::focusInEvent(event0); + QGraphicsLayoutItem::setGeometry(rect0); } -bool PythonQtShell_QGraphicsProxyWidget::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizeF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12258,21 +13671,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::focusNextPrevChild(next0); + return QSizeF(); } -void PythonQtShell_QGraphicsProxyWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QGraphicsLayoutItem::updateGeometry() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("updateGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12280,197 +13693,221 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::focusOutEvent(event0); + QGraphicsLayoutItem::updateGeometry(); } -void PythonQtShell_QGraphicsProxyWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent, bool isLayout) +{ +return new PythonQtShell_QGraphicsLayoutItem(parent, isLayout); } + +QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) 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] = {NULL, (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(); - } - } + return ( theWrappedObject->contentsRect()); } - QGraphicsProxyWidget::getContentsMargins(left0, top1, right2, bottom3); + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( theWrappedObject->effectiveSizeHint(which, constraint)); } -void PythonQtShell_QGraphicsProxyWidget::grabKeyboardEvent(QEvent* event0) + +QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("grabKeyboardEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->geometry()); } - QGraphicsProxyWidget::grabKeyboardEvent(event0); + +void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +{ + ( theWrappedObject->getContentsMargins(left, top, right, bottom)); } -void PythonQtShell_QGraphicsProxyWidget::grabMouseEvent(QEvent* event0) + +QGraphicsItem* PythonQtWrapper_QGraphicsLayoutItem::graphicsItem(QGraphicsLayoutItem* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->graphicsItem()); } - QGraphicsProxyWidget::grabMouseEvent(event0); + +bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->isLayout()); } -void PythonQtShell_QGraphicsProxyWidget::hideEvent(QHideEvent* event0) + +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->maximumHeight()); +} + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); } - QGraphicsProxyWidget::hideEvent(event0); + +qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); } -void PythonQtShell_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) + +qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + 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)); } - QGraphicsProxyWidget::hoverEnterEvent(event0); + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h) +{ + ( theWrappedObject->setPreferredSize(w, h)); } -void PythonQtShell_QGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) + +void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPreferredWidth(width)); } - QGraphicsProxyWidget::hoverLeaveEvent(event0); + +void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType) +{ + ( theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType)); } -void PythonQtShell_QGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) + +void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSizePolicy(policy)); } - QGraphicsProxyWidget::hoverMoveEvent(event0); + +QSizeF PythonQtWrapper_QGraphicsLayoutItem::sizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +{ + return ( ((PythonQtPublicPromoter_QGraphicsLayoutItem*)theWrappedObject)->promoted_sizeHint(which, constraint)); } -void PythonQtShell_QGraphicsProxyWidget::initStyleOption(QStyleOption* option0) const + +QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) 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] = {NULL, (void*)&option0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sizePolicy()); +} + +void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject) +{ + ( theWrappedObject->updateGeometry()); } - QGraphicsProxyWidget::initStyleOption(option0); + + + +PythonQtShell_QGraphicsLineItem::~PythonQtShell_QGraphicsLineItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QGraphicsLineItem::advance(int phase0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("advance"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&phase0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12478,32 +13915,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::inputMethodEvent(event0); + QGraphicsLineItem::advance(phase0); } -QVariant PythonQtShell_QGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +QRectF PythonQtShell_QGraphicsLineItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("boundingRect"); 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] = {NULL, (void*)&query0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12511,255 +13948,120 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::inputMethodQuery(query0); + return QGraphicsLineItem::boundingRect(); } -QVariant PythonQtShell_QGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +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("itemChange"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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); + return QGraphicsLineItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +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("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::paint(painter0, option1, widget2); + return QGraphicsLineItem::collidesWithPath(path0, mode1); } -void PythonQtShell_QGraphicsProxyWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsLineItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintWindowFrame"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::paintWindowFrame(painter0, option1, widget2); + return QGraphicsLineItem::contains(point0); } -void PythonQtShell_QGraphicsProxyWidget::polishEvent() +void PythonQtShell_QGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polishEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12767,54 +14069,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::polishEvent(); + QGraphicsLineItem::contextMenuEvent(event0); } -QVariant PythonQtShell_QGraphicsProxyWidget::propertyChange(const QString& propertyName0, const QVariant& value1) +void PythonQtShell_QGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("propertyChange"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&propertyName0, (void*)&value1}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::propertyChange(propertyName0, value1); + QGraphicsLineItem::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) +void PythonQtShell_QGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12822,54 +14113,43 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::resizeEvent(event0); + QGraphicsLineItem::dragLeaveEvent(event0); } -bool PythonQtShell_QGraphicsProxyWidget::sceneEvent(QEvent* event0) +void PythonQtShell_QGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::sceneEvent(event0); + QGraphicsLineItem::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::setGeometry(const QRectF& rect0) +void PythonQtShell_QGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12877,32 +14157,32 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::setGeometry(rect0); + QGraphicsLineItem::dropEvent(event0); } -QPainterPath PythonQtShell_QGraphicsProxyWidget::shape() const +QVariant PythonQtShell_QGraphicsLineItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("extension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QPainterPath*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12910,21 +14190,21 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::shape(); + return QGraphicsLineItem::extension(variant0); } -void PythonQtShell_QGraphicsProxyWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QGraphicsLineItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12932,87 +14212,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::showEvent(event0); + QGraphicsLineItem::focusInEvent(event0); } -QSizeF PythonQtShell_QGraphicsProxyWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +void PythonQtShell_QGraphicsLineItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::sizeHint(which0, constraint1); + QGraphicsLineItem::focusOutEvent(event0); } -int PythonQtShell_QGraphicsProxyWidget::type() const +void PythonQtShell_QGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("hoverEnterEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::type(); + QGraphicsLineItem::hoverEnterEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabKeyboardEvent(QEvent* event0) +void PythonQtShell_QGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + static PyObject* name = PyString_FromString("hoverLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13020,21 +14278,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabKeyboardEvent(event0); + QGraphicsLineItem::hoverLeaveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::ungrabMouseEvent(QEvent* event0) +void PythonQtShell_QGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabMouseEvent"); + static PyObject* name = PyString_FromString("hoverMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13042,21 +14300,21 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::ungrabMouseEvent(event0); + QGraphicsLineItem::hoverMoveEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::updateGeometry() +void PythonQtShell_QGraphicsLineItem::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometry"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13064,54 +14322,65 @@ if (_wrapper) { } } } - QGraphicsProxyWidget::updateGeometry(); + QGraphicsLineItem::inputMethodEvent(event0); } -void PythonQtShell_QGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent* 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("wheelEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsProxyWidget::wheelEvent(event0); + return QGraphicsLineItem::inputMethodQuery(query0); } -bool PythonQtShell_QGraphicsProxyWidget::windowFrameEvent(QEvent* e0) +bool PythonQtShell_QGraphicsLineItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameEvent"); + static PyObject* name = PyString_FromString("isObscuredBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13119,297 +14388,177 @@ if (_wrapper) { } } } - return QGraphicsProxyWidget::windowFrameEvent(e0); + return QGraphicsLineItem::isObscuredBy(item0); } -Qt::WindowFrameSection PythonQtShell_QGraphicsProxyWidget::windowFrameSectionAt(const QPointF& pos0) const +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("windowFrameSectionAt"); + static PyObject* name = PyString_FromString("itemChange"); 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] = {NULL, (void*)&pos0}; + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsProxyWidget::windowFrameSectionAt(pos0); -} -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::new_QGraphicsProxyWidget(PythonQtNewOwnerOfThis parent, Qt::WindowFlags wFlags) -{ -return new PythonQtShell_QGraphicsProxyWidget(parent, wFlags); } - -const QMetaObject* PythonQtShell_QGraphicsProxyWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsProxyWidget::staticMetaObject); - } else { - return &QGraphicsProxyWidget::staticMetaObject; - } -} -int PythonQtShell_QGraphicsProxyWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsProxyWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QGraphicsProxyWidget::contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsProxyWidget::createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child) -{ - return ( theWrappedObject->createProxyForChildWidget(child)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -bool PythonQtWrapper_QGraphicsProxyWidget::eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsProxyWidget::inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsProxyWidget::setWidget(QGraphicsProxyWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setWidget(widget)); + return QGraphicsLineItem::itemChange(change0, value1); } - -QRectF PythonQtWrapper_QGraphicsProxyWidget::subWidgetRect(QGraphicsProxyWidget* theWrappedObject, const QWidget* widget) const +void PythonQtShell_QGraphicsLineItem::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->subWidgetRect(widget)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsProxyWidget::wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->promoted_wheelEvent(event)); + QGraphicsLineItem::keyPressEvent(event0); } - -QWidget* PythonQtWrapper_QGraphicsProxyWidget::widget(QGraphicsProxyWidget* theWrappedObject) const +void PythonQtShell_QGraphicsLineItem::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->widget()); +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(); + } + } } - - - -PythonQtShell_QGraphicsRectItem::~PythonQtShell_QGraphicsRectItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QGraphicsLineItem::keyReleaseEvent(event0); } -QRectF PythonQtShell_QGraphicsRectItem::boundingRect() const +void PythonQtShell_QGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::boundingRect(); + QGraphicsLineItem::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::contains(const QPointF& point0) const +void PythonQtShell_QGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contains"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::contains(point0); + QGraphicsLineItem::mouseMoveEvent(event0); } -QVariant PythonQtShell_QGraphicsRectItem::extension(const QVariant& variant0) const +void PythonQtShell_QGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("extension"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&variant0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::extension(variant0); + QGraphicsLineItem::mousePressEvent(event0); } -bool PythonQtShell_QGraphicsRectItem::isObscuredBy(const QGraphicsItem* item0) const +void PythonQtShell_QGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isObscuredBy"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsRectItem::isObscuredBy(item0); + QGraphicsLineItem::mouseReleaseEvent(event0); } -QPainterPath PythonQtShell_QGraphicsRectItem::opaqueArea() const +QPainterPath PythonQtShell_QGraphicsLineItem::opaqueArea() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13420,19 +14569,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13440,9 +14589,9 @@ if (_wrapper) { } } } - return QGraphicsRectItem::opaqueArea(); + return QGraphicsLineItem::opaqueArea(); } -void PythonQtShell_QGraphicsRectItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +void PythonQtShell_QGraphicsLineItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13452,9 +14601,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13462,9 +14611,75 @@ if (_wrapper) { } } } - QGraphicsRectItem::paint(painter0, option1, widget2); + 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_QGraphicsRectItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +void PythonQtShell_QGraphicsLineItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13474,9 +14689,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&extension0, (void*)&variant1}; + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13484,9 +14699,9 @@ if (_wrapper) { } } } - QGraphicsRectItem::setExtension(extension0, variant1); + QGraphicsLineItem::setExtension(extension0, variant1); } -QPainterPath PythonQtShell_QGraphicsRectItem::shape() const +QPainterPath PythonQtShell_QGraphicsLineItem::shape() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13497,19 +14712,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainterPath"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13517,9 +14732,9 @@ if (_wrapper) { } } } - return QGraphicsRectItem::shape(); + return QGraphicsLineItem::shape(); } -bool PythonQtShell_QGraphicsRectItem::supportsExtension(QGraphicsItem::Extension extension0) const +bool PythonQtShell_QGraphicsLineItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13530,19 +14745,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&extension0}; + void* args[2] = {nullptr, (void*)&extension0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13550,9 +14765,9 @@ if (_wrapper) { } } } - return QGraphicsRectItem::supportsExtension(extension0); + return QGraphicsLineItem::supportsExtension(extension0); } -int PythonQtShell_QGraphicsRectItem::type() const +int PythonQtShell_QGraphicsLineItem::type() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13563,19 +14778,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13583,94 +14798,21 @@ if (_wrapper) { } } } - return QGraphicsRectItem::type(); -} -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(rect, parent); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsRectItem::new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsRectItem(x, y, w, h, parent); } - -QRectF PythonQtWrapper_QGraphicsRectItem::boundingRect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsRectItem::contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsRectItem::extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -QRectF PythonQtWrapper_QGraphicsRectItem::rect(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QGraphicsRectItem::setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setRect(rect)); -} - -void PythonQtWrapper_QGraphicsRectItem::setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setRect(x, y, w, h)); -} - -QPainterPath PythonQtWrapper_QGraphicsRectItem::shape(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsRectItem::supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -int PythonQtWrapper_QGraphicsRectItem::type(QGraphicsRectItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsRotation::~PythonQtShell_QGraphicsRotation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsLineItem::type(); } -void PythonQtShell_QGraphicsRotation::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13678,58 +14820,43 @@ if (_wrapper) { } } } - QGraphicsRotation::applyTo(matrix0); + QGraphicsLineItem::wheelEvent(event0); } -QGraphicsRotation* PythonQtWrapper_QGraphicsRotation::new_QGraphicsRotation(QObject* parent) +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(QGraphicsItem* parent) { -return new PythonQtShell_QGraphicsRotation(parent); } +return new PythonQtShell_QGraphicsLineItem(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()); -} +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(line, parent); } -QVector3D PythonQtWrapper_QGraphicsRotation::axis(QGraphicsRotation* theWrappedObject) const -{ - return ( theWrappedObject->axis()); -} +QGraphicsLineItem* PythonQtWrapper_QGraphicsLineItem::new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsLineItem(x1, y1, x2, y2, parent); } -QVector3D PythonQtWrapper_QGraphicsRotation::origin(QGraphicsRotation* theWrappedObject) const +QLineF PythonQtWrapper_QGraphicsLineItem::line(QGraphicsLineItem* theWrappedObject) const { - return ( theWrappedObject->origin()); + return ( theWrappedObject->line()); } -void PythonQtWrapper_QGraphicsRotation::setAngle(QGraphicsRotation* theWrappedObject, qreal arg__1) +QPen PythonQtWrapper_QGraphicsLineItem::pen(QGraphicsLineItem* theWrappedObject) const { - ( theWrappedObject->setAngle(arg__1)); + return ( theWrappedObject->pen()); } -void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, Qt::Axis axis) +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, const QLineF& line) { - ( theWrappedObject->setAxis(axis)); + ( theWrappedObject->setLine(line)); } -void PythonQtWrapper_QGraphicsRotation::setAxis(QGraphicsRotation* theWrappedObject, const QVector3D& axis) +void PythonQtWrapper_QGraphicsLineItem::setLine(QGraphicsLineItem* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) { - ( theWrappedObject->setAxis(axis)); + ( theWrappedObject->setLine(x1, y1, x2, y2)); } -void PythonQtWrapper_QGraphicsRotation::setOrigin(QGraphicsRotation* theWrappedObject, const QVector3D& point) +void PythonQtWrapper_QGraphicsLineItem::setPen(QGraphicsLineItem* theWrappedObject, const QPen& pen) { - ( theWrappedObject->setOrigin(point)); + ( theWrappedObject->setPen(pen)); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.h similarity index 57% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.h index 5c479301..15c40f12 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui2.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -1,19 +1,33 @@ #include #include #include +#include #include +#include +#include +#include #include #include #include #include +#include +#include +#include #include +#include #include +#include +#include +#include +#include #include #include +#include #include #include #include #include +#include #include #include #include @@ -21,89 +35,355 @@ #include #include #include -#include #include #include #include #include #include +#include +#include +#include #include #include +#include +#include +#include #include -#include +#include +#include +#include #include #include #include #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(NULL) {}; - PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = nullptr):QFontDialog(initial, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFontDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFontDialog(QWidget* parent = nullptr):QFontDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = nullptr):QFontDialog(initial, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QFontDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFontDialog : public QFontDialog @@ -128,7 +408,7 @@ Q_DECLARE_FLAGS(FontDialogOptions, FontDialogOption) public slots: QFontDialog* new_QFontDialog(QWidget* parent = nullptr); QFontDialog* new_QFontDialog(const QFont& initial, QWidget* parent = nullptr); -void delete_QFontDialog(QFontDialog* obj) { delete obj; } +void delete_QFontDialog(QFontDialog* obj) { delete obj; } void py_q_changeEvent(QFontDialog* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_changeEvent(event));} QFont currentFont(QFontDialog* theWrappedObject) const; void py_q_done(QFontDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QFontDialog*)theWrappedObject)->py_q_done(result));} @@ -155,7 +435,7 @@ class PythonQtWrapper_QFontInfo : public QObject public slots: QFontInfo* new_QFontInfo(const QFont& arg__1); QFontInfo* new_QFontInfo(const QFontInfo& arg__1); -void delete_QFontInfo(QFontInfo* obj) { delete obj; } +void delete_QFontInfo(QFontInfo* obj) { delete obj; } bool bold(QFontInfo* theWrappedObject) const; bool exactMatch(QFontInfo* theWrappedObject) const; QString family(QFontInfo* theWrappedObject) const; @@ -173,34 +453,146 @@ void delete_QFontInfo(QFontInfo* obj) { delete obj; } void swap(QFontInfo* theWrappedObject, QFontInfo& other); bool underline(QFontInfo* theWrappedObject) const; int weight(QFontInfo* theWrappedObject) const; + + QFontInfo* new_QFontInfo() { return new QFontInfo(QFont()); } + }; -class PythonQtShell_QFormLayout : public QFormLayout -{ +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: - PythonQtShell_QFormLayout(QWidget* parent = nullptr):QFormLayout(parent),_wrapper(NULL) {}; +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; +}; + - ~PythonQtShell_QFormLayout(); -virtual void addItem(QLayoutItem* item); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int index) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int index); - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + +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 @@ -223,58 +615,92 @@ class PythonQtWrapper_QFormLayout : public QObject public: public slots: QFormLayout* new_QFormLayout(QWidget* parent = nullptr); -void delete_QFormLayout(QFormLayout* obj) { delete obj; } - void addItem(QFormLayout* theWrappedObject, QLayoutItem* item); +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 count(QFormLayout* theWrappedObject) const; int py_q_count(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_count());} - Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const; 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 hasHeightForWidth(QFormLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QFormLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QFormLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_heightForWidth(width));} int horizontalSpacing(QFormLayout* theWrappedObject) const; + void insertRow(QFormLayout* theWrappedObject, int row, PythonQtPassOwnershipToCPP layout); + 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 invalidate(QFormLayout* theWrappedObject); void py_q_invalidate(QFormLayout* theWrappedObject){ (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const; 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 minimumSize(QFormLayout* theWrappedObject) 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 setGeometry(QFormLayout* theWrappedObject, const QRect& rect); 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 sizeHint(QFormLayout* theWrappedObject) const; QSize py_q_sizeHint(QFormLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QFormLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QFormLayout* theWrappedObject) const; - QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index); 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; } }; @@ -284,55 +710,59 @@ void delete_QFormLayout(QFormLayout* obj) { delete obj; } class PythonQtShell_QFrame : public QFrame { public: - PythonQtShell_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QFrame(parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QFrame(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QFrame(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QFrame() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QFrame : public QFrame @@ -356,7 +786,7 @@ enum StyleMask{ Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask}; public slots: QFrame* new_QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QFrame(QFrame* obj) { delete obj; } +void delete_QFrame(QFrame* obj) { delete obj; } void py_q_changeEvent(QFrame* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_changeEvent(arg__1));} void drawFrame(QFrame* theWrappedObject, QPainter* arg__1); bool py_q_event(QFrame* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QFrame*)theWrappedObject)->py_q_event(e));} @@ -383,6 +813,24 @@ void delete_QFrame(QFrame* obj) { delete obj; } +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: @@ -391,7 +839,7 @@ enum GestureCancelPolicy{ CancelNone = QGesture::CancelNone, CancelAllInContext = QGesture::CancelAllInContext}; public slots: QGesture* new_QGesture(QObject* parent = nullptr); -void delete_QGesture(QGesture* obj) { delete obj; } +void delete_QGesture(QGesture* obj) { delete obj; } QGesture::GestureCancelPolicy gestureCancelPolicy(QGesture* theWrappedObject) const; Qt::GestureType gestureType(QGesture* theWrappedObject) const; bool hasHotSpot(QGesture* theWrappedObject) const; @@ -412,7 +860,7 @@ class PythonQtWrapper_QGestureEvent : public QObject public: public slots: QGestureEvent* new_QGestureEvent(const QList& gestures); -void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } +void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } void accept(QGestureEvent* theWrappedObject, QGesture* arg__1); void accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1); QList activeGestures(QGestureEvent* theWrappedObject) const; @@ -438,15 +886,15 @@ void delete_QGestureEvent(QGestureEvent* obj) { delete obj; } class PythonQtShell_QGestureRecognizer : public QGestureRecognizer { public: - PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(NULL) {}; + PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(nullptr) {}; - ~PythonQtShell_QGestureRecognizer(); + ~PythonQtShell_QGestureRecognizer() override; -virtual QGesture* create(QObject* target); -virtual QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event); -virtual void reset(QGesture* state); +QGesture* create(QObject* target) override; +QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event) override; +void reset(QGesture* state) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer @@ -466,7 +914,7 @@ enum ResultFlag{ Q_DECLARE_FLAGS(Result, ResultFlag) public slots: QGestureRecognizer* new_QGestureRecognizer(); -void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } +void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } QGesture* create(QGestureRecognizer* theWrappedObject, QObject* target); QGesture* py_q_create(QGestureRecognizer* theWrappedObject, QObject* target){ return (((PythonQtPublicPromoter_QGestureRecognizer*)theWrappedObject)->py_q_create(target));} QGestureRecognizer::Result recognize(QGestureRecognizer* theWrappedObject, QGesture* state, QObject* watched, QEvent* event); @@ -481,23 +929,71 @@ void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; } +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 Spread Type ) +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; } +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; @@ -518,7 +1014,7 @@ class PythonQtWrapper_QGraphicsAnchor : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } +void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } void setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy); void setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing); QSizePolicy::Policy sizePolicy(QGraphicsAnchor* theWrappedObject) const; @@ -533,21 +1029,21 @@ void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; } class PythonQtShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout { public: - PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsAnchorLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsAnchorLayout(); + ~PythonQtShell_QGraphicsAnchorLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout @@ -566,7 +1062,7 @@ class PythonQtWrapper_QGraphicsAnchorLayout : public QObject public: public slots: QGraphicsAnchorLayout* new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } +void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } QGraphicsAnchor* addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge); void addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations = Qt::Horizontal | Qt::Vertical); void addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner); @@ -576,12 +1072,10 @@ void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } void py_q_invalidate(QGraphicsAnchorLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_invalidate());} QGraphicsLayoutItem* py_q_itemAt(QGraphicsAnchorLayout* theWrappedObject, int index) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_itemAt(index));} void py_q_removeAt(QGraphicsAnchorLayout* theWrappedObject, int index){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_removeAt(index));} - void setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); void setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing); - QSizeF sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsAnchorLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsAnchorLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const; }; @@ -593,17 +1087,22 @@ void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; } class PythonQtShell_QGraphicsBlurEffect : public QGraphicsBlurEffect { public: - PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsBlurEffect(QObject* parent = nullptr):QGraphicsBlurEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsBlurEffect(); + ~PythonQtShell_QGraphicsBlurEffect() override; -virtual QRectF boundingRectFor(const QRectF& rect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& rect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsBlurEffect : public QGraphicsBlurEffect @@ -623,7 +1122,7 @@ enum BlurHint{ Q_DECLARE_FLAGS(BlurHints, BlurHint) public slots: QGraphicsBlurEffect* new_QGraphicsBlurEffect(QObject* parent = nullptr); -void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } +void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } QGraphicsBlurEffect::BlurHints blurHints(QGraphicsBlurEffect* theWrappedObject) const; qreal blurRadius(QGraphicsBlurEffect* theWrappedObject) const; QRectF py_q_boundingRectFor(QGraphicsBlurEffect* theWrappedObject, const QRectF& rect) const{ return (((PythonQtPublicPromoter_QGraphicsBlurEffect*)theWrappedObject)->py_q_boundingRectFor(rect));} @@ -637,17 +1136,22 @@ void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; } class PythonQtShell_QGraphicsColorizeEffect : public QGraphicsColorizeEffect { public: - PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsColorizeEffect(QObject* parent = nullptr):QGraphicsColorizeEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsColorizeEffect(); + ~PythonQtShell_QGraphicsColorizeEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsColorizeEffect : public QGraphicsColorizeEffect @@ -661,7 +1165,7 @@ class PythonQtWrapper_QGraphicsColorizeEffect : public QObject public: public slots: QGraphicsColorizeEffect* new_QGraphicsColorizeEffect(QObject* parent = nullptr); -void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } +void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; } QColor color(QGraphicsColorizeEffect* theWrappedObject) const; void py_q_draw(QGraphicsColorizeEffect* theWrappedObject, QPainter* painter){ (((PythonQtPublicPromoter_QGraphicsColorizeEffect*)theWrappedObject)->py_q_draw(painter));} qreal strength(QGraphicsColorizeEffect* theWrappedObject) const; @@ -674,17 +1178,22 @@ void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; class PythonQtShell_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect { public: - PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = nullptr):QGraphicsDropShadowEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsDropShadowEffect(); + ~PythonQtShell_QGraphicsDropShadowEffect() override; -virtual QRectF boundingRectFor(const QRectF& rect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& rect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect @@ -699,7 +1208,7 @@ class PythonQtWrapper_QGraphicsDropShadowEffect : public QObject public: public slots: QGraphicsDropShadowEffect* new_QGraphicsDropShadowEffect(QObject* parent = nullptr); -void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } +void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; } qreal blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const; QRectF py_q_boundingRectFor(QGraphicsDropShadowEffect* theWrappedObject, const QRectF& rect) const{ return (((PythonQtPublicPromoter_QGraphicsDropShadowEffect*)theWrappedObject)->py_q_boundingRectFor(rect));} QColor color(QGraphicsDropShadowEffect* theWrappedObject) const; @@ -716,17 +1225,22 @@ void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete o class PythonQtShell_QGraphicsEffect : public QGraphicsEffect { public: - PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsEffect(QObject* parent = nullptr):QGraphicsEffect(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsEffect(); + ~PythonQtShell_QGraphicsEffect() override; -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); +QRectF boundingRectFor(const QRectF& sourceRect) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void draw(QPainter* painter) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void sourceChanged(QGraphicsEffect::ChangeFlags flags) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect @@ -755,7 +1269,7 @@ enum PixmapPadMode{ Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) public slots: QGraphicsEffect* new_QGraphicsEffect(QObject* parent = nullptr); -void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } +void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } QRectF boundingRect(QGraphicsEffect* theWrappedObject) const; QRectF boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const; QRectF py_q_boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const{ return (((PythonQtPublicPromoter_QGraphicsEffect*)theWrappedObject)->py_q_boundingRectFor(sourceRect));} @@ -778,24 +1292,49 @@ void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; } class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem { public: - PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsEllipseItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(rect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsEllipseItem(x, y, w, h, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsEllipseItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem @@ -825,31 +1364,23 @@ public slots: QGraphicsEllipseItem* new_QGraphicsEllipseItem(QGraphicsItem* parent = nullptr); QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = nullptr); QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr); -void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const; +void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsEllipseItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_extension(variant));} bool py_q_isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QRectF rect(QGraphicsEllipseItem* theWrappedObject) const; - void setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsEllipseItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect); void setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); void setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle); void setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle); - QPainterPath shape(QGraphicsEllipseItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_shape());} int spanAngle(QGraphicsEllipseItem* theWrappedObject) const; int startAngle(QGraphicsEllipseItem* theWrappedObject) const; - bool supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsEllipseItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsEllipseItem* theWrappedObject) const; int py_q_type(QGraphicsEllipseItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsEllipseItem*)theWrappedObject)->py_q_type());} }; @@ -860,21 +1391,21 @@ void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; } class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout { public: - PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsGridLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsGridLayout(); + ~PythonQtShell_QGraphicsGridLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int index) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout @@ -892,7 +1423,7 @@ class PythonQtWrapper_QGraphicsGridLayout : public QObject public: public slots: QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } +void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, Qt::Alignment alignment = Qt::Alignment()); void addItem(QGraphicsGridLayout* theWrappedObject, PythonQtPassOwnershipToCPP item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment()); Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const; @@ -925,7 +1456,6 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width); void setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing); void setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch); - void setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect); void py_q_setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment); @@ -937,7 +1467,6 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing); - QSizeF sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QSizeF py_q_sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsGridLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const; }; @@ -949,47 +1478,47 @@ void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; } class PythonQtShell_QGraphicsItem : public QGraphicsItem { public: - PythonQtShell_QGraphicsItem(QGraphicsItem* parent = nullptr):QGraphicsItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsItem(QGraphicsItem* parent = nullptr):QGraphicsItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem @@ -1082,7 +1611,7 @@ enum enum_1{ Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag) public slots: QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = nullptr); -void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } +void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } bool acceptDrops(QGraphicsItem* theWrappedObject) const; bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const; bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const; @@ -1242,6 +1771,7 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } 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); @@ -1303,6 +1833,7 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } 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; @@ -1333,16 +1864,21 @@ void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; } class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation { public: - PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsItemAnimation(QObject* parent = nullptr):QGraphicsItemAnimation(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsItemAnimation(); + ~PythonQtShell_QGraphicsItemAnimation() override; -virtual void afterAnimationStep(qreal step); -virtual void beforeAnimationStep(qreal step); +void afterAnimationStep(qreal step) override; +void beforeAnimationStep(qreal step) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation @@ -1358,7 +1894,7 @@ class PythonQtWrapper_QGraphicsItemAnimation : public QObject public: public slots: QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = nullptr); -void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } +void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); void py_q_afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step){ (((PythonQtPublicPromoter_QGraphicsItemAnimation*)theWrappedObject)->py_q_afterAnimationStep(step));} void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); @@ -1397,47 +1933,47 @@ void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } class PythonQtShell_QGraphicsItemGroup : public QGraphicsItemGroup { public: - PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = nullptr):QGraphicsItemGroup(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsItemGroup(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsItemGroup(QGraphicsItem* parent = nullptr):QGraphicsItemGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsItemGroup() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemGroup : public QGraphicsItemGroup @@ -1457,7 +1993,7 @@ enum enum_1{ Type = QGraphicsItemGroup::Type}; public slots: QGraphicsItemGroup* new_QGraphicsItemGroup(QGraphicsItem* parent = nullptr); -void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } +void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } void addToGroup(QGraphicsItemGroup* theWrappedObject, QGraphicsItem* item); QRectF py_q_boundingRect(QGraphicsItemGroup* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_boundingRect());} bool py_q_isObscuredBy(QGraphicsItemGroup* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsItemGroup*)theWrappedObject)->py_q_isObscuredBy(item));} @@ -1474,21 +2010,21 @@ void delete_QGraphicsItemGroup(QGraphicsItemGroup* obj) { delete obj; } class PythonQtShell_QGraphicsLayout : public QGraphicsLayout { public: - PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLayout(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLayout(); + ~PythonQtShell_QGraphicsLayout() override; -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int i) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); +int count() const override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void invalidate() override; +QGraphicsLayoutItem* itemAt(int i) const override; +void removeAt(int index) override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; +void widgetEvent(QEvent* e) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayout : public QGraphicsLayout @@ -1508,7 +2044,7 @@ class PythonQtWrapper_QGraphicsLayout : public QObject public: public slots: QGraphicsLayout* new_QGraphicsLayout(QGraphicsLayoutItem* parent = nullptr); -void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } +void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } void activate(QGraphicsLayout* theWrappedObject); void addChildLayoutItem(QGraphicsLayout* theWrappedObject, QGraphicsLayoutItem* layoutItem); int count(QGraphicsLayout* theWrappedObject) const; @@ -1536,16 +2072,16 @@ void delete_QGraphicsLayout(QGraphicsLayout* obj) { delete obj; } class PythonQtShell_QGraphicsLayoutItem : public QGraphicsLayoutItem { public: - PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(NULL) {}; + PythonQtShell_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false):QGraphicsLayoutItem(parent, isLayout),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsLayoutItem(); + ~PythonQtShell_QGraphicsLayoutItem() override; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void setGeometry(const QRectF& rect) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +void updateGeometry() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLayoutItem : public QGraphicsLayoutItem @@ -1564,7 +2100,7 @@ class PythonQtWrapper_QGraphicsLayoutItem : public QObject public: public slots: QGraphicsLayoutItem* new_QGraphicsLayoutItem(QGraphicsLayoutItem* parent = nullptr, bool isLayout = false); -void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } +void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } QRectF contentsRect(QGraphicsLayoutItem* theWrappedObject) const; QSizeF effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; QRectF geometry(QGraphicsLayoutItem* theWrappedObject) const; @@ -1616,49 +2152,49 @@ void delete_QGraphicsLayoutItem(QGraphicsLayoutItem* obj) { delete obj; } class PythonQtShell_QGraphicsLineItem : public QGraphicsLineItem { public: - PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = nullptr):QGraphicsLineItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr):QGraphicsLineItem(line, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsLineItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsLineItem(QGraphicsItem* parent = nullptr):QGraphicsLineItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr):QGraphicsLineItem(line, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr):QGraphicsLineItem(x1, y1, x2, y2, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsLineItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsLineItem : public QGraphicsLineItem @@ -1688,7 +2224,7 @@ public slots: QGraphicsLineItem* new_QGraphicsLineItem(QGraphicsItem* parent = nullptr); QGraphicsLineItem* new_QGraphicsLineItem(const QLineF& line, QGraphicsItem* parent = nullptr); QGraphicsLineItem* new_QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem* parent = nullptr); -void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } +void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsLineItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_boundingRect());} bool py_q_contains(QGraphicsLineItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_contains(point));} QVariant py_q_extension(QGraphicsLineItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsLineItem*)theWrappedObject)->py_q_extension(variant));} @@ -1707,672 +2243,3 @@ void delete_QGraphicsLineItem(QGraphicsLineItem* obj) { delete obj; } }; - - - -class PythonQtShell_QGraphicsLinearLayout : public QGraphicsLinearLayout -{ -public: - PythonQtShell_QGraphicsLinearLayout(QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem* parent = nullptr):QGraphicsLinearLayout(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsLinearLayout(); - -virtual int count() const; -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void invalidate(); -virtual QGraphicsLayoutItem* itemAt(int index) const; -virtual void removeAt(int index); -virtual void setGeometry(const QRectF& rect); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual void updateGeometry(); -virtual void widgetEvent(QEvent* e); - - 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 setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect); - void py_q_setGeometry(QGraphicsLinearLayout* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_setGeometry(rect));} - void setItemSpacing(QGraphicsLinearLayout* theWrappedObject, int index, qreal spacing); - void setOrientation(QGraphicsLinearLayout* theWrappedObject, Qt::Orientation orientation); - void setSpacing(QGraphicsLinearLayout* theWrappedObject, qreal spacing); - void setStretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item, int stretch); - QSizeF sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; - QSizeF py_q_sizeHint(QGraphicsLinearLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const{ return (((PythonQtPublicPromoter_QGraphicsLinearLayout*)theWrappedObject)->py_q_sizeHint(which, constraint));} - qreal spacing(QGraphicsLinearLayout* theWrappedObject) const; - int stretchFactor(QGraphicsLinearLayout* theWrappedObject, QGraphicsLayoutItem* item) const; -}; - - - - - -class PythonQtShell_QGraphicsOpacityEffect : public QGraphicsOpacityEffect -{ -public: - PythonQtShell_QGraphicsOpacityEffect(QObject* parent = nullptr):QGraphicsOpacityEffect(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsOpacityEffect(); - -virtual QRectF boundingRectFor(const QRectF& sourceRect) const; -virtual void draw(QPainter* painter); -virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPathItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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 boundingRect(QGraphicsPathItem* theWrappedObject) const; - QRectF py_q_boundingRect(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const; - bool py_q_contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const; - QVariant py_q_extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_extension(variant));} - bool py_q_isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPainterPath py_q_opaqueArea(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); - void py_q_paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QPainterPath path(QGraphicsPathItem* theWrappedObject) const; - void setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant); - void py_q_setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); - QPainterPath shape(QGraphicsPathItem* theWrappedObject) const; - QPainterPath py_q_shape(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const; - bool py_q_supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsPathItem* theWrappedObject) const; - int py_q_type(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_type());} -}; - - - - - -class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem -{ -public: - PythonQtShell_QGraphicsPixmapItem(QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsPixmapItem(const QPixmap& pixmap, QGraphicsItem* parent = nullptr):QGraphicsPixmapItem(pixmap, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPixmapItem(); - -virtual void advance(int phase); -virtual QRectF boundingRect() const; -virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - PythonQtShell_QGraphicsPolygonItem(const QPolygonF& polygon, QGraphicsItem* parent = nullptr):QGraphicsPolygonItem(polygon, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsPolygonItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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 boundingRect(QGraphicsPolygonItem* theWrappedObject) const; - QRectF py_q_boundingRect(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const; - bool py_q_contains(QGraphicsPolygonItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const; - QVariant py_q_extension(QGraphicsPolygonItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_extension(variant));} - Qt::FillRule fillRule(QGraphicsPolygonItem* theWrappedObject) const; - bool py_q_isObscuredBy(QGraphicsPolygonItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPainterPath py_q_opaqueArea(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); - void py_q_paint(QGraphicsPolygonItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QPolygonF polygon(QGraphicsPolygonItem* theWrappedObject) const; - void setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant); - void py_q_setExtension(QGraphicsPolygonItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setFillRule(QGraphicsPolygonItem* theWrappedObject, Qt::FillRule rule); - void setPolygon(QGraphicsPolygonItem* theWrappedObject, const QPolygonF& polygon); - QPainterPath shape(QGraphicsPolygonItem* theWrappedObject) const; - QPainterPath py_q_shape(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const; - bool py_q_supportsExtension(QGraphicsPolygonItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsPolygonItem* theWrappedObject) const; - int py_q_type(QGraphicsPolygonItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPolygonItem*)theWrappedObject)->py_q_type());} -}; - - - - - -class PythonQtShell_QGraphicsProxyWidget : public QGraphicsProxyWidget -{ -public: - PythonQtShell_QGraphicsProxyWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsProxyWidget(parent, wFlags),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsProxyWidget(); - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void grabKeyboardEvent(QEvent* event); -virtual void grabMouseEvent(QEvent* event); -virtual void hideEvent(QHideEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void initStyleOption(QStyleOption* option) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual void moveEvent(QGraphicsSceneMoveEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void polishEvent(); -virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); -virtual void resizeEvent(QGraphicsSceneResizeEvent* event); -virtual bool sceneEvent(QEvent* event); -virtual void setGeometry(const QRectF& rect); -virtual QPainterPath shape() const; -virtual void showEvent(QShowEvent* event); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual int type() const; -virtual void ungrabKeyboardEvent(QEvent* event); -virtual void ungrabMouseEvent(QEvent* event); -virtual void updateGeometry(); -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); -virtual bool windowFrameEvent(QEvent* e); -virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event); - void py_q_contextMenuEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_contextMenuEvent(event));} - QGraphicsProxyWidget* createProxyForChildWidget(QGraphicsProxyWidget* theWrappedObject, QWidget* child); - void dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dragEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dragLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dragMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event); - void py_q_dropEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_dropEvent(event));} - bool py_q_event(QGraphicsProxyWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QGraphicsProxyWidget* theWrappedObject, QObject* object, QEvent* 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 hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); - void py_q_hoverEnterEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverEnterEvent(event));} - void py_q_hoverLeaveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void py_q_hoverMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event); - void py_q_inputMethodEvent(QGraphicsProxyWidget* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const; - QVariant py_q_inputMethodQuery(QGraphicsProxyWidget* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_inputMethodQuery(query));} - QVariant py_q_itemChange(QGraphicsProxyWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_itemChange(change, value));} - void keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); - void py_q_keyPressEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event); - void py_q_keyReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mouseDoubleClickEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mouseMoveEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mousePressEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event); - void py_q_mouseReleaseEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - void py_q_paint(QGraphicsProxyWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} - void py_q_resizeEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_resizeEvent(event));} - 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 wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event); - void py_q_wheelEvent(QGraphicsProxyWidget* theWrappedObject, QGraphicsSceneWheelEvent* event){ (((PythonQtPublicPromoter_QGraphicsProxyWidget*)theWrappedObject)->py_q_wheelEvent(event));} - QWidget* widget(QGraphicsProxyWidget* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGraphicsRectItem : public QGraphicsRectItem -{ -public: - PythonQtShell_QGraphicsRectItem(QGraphicsItem* parent = nullptr):QGraphicsRectItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = nullptr):QGraphicsRectItem(rect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = nullptr):QGraphicsRectItem(x, y, w, h, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRectItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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 boundingRect(QGraphicsRectItem* theWrappedObject) const; - QRectF py_q_boundingRect(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const; - bool py_q_contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const; - QVariant py_q_extension(QGraphicsRectItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_extension(variant));} - bool py_q_isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPainterPath py_q_opaqueArea(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); - void py_q_paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QRectF rect(QGraphicsRectItem* theWrappedObject) const; - void setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant); - void py_q_setExtension(QGraphicsRectItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect); - void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - QPainterPath shape(QGraphicsRectItem* theWrappedObject) const; - QPainterPath py_q_shape(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const; - bool py_q_supportsExtension(QGraphicsRectItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int type(QGraphicsRectItem* theWrappedObject) const; - int py_q_type(QGraphicsRectItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsRectItem*)theWrappedObject)->py_q_type());} -}; - - - - - -class PythonQtShell_QGraphicsRotation : public QGraphicsRotation -{ -public: - PythonQtShell_QGraphicsRotation(QObject* parent = nullptr):QGraphicsRotation(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsRotation(); - -virtual void applyTo(QMatrix4x4* matrix) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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); -}; - - diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp new file mode 100644 index 00000000..f3b85af2 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -0,0 +1,21106 @@ +#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 +#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_isFallbackSessionManagementEnabled() +{ + return (QGuiApplication::isFallbackSessionManagementEnabled()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() +{ + return (QGuiApplication::isLeftToRight()); +} + +bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() +{ + return (QGuiApplication::isRightToLeft()); +} + +bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSavingSession()); +} + +bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->isSessionRestored()); +} + +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()); +} + +QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionId()); +} + +QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const +{ + return ( theWrappedObject->sessionKey()); +} + +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_setFallbackSessionManagementEnabled(bool arg__1) +{ + (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); +} + +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.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.h similarity index 58% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.h index 31ff79db..bb13c40a 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -1,11 +1,6 @@ #include -#include -#include #include #include -#include -#include -#include #include #include #include @@ -15,14 +10,22 @@ #include #include #include +#include +#include +#include +#include #include #include -#include +#include #include +#include #include +#include #include #include #include +#include +#include #include #include #include @@ -33,49 +36,871 @@ #include #include #include -#include -#include -#include -#include -#include +#include #include -#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include +#include #include #include #include #include +#include +#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(NULL) {}; + PythonQtShell_QGraphicsScale(QObject* parent = nullptr):QGraphicsScale(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsScale(); + ~PythonQtShell_QGraphicsScale() override; -virtual void applyTo(QMatrix4x4* matrix) const; +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScale : public QGraphicsScale @@ -88,7 +913,7 @@ class PythonQtWrapper_QGraphicsScale : public QObject public: public slots: QGraphicsScale* new_QGraphicsScale(QObject* parent = nullptr); -void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } +void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } void py_q_applyTo(QGraphicsScale* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsScale*)theWrappedObject)->py_q_applyTo(matrix));} QVector3D origin(QGraphicsScale* theWrappedObject) const; void setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point); @@ -107,38 +932,41 @@ void delete_QGraphicsScale(QGraphicsScale* obj) { delete obj; } class PythonQtShell_QGraphicsScene : public QGraphicsScene { public: - PythonQtShell_QGraphicsScene(QObject* parent = nullptr):QGraphicsScene(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr):QGraphicsScene(sceneRect, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr):QGraphicsScene(x, y, width, height, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsScene(); - -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void drawBackground(QPainter* painter, const QRectF& rect); -virtual void drawForeground(QPainter* painter, const QRectF& rect); -virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* watched, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void helpEvent(QGraphicsSceneHelpEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual void wheelEvent(QGraphicsSceneWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsScene(QObject* parent = nullptr):QGraphicsScene(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr):QGraphicsScene(sceneRect, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr):QGraphicsScene(x, y, width, height, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsScene() override; + +void childEvent(QChildEvent* event) override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void drawBackground(QPainter* painter, const QRectF& rect) override; +void drawForeground(QPainter* painter, const QRectF& rect) override; +void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void helpEvent(QGraphicsSceneHelpEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsScene : public QGraphicsScene @@ -201,7 +1029,7 @@ public slots: QGraphicsScene* new_QGraphicsScene(QObject* parent = nullptr); QGraphicsScene* new_QGraphicsScene(const QRectF& sceneRect, QObject* parent = nullptr); QGraphicsScene* new_QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject* parent = nullptr); -void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } +void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } QGraphicsItem* activePanel(QGraphicsScene* theWrappedObject) const; QGraphicsWidget* activeWindow(QGraphicsScene* theWrappedObject) const; QGraphicsEllipseItem* addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen = QPen(), const QBrush& brush = QBrush()); @@ -239,9 +1067,7 @@ void delete_QGraphicsScene(QGraphicsScene* obj) { delete obj; } 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 event(QGraphicsScene* theWrappedObject, QEvent* event); bool py_q_event(QGraphicsScene* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->py_q_event(event));} - bool eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* 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));} @@ -333,7 +1159,8 @@ Q_ENUMS(Reason ) enum Reason{ Mouse = QGraphicsSceneContextMenuEvent::Mouse, Keyboard = QGraphicsSceneContextMenuEvent::Keyboard, Other = QGraphicsSceneContextMenuEvent::Other}; public slots: -void delete_QGraphicsSceneContextMenuEvent(QGraphicsSceneContextMenuEvent* obj) { delete obj; } +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; @@ -354,7 +1181,8 @@ class PythonQtWrapper_QGraphicsSceneDragDropEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneDragDropEvent(QGraphicsSceneDragDropEvent* obj) { delete obj; } +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; @@ -384,7 +1212,8 @@ class PythonQtWrapper_QGraphicsSceneEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } +QGraphicsSceneEvent* new_QGraphicsSceneEvent(QEvent::Type type); +void delete_QGraphicsSceneEvent(QGraphicsSceneEvent* obj) { delete obj; } QWidget* widget(QGraphicsSceneEvent* theWrappedObject) const; QString py_toString(QGraphicsSceneEvent*); }; @@ -397,7 +1226,8 @@ class PythonQtWrapper_QGraphicsSceneHelpEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneHelpEvent(QGraphicsSceneHelpEvent* obj) { delete obj; } +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); @@ -412,7 +1242,8 @@ class PythonQtWrapper_QGraphicsSceneHoverEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneHoverEvent(QGraphicsSceneHoverEvent* obj) { delete obj; } +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; @@ -437,7 +1268,8 @@ class PythonQtWrapper_QGraphicsSceneMouseEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneMouseEvent(QGraphicsSceneMouseEvent* obj) { delete obj; } +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; @@ -476,7 +1308,8 @@ class PythonQtWrapper_QGraphicsSceneMoveEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneMoveEvent(QGraphicsSceneMoveEvent* obj) { delete obj; } +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); @@ -491,7 +1324,8 @@ class PythonQtWrapper_QGraphicsSceneResizeEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneResizeEvent(QGraphicsSceneResizeEvent* obj) { delete obj; } +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); @@ -506,7 +1340,8 @@ class PythonQtWrapper_QGraphicsSceneWheelEvent : public QObject { Q_OBJECT public: public slots: -void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj; } +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; @@ -530,23 +1365,48 @@ void delete_QGraphicsSceneWheelEvent(QGraphicsSceneWheelEvent* obj) { delete obj class PythonQtShell_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem { public: - PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSimpleTextItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual QVariant extension(const QVariant& variant) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsSimpleTextItem(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsSimpleTextItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSimpleTextItem : public QGraphicsSimpleTextItem @@ -575,28 +1435,20 @@ enum enum_1{ public slots: QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(QGraphicsItem* parent = nullptr); QGraphicsSimpleTextItem* new_QGraphicsSimpleTextItem(const QString& text, QGraphicsItem* parent = nullptr); -void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const; +void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_contains(point));} - QVariant extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_extension(variant));} QFont font(QGraphicsSimpleTextItem* theWrappedObject) const; bool py_q_isObscuredBy(QGraphicsSimpleTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} QPainterPath py_q_opaqueArea(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_opaqueArea());} - void paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - void setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font); void setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text); - QPainterPath shape(QGraphicsSimpleTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} QString text(QGraphicsSimpleTextItem* theWrappedObject) const; - int type(QGraphicsSimpleTextItem* theWrappedObject) const; int py_q_type(QGraphicsSimpleTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->py_q_type());} }; @@ -607,44 +1459,55 @@ void delete_QGraphicsSimpleTextItem(QGraphicsSimpleTextItem* obj) { delete obj; class PythonQtShell_QGraphicsTextItem : public QGraphicsTextItem { public: - PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsTextItem(); - -virtual QRectF boundingRect() const; -virtual bool contains(const QPointF& point) const; -virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event); -virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event); -virtual void dropEvent(QGraphicsSceneDragDropEvent* event); -virtual QVariant extension(const QVariant& variant) const; -virtual void focusInEvent(QFocusEvent* event); -virtual void focusOutEvent(QFocusEvent* event); -virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isObscuredBy(const QGraphicsItem* item) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event); -virtual void mousePressEvent(QGraphicsSceneMouseEvent* event); -virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); -virtual QPainterPath opaqueArea() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); -virtual bool sceneEvent(QEvent* event); -virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant); -virtual QPainterPath shape() const; -virtual bool supportsExtension(QGraphicsItem::Extension extension) const; -virtual int type() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsTextItem(QGraphicsItem* parent = nullptr):QGraphicsTextItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr):QGraphicsTextItem(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsTextItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTextItem : public QGraphicsTextItem @@ -711,65 +1574,39 @@ enum enum_1{ public slots: QGraphicsTextItem* new_QGraphicsTextItem(QGraphicsItem* parent = nullptr); QGraphicsTextItem* new_QGraphicsTextItem(const QString& text, QGraphicsItem* parent = nullptr); -void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } +void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void adjustSize(QGraphicsTextItem* theWrappedObject); - QRectF boundingRect(QGraphicsTextItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_boundingRect());} - bool contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const; bool py_q_contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contains(point));} - void contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event); void py_q_contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_contextMenuEvent(event));} QColor defaultTextColor(QGraphicsTextItem* theWrappedObject) const; QTextDocument* document(QGraphicsTextItem* theWrappedObject) const; - void dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragEnterEvent(event));} - void dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragLeaveEvent(event));} - void dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dragMoveEvent(event));} - void dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event); void py_q_dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_dropEvent(event));} - QVariant extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const; QVariant py_q_extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_extension(variant));} - void focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusInEvent(event));} - void focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_focusOutEvent(event));} QFont font(QGraphicsTextItem* theWrappedObject) const; - void hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverEnterEvent(event));} - void hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_hoverMoveEvent(event));} - void inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event); void py_q_inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodEvent(event));} - QVariant inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const; QVariant py_q_inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_inputMethodQuery(query));} - bool isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const; bool py_q_isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_isObscuredBy(item));} - void keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyPressEvent(event));} - void keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event); void py_q_keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_keyReleaseEvent(event));} - void mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mousePressEvent(event));} - void mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event); void py_q_mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - QPainterPath opaqueArea(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_opaqueArea(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_opaqueArea());} bool openExternalLinks(QGraphicsTextItem* theWrappedObject) const; - void paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); void py_q_paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - bool sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_sceneEvent(event));} void setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c); void setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document); - void setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant); void py_q_setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_setExtension(extension, variant));} void setFont(QGraphicsTextItem* theWrappedObject, const QFont& font); void setHtml(QGraphicsTextItem* theWrappedObject, const QString& html); @@ -779,9 +1616,7 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } void setTextCursor(QGraphicsTextItem* theWrappedObject, const QTextCursor& cursor); void setTextInteractionFlags(QGraphicsTextItem* theWrappedObject, Qt::TextInteractionFlags flags); void setTextWidth(QGraphicsTextItem* theWrappedObject, qreal width); - QPainterPath shape(QGraphicsTextItem* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_shape());} - bool supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const; bool py_q_supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_supportsExtension(extension));} bool tabChangesFocus(QGraphicsTextItem* theWrappedObject) const; QTextCursor textCursor(QGraphicsTextItem* theWrappedObject) const; @@ -789,7 +1624,6 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } qreal textWidth(QGraphicsTextItem* theWrappedObject) const; QString toHtml(QGraphicsTextItem* theWrappedObject) const; QString toPlainText(QGraphicsTextItem* theWrappedObject) const; - int type(QGraphicsTextItem* theWrappedObject) const; int py_q_type(QGraphicsTextItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->py_q_type());} }; @@ -800,15 +1634,20 @@ void delete_QGraphicsTextItem(QGraphicsTextItem* obj) { delete obj; } class PythonQtShell_QGraphicsTransform : public QGraphicsTransform { public: - PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(NULL) {}; + PythonQtShell_QGraphicsTransform(QObject* parent = nullptr):QGraphicsTransform(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGraphicsTransform(); + ~PythonQtShell_QGraphicsTransform() override; -virtual void applyTo(QMatrix4x4* matrix) const; +void applyTo(QMatrix4x4* matrix) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsTransform : public QGraphicsTransform @@ -822,7 +1661,7 @@ class PythonQtWrapper_QGraphicsTransform : public QObject public: public slots: QGraphicsTransform* new_QGraphicsTransform(QObject* parent = nullptr); -void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } +void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } void applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const; void py_q_applyTo(QGraphicsTransform* theWrappedObject, QMatrix4x4* matrix) const{ (((PythonQtPublicPromoter_QGraphicsTransform*)theWrappedObject)->py_q_applyTo(matrix));} }; @@ -834,64 +1673,67 @@ void delete_QGraphicsTransform(QGraphicsTransform* obj) { delete obj; } class PythonQtShell_QGraphicsView : public QGraphicsView { public: - PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr):QGraphicsView(scene, parent),_wrapper(NULL) {}; - PythonQtShell_QGraphicsView(QWidget* parent = nullptr):QGraphicsView(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawBackground(QPainter* painter, const QRectF& rect); -virtual void drawForeground(QPainter* painter, const QRectF& rect); -virtual void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* widget); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr):QGraphicsView(scene, parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsView(QWidget* parent = nullptr):QGraphicsView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBackground(QPainter* painter, const QRectF& rect) override; +void drawForeground(QPainter* painter, const QRectF& rect) override; +void drawItems(QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* widget) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsView : public QGraphicsView @@ -966,7 +1808,7 @@ Q_DECLARE_FLAGS(OptimizationFlags, OptimizationFlag) public slots: QGraphicsView* new_QGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr); QGraphicsView* new_QGraphicsView(QWidget* parent = nullptr); -void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } +void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } Qt::Alignment alignment(QGraphicsView* theWrappedObject) const; QBrush backgroundBrush(QGraphicsView* theWrappedObject) const; QGraphicsView::CacheMode cacheMode(QGraphicsView* theWrappedObject) const; @@ -1083,46 +1925,75 @@ void delete_QGraphicsView(QGraphicsView* obj) { delete obj; } class PythonQtShell_QGraphicsWidget : public QGraphicsWidget { public: - PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsWidget(); - -virtual QRectF boundingRect() const; -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const; -virtual void grabKeyboardEvent(QEvent* event); -virtual void grabMouseEvent(QEvent* event); -virtual void hideEvent(QHideEvent* event); -virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); -virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event); -virtual void initStyleOption(QStyleOption* option) const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual void moveEvent(QGraphicsSceneMoveEvent* event); -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual void polishEvent(); -virtual QVariant propertyChange(const QString& propertyName, const QVariant& value); -virtual void resizeEvent(QGraphicsSceneResizeEvent* event); -virtual bool sceneEvent(QEvent* event); -virtual void setGeometry(const QRectF& rect); -virtual QPainterPath shape() const; -virtual void showEvent(QShowEvent* event); -virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const; -virtual int type() const; -virtual void ungrabKeyboardEvent(QEvent* event); -virtual void ungrabMouseEvent(QEvent* event); -virtual void updateGeometry(); -virtual bool windowFrameEvent(QEvent* e); -virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()):QGraphicsWidget(parent, wFlags),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsWidget() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void grabKeyboardEvent(QEvent* event) override; +void grabMouseEvent(QEvent* event) override; +void hideEvent(QHideEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void initStyleOption(QStyleOption* option) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +void moveEvent(QGraphicsSceneMoveEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void polishEvent() override; +QVariant propertyChange(const QString& propertyName, const QVariant& value) override; +void resizeEvent(QGraphicsSceneResizeEvent* event) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +void setGeometry(const QRectF& rect) override; +QPainterPath shape() const override; +void showEvent(QShowEvent* event) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void ungrabKeyboardEvent(QEvent* event) override; +void ungrabMouseEvent(QEvent* event) override; +void updateGeometry() override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; +bool windowFrameEvent(QEvent* e) override; +Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget @@ -1194,30 +2065,25 @@ enum enum_1{ Type = QGraphicsWidget::Type}; public slots: QGraphicsWidget* new_QGraphicsWidget(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); -void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } +void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } QList actions(QGraphicsWidget* theWrappedObject) const; void addAction(QGraphicsWidget* theWrappedObject, QAction* action); void addActions(QGraphicsWidget* theWrappedObject, QList actions); void adjustSize(QGraphicsWidget* theWrappedObject); bool autoFillBackground(QGraphicsWidget* theWrappedObject) const; - QRectF boundingRect(QGraphicsWidget* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_boundingRect());} void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_changeEvent(event));} void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event); void py_q_closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_closeEvent(event));} - bool event(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_event(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_event(event));} - void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusInEvent(event));} bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next); bool py_q_focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event); void py_q_focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_focusOutEvent(event));} Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const; QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const; QFont font(QGraphicsWidget* theWrappedObject) const; - void getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) 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); @@ -1227,22 +2093,18 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } int grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context = Qt::WindowShortcut); void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event); void py_q_hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hideEvent(event));} - void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverLeaveEvent(event));} - void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event); void py_q_hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_hoverMoveEvent(event));} void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const; void py_q_initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const{ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_initStyleOption(option));} void insertAction(QGraphicsWidget* theWrappedObject, QAction* before, QAction* action); void insertActions(QGraphicsWidget* theWrappedObject, QAction* before, QList actions); bool isActiveWindow(QGraphicsWidget* theWrappedObject) const; - QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_itemChange(change, value));} QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const; Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const; void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event); void py_q_moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_moveEvent(event));} - void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paint(painter, option, widget));} void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_paintWindowFrame(painter, option, widget));} @@ -1258,7 +2120,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h); void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event); void py_q_resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_resizeEvent(event));} - bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event); bool py_q_sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_sceneEvent(event));} void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true); void setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled); @@ -1266,7 +2127,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } 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 setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect); 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); @@ -1280,16 +2140,13 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } 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 shape(QGraphicsWidget* theWrappedObject) const; QPainterPath py_q_shape(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_shape());} void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event); void py_q_showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_showEvent(event));} QSizeF size(QGraphicsWidget* theWrappedObject) const; - QSizeF sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) 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 type(QGraphicsWidget* theWrappedObject) const; int py_q_type(QGraphicsWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_type());} void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event); void py_q_ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabKeyboardEvent(event));} @@ -1297,7 +2154,6 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } void py_q_ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->py_q_ungrabMouseEvent(event));} void unsetLayoutDirection(QGraphicsWidget* theWrappedObject); void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject); - void updateGeometry(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); @@ -1317,28 +2173,40 @@ void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; } class PythonQtShell_QGridLayout : public QGridLayout { public: - PythonQtShell_QGridLayout():QGridLayout(),_wrapper(NULL) {}; - PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGridLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int index) const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int index); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGridLayout():QGridLayout(),_wrapper(nullptr) {}; + PythonQtShell_QGridLayout(QWidget* parent):QGridLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGridLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int index) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int index) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGridLayout : public QGridLayout @@ -1365,35 +2233,27 @@ class PythonQtWrapper_QGridLayout : public QObject public slots: QGridLayout* new_QGridLayout(); QGridLayout* new_QGridLayout(QWidget* parent); -void delete_QGridLayout(QGridLayout* obj) { delete obj; } - void addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1); +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 count(QGridLayout* theWrappedObject) const; int py_q_count(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_count());} - Qt::Orientations expandingDirections(QGridLayout* theWrappedObject) const; Qt::Orientations py_q_expandingDirections(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_expandingDirections());} - bool hasHeightForWidth(QGridLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_heightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_heightForWidth(arg__1));} int horizontalSpacing(QGridLayout* theWrappedObject) const; - void invalidate(QGridLayout* theWrappedObject); void py_q_invalidate(QGridLayout* theWrappedObject){ (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_invalidate());} - QLayoutItem* itemAt(QGridLayout* theWrappedObject, int index) const; 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 maximumSize(QGridLayout* theWrappedObject) const; QSize py_q_maximumSize(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_maximumSize());} - int minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const; int py_q_minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_minimumHeightForWidth(arg__1));} - QSize minimumSize(QGridLayout* theWrappedObject) const; 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; @@ -1402,7 +2262,6 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } 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 setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1); 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); @@ -1410,12 +2269,11 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } void setRowStretch(QGridLayout* theWrappedObject, int row, int stretch); void setSpacing(QGridLayout* theWrappedObject, int spacing); void setVerticalSpacing(QGridLayout* theWrappedObject, int spacing); - QSize sizeHint(QGridLayout* theWrappedObject) const; QSize py_q_sizeHint(QGridLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->py_q_sizeHint());} int spacing(QGridLayout* theWrappedObject) const; - QLayoutItem* takeAt(QGridLayout* theWrappedObject, int index); 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(); } }; @@ -1425,57 +2283,60 @@ void delete_QGridLayout(QGridLayout* obj) { delete obj; } class PythonQtShell_QGroupBox : public QGroupBox { public: - PythonQtShell_QGroupBox(QWidget* parent = nullptr):QGroupBox(parent),_wrapper(NULL) {}; - PythonQtShell_QGroupBox(const QString& title, QWidget* parent = nullptr):QGroupBox(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGroupBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void childEvent(QChildEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGroupBox(QWidget* parent = nullptr):QGroupBox(parent),_wrapper(nullptr) {}; + PythonQtShell_QGroupBox(const QString& title, QWidget* parent = nullptr):QGroupBox(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGroupBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGroupBox : public QGroupBox @@ -1508,10 +2369,9 @@ class PythonQtWrapper_QGroupBox : public QObject public slots: QGroupBox* new_QGroupBox(QWidget* parent = nullptr); QGroupBox* new_QGroupBox(const QString& title, QWidget* parent = nullptr); -void delete_QGroupBox(QGroupBox* obj) { delete obj; } +void delete_QGroupBox(QGroupBox* obj) { delete obj; } Qt::Alignment alignment(QGroupBox* theWrappedObject) const; void py_q_changeEvent(QGroupBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->py_q_changeEvent(event));} - void childEvent(QGroupBox* theWrappedObject, QChildEvent* 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));} @@ -1548,11 +2408,12 @@ class PythonQtWrapper_QGuiApplication : public QObject { Q_OBJECT public: public slots: -void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } +void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } QList static_QGuiApplication_allWindows(); QString static_QGuiApplication_applicationDisplayName(); Qt::ApplicationState static_QGuiApplication_applicationState(); 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; @@ -1561,6 +2422,7 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } QObject* static_QGuiApplication_focusObject(); QWindow* static_QGuiApplication_focusWindow(); QFont static_QGuiApplication_font(); + Qt::HighDpiScaleFactorRoundingPolicy static_QGuiApplication_highDpiScaleFactorRoundingPolicy(); QInputMethod* static_QGuiApplication_inputMethod(); bool static_QGuiApplication_isFallbackSessionManagementEnabled(); bool static_QGuiApplication_isLeftToRight(); @@ -1575,9 +2437,12 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } 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(); QString sessionId(QGuiApplication* theWrappedObject) const; QString sessionKey(QGuiApplication* theWrappedObject) const; void static_QGuiApplication_setApplicationDisplayName(const QString& name); @@ -1585,6 +2450,7 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } void static_QGuiApplication_setDesktopSettingsAware(bool on); void static_QGuiApplication_setFallbackSessionManagementEnabled(bool arg__1); 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); @@ -1604,28 +2470,40 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } class PythonQtShell_QHBoxLayout : public QHBoxLayout { public: - PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(NULL) {}; - PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHBoxLayout(); - -virtual void addItem(QLayoutItem* arg__1); -virtual int count() const; -virtual Qt::Orientations expandingDirections() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHBoxLayout():QHBoxLayout(),_wrapper(nullptr) {}; + PythonQtShell_QHBoxLayout(QWidget* parent):QHBoxLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHBoxLayout() override; + +void addItem(QLayoutItem* arg__1) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; +QWidget* widget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QHBoxLayout : public QObject @@ -1634,7 +2512,8 @@ class PythonQtWrapper_QHBoxLayout : public QObject public slots: QHBoxLayout* new_QHBoxLayout(); QHBoxLayout* new_QHBoxLayout(QWidget* parent); -void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } +void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } + bool __nonzero__(QHBoxLayout* obj) { return !obj->isEmpty(); } }; @@ -1644,101 +2523,103 @@ void delete_QHBoxLayout(QHBoxLayout* obj) { delete obj; } class PythonQtShell_QHeaderView : public QHeaderView { public: - PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr):QHeaderView(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHeaderView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& old); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* event); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); -virtual QSize sectionSizeFromContents(int logicalIndex) const; -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool v); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* event); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* e); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr):QHeaderView(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QHeaderView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& old) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) override; +QSize sectionSizeFromContents(int logicalIndex) const override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool v) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* e) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QHeaderView : public QHeaderView @@ -1809,7 +2690,7 @@ class PythonQtWrapper_QHeaderView : public QObject public: public slots: QHeaderView* new_QHeaderView(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QHeaderView(QHeaderView* obj) { delete obj; } +void delete_QHeaderView(QHeaderView* obj) { delete obj; } bool cascadingSectionResizes(QHeaderView* theWrappedObject) const; int count(QHeaderView* theWrappedObject) const; void py_q_currentChanged(QHeaderView* theWrappedObject, const QModelIndex& current, const QModelIndex& old){ (((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->py_q_currentChanged(current, old));} @@ -1906,394 +2787,3 @@ void delete_QHeaderView(QHeaderView* obj) { delete obj; } }; - - - -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(NULL) {}; - - ~PythonQtShell_QHoverEvent(); - - - 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(NULL) {}; - PythonQtShell_QIconEngine(const QIconEngine& other):QIconEngine(other),_wrapper(NULL) {}; - - ~PythonQtShell_QIconEngine(); - -virtual QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addFile(const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual void addPixmap(const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state); -virtual QList availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off) const; -virtual QIconEngine* clone() const; -virtual QString iconName() const; -virtual QString key() const; -virtual void paint(QPainter* painter, const QRect& rect, QIcon::Mode mode, QIcon::State state); -virtual QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state); -virtual bool read(QDataStream& in); -virtual void virtual_hook(int id, void* data); -virtual bool write(QDataStream& out) const; - - 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 void py_q_virtual_hook(int id, void* data) { QIconEngine::virtual_hook(id, data); } -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); - void virtual_hook(QIconEngine* theWrappedObject, int id, void* data); - void py_q_virtual_hook(QIconEngine* theWrappedObject, int id, void* data){ (((PythonQtPublicPromoter_QIconEngine*)theWrappedObject)->py_q_virtual_hook(id, data));} - 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(NULL) {}; - - ~PythonQtShell_QImageIOHandler(); - -virtual bool canRead() const; -virtual int currentImageNumber() const; -virtual QRect currentImageRect() const; -virtual int imageCount() const; -virtual bool jumpToImage(int imageNumber); -virtual bool jumpToNextImage(); -virtual int loopCount() const; -virtual QByteArray name() const; -virtual int nextImageDelay() const; -virtual QVariant option(QImageIOHandler::ImageOption option) const; -virtual bool read(QImage* image); -virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value); -virtual bool supportsOption(QImageIOHandler::ImageOption option) const; -virtual bool write(const QImage& image); - - 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(NULL) {}; - - ~PythonQtShell_QImageIOPlugin(); - -virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const; -virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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: -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: -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); -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp similarity index 57% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index 08a36ce8..9700a266 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -1,192 +1,201 @@ -#include "com_trolltech_qt_gui3.h" +#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 #include #include -#include +#include +#include +#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_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] = {NULL, (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); -} -QGraphicsScale* PythonQtWrapper_QGraphicsScale::new_QGraphicsScale(QObject* parent) +QHelpEvent* PythonQtWrapper_QHelpEvent::new_QHelpEvent(QEvent::Type type, const QPoint& pos, const QPoint& globalPos) { -return new PythonQtShell_QGraphicsScale(parent); } +return new QHelpEvent(type, pos, globalPos); } -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; - } +const QPoint* PythonQtWrapper_QHelpEvent::globalPos(QHelpEvent* theWrappedObject) const +{ + return &( theWrappedObject->globalPos()); } -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; + +int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); } -QVector3D PythonQtWrapper_QGraphicsScale::origin(QGraphicsScale* theWrappedObject) const + +int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const { - return ( theWrappedObject->origin()); + return ( theWrappedObject->globalY()); } -void PythonQtWrapper_QGraphicsScale::setOrigin(QGraphicsScale* theWrappedObject, const QVector3D& point) +const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setOrigin(point)); + return &( theWrappedObject->pos()); } -void PythonQtWrapper_QGraphicsScale::setXScale(QGraphicsScale* theWrappedObject, qreal arg__1) +int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setXScale(arg__1)); + return ( theWrappedObject->x()); } -void PythonQtWrapper_QGraphicsScale::setYScale(QGraphicsScale* theWrappedObject, qreal arg__1) +int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const { - ( theWrappedObject->setYScale(arg__1)); + 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); } -void PythonQtWrapper_QGraphicsScale::setZScale(QGraphicsScale* theWrappedObject, qreal arg__1) +QPoint PythonQtWrapper_QHoverEvent::oldPos(QHoverEvent* theWrappedObject) const { - ( theWrappedObject->setZScale(arg__1)); + return ( theWrappedObject->oldPos()); } -qreal PythonQtWrapper_QGraphicsScale::xScale(QGraphicsScale* theWrappedObject) const +const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->xScale()); + return &( theWrappedObject->oldPosF()); } -qreal PythonQtWrapper_QGraphicsScale::yScale(QGraphicsScale* theWrappedObject) const +QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->yScale()); + return ( theWrappedObject->pos()); } -qreal PythonQtWrapper_QGraphicsScale::zScale(QGraphicsScale* theWrappedObject) const +const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const { - return ( theWrappedObject->zScale()); + return &( theWrappedObject->posF()); } -PythonQtShell_QGraphicsScene::~PythonQtShell_QGraphicsScene() { +QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() +{ +return new QIconDragEvent(); } + + + +PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("actualSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::contextMenuEvent(event0); + return QIconEngine::actualSize(size0, mode1, state2); } -void PythonQtShell_QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +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("dragEnterEvent"); + static PyObject* name = PyString_FromString("addFile"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -194,21 +203,21 @@ if (_wrapper) { } } } - QGraphicsScene::dragEnterEvent(event0); + QIconEngine::addFile(fileName0, size1, mode2, state3); } -void PythonQtShell_QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("addPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -216,109 +225,153 @@ if (_wrapper) { } } } - QGraphicsScene::dragLeaveEvent(event0); + QIconEngine::addPixmap(pixmap0, mode1, state2); } -void PythonQtShell_QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("availableSizes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::dragMoveEvent(event0); + return QIconEngine::availableSizes(mode0, state1); } -void PythonQtShell_QGraphicsScene::drawBackground(QPainter* painter0, const QRectF& rect1) +QIconEngine* PythonQtShell_QIconEngine::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBackground"); + static PyObject* name = PyString_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QIconEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::drawBackground(painter0, rect1); + return nullptr; } -void PythonQtShell_QGraphicsScene::drawForeground(QPainter* painter0, const QRectF& rect1) +QString PythonQtShell_QIconEngine::iconName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawForeground"); + static PyObject* name = PyString_FromString("iconName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::drawForeground(painter0, rect1); + return QIconEngine::iconName(); } -void PythonQtShell_QGraphicsScene::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3, QWidget* widget4) +QString PythonQtShell_QIconEngine::key() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItems"); + static PyObject* name = PyString_FromString("key"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "int" , "QGraphicsItem**" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3, (void*)&widget4}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::drawItems(painter0, numItems1, items2, options3, widget4); + return QIconEngine::key(); } -void PythonQtShell_QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent* event0) +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("dropEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -326,32 +379,32 @@ if (_wrapper) { } } } - QGraphicsScene::dropEvent(event0); + } -bool PythonQtShell_QGraphicsScene::event(QEvent* event0) +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("event"); + static PyObject* name = PyString_FromString("pixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPixmap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -359,32 +412,32 @@ if (_wrapper) { } } } - return QGraphicsScene::event(event0); + return QIconEngine::pixmap(size0, mode1, state2); } -bool PythonQtShell_QGraphicsScene::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QIconEngine::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -392,120 +445,210 @@ if (_wrapper) { } } } - return QGraphicsScene::eventFilter(watched0, event1); + return QIconEngine::read(in0); } -void PythonQtShell_QGraphicsScene::focusInEvent(QFocusEvent* event0) +bool PythonQtShell_QIconEngine::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::focusInEvent(event0); + return QIconEngine::write(out0); } -void PythonQtShell_QGraphicsScene::focusOutEvent(QFocusEvent* event0) +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) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->actualSize(size, mode, state)); } - QGraphicsScene::focusOutEvent(event0); + +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 PythonQtShell_QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent* event0) + +void PythonQtWrapper_QIconEngine::addPixmap(QIconEngine* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); + ( 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[] ={"" , "QGraphicsSceneHelpEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::helpEvent(event0); + return bool(); } -void PythonQtShell_QGraphicsScene::inputMethodEvent(QInputMethodEvent* event0) +int PythonQtShell_QImageIOHandler::currentImageNumber() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("currentImageNumber"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::inputMethodEvent(event0); + return QImageIOHandler::currentImageNumber(); } -QVariant PythonQtShell_QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query0) const +QRect PythonQtShell_QImageIOHandler::currentImageRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("currentImageRect"); 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] = {NULL, (void*)&query0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -513,2608 +656,1094 @@ if (_wrapper) { } } } - return QGraphicsScene::inputMethodQuery(query0); + return QImageIOHandler::currentImageRect(); } -void PythonQtShell_QGraphicsScene::keyPressEvent(QKeyEvent* event0) +int PythonQtShell_QImageIOHandler::imageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("imageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::keyPressEvent(event0); + return QImageIOHandler::imageCount(); } -void PythonQtShell_QGraphicsScene::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("jumpToImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&imageNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::keyReleaseEvent(event0); + return QImageIOHandler::jumpToImage(imageNumber0); } -void PythonQtShell_QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +bool PythonQtShell_QImageIOHandler::jumpToNextImage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("jumpToNextImage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::mouseDoubleClickEvent(event0); + return QImageIOHandler::jumpToNextImage(); } -void PythonQtShell_QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +int PythonQtShell_QImageIOHandler::loopCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("loopCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::mouseMoveEvent(event0); + return QImageIOHandler::loopCount(); } -void PythonQtShell_QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent* event0) +int PythonQtShell_QImageIOHandler::nextImageDelay() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("nextImageDelay"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::mousePressEvent(event0); + return QImageIOHandler::nextImageDelay(); } -void PythonQtShell_QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("option"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsScene::mouseReleaseEvent(event0); + return QImageIOHandler::option(option0); } -void PythonQtShell_QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent* event0) +bool PythonQtShell_QImageIOHandler::read(QImage* image0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const char* argumentList[] ={"bool" , "QImage*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&image0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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()); + return bool(); } - -QGraphicsEllipseItem* PythonQtWrapper_QGraphicsScene::addEllipse(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) { - 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)); +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(); + } + } } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsScene::addPath(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addPath(path, pen, brush)); + QImageIOHandler::setOption(option0, value1); } - -QGraphicsPixmapItem* PythonQtWrapper_QGraphicsScene::addPixmap(QGraphicsScene* theWrappedObject, const QPixmap& pixmap) +bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const { - return ( theWrappedObject->addPixmap(pixmap)); +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(); + } + } } - -QGraphicsPolygonItem* PythonQtWrapper_QGraphicsScene::addPolygon(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, const QPen& pen, const QBrush& brush) -{ - return ( theWrappedObject->addPolygon(polygon, pen, brush)); + return QImageIOHandler::supportsOption(option0); } - -QGraphicsRectItem* PythonQtWrapper_QGraphicsScene::addRect(QGraphicsScene* theWrappedObject, const QRectF& rect, const QPen& pen, const QBrush& brush) +bool PythonQtShell_QImageIOHandler::write(const QImage& image0) { - return ( theWrappedObject->addRect(rect, pen, brush)); +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(); + } + } } - -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)); + return QImageIOHandler::write(image0); } +QImageIOHandler* PythonQtWrapper_QImageIOHandler::new_QImageIOHandler() +{ +return new PythonQtShell_QImageIOHandler(); } -QGraphicsSimpleTextItem* PythonQtWrapper_QGraphicsScene::addSimpleText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +bool PythonQtWrapper_QImageIOHandler::canRead(QImageIOHandler* theWrappedObject) const { - return ( theWrappedObject->addSimpleText(text, font)); + return ( theWrappedObject->canRead()); } -QGraphicsTextItem* PythonQtWrapper_QGraphicsScene::addText(QGraphicsScene* theWrappedObject, const QString& text, const QFont& font) +int PythonQtWrapper_QImageIOHandler::currentImageNumber(QImageIOHandler* theWrappedObject) const { - return ( theWrappedObject->addText(text, font)); + return ( theWrappedObject->currentImageNumber()); } -QGraphicsProxyWidget* PythonQtWrapper_QGraphicsScene::addWidget(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToCPP widget, Qt::WindowFlags wFlags) +QRect PythonQtWrapper_QImageIOHandler::currentImageRect(QImageIOHandler* theWrappedObject) const { - return ( theWrappedObject->addWidget(widget, wFlags)); + return ( theWrappedObject->currentImageRect()); } -QBrush PythonQtWrapper_QGraphicsScene::backgroundBrush(QGraphicsScene* theWrappedObject) const +QIODevice* PythonQtWrapper_QImageIOHandler::device(QImageIOHandler* theWrappedObject) const { - return ( theWrappedObject->backgroundBrush()); + return ( theWrappedObject->device()); } -int PythonQtWrapper_QGraphicsScene::bspTreeDepth(QGraphicsScene* theWrappedObject) const +QByteArray PythonQtWrapper_QImageIOHandler::format(QImageIOHandler* theWrappedObject) const { - return ( theWrappedObject->bspTreeDepth()); + return ( theWrappedObject->format()); } -void PythonQtWrapper_QGraphicsScene::clearFocus(QGraphicsScene* theWrappedObject) +int PythonQtWrapper_QImageIOHandler::imageCount(QImageIOHandler* theWrappedObject) const { - ( theWrappedObject->clearFocus()); + return ( theWrappedObject->imageCount()); } -QList PythonQtWrapper_QGraphicsScene::collidingItems(QGraphicsScene* theWrappedObject, const QGraphicsItem* item, Qt::ItemSelectionMode mode) const +bool PythonQtWrapper_QImageIOHandler::jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber) { - return ( theWrappedObject->collidingItems(item, mode)); + return ( theWrappedObject->jumpToImage(imageNumber)); } -void PythonQtWrapper_QGraphicsScene::contextMenuEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneContextMenuEvent* event) +bool PythonQtWrapper_QImageIOHandler::jumpToNextImage(QImageIOHandler* theWrappedObject) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_contextMenuEvent(event)); + return ( theWrappedObject->jumpToNextImage()); } -QGraphicsItemGroup* PythonQtWrapper_QGraphicsScene::createItemGroup(QGraphicsScene* theWrappedObject, const QList& items) +int PythonQtWrapper_QImageIOHandler::loopCount(QImageIOHandler* theWrappedObject) const { - return ( theWrappedObject->createItemGroup(items)); + return ( theWrappedObject->loopCount()); } -void PythonQtWrapper_QGraphicsScene::destroyItemGroup(QGraphicsScene* theWrappedObject, QGraphicsItemGroup* group) +int PythonQtWrapper_QImageIOHandler::nextImageDelay(QImageIOHandler* theWrappedObject) const { - ( theWrappedObject->destroyItemGroup(group)); + return ( theWrappedObject->nextImageDelay()); } -void PythonQtWrapper_QGraphicsScene::dragEnterEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +QVariant PythonQtWrapper_QImageIOHandler::option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragEnterEvent(event)); + return ( theWrappedObject->option(option)); } -void PythonQtWrapper_QGraphicsScene::dragLeaveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +bool PythonQtWrapper_QImageIOHandler::read(QImageIOHandler* theWrappedObject, QImage* image) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragLeaveEvent(event)); + return ( theWrappedObject->read(image)); } -void PythonQtWrapper_QGraphicsScene::dragMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +void PythonQtWrapper_QImageIOHandler::setDevice(QImageIOHandler* theWrappedObject, QIODevice* device) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dragMoveEvent(event)); + ( theWrappedObject->setDevice(device)); } -void PythonQtWrapper_QGraphicsScene::drawBackground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtWrapper_QImageIOHandler::setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawBackground(painter, rect)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QGraphicsScene::drawForeground(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtWrapper_QImageIOHandler::setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawForeground(painter, rect)); + ( theWrappedObject->setOption(option, value)); } -void PythonQtWrapper_QGraphicsScene::drawItems(QGraphicsScene* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options, QWidget* widget) +bool PythonQtWrapper_QImageIOHandler::supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options, widget)); + return ( theWrappedObject->supportsOption(option)); } -void PythonQtWrapper_QGraphicsScene::dropEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneDragDropEvent* event) +bool PythonQtWrapper_QImageIOHandler::write(QImageIOHandler* theWrappedObject, const QImage& image) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_dropEvent(event)); + return ( theWrappedObject->write(image)); } -bool PythonQtWrapper_QGraphicsScene::event(QGraphicsScene* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_event(event)); -} -bool PythonQtWrapper_QGraphicsScene::eventFilter(QGraphicsScene* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_eventFilter(watched, event)); -} -void PythonQtWrapper_QGraphicsScene::focusInEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusInEvent(event)); +PythonQtShell_QImageIOPlugin::~PythonQtShell_QImageIOPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QGraphicsItem* PythonQtWrapper_QGraphicsScene::focusItem(QGraphicsScene* theWrappedObject) const +QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const { - return ( theWrappedObject->focusItem()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::focusOnTouch(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->focusOnTouch()); + return QImageIOPlugin::Capabilities(); } - -void PythonQtWrapper_QGraphicsScene::focusOutEvent(QGraphicsScene* theWrappedObject, QFocusEvent* event) +void PythonQtShell_QImageIOPlugin::childEvent(QChildEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_focusOutEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QFont PythonQtWrapper_QGraphicsScene::font(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->font()); + QImageIOPlugin::childEvent(event0); } - -QBrush PythonQtWrapper_QGraphicsScene::foregroundBrush(QGraphicsScene* theWrappedObject) const +QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const { - return ( theWrappedObject->foregroundBrush()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsScene::hasFocus(QGraphicsScene* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); + return nullptr; } - -qreal PythonQtWrapper_QGraphicsScene::height(QGraphicsScene* theWrappedObject) const +void PythonQtShell_QImageIOPlugin::customEvent(QEvent* event0) { - return ( theWrappedObject->height()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsScene::helpEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneHelpEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_helpEvent(event)); + QImageIOPlugin::customEvent(event0); } - -void PythonQtWrapper_QGraphicsScene::inputMethodEvent(QGraphicsScene* theWrappedObject, QInputMethodEvent* event) +bool PythonQtShell_QImageIOPlugin::event(QEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_inputMethodEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QVariant PythonQtWrapper_QGraphicsScene::inputMethodQuery(QGraphicsScene* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( theWrappedObject->inputMethodQuery(query)); + return QImageIOPlugin::event(event0); } - -void PythonQtWrapper_QGraphicsScene::invalidate(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, QGraphicsScene::SceneLayers layers) +bool PythonQtShell_QImageIOPlugin::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->invalidate(x, y, w, h, layers)); -} - -bool PythonQtWrapper_QGraphicsScene::isActive(QGraphicsScene* theWrappedObject) const +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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) { - return ( theWrappedObject->isActive()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -bool PythonQtWrapper_QGraphicsScene::isSortCacheEnabled(QGraphicsScene* theWrappedObject) const +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->isSortCacheEnabled()); + return ( theWrappedObject->capabilities(device, format)); } -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, const QPointF& pos, const QTransform& deviceTransform) const +QImageIOHandler* PythonQtWrapper_QImageIOPlugin::create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const { - return ( theWrappedObject->itemAt(pos, deviceTransform)); + return ( theWrappedObject->create(device, format)); } -QGraphicsItem* PythonQtWrapper_QGraphicsScene::itemAt(QGraphicsScene* theWrappedObject, qreal x, qreal y, const QTransform& deviceTransform) const + + +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->itemAt(x, y, deviceTransform)); + return ( theWrappedObject->autoDetectImageFormat()); } -QGraphicsScene::ItemIndexMethod PythonQtWrapper_QGraphicsScene::itemIndexMethod(QGraphicsScene* theWrappedObject) const +bool PythonQtWrapper_QImageReader::autoTransform(QImageReader* theWrappedObject) const { - return ( theWrappedObject->itemIndexMethod()); + return ( theWrappedObject->autoTransform()); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, Qt::SortOrder order) const +QColor PythonQtWrapper_QImageReader::backgroundColor(QImageReader* theWrappedObject) const { - return ( theWrappedObject->items(order)); + return ( theWrappedObject->backgroundColor()); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +bool PythonQtWrapper_QImageReader::canRead(QImageReader* theWrappedObject) const { - return ( theWrappedObject->items(path, mode, order, deviceTransform)); + return ( theWrappedObject->canRead()); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPointF& pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +QRect PythonQtWrapper_QImageReader::clipRect(QImageReader* theWrappedObject) const { - return ( theWrappedObject->items(pos, mode, order, deviceTransform)); + return ( theWrappedObject->clipRect()); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QPolygonF& polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +int PythonQtWrapper_QImageReader::currentImageNumber(QImageReader* theWrappedObject) const { - return ( theWrappedObject->items(polygon, mode, order, deviceTransform)); + return ( theWrappedObject->currentImageNumber()); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, const QRectF& rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +QRect PythonQtWrapper_QImageReader::currentImageRect(QImageReader* theWrappedObject) const { - return ( theWrappedObject->items(rect, mode, order, deviceTransform)); + return ( theWrappedObject->currentImageRect()); } -QList PythonQtWrapper_QGraphicsScene::items(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform& deviceTransform) const +bool PythonQtWrapper_QImageReader::decideFormatFromContent(QImageReader* theWrappedObject) const { - return ( theWrappedObject->items(x, y, w, h, mode, order, deviceTransform)); + return ( theWrappedObject->decideFormatFromContent()); } -QRectF PythonQtWrapper_QGraphicsScene::itemsBoundingRect(QGraphicsScene* theWrappedObject) const +QIODevice* PythonQtWrapper_QImageReader::device(QImageReader* theWrappedObject) const { - return ( theWrappedObject->itemsBoundingRect()); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QGraphicsScene::keyPressEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +QImageReader::ImageReaderError PythonQtWrapper_QImageReader::error(QImageReader* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyPressEvent(event)); + return ( theWrappedObject->error()); } -void PythonQtWrapper_QGraphicsScene::keyReleaseEvent(QGraphicsScene* theWrappedObject, QKeyEvent* event) +QString PythonQtWrapper_QImageReader::errorString(QImageReader* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_keyReleaseEvent(event)); + return ( theWrappedObject->errorString()); } -qreal PythonQtWrapper_QGraphicsScene::minimumRenderSize(QGraphicsScene* theWrappedObject) const +QString PythonQtWrapper_QImageReader::fileName(QImageReader* theWrappedObject) const { - return ( theWrappedObject->minimumRenderSize()); + return ( theWrappedObject->fileName()); } -void PythonQtWrapper_QGraphicsScene::mouseDoubleClickEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +QByteArray PythonQtWrapper_QImageReader::format(QImageReader* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); + return ( theWrappedObject->format()); } -QGraphicsItem* PythonQtWrapper_QGraphicsScene::mouseGrabberItem(QGraphicsScene* theWrappedObject) const +float PythonQtWrapper_QImageReader::gamma(QImageReader* theWrappedObject) const { - return ( theWrappedObject->mouseGrabberItem()); + return ( theWrappedObject->gamma()); } -void PythonQtWrapper_QGraphicsScene::mouseMoveEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +int PythonQtWrapper_QImageReader::imageCount(QImageReader* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseMoveEvent(event)); + return ( theWrappedObject->imageCount()); } -void PythonQtWrapper_QGraphicsScene::mousePressEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +QImage::Format PythonQtWrapper_QImageReader::imageFormat(QImageReader* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mousePressEvent(event)); + return ( theWrappedObject->imageFormat()); } -void PythonQtWrapper_QGraphicsScene::mouseReleaseEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneMouseEvent* event) +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(QIODevice* device) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_mouseReleaseEvent(event)); + return (QImageReader::imageFormat(device)); } -QPalette PythonQtWrapper_QGraphicsScene::palette(QGraphicsScene* theWrappedObject) const +QByteArray PythonQtWrapper_QImageReader::static_QImageReader_imageFormat(const QString& fileName) { - return ( theWrappedObject->palette()); + return (QImageReader::imageFormat(fileName)); } -void PythonQtWrapper_QGraphicsScene::removeItem(QGraphicsScene* theWrappedObject, PythonQtPassOwnershipToPython item) +QList PythonQtWrapper_QImageReader::static_QImageReader_imageFormatsForMimeType(const QByteArray& mimeType) { - ( theWrappedObject->removeItem(item)); + return (QImageReader::imageFormatsForMimeType(mimeType)); } -void PythonQtWrapper_QGraphicsScene::render(QGraphicsScene* theWrappedObject, QPainter* painter, const QRectF& target, const QRectF& source, Qt::AspectRatioMode aspectRatioMode) +bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) { - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); + return ( theWrappedObject->jumpToImage(imageNumber)); } -QRectF PythonQtWrapper_QGraphicsScene::sceneRect(QGraphicsScene* theWrappedObject) const +bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) { - return ( theWrappedObject->sceneRect()); + return ( theWrappedObject->jumpToNextImage()); } -QList PythonQtWrapper_QGraphicsScene::selectedItems(QGraphicsScene* theWrappedObject) const +int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const { - return ( theWrappedObject->selectedItems()); + return ( theWrappedObject->loopCount()); } -QPainterPath PythonQtWrapper_QGraphicsScene::selectionArea(QGraphicsScene* theWrappedObject) const +int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const { - return ( theWrappedObject->selectionArea()); + return ( theWrappedObject->nextImageDelay()); } -bool PythonQtWrapper_QGraphicsScene::sendEvent(QGraphicsScene* theWrappedObject, QGraphicsItem* item, QEvent* event) +int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const { - return ( theWrappedObject->sendEvent(item, event)); + return ( theWrappedObject->quality()); } -void PythonQtWrapper_QGraphicsScene::setActivePanel(QGraphicsScene* theWrappedObject, QGraphicsItem* item) +QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) { - ( theWrappedObject->setActivePanel(item)); + return ( theWrappedObject->read()); } -void PythonQtWrapper_QGraphicsScene::setActiveWindow(QGraphicsScene* theWrappedObject, QGraphicsWidget* widget) +QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const { - ( theWrappedObject->setActiveWindow(widget)); + return ( theWrappedObject->scaledClipRect()); } -void PythonQtWrapper_QGraphicsScene::setBackgroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const { - ( theWrappedObject->setBackgroundBrush(brush)); + return ( theWrappedObject->scaledSize()); } -void PythonQtWrapper_QGraphicsScene::setBspTreeDepth(QGraphicsScene* theWrappedObject, int depth) +void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) { - ( theWrappedObject->setBspTreeDepth(depth)); + ( theWrappedObject->setAutoDetectImageFormat(enabled)); } -void PythonQtWrapper_QGraphicsScene::setFocus(QGraphicsScene* theWrappedObject, Qt::FocusReason focusReason) +void PythonQtWrapper_QImageReader::setAutoTransform(QImageReader* theWrappedObject, bool enabled) { - ( theWrappedObject->setFocus(focusReason)); + ( theWrappedObject->setAutoTransform(enabled)); } -void PythonQtWrapper_QGraphicsScene::setFocusItem(QGraphicsScene* theWrappedObject, QGraphicsItem* item, Qt::FocusReason focusReason) +void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) { - ( theWrappedObject->setFocusItem(item, focusReason)); + ( theWrappedObject->setBackgroundColor(color)); } -void PythonQtWrapper_QGraphicsScene::setFocusOnTouch(QGraphicsScene* theWrappedObject, bool enabled) +void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) { - ( theWrappedObject->setFocusOnTouch(enabled)); + ( theWrappedObject->setClipRect(rect)); } -void PythonQtWrapper_QGraphicsScene::setFont(QGraphicsScene* theWrappedObject, const QFont& font) +void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) { - ( theWrappedObject->setFont(font)); + ( theWrappedObject->setDecideFormatFromContent(ignored)); } -void PythonQtWrapper_QGraphicsScene::setForegroundBrush(QGraphicsScene* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) { - ( theWrappedObject->setForegroundBrush(brush)); + ( theWrappedObject->setDevice(device)); } -void PythonQtWrapper_QGraphicsScene::setItemIndexMethod(QGraphicsScene* theWrappedObject, QGraphicsScene::ItemIndexMethod method) +void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) { - ( theWrappedObject->setItemIndexMethod(method)); + ( theWrappedObject->setFileName(fileName)); } -void PythonQtWrapper_QGraphicsScene::setMinimumRenderSize(QGraphicsScene* theWrappedObject, qreal minSize) +void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) { - ( theWrappedObject->setMinimumRenderSize(minSize)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QGraphicsScene::setPalette(QGraphicsScene* theWrappedObject, const QPalette& palette) +void PythonQtWrapper_QImageReader::setGamma(QImageReader* theWrappedObject, float gamma) { - ( theWrappedObject->setPalette(palette)); + ( theWrappedObject->setGamma(gamma)); } -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) { - ( theWrappedObject->setSceneRect(rect)); + ( theWrappedObject->setQuality(quality)); } -void PythonQtWrapper_QGraphicsScene::setSceneRect(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) { - ( theWrappedObject->setSceneRect(x, y, w, h)); + ( theWrappedObject->setScaledClipRect(rect)); } -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) { - ( theWrappedObject->setSelectionArea(path, mode, deviceTransform)); + ( theWrappedObject->setScaledSize(size)); } -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform& deviceTransform) +QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const { - ( theWrappedObject->setSelectionArea(path, selectionOperation, mode, deviceTransform)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QGraphicsScene::setSelectionArea(QGraphicsScene* theWrappedObject, const QPainterPath& path, const QTransform& deviceTransform) +QByteArray PythonQtWrapper_QImageReader::subType(QImageReader* theWrappedObject) const { - ( theWrappedObject->setSelectionArea(path, deviceTransform)); + return ( theWrappedObject->subType()); } -void PythonQtWrapper_QGraphicsScene::setSortCacheEnabled(QGraphicsScene* theWrappedObject, bool enabled) +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() { - ( theWrappedObject->setSortCacheEnabled(enabled)); + return (QImageReader::supportedImageFormats()); } -void PythonQtWrapper_QGraphicsScene::setStickyFocus(QGraphicsScene* theWrappedObject, bool enabled) +QList PythonQtWrapper_QImageReader::static_QImageReader_supportedMimeTypes() { - ( theWrappedObject->setStickyFocus(enabled)); + return (QImageReader::supportedMimeTypes()); } -void PythonQtWrapper_QGraphicsScene::setStyle(QGraphicsScene* theWrappedObject, QStyle* style) +QList PythonQtWrapper_QImageReader::supportedSubTypes(QImageReader* theWrappedObject) const { - ( theWrappedObject->setStyle(style)); + return ( theWrappedObject->supportedSubTypes()); } -bool PythonQtWrapper_QGraphicsScene::stickyFocus(QGraphicsScene* theWrappedObject) const +bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const { - return ( theWrappedObject->stickyFocus()); + return ( theWrappedObject->supportsAnimation()); } -QStyle* PythonQtWrapper_QGraphicsScene::style(QGraphicsScene* theWrappedObject) const +bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const { - return ( theWrappedObject->style()); + return ( theWrappedObject->supportsOption(option)); } -void PythonQtWrapper_QGraphicsScene::update(QGraphicsScene* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const { - ( theWrappedObject->update(x, y, w, h)); + return ( theWrappedObject->text(key)); } -QList PythonQtWrapper_QGraphicsScene::views(QGraphicsScene* theWrappedObject) const +QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const { - return ( theWrappedObject->views()); + return ( theWrappedObject->textKeys()); } -void PythonQtWrapper_QGraphicsScene::wheelEvent(QGraphicsScene* theWrappedObject, QGraphicsSceneWheelEvent* event) +QString PythonQtWrapper_QImageReader::static_QImageReader_tr(const char* sourceText, const char* disambiguation, int n) { - ( ((PythonQtPublicPromoter_QGraphicsScene*)theWrappedObject)->promoted_wheelEvent(event)); + return (QImageReader::tr(sourceText, disambiguation, n)); } -qreal PythonQtWrapper_QGraphicsScene::width(QGraphicsScene* theWrappedObject) const +QString PythonQtWrapper_QImageReader::static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation, int n) { - return ( theWrappedObject->width()); + return (QImageReader::trUtf8(sourceText, disambiguation, n)); } -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneContextMenuEvent::modifiers(QGraphicsSceneContextMenuEvent* theWrappedObject) const -{ - return ( theWrappedObject->modifiers()); -} +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); } -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::pos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->pos()); + return ( theWrappedObject->canWrite()); } -QGraphicsSceneContextMenuEvent::Reason PythonQtWrapper_QGraphicsSceneContextMenuEvent::reason(QGraphicsSceneContextMenuEvent* theWrappedObject) const +int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->reason()); + return ( theWrappedObject->compression()); } -QPointF PythonQtWrapper_QGraphicsSceneContextMenuEvent::scenePos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->scenePos()); + return ( theWrappedObject->device()); } -QPoint PythonQtWrapper_QGraphicsSceneContextMenuEvent::screenPos(QGraphicsSceneContextMenuEvent* theWrappedObject) const +QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->screenPos()); + return ( theWrappedObject->error()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setModifiers(QGraphicsSceneContextMenuEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setModifiers(modifiers)); + return ( theWrappedObject->errorString()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setPos(pos)); + return ( theWrappedObject->fileName()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setReason(QGraphicsSceneContextMenuEvent* theWrappedObject, QGraphicsSceneContextMenuEvent::Reason reason) +QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setReason(reason)); + return ( theWrappedObject->format()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScenePos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPointF& pos) +float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setScenePos(pos)); + return ( theWrappedObject->gamma()); } -void PythonQtWrapper_QGraphicsSceneContextMenuEvent::setScreenPos(QGraphicsSceneContextMenuEvent* theWrappedObject, const QPoint& pos) +QList PythonQtWrapper_QImageWriter::static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType) { - ( theWrappedObject->setScreenPos(pos)); + return (QImageWriter::imageFormatsForMimeType(mimeType)); } - - -void PythonQtWrapper_QGraphicsSceneDragDropEvent::acceptProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) +bool PythonQtWrapper_QImageWriter::optimizedWrite(QImageWriter* theWrappedObject) const { - ( theWrappedObject->acceptProposedAction()); + return ( theWrappedObject->optimizedWrite()); } -Qt::MouseButtons PythonQtWrapper_QGraphicsSceneDragDropEvent::buttons(QGraphicsSceneDragDropEvent* theWrappedObject) const +bool PythonQtWrapper_QImageWriter::progressiveScanWrite(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->buttons()); + return ( theWrappedObject->progressiveScanWrite()); } -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::dropAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const { - return ( theWrappedObject->dropAction()); + return ( theWrappedObject->quality()); } -const QMimeData* PythonQtWrapper_QGraphicsSceneDragDropEvent::mimeData(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) { - return ( theWrappedObject->mimeData()); + ( theWrappedObject->setCompression(compression)); } -Qt::KeyboardModifiers PythonQtWrapper_QGraphicsSceneDragDropEvent::modifiers(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) { - return ( theWrappedObject->modifiers()); + ( theWrappedObject->setDevice(device)); } -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::pos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) { - return ( theWrappedObject->pos()); + ( theWrappedObject->setFileName(fileName)); } -Qt::DropActions PythonQtWrapper_QGraphicsSceneDragDropEvent::possibleActions(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) { - return ( theWrappedObject->possibleActions()); + ( theWrappedObject->setFormat(format)); } -Qt::DropAction PythonQtWrapper_QGraphicsSceneDragDropEvent::proposedAction(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) { - return ( theWrappedObject->proposedAction()); + ( theWrappedObject->setGamma(gamma)); } -QPointF PythonQtWrapper_QGraphicsSceneDragDropEvent::scenePos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize) { - return ( theWrappedObject->scenePos()); + ( theWrappedObject->setOptimizedWrite(optimize)); } -QPoint PythonQtWrapper_QGraphicsSceneDragDropEvent::screenPos(QGraphicsSceneDragDropEvent* theWrappedObject) const +void PythonQtWrapper_QImageWriter::setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive) { - return ( theWrappedObject->screenPos()); + ( theWrappedObject->setProgressiveScanWrite(progressive)); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setButtons(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::MouseButtons buttons) +void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) { - ( theWrappedObject->setButtons(buttons)); + ( theWrappedObject->setQuality(quality)); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setDropAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +void PythonQtWrapper_QImageWriter::setSubType(QImageWriter* theWrappedObject, const QByteArray& type) { - ( theWrappedObject->setDropAction(action)); + ( theWrappedObject->setSubType(type)); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setModifiers(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::KeyboardModifiers modifiers) +void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) { - ( theWrappedObject->setModifiers(modifiers)); + ( theWrappedObject->setText(key, text)); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +QByteArray PythonQtWrapper_QImageWriter::subType(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setPos(pos)); + return ( theWrappedObject->subType()); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setPossibleActions(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropActions actions) +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() { - ( theWrappedObject->setPossibleActions(actions)); + return (QImageWriter::supportedImageFormats()); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setProposedAction(QGraphicsSceneDragDropEvent* theWrappedObject, Qt::DropAction action) +QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedMimeTypes() { - ( theWrappedObject->setProposedAction(action)); + return (QImageWriter::supportedMimeTypes()); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScenePos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPointF& pos) +QList PythonQtWrapper_QImageWriter::supportedSubTypes(QImageWriter* theWrappedObject) const { - ( theWrappedObject->setScenePos(pos)); + return ( theWrappedObject->supportedSubTypes()); } -void PythonQtWrapper_QGraphicsSceneDragDropEvent::setScreenPos(QGraphicsSceneDragDropEvent* theWrappedObject, const QPoint& pos) +bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const { - ( theWrappedObject->setScreenPos(pos)); + return ( theWrappedObject->supportsOption(option)); } -QWidget* PythonQtWrapper_QGraphicsSceneDragDropEvent::source(QGraphicsSceneDragDropEvent* theWrappedObject) const +QString PythonQtWrapper_QImageWriter::static_QImageWriter_tr(const char* sourceText, const char* disambiguation, int n) { - return ( theWrappedObject->source()); + return (QImageWriter::tr(sourceText, disambiguation, n)); } - - -QWidget* PythonQtWrapper_QGraphicsSceneEvent::widget(QGraphicsSceneEvent* theWrappedObject) const +QString PythonQtWrapper_QImageWriter::static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation, int n) { - return ( theWrappedObject->widget()); + return (QImageWriter::trUtf8(sourceText, disambiguation, n)); } -QString PythonQtWrapper_QGraphicsSceneEvent::py_toString(QGraphicsSceneEvent* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) +{ + return ( theWrappedObject->write(image)); } -QPointF PythonQtWrapper_QGraphicsSceneHelpEvent::scenePos(QGraphicsSceneHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->scenePos()); +PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -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)); -} - - - -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)); -} - - - -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()); -} - - - -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)); -} - - - -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)); -} - - - -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); } -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsSimpleTextItem::boundingRect(); -} -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] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsSimpleTextItem::contains(point0); -} -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] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsSimpleTextItem::extension(variant0); -} -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] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsSimpleTextItem::isObscuredBy(item0); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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); -} -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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsSimpleTextItem::type(); -} -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); } - -QRectF PythonQtWrapper_QGraphicsSimpleTextItem::boundingRect(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::contains(QGraphicsSimpleTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -QVariant PythonQtWrapper_QGraphicsSimpleTextItem::extension(QGraphicsSimpleTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -QFont PythonQtWrapper_QGraphicsSimpleTextItem::font(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::paint(QGraphicsSimpleTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setFont(QGraphicsSimpleTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QGraphicsSimpleTextItem::setText(QGraphicsSimpleTextItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -QPainterPath PythonQtWrapper_QGraphicsSimpleTextItem::shape(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsSimpleTextItem::supportsExtension(QGraphicsSimpleTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsSimpleTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -QString PythonQtWrapper_QGraphicsSimpleTextItem::text(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -int PythonQtWrapper_QGraphicsSimpleTextItem::type(QGraphicsSimpleTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsTextItem::~PythonQtShell_QGraphicsTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsTextItem::boundingRect(); -} -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] = {NULL, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsTextItem::isObscuredBy(item0); -} -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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsTextItem::sceneEvent(event0); -} -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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsTextItem::supportsExtension(extension0); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsTextItem::type(); -} -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()); -} - -QRectF PythonQtWrapper_QGraphicsTextItem::boundingRect(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QGraphicsTextItem::contains(QGraphicsTextItem* theWrappedObject, const QPointF& point) const -{ - return ( theWrappedObject->contains(point)); -} - -void PythonQtWrapper_QGraphicsTextItem::contextMenuEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -QColor PythonQtWrapper_QGraphicsTextItem::defaultTextColor(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextColor()); -} - -QTextDocument* PythonQtWrapper_QGraphicsTextItem::document(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -void PythonQtWrapper_QGraphicsTextItem::dragEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dragMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::dropEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneDragDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_dropEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::extension(QGraphicsTextItem* theWrappedObject, const QVariant& variant) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_extension(variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::focusInEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusInEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::focusOutEvent(QGraphicsTextItem* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -QFont PythonQtWrapper_QGraphicsTextItem::font(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverEnterEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverEnterEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverLeaveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverLeaveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::hoverMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::inputMethodEvent(QGraphicsTextItem* theWrappedObject, QInputMethodEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodEvent(event)); -} - -QVariant PythonQtWrapper_QGraphicsTextItem::inputMethodQuery(QGraphicsTextItem* theWrappedObject, Qt::InputMethodQuery query) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_inputMethodQuery(query)); -} - -bool PythonQtWrapper_QGraphicsTextItem::isObscuredBy(QGraphicsTextItem* theWrappedObject, const QGraphicsItem* item) const -{ - return ( theWrappedObject->isObscuredBy(item)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyPressEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::keyReleaseEvent(QGraphicsTextItem* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseDoubleClickEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseMoveEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mousePressEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::mouseReleaseEvent(QGraphicsTextItem* theWrappedObject, QGraphicsSceneMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::opaqueArea(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->opaqueArea()); -} - -bool PythonQtWrapper_QGraphicsTextItem::openExternalLinks(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -void PythonQtWrapper_QGraphicsTextItem::paint(QGraphicsTextItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -bool PythonQtWrapper_QGraphicsTextItem::sceneEvent(QGraphicsTextItem* theWrappedObject, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_sceneEvent(event)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDefaultTextColor(QGraphicsTextItem* theWrappedObject, const QColor& c) -{ - ( theWrappedObject->setDefaultTextColor(c)); -} - -void PythonQtWrapper_QGraphicsTextItem::setDocument(QGraphicsTextItem* theWrappedObject, QTextDocument* document) -{ - ( theWrappedObject->setDocument(document)); -} - -void PythonQtWrapper_QGraphicsTextItem::setExtension(QGraphicsTextItem* theWrappedObject, int extension, const QVariant& variant) -{ - ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_setExtension(extension, variant)); -} - -void PythonQtWrapper_QGraphicsTextItem::setFont(QGraphicsTextItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -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)); -} - -QPainterPath PythonQtWrapper_QGraphicsTextItem::shape(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -bool PythonQtWrapper_QGraphicsTextItem::supportsExtension(QGraphicsTextItem* theWrappedObject, int extension) const -{ - return ( ((PythonQtPublicPromoter_QGraphicsTextItem*)theWrappedObject)->promoted_supportsExtension(extension)); -} - -bool PythonQtWrapper_QGraphicsTextItem::tabChangesFocus(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); -} - -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()); -} - -int PythonQtWrapper_QGraphicsTextItem::type(QGraphicsTextItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - - - -PythonQtShell_QGraphicsTransform::~PythonQtShell_QGraphicsTransform() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsTransform::applyTo(QMatrix4x4* matrix0) const +void PythonQtShell_QInputDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("applyTo"); + static PyObject* name = PyString_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMatrix4x4*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&matrix0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3122,37 +1751,9 @@ if (_wrapper) { } } } - -} -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); } + QInputDialog::accept(); } -void PythonQtShell_QGraphicsView::actionEvent(QActionEvent* event0) +void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3162,9 +1763,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3172,9 +1773,9 @@ if (_wrapper) { } } } - QGraphicsView::actionEvent(event0); + QInputDialog::actionEvent(event0); } -void PythonQtShell_QGraphicsView::changeEvent(QEvent* arg__1) +void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3184,9 +1785,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3194,21 +1795,21 @@ if (_wrapper) { } } } - QGraphicsView::changeEvent(arg__1); + QInputDialog::changeEvent(arg__1); } -void PythonQtShell_QGraphicsView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QInputDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3216,21 +1817,21 @@ if (_wrapper) { } } } - QGraphicsView::closeEvent(event0); + QInputDialog::childEvent(event0); } -void PythonQtShell_QGraphicsView::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3238,54 +1839,43 @@ if (_wrapper) { } } } - QGraphicsView::contextMenuEvent(event0); + QInputDialog::closeEvent(arg__1); } -int PythonQtShell_QGraphicsView::devType() const +void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::devType(); + QInputDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QGraphicsView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QInputDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3293,43 +1883,54 @@ if (_wrapper) { } } } - QGraphicsView::dragEnterEvent(event0); + QInputDialog::customEvent(event0); } -void PythonQtShell_QGraphicsView::dragLeaveEvent(QDragLeaveEvent* event0) +int PythonQtShell_QInputDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsView::dragLeaveEvent(event0); + return QInputDialog::devType(); } -void PythonQtShell_QGraphicsView::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QInputDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3337,21 +1938,21 @@ if (_wrapper) { } } } - QGraphicsView::dragMoveEvent(event0); + QInputDialog::done(result0); } -void PythonQtShell_QGraphicsView::drawBackground(QPainter* painter0, const QRectF& rect1) +void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawBackground"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3359,21 +1960,21 @@ if (_wrapper) { } } } - QGraphicsView::drawBackground(painter0, rect1); + QInputDialog::dragEnterEvent(event0); } -void PythonQtShell_QGraphicsView::drawForeground(QPainter* painter0, const QRectF& rect1) +void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawForeground"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&painter0, (void*)&rect1}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3381,21 +1982,21 @@ if (_wrapper) { } } } - QGraphicsView::drawForeground(painter0, rect1); + QInputDialog::dragLeaveEvent(event0); } -void PythonQtShell_QGraphicsView::drawItems(QPainter* painter0, int numItems1, QGraphicsItem** items2, const QStyleOptionGraphicsItem* options3) +void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItems"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL, (void*)&painter0, (void*)&numItems1, (void*)&items2, (void*)&options3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3403,9 +2004,9 @@ if (_wrapper) { } } } - QGraphicsView::drawItems(painter0, numItems1, items2, options3); + QInputDialog::dragMoveEvent(event0); } -void PythonQtShell_QGraphicsView::dropEvent(QDropEvent* event0) +void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3415,9 +2016,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3425,9 +2026,9 @@ if (_wrapper) { } } } - QGraphicsView::dropEvent(event0); + QInputDialog::dropEvent(event0); } -void PythonQtShell_QGraphicsView::enterEvent(QEvent* event0) +void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3437,9 +2038,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3447,9 +2048,9 @@ if (_wrapper) { } } } - QGraphicsView::enterEvent(event0); + QInputDialog::enterEvent(event0); } -bool PythonQtShell_QGraphicsView::event(QEvent* event0) +bool PythonQtShell_QInputDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3460,19 +2061,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3480,9 +2081,9 @@ if (_wrapper) { } } } - return QGraphicsView::event(event0); + return QInputDialog::event(event0); } -bool PythonQtShell_QGraphicsView::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3493,19 +2094,52 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + 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 { @@ -3513,9 +2147,9 @@ if (_wrapper) { } } } - return QGraphicsView::eventFilter(arg__1, arg__2); + return QInputDialog::exec(); } -void PythonQtShell_QGraphicsView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3525,9 +2159,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3535,9 +2169,9 @@ if (_wrapper) { } } } - QGraphicsView::focusInEvent(event0); + QInputDialog::focusInEvent(event0); } -bool PythonQtShell_QGraphicsView::focusNextPrevChild(bool next0) +bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3548,19 +2182,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3568,9 +2202,9 @@ if (_wrapper) { } } } - return QGraphicsView::focusNextPrevChild(next0); + return QInputDialog::focusNextPrevChild(next0); } -void PythonQtShell_QGraphicsView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3580,9 +2214,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3590,9 +2224,9 @@ if (_wrapper) { } } } - QGraphicsView::focusOutEvent(event0); + QInputDialog::focusOutEvent(event0); } -bool PythonQtShell_QGraphicsView::hasHeightForWidth() const +bool PythonQtShell_QInputDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3603,19 +2237,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3623,9 +2257,9 @@ if (_wrapper) { } } } - return QGraphicsView::hasHeightForWidth(); + return QInputDialog::hasHeightForWidth(); } -int PythonQtShell_QGraphicsView::heightForWidth(int arg__1) const +int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3636,19 +2270,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3656,9 +2290,9 @@ if (_wrapper) { } } } - return QGraphicsView::heightForWidth(arg__1); + return QInputDialog::heightForWidth(arg__1); } -void PythonQtShell_QGraphicsView::hideEvent(QHideEvent* event0) +void PythonQtShell_QInputDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3668,9 +2302,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3678,9 +2312,9 @@ if (_wrapper) { } } } - QGraphicsView::hideEvent(event0); + QInputDialog::hideEvent(event0); } -void PythonQtShell_QGraphicsView::initPainter(QPainter* painter0) const +void PythonQtShell_QInputDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3690,9 +2324,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3700,9 +2334,9 @@ if (_wrapper) { } } } - QGraphicsView::initPainter(painter0); + QInputDialog::initPainter(painter0); } -void PythonQtShell_QGraphicsView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3712,9 +2346,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3722,9 +2356,9 @@ if (_wrapper) { } } } - QGraphicsView::inputMethodEvent(event0); + QInputDialog::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QGraphicsView::inputMethodQuery(Qt::InputMethodQuery query0) const +QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3735,19 +2369,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3755,9 +2389,9 @@ if (_wrapper) { } } } - return QGraphicsView::inputMethodQuery(query0); + return QInputDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QGraphicsView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3767,9 +2401,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3777,9 +2411,9 @@ if (_wrapper) { } } } - QGraphicsView::keyPressEvent(event0); + QInputDialog::keyPressEvent(arg__1); } -void PythonQtShell_QGraphicsView::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3789,9 +2423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3799,9 +2433,9 @@ if (_wrapper) { } } } - QGraphicsView::keyReleaseEvent(event0); + QInputDialog::keyReleaseEvent(event0); } -void PythonQtShell_QGraphicsView::leaveEvent(QEvent* event0) +void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3811,9 +2445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3821,9 +2455,9 @@ if (_wrapper) { } } } - QGraphicsView::leaveEvent(event0); + QInputDialog::leaveEvent(event0); } -int PythonQtShell_QGraphicsView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3834,19 +2468,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3854,9 +2488,9 @@ if (_wrapper) { } } } - return QGraphicsView::metric(arg__1); + return QInputDialog::metric(arg__1); } -QSize PythonQtShell_QGraphicsView::minimumSizeHint() const +QSize PythonQtShell_QInputDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3867,19 +2501,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3887,9 +2521,9 @@ if (_wrapper) { } } } - return QGraphicsView::minimumSizeHint(); + return QInputDialog::minimumSizeHint(); } -void PythonQtShell_QGraphicsView::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3899,9 +2533,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3909,9 +2543,9 @@ if (_wrapper) { } } } - QGraphicsView::mouseDoubleClickEvent(event0); + QInputDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGraphicsView::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3921,9 +2555,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3931,9 +2565,9 @@ if (_wrapper) { } } } - QGraphicsView::mouseMoveEvent(event0); + QInputDialog::mouseMoveEvent(event0); } -void PythonQtShell_QGraphicsView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3943,9 +2577,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3953,9 +2587,9 @@ if (_wrapper) { } } } - QGraphicsView::mousePressEvent(event0); + QInputDialog::mousePressEvent(event0); } -void PythonQtShell_QGraphicsView::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3965,9 +2599,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3975,9 +2609,9 @@ if (_wrapper) { } } } - QGraphicsView::mouseReleaseEvent(event0); + QInputDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QGraphicsView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -3987,9 +2621,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3997,9 +2631,9 @@ if (_wrapper) { } } } - QGraphicsView::moveEvent(event0); + QInputDialog::moveEvent(event0); } -bool PythonQtShell_QGraphicsView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4010,19 +2644,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4030,9 +2664,9 @@ if (_wrapper) { } } } - return QGraphicsView::nativeEvent(eventType0, message1, result2); + return QInputDialog::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QGraphicsView::paintEngine() const +QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4043,19 +2677,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4063,9 +2697,9 @@ if (_wrapper) { } } } - return QGraphicsView::paintEngine(); + return QInputDialog::paintEngine(); } -void PythonQtShell_QGraphicsView::paintEvent(QPaintEvent* event0) +void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4075,9 +2709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4085,9 +2719,9 @@ if (_wrapper) { } } } - QGraphicsView::paintEvent(event0); + QInputDialog::paintEvent(event0); } -QPaintDevice* PythonQtShell_QGraphicsView::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4098,19 +2732,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4118,21 +2752,21 @@ if (_wrapper) { } } } - return QGraphicsView::redirected(offset0); + return QInputDialog::redirected(offset0); } -void PythonQtShell_QGraphicsView::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QInputDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("reject"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4140,21 +2774,21 @@ if (_wrapper) { } } } - QGraphicsView::resizeEvent(event0); + QInputDialog::reject(); } -void PythonQtShell_QGraphicsView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("resizeEvent"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4162,9 +2796,9 @@ if (_wrapper) { } } } - QGraphicsView::scrollContentsBy(dx0, dy1); + QInputDialog::resizeEvent(arg__1); } -void PythonQtShell_QGraphicsView::setVisible(bool visible0) +void PythonQtShell_QInputDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4174,31 +2808,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4206,9 +2818,9 @@ if (_wrapper) { } } } - QGraphicsView::setupViewport(widget0); + QInputDialog::setVisible(visible0); } -QPainter* PythonQtShell_QGraphicsView::sharedPainter() const +QPainter* PythonQtShell_QInputDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4219,19 +2831,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4239,9 +2851,9 @@ if (_wrapper) { } } } - return QGraphicsView::sharedPainter(); + return QInputDialog::sharedPainter(); } -void PythonQtShell_QGraphicsView::showEvent(QShowEvent* event0) +void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4251,9 +2863,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4261,9 +2873,9 @@ if (_wrapper) { } } } - QGraphicsView::showEvent(event0); + QInputDialog::showEvent(arg__1); } -QSize PythonQtShell_QGraphicsView::sizeHint() const +QSize PythonQtShell_QInputDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4274,19 +2886,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4294,9 +2906,9 @@ if (_wrapper) { } } } - return QGraphicsView::sizeHint(); + return QInputDialog::sizeHint(); } -void PythonQtShell_QGraphicsView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4306,9 +2918,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4316,75 +2928,31 @@ if (_wrapper) { } } } - QGraphicsView::tabletEvent(event0); + QInputDialog::tabletEvent(event0); } -bool PythonQtShell_QGraphicsView::viewportEvent(QEvent* event0) +void PythonQtShell_QInputDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsView::viewportSizeHint(); + QInputDialog::timerEvent(event0); } -void PythonQtShell_QGraphicsView::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4394,9 +2962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4404,454 +2972,919 @@ if (_wrapper) { } } } - QGraphicsView::wheelEvent(event0); + 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)); } -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); } +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)); +} -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; - } +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)); } -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; + +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)); } -Qt::Alignment PythonQtWrapper_QGraphicsView::alignment(QGraphicsView* theWrappedObject) const + +QInputDialog::InputMode PythonQtWrapper_QInputDialog::inputMode(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->alignment()); + return ( theWrappedObject->inputMode()); +} + +int PythonQtWrapper_QInputDialog::intMaximum(QInputDialog* theWrappedObject) const +{ + return ( theWrappedObject->intMaximum()); } -QBrush PythonQtWrapper_QGraphicsView::backgroundBrush(QGraphicsView* theWrappedObject) const +int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->backgroundBrush()); + return ( theWrappedObject->intMinimum()); } -QGraphicsView::CacheMode PythonQtWrapper_QGraphicsView::cacheMode(QGraphicsView* theWrappedObject) const +int PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->cacheMode()); + return ( theWrappedObject->intStep()); } -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QGraphicsItem* item) +int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const { - ( theWrappedObject->centerOn(item)); + return ( theWrappedObject->intValue()); } -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, const QPointF& pos) +bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const { - ( theWrappedObject->centerOn(pos)); + return ( theWrappedObject->isComboBoxEditable()); } -void PythonQtWrapper_QGraphicsView::centerOn(QGraphicsView* theWrappedObject, qreal x, qreal y) +QString PythonQtWrapper_QInputDialog::labelText(QInputDialog* theWrappedObject) const { - ( theWrappedObject->centerOn(x, y)); + return ( theWrappedObject->labelText()); } -QGraphicsView::DragMode PythonQtWrapper_QGraphicsView::dragMode(QGraphicsView* theWrappedObject) const +QString PythonQtWrapper_QInputDialog::okButtonText(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->dragMode()); + return ( theWrappedObject->okButtonText()); } -void PythonQtWrapper_QGraphicsView::drawBackground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +void PythonQtWrapper_QInputDialog::open(QInputDialog* theWrappedObject, QObject* receiver, const char* member) { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawBackground(painter, rect)); + ( theWrappedObject->open(receiver, member)); } -void PythonQtWrapper_QGraphicsView::drawForeground(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& rect) +QInputDialog::InputDialogOptions PythonQtWrapper_QInputDialog::options(QInputDialog* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawForeground(painter, rect)); + return ( theWrappedObject->options()); } -void PythonQtWrapper_QGraphicsView::drawItems(QGraphicsView* theWrappedObject, QPainter* painter, int numItems, QGraphicsItem** items, const QStyleOptionGraphicsItem* options) +void PythonQtWrapper_QInputDialog::setCancelButtonText(QInputDialog* theWrappedObject, const QString& text) { - ( ((PythonQtPublicPromoter_QGraphicsView*)theWrappedObject)->promoted_drawItems(painter, numItems, items, options)); + ( theWrappedObject->setCancelButtonText(text)); } -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QGraphicsItem* item, int xmargin, int ymargin) +void PythonQtWrapper_QInputDialog::setComboBoxEditable(QInputDialog* theWrappedObject, bool editable) { - ( theWrappedObject->ensureVisible(item, xmargin, ymargin)); + ( theWrappedObject->setComboBoxEditable(editable)); } -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, const QRectF& rect, int xmargin, int ymargin) +void PythonQtWrapper_QInputDialog::setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items) { - ( theWrappedObject->ensureVisible(rect, xmargin, ymargin)); + ( theWrappedObject->setComboBoxItems(items)); } -void PythonQtWrapper_QGraphicsView::ensureVisible(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) +void PythonQtWrapper_QInputDialog::setDoubleDecimals(QInputDialog* theWrappedObject, int decimals) { - ( theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin)); + ( theWrappedObject->setDoubleDecimals(decimals)); } -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QGraphicsItem* item, Qt::AspectRatioMode aspectRadioMode) +void PythonQtWrapper_QInputDialog::setDoubleMaximum(QInputDialog* theWrappedObject, double max) { - ( theWrappedObject->fitInView(item, aspectRadioMode)); + ( theWrappedObject->setDoubleMaximum(max)); } -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, const QRectF& rect, Qt::AspectRatioMode aspectRadioMode) +void PythonQtWrapper_QInputDialog::setDoubleMinimum(QInputDialog* theWrappedObject, double min) { - ( theWrappedObject->fitInView(rect, aspectRadioMode)); + ( theWrappedObject->setDoubleMinimum(min)); } -void PythonQtWrapper_QGraphicsView::fitInView(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) +void PythonQtWrapper_QInputDialog::setDoubleRange(QInputDialog* theWrappedObject, double min, double max) { - ( theWrappedObject->fitInView(x, y, w, h, aspectRadioMode)); + ( theWrappedObject->setDoubleRange(min, max)); } -QBrush PythonQtWrapper_QGraphicsView::foregroundBrush(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setDoubleStep(QInputDialog* theWrappedObject, double step) { - return ( theWrappedObject->foregroundBrush()); + ( theWrappedObject->setDoubleStep(step)); } -bool PythonQtWrapper_QGraphicsView::isInteractive(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setDoubleValue(QInputDialog* theWrappedObject, double value) { - return ( theWrappedObject->isInteractive()); + ( theWrappedObject->setDoubleValue(value)); } -bool PythonQtWrapper_QGraphicsView::isTransformed(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode) { - return ( theWrappedObject->isTransformed()); + ( theWrappedObject->setInputMode(mode)); } -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QInputDialog::setIntMaximum(QInputDialog* theWrappedObject, int max) { - return ( theWrappedObject->itemAt(pos)); + ( theWrappedObject->setIntMaximum(max)); } -QGraphicsItem* PythonQtWrapper_QGraphicsView::itemAt(QGraphicsView* theWrappedObject, int x, int y) const +void PythonQtWrapper_QInputDialog::setIntMinimum(QInputDialog* theWrappedObject, int min) { - return ( theWrappedObject->itemAt(x, y)); + ( theWrappedObject->setIntMinimum(min)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QInputDialog::setIntRange(QInputDialog* theWrappedObject, int min, int max) { - return ( theWrappedObject->items()); + ( theWrappedObject->setIntRange(min, max)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QInputDialog::setIntStep(QInputDialog* theWrappedObject, int step) { - return ( theWrappedObject->items(path, mode)); + ( theWrappedObject->setIntStep(step)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QInputDialog::setIntValue(QInputDialog* theWrappedObject, int value) { - return ( theWrappedObject->items(pos)); + ( theWrappedObject->setIntValue(value)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QPolygon& polygon, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QInputDialog::setLabelText(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->items(polygon, mode)); + ( theWrappedObject->setLabelText(text)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, const QRect& rect, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QInputDialog::setOkButtonText(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->items(rect, mode)); + ( theWrappedObject->setOkButtonText(text)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y) const +void PythonQtWrapper_QInputDialog::setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on) { - return ( theWrappedObject->items(x, y)); + ( theWrappedObject->setOption(option, on)); } -QList PythonQtWrapper_QGraphicsView::items(QGraphicsView* theWrappedObject, int x, int y, int w, int h, Qt::ItemSelectionMode mode) const +void PythonQtWrapper_QInputDialog::setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options) { - return ( theWrappedObject->items(x, y, w, h, mode)); + ( theWrappedObject->setOptions(options)); } -QPainterPath PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +void PythonQtWrapper_QInputDialog::setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode) { - return ( theWrappedObject->mapFromScene(path)); + ( theWrappedObject->setTextEchoMode(mode)); } -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPointF& point) const +void PythonQtWrapper_QInputDialog::setTextValue(QInputDialog* theWrappedObject, const QString& text) { - return ( theWrappedObject->mapFromScene(point)); + ( theWrappedObject->setTextValue(text)); } -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QPolygonF& polygon) const +bool PythonQtWrapper_QInputDialog::testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const { - return ( theWrappedObject->mapFromScene(polygon)); + return ( theWrappedObject->testOption(option)); } -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, const QRectF& rect) const +QLineEdit::EchoMode PythonQtWrapper_QInputDialog::textEchoMode(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->mapFromScene(rect)); + return ( theWrappedObject->textEchoMode()); } -QPoint PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y) const +QString PythonQtWrapper_QInputDialog::textValue(QInputDialog* theWrappedObject) const { - return ( theWrappedObject->mapFromScene(x, y)); + 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); } -QPolygon PythonQtWrapper_QGraphicsView::mapFromScene(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const +Qt::KeyboardModifiers PythonQtWrapper_QInputEvent::modifiers(QInputEvent* theWrappedObject) const { - return ( theWrappedObject->mapFromScene(x, y, w, h)); + return ( theWrappedObject->modifiers()); } -QPainterPath PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPainterPath& path) const +void PythonQtWrapper_QInputEvent::setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers) { - return ( theWrappedObject->mapToScene(path)); + ( theWrappedObject->setModifiers(amodifiers)); } -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPoint& point) const +void PythonQtWrapper_QInputEvent::setTimestamp(QInputEvent* theWrappedObject, ulong atimestamp) { - return ( theWrappedObject->mapToScene(point)); + ( theWrappedObject->setTimestamp(atimestamp)); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QPolygon& polygon) const +ulong PythonQtWrapper_QInputEvent::timestamp(QInputEvent* theWrappedObject) const { - return ( theWrappedObject->mapToScene(polygon)); + return ( theWrappedObject->timestamp()); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, const QRect& rect) const + + +QRectF PythonQtWrapper_QInputMethod::anchorRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->mapToScene(rect)); + return ( theWrappedObject->anchorRectangle()); } -QPointF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y) const +QRectF PythonQtWrapper_QInputMethod::cursorRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->mapToScene(x, y)); + return ( theWrappedObject->cursorRectangle()); } -QPolygonF PythonQtWrapper_QGraphicsView::mapToScene(QGraphicsView* theWrappedObject, int x, int y, int w, int h) const +Qt::LayoutDirection PythonQtWrapper_QInputMethod::inputDirection(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->mapToScene(x, y, w, h)); + return ( theWrappedObject->inputDirection()); } -QMatrix PythonQtWrapper_QGraphicsView::matrix(QGraphicsView* theWrappedObject) const +QRectF PythonQtWrapper_QInputMethod::inputItemClipRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->matrix()); + return ( theWrappedObject->inputItemClipRectangle()); } -QGraphicsView::OptimizationFlags PythonQtWrapper_QGraphicsView::optimizationFlags(QGraphicsView* theWrappedObject) const +QRectF PythonQtWrapper_QInputMethod::inputItemRectangle(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->optimizationFlags()); + return ( theWrappedObject->inputItemRectangle()); } -void PythonQtWrapper_QGraphicsView::render(QGraphicsView* theWrappedObject, QPainter* painter, const QRectF& target, const QRect& source, Qt::AspectRatioMode aspectRatioMode) +QTransform PythonQtWrapper_QInputMethod::inputItemTransform(QInputMethod* theWrappedObject) const { - ( theWrappedObject->render(painter, target, source, aspectRatioMode)); + return ( theWrappedObject->inputItemTransform()); } -QPainter::RenderHints PythonQtWrapper_QGraphicsView::renderHints(QGraphicsView* theWrappedObject) const +bool PythonQtWrapper_QInputMethod::isAnimating(QInputMethod* theWrappedObject) const { - return ( theWrappedObject->renderHints()); + return ( theWrappedObject->isAnimating()); } -void PythonQtWrapper_QGraphicsView::resetCachedContent(QGraphicsView* theWrappedObject) +bool PythonQtWrapper_QInputMethod::isVisible(QInputMethod* theWrappedObject) const { - ( theWrappedObject->resetCachedContent()); + return ( theWrappedObject->isVisible()); } -void PythonQtWrapper_QGraphicsView::resetMatrix(QGraphicsView* theWrappedObject) +QRectF PythonQtWrapper_QInputMethod::keyboardRectangle(QInputMethod* theWrappedObject) const { - ( theWrappedObject->resetMatrix()); + return ( theWrappedObject->keyboardRectangle()); } -void PythonQtWrapper_QGraphicsView::resetTransform(QGraphicsView* theWrappedObject) +QLocale PythonQtWrapper_QInputMethod::locale(QInputMethod* theWrappedObject) const { - ( theWrappedObject->resetTransform()); + return ( theWrappedObject->locale()); } -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::resizeAnchor(QGraphicsView* theWrappedObject) const +QVariant PythonQtWrapper_QInputMethod::static_QInputMethod_queryFocusObject(Qt::InputMethodQuery query, QVariant argument) { - return ( theWrappedObject->resizeAnchor()); + return (QInputMethod::queryFocusObject(query, argument)); } -void PythonQtWrapper_QGraphicsView::rotate(QGraphicsView* theWrappedObject, qreal angle) +void PythonQtWrapper_QInputMethod::setInputItemRectangle(QInputMethod* theWrappedObject, const QRectF& rect) { - ( theWrappedObject->rotate(angle)); + ( theWrappedObject->setInputItemRectangle(rect)); } -QRect PythonQtWrapper_QGraphicsView::rubberBandRect(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QInputMethod::setInputItemTransform(QInputMethod* theWrappedObject, const QTransform& transform) { - return ( theWrappedObject->rubberBandRect()); + ( theWrappedObject->setInputItemTransform(transform)); } -Qt::ItemSelectionMode PythonQtWrapper_QGraphicsView::rubberBandSelectionMode(QGraphicsView* theWrappedObject) const +void PythonQtWrapper_QInputMethod::setVisible(QInputMethod* theWrappedObject, bool visible) { - return ( theWrappedObject->rubberBandSelectionMode()); + ( theWrappedObject->setVisible(visible)); } -void PythonQtWrapper_QGraphicsView::scale(QGraphicsView* theWrappedObject, qreal sx, qreal sy) + + +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 { - ( theWrappedObject->scale(sx, sy)); + return &( theWrappedObject->attributes()); } -QGraphicsScene* PythonQtWrapper_QGraphicsView::scene(QGraphicsView* theWrappedObject) const +const QString* PythonQtWrapper_QInputMethodEvent::commitString(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->scene()); + return &( theWrappedObject->commitString()); } -QRectF PythonQtWrapper_QGraphicsView::sceneRect(QGraphicsView* theWrappedObject) const +const QString* PythonQtWrapper_QInputMethodEvent::preeditString(QInputMethodEvent* theWrappedObject) const { - return ( theWrappedObject->sceneRect()); + return &( theWrappedObject->preeditString()); } -void PythonQtWrapper_QGraphicsView::setAlignment(QGraphicsView* theWrappedObject, Qt::Alignment alignment) +int PythonQtWrapper_QInputMethodEvent::replacementLength(QInputMethodEvent* theWrappedObject) const { - ( theWrappedObject->setAlignment(alignment)); + return ( theWrappedObject->replacementLength()); } -void PythonQtWrapper_QGraphicsView::setBackgroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +int PythonQtWrapper_QInputMethodEvent::replacementStart(QInputMethodEvent* theWrappedObject) const { - ( theWrappedObject->setBackgroundBrush(brush)); + return ( theWrappedObject->replacementStart()); } -void PythonQtWrapper_QGraphicsView::setCacheMode(QGraphicsView* theWrappedObject, QGraphicsView::CacheMode mode) +void PythonQtWrapper_QInputMethodEvent::setCommitString(QInputMethodEvent* theWrappedObject, const QString& commitString, int replaceFrom, int replaceLength) { - ( theWrappedObject->setCacheMode(mode)); + ( 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); } -void PythonQtWrapper_QGraphicsView::setDragMode(QGraphicsView* theWrappedObject, QGraphicsView::DragMode mode) + + +QInputMethodQueryEvent* PythonQtWrapper_QInputMethodQueryEvent::new_QInputMethodQueryEvent(Qt::InputMethodQueries queries) +{ +return new QInputMethodQueryEvent(queries); } + +Qt::InputMethodQueries PythonQtWrapper_QInputMethodQueryEvent::queries(QInputMethodQueryEvent* theWrappedObject) const { - ( theWrappedObject->setDragMode(mode)); + return ( theWrappedObject->queries()); } -void PythonQtWrapper_QGraphicsView::setForegroundBrush(QGraphicsView* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QInputMethodQueryEvent::setValue(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query, const QVariant& value) { - ( theWrappedObject->setForegroundBrush(brush)); + ( theWrappedObject->setValue(query, value)); } -void PythonQtWrapper_QGraphicsView::setInteractive(QGraphicsView* theWrappedObject, bool allowed) +QVariant PythonQtWrapper_QInputMethodQueryEvent::value(QInputMethodQueryEvent* theWrappedObject, Qt::InputMethodQuery query) const { - ( theWrappedObject->setInteractive(allowed)); + return ( theWrappedObject->value(query)); } -void PythonQtWrapper_QGraphicsView::setMatrix(QGraphicsView* theWrappedObject, const QMatrix& matrix, bool combine) + + +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 { - ( theWrappedObject->setMatrix(matrix, combine)); +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); } -void PythonQtWrapper_QGraphicsView::setOptimizationFlag(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlag flag, bool enabled) +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 { - ( theWrappedObject->setOptimizationFlag(flag, enabled)); + return ( theWrappedObject->bottom()); } -void PythonQtWrapper_QGraphicsView::setOptimizationFlags(QGraphicsView* theWrappedObject, QGraphicsView::OptimizationFlags flags) +void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) { - ( theWrappedObject->setOptimizationFlags(flags)); + ( theWrappedObject->setBottom(arg__1)); } -void PythonQtWrapper_QGraphicsView::setRenderHint(QGraphicsView* theWrappedObject, QPainter::RenderHint hint, bool enabled) +void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) { - ( theWrappedObject->setRenderHint(hint, enabled)); + ( theWrappedObject->setRange(bottom, top)); } -void PythonQtWrapper_QGraphicsView::setRenderHints(QGraphicsView* theWrappedObject, QPainter::RenderHints hints) +void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) { - ( theWrappedObject->setRenderHints(hints)); + ( theWrappedObject->setTop(arg__1)); } -void PythonQtWrapper_QGraphicsView::setResizeAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) +int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const { - ( theWrappedObject->setResizeAnchor(anchor)); + return ( theWrappedObject->top()); } -void PythonQtWrapper_QGraphicsView::setRubberBandSelectionMode(QGraphicsView* theWrappedObject, Qt::ItemSelectionMode mode) + + +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 { - ( theWrappedObject->setRubberBandSelectionMode(mode)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::setScene(QGraphicsView* theWrappedObject, QGraphicsScene* scene) -{ - ( theWrappedObject->setScene(scene)); + return QItemDelegate::createEditor(parent0, option1, index2); } - -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, const QRectF& rect) +void PythonQtShell_QItemDelegate::customEvent(QEvent* event0) { - ( theWrappedObject->setSceneRect(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsView::setSceneRect(QGraphicsView* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->setSceneRect(x, y, w, h)); + QItemDelegate::customEvent(event0); } - -void PythonQtWrapper_QGraphicsView::setTransform(QGraphicsView* theWrappedObject, const QTransform& matrix, bool combine) +void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const { - ( theWrappedObject->setTransform(matrix, combine)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::setTransformationAnchor(QGraphicsView* theWrappedObject, QGraphicsView::ViewportAnchor anchor) -{ - ( theWrappedObject->setTransformationAnchor(anchor)); + QItemDelegate::destroyEditor(editor0, index1); } - -void PythonQtWrapper_QGraphicsView::setViewportUpdateMode(QGraphicsView* theWrappedObject, QGraphicsView::ViewportUpdateMode mode) +void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const { - ( theWrappedObject->setViewportUpdateMode(mode)); +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(); + } + } } - -void PythonQtWrapper_QGraphicsView::shear(QGraphicsView* theWrappedObject, qreal sh, qreal sv) -{ - ( theWrappedObject->shear(sh, sv)); + QItemDelegate::drawCheck(painter0, option1, rect2, state3); } - -QTransform PythonQtWrapper_QGraphicsView::transform(QGraphicsView* theWrappedObject) const +void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const { - return ( theWrappedObject->transform()); +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(); + } + } } - -QGraphicsView::ViewportAnchor PythonQtWrapper_QGraphicsView::transformationAnchor(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->transformationAnchor()); + QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); } - -void PythonQtWrapper_QGraphicsView::translate(QGraphicsView* theWrappedObject, qreal dx, qreal dy) +void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const { - ( theWrappedObject->translate(dx, dy)); +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(); + } + } } - -QTransform PythonQtWrapper_QGraphicsView::viewportTransform(QGraphicsView* theWrappedObject) const -{ - return ( theWrappedObject->viewportTransform()); + QItemDelegate::drawDisplay(painter0, option1, rect2, text3); } - -QGraphicsView::ViewportUpdateMode PythonQtWrapper_QGraphicsView::viewportUpdateMode(QGraphicsView* theWrappedObject) const +void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const { - return ( theWrappedObject->viewportUpdateMode()); +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(); + } + } } - - - -PythonQtShell_QGraphicsWidget::~PythonQtShell_QGraphicsWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QItemDelegate::drawFocus(painter0, option1, rect2); } -QRectF PythonQtShell_QGraphicsWidget::boundingRect() const +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("boundingRect"); + static PyObject* name = PyString_FromString("editorEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4859,76 +3892,98 @@ if (_wrapper) { } } } - return QGraphicsWidget::boundingRect(); + return QItemDelegate::editorEvent(event0, model1, option2, index3); } -void PythonQtShell_QGraphicsWidget::changeEvent(QEvent* event0) +bool PythonQtShell_QItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::changeEvent(event0); + return QItemDelegate::event(event0); } -void PythonQtShell_QGraphicsWidget::closeEvent(QCloseEvent* 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("closeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::closeEvent(event0); + return QItemDelegate::eventFilter(object0, event1); } -bool PythonQtShell_QGraphicsWidget::event(QEvent* event0) +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("event"); + static PyObject* name = PyString_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4936,21 +3991,21 @@ if (_wrapper) { } } } - return QGraphicsWidget::event(event0); + return QItemDelegate::helpEvent(event0, view1, option2, index3); } -void PythonQtShell_QGraphicsWidget::focusInEvent(QFocusEvent* event0) +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("focusInEvent"); + static PyObject* name = PyString_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4958,32 +4013,32 @@ if (_wrapper) { } } } - QGraphicsWidget::focusInEvent(event0); + QItemDelegate::paint(painter0, option1, index2); } -bool PythonQtShell_QGraphicsWidget::focusNextPrevChild(bool next0) +QVector PythonQtShell_QItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("paintingRoles"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVector*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4991,21 +4046,21 @@ if (_wrapper) { } } } - return QGraphicsWidget::focusNextPrevChild(next0); + return QItemDelegate::paintingRoles(); } -void PythonQtShell_QGraphicsWidget::focusOutEvent(QFocusEvent* event0) +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("focusOutEvent"); + static PyObject* name = PyString_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5013,21 +4068,21 @@ if (_wrapper) { } } } - QGraphicsWidget::focusOutEvent(event0); + QItemDelegate::setEditorData(editor0, index1); } -void PythonQtShell_QGraphicsWidget::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +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("getContentsMargins"); + static PyObject* name = PyString_FromString("setModelData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5035,21 +4090,76 @@ if (_wrapper) { } } } - QGraphicsWidget::getContentsMargins(left0, top1, right2, bottom3); + QItemDelegate::setModelData(editor0, model1, index2); } -void PythonQtShell_QGraphicsWidget::grabKeyboardEvent(QEvent* event0) +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("grabKeyboardEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5057,343 +4167,608 @@ if (_wrapper) { } } } - QGraphicsWidget::grabKeyboardEvent(event0); + 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)); } -void PythonQtShell_QGraphicsWidget::grabMouseEvent(QEvent* event0) + +QPixmap PythonQtWrapper_QItemDelegate::static_QItemDelegate_selectedPixmap(const QPixmap& pixmap, const QPalette& palette, bool enabled) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (PythonQtPublicPromoter_QItemDelegate::promoted_selectedPixmap(pixmap, palette, enabled)); } - QGraphicsWidget::grabMouseEvent(event0); + +void PythonQtWrapper_QItemDelegate::setClipping(QItemDelegate* theWrappedObject, bool clip) +{ + ( theWrappedObject->setClipping(clip)); } -void PythonQtShell_QGraphicsWidget::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QItemDelegate::setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setItemEditorFactory(factory)); } - QGraphicsWidget::hideEvent(event0); + +QStyleOptionViewItem PythonQtWrapper_QItemDelegate::setOptions(QItemDelegate* theWrappedObject, const QModelIndex& index, const QStyleOptionViewItem& option) const +{ + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_setOptions(index, option)); } -void PythonQtShell_QGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) + +QRect PythonQtWrapper_QItemDelegate::textRectangle(QItemDelegate* theWrappedObject, QPainter* painter, const QRect& rect, const QFont& font, const QString& text) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_textRectangle(painter, rect, font, text)); } - QGraphicsWidget::hoverLeaveEvent(event0); + + + +PythonQtShell_QItemEditorCreatorBase::~PythonQtShell_QItemEditorCreatorBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +QWidget* PythonQtShell_QItemEditorCreatorBase::createWidget(QWidget* parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hoverMoveEvent"); + static PyObject* name = PyString_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QWidget* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::hoverMoveEvent(event0); + return nullptr; } -void PythonQtShell_QGraphicsWidget::initStyleOption(QStyleOption* option0) const +QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initStyleOption"); + static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&option0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::initStyleOption(option0); + 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); } } -QVariant PythonQtShell_QGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +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("itemChange"); + static PyObject* name = PyString_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const char* argumentList[] ={"QWidget*" , "int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + QWidget* returnValue{}; + void* args[3] = {nullptr, (void*)&userType0, (void*)&parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } return returnValue; } else { PyErr_Clear(); } } } - return QGraphicsWidget::itemChange(change0, value1); + return QItemEditorFactory::createEditor(userType0, parent1); } -void PythonQtShell_QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent* event0) +QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("valuePropertyName"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + static const char* argumentList[] ={"QByteArray" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QByteArray returnValue{}; + void* args[2] = {nullptr, (void*)&userType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + } else { + returnValue = *((QByteArray*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsWidget::moveEvent(event0); + 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 PythonQtShell_QGraphicsWidget::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) { -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] = {NULL, (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(); - } - } + (QItemSelection::split(range, other, result)); } - QGraphicsWidget::paint(painter0, option1, widget2); + +bool PythonQtWrapper_QItemSelection::startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const +{ + return ( theWrappedObject->startsWith(t)); } -void PythonQtShell_QGraphicsWidget::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, QList& other) { -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] = {NULL, (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(); - } - } + ( theWrappedObject->swap(other)); } - QGraphicsWidget::paintWindowFrame(painter0, option1, widget2); + +void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j) +{ + ( theWrappedObject->swap(i, j)); } -void PythonQtShell_QGraphicsWidget::polishEvent() + +void PythonQtWrapper_QItemSelection::swapItemsAt(QItemSelection* theWrappedObject, int i, int j) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swapItemsAt(i, j)); } - QGraphicsWidget::polishEvent(); + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); } -QVariant PythonQtShell_QGraphicsWidget::propertyChange(const QString& propertyName0, const QVariant& value1) + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject) { -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] = {NULL, (void*)&propertyName0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->takeFirst()); } - return QGraphicsWidget::propertyChange(propertyName0, value1); + +QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); } -void PythonQtShell_QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent* event0) + +QVector PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + 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)); } - QGraphicsWidget::resizeEvent(event0); + + + +PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QGraphicsWidget::sceneEvent(QEvent* event0) +void PythonQtShell_QItemSelectionModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sceneEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::sceneEvent(event0); + QItemSelectionModel::childEvent(event0); } -void PythonQtShell_QGraphicsWidget::setGeometry(const QRectF& rect0) +void PythonQtShell_QItemSelectionModel::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("clear"); 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] = {NULL, (void*)&rect0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5401,54 +4776,43 @@ if (_wrapper) { } } } - QGraphicsWidget::setGeometry(rect0); + QItemSelectionModel::clear(); } -QPainterPath PythonQtShell_QGraphicsWidget::shape() const +void PythonQtShell_QItemSelectionModel::clearCurrentIndex() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("shape"); + static PyObject* name = PyString_FromString("clearCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainterPath"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::shape(); + QItemSelectionModel::clearCurrentIndex(); } -void PythonQtShell_QGraphicsWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QItemSelectionModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5456,32 +4820,32 @@ if (_wrapper) { } } } - QGraphicsWidget::showEvent(event0); + QItemSelectionModel::customEvent(event0); } -QSizeF PythonQtShell_QGraphicsWidget::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +bool PythonQtShell_QItemSelectionModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSizeF returnValue{}; - void* args[3] = {NULL, (void*)&which0, (void*)&constraint1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5489,32 +4853,32 @@ if (_wrapper) { } } } - return QGraphicsWidget::sizeHint(which0, constraint1); + return QItemSelectionModel::event(event0); } -int PythonQtShell_QGraphicsWidget::type() const +bool PythonQtShell_QItemSelectionModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("type"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5522,21 +4886,21 @@ if (_wrapper) { } } } - return QGraphicsWidget::type(); + return QItemSelectionModel::eventFilter(watched0, event1); } -void PythonQtShell_QGraphicsWidget::ungrabKeyboardEvent(QEvent* event0) +void PythonQtShell_QItemSelectionModel::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("ungrabKeyboardEvent"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5544,21 +4908,21 @@ if (_wrapper) { } } } - QGraphicsWidget::ungrabKeyboardEvent(event0); + QItemSelectionModel::reset(); } -void PythonQtShell_QGraphicsWidget::ungrabMouseEvent(QEvent* event0) +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("ungrabMouseEvent"); + static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5566,21 +4930,21 @@ if (_wrapper) { } } } - QGraphicsWidget::ungrabMouseEvent(event0); + QItemSelectionModel::select(selection0, command1); } -void PythonQtShell_QGraphicsWidget::updateGeometry() +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("updateGeometry"); + static PyObject* name = PyString_FromString("select"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5588,515 +4952,595 @@ if (_wrapper) { } } } - QGraphicsWidget::updateGeometry(); + QItemSelectionModel::select(index0, command1); } -bool PythonQtShell_QGraphicsWidget::windowFrameEvent(QEvent* e0) +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("windowFrameEvent"); + static PyObject* name = PyString_FromString("setCurrentIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::windowFrameEvent(e0); + QItemSelectionModel::setCurrentIndex(index0, command1); } -Qt::WindowFrameSection PythonQtShell_QGraphicsWidget::windowFrameSectionAt(const QPointF& pos0) const +void PythonQtShell_QItemSelectionModel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("windowFrameSectionAt"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::WindowFrameSection returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); - } else { - returnValue = *((Qt::WindowFrameSection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsWidget::windowFrameSectionAt(pos0); + QItemSelectionModel::timerEvent(event0); } -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::new_QGraphicsWidget(QGraphicsItem* parent, Qt::WindowFlags wFlags) +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model) +{ +return new PythonQtShell_QItemSelectionModel(model); } + +QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent) { -return new PythonQtShell_QGraphicsWidget(parent, wFlags); } +return new PythonQtShell_QItemSelectionModel(model, parent); } -const QMetaObject* PythonQtShell_QGraphicsWidget::metaObject() const { +const QMetaObject* PythonQtShell_QItemSelectionModel::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemSelectionModel::staticMetaObject); } else { - return &QGraphicsWidget::staticMetaObject; + return &QItemSelectionModel::staticMetaObject; } } -int PythonQtShell_QGraphicsWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGraphicsWidget::qt_metacall(call, id, args); +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; } -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()); -} - -QRectF PythonQtWrapper_QGraphicsWidget::boundingRect(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -void PythonQtWrapper_QGraphicsWidget::changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_changeEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event) +bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_closeEvent(event)); + return ( theWrappedObject->columnIntersectsSelection(column, parent)); } -bool PythonQtWrapper_QGraphicsWidget::event(QGraphicsWidget* theWrappedObject, QEvent* event) +QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_event(event)); + return ( theWrappedObject->currentIndex()); } -void PythonQtWrapper_QGraphicsWidget::focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) +void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusInEvent(event)); + ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); } -bool PythonQtWrapper_QGraphicsWidget::focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next) +bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); + return ( theWrappedObject->hasSelection()); } -void PythonQtWrapper_QGraphicsWidget::focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event) +bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_focusOutEvent(event)); + return ( theWrappedObject->isColumnSelected(column, parent)); } -Qt::FocusPolicy PythonQtWrapper_QGraphicsWidget::focusPolicy(QGraphicsWidget* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const { - return ( theWrappedObject->focusPolicy()); + return ( theWrappedObject->isRowSelected(row, parent)); } -QGraphicsWidget* PythonQtWrapper_QGraphicsWidget::focusWidget(QGraphicsWidget* theWrappedObject) const +bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->focusWidget()); + return ( theWrappedObject->isSelected(index)); } -QFont PythonQtWrapper_QGraphicsWidget::font(QGraphicsWidget* theWrappedObject) const +QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) { - return ( theWrappedObject->font()); + return ( theWrappedObject->model()); } -void PythonQtWrapper_QGraphicsWidget::getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const { - ( theWrappedObject->getContentsMargins(left, top, right, bottom)); + return ( theWrappedObject->model()); } -void PythonQtWrapper_QGraphicsWidget::getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const +bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const { - ( theWrappedObject->getWindowFrameMargins(left, top, right, bottom)); + return ( theWrappedObject->rowIntersectsSelection(row, parent)); } -void PythonQtWrapper_QGraphicsWidget::grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabKeyboardEvent(event)); + return ( theWrappedObject->selectedColumns(row)); } -void PythonQtWrapper_QGraphicsWidget::grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_grabMouseEvent(event)); + return ( theWrappedObject->selectedIndexes()); } -int PythonQtWrapper_QGraphicsWidget::grabShortcut(QGraphicsWidget* theWrappedObject, const QKeySequence& sequence, Qt::ShortcutContext context) +QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const { - return ( theWrappedObject->grabShortcut(sequence, context)); + return ( theWrappedObject->selectedRows(column)); } -void PythonQtWrapper_QGraphicsWidget::hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event) +const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hideEvent(event)); + return ( theWrappedObject->selection()); } -void PythonQtWrapper_QGraphicsWidget::hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) +void PythonQtWrapper_QItemSelectionModel::setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverLeaveEvent(event)); + ( theWrappedObject->setModel(model)); } -void PythonQtWrapper_QGraphicsWidget::hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_hoverMoveEvent(event)); -} - -void PythonQtWrapper_QGraphicsWidget::initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_initStyleOption(option)); -} - -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()); -} - -QVariant PythonQtWrapper_QGraphicsWidget::itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) -{ - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_itemChange(change, value)); -} -QGraphicsLayout* PythonQtWrapper_QGraphicsWidget::layout(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange() +{ +return new QItemSelectionRange(); } -Qt::LayoutDirection PythonQtWrapper_QGraphicsWidget::layoutDirection(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other) +{ +return new QItemSelectionRange(other); } -void PythonQtWrapper_QGraphicsWidget::moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_moveEvent(event)); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index) +{ +return new QItemSelectionRange(index); } -void PythonQtWrapper_QGraphicsWidget::paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topL, const QModelIndex& bottomR) +{ +return new QItemSelectionRange(topL, bottomR); } -void PythonQtWrapper_QGraphicsWidget::paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->paintWindowFrame(painter, option, widget)); + return ( theWrappedObject->bottom()); } -QPalette PythonQtWrapper_QGraphicsWidget::palette(QGraphicsWidget* theWrappedObject) const +const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->palette()); + return &( theWrappedObject->bottomRight()); } -void PythonQtWrapper_QGraphicsWidget::polishEvent(QGraphicsWidget* theWrappedObject) +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_polishEvent()); + return ( theWrappedObject->contains(index)); } -QVariant PythonQtWrapper_QGraphicsWidget::propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value) +bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_propertyChange(propertyName, value)); + return ( theWrappedObject->contains(row, column, parentIndex)); } -QRectF PythonQtWrapper_QGraphicsWidget::rect(QGraphicsWidget* theWrappedObject) const +int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const { - return ( theWrappedObject->rect()); + return ( theWrappedObject->height()); } -void PythonQtWrapper_QGraphicsWidget::releaseShortcut(QGraphicsWidget* theWrappedObject, int id) +QList PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->releaseShortcut(id)); + return ( theWrappedObject->indexes()); } -void PythonQtWrapper_QGraphicsWidget::removeAction(QGraphicsWidget* theWrappedObject, QAction* action) +QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->removeAction(action)); + return ( theWrappedObject->intersected(other)); } -void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, const QSizeF& size) +bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->resize(size)); + return ( theWrappedObject->intersects(other)); } -void PythonQtWrapper_QGraphicsWidget::resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h) +bool PythonQtWrapper_QItemSelectionRange::isEmpty(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->resize(w, h)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QGraphicsWidget::resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event) +bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_resizeEvent(event)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QGraphicsWidget::sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sceneEvent(event)); + return ( theWrappedObject->left()); } -void PythonQtWrapper_QGraphicsWidget::setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on) +const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setAttribute(attribute, on)); + return ( theWrappedObject->model()); } -void PythonQtWrapper_QGraphicsWidget::setAutoFillBackground(QGraphicsWidget* theWrappedObject, bool enabled) +bool PythonQtWrapper_QItemSelectionRange::__ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->setAutoFillBackground(enabled)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +bool PythonQtWrapper_QItemSelectionRange::__lt__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->setContentsMargins(margins)); + return ( (*theWrappedObject)< other); } -void PythonQtWrapper_QGraphicsWidget::setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::operator_assign(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) { - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QGraphicsWidget::setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy) +bool PythonQtWrapper_QItemSelectionRange::__eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const { - ( theWrappedObject->setFocusPolicy(policy)); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QGraphicsWidget::setFont(QGraphicsWidget* theWrappedObject, const QFont& font) +QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setFont(font)); + return ( theWrappedObject->parent()); } -void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect) +int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setGeometry(rect)); + return ( theWrappedObject->right()); } -void PythonQtWrapper_QGraphicsWidget::setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +void PythonQtWrapper_QItemSelectionRange::swap(QItemSelectionRange* theWrappedObject, QItemSelectionRange& other) { - ( theWrappedObject->setGeometry(x, y, w, h)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QGraphicsWidget::setLayout(QGraphicsWidget* theWrappedObject, PythonQtPassOwnershipToCPP layout) +int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setLayout(layout)); + return ( theWrappedObject->top()); } -void PythonQtWrapper_QGraphicsWidget::setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction) +const QPersistentModelIndex* PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setLayoutDirection(direction)); + return &( theWrappedObject->topLeft()); } -void PythonQtWrapper_QGraphicsWidget::setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette) +int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const { - ( theWrappedObject->setPalette(palette)); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QGraphicsWidget::setShortcutAutoRepeat(QGraphicsWidget* theWrappedObject, int id, bool enabled) -{ - ( theWrappedObject->setShortcutAutoRepeat(id, enabled)); +QString PythonQtWrapper_QItemSelectionRange::py_toString(QItemSelectionRange* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -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)); +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); } -void PythonQtWrapper_QGraphicsWidget::setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags) -{ - ( theWrappedObject->setWindowFlags(wFlags)); -} +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); } -void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, QMarginsF margins) +int PythonQtWrapper_QKeyEvent::count(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setWindowFrameMargins(margins)); + return ( theWrappedObject->count()); } -void PythonQtWrapper_QGraphicsWidget::setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom) +bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setWindowFrameMargins(left, top, right, bottom)); + return ( theWrappedObject->isAutoRepeat()); } -void PythonQtWrapper_QGraphicsWidget::setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title) +int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const { - ( theWrappedObject->setWindowTitle(title)); + return ( theWrappedObject->key()); } -QPainterPath PythonQtWrapper_QGraphicsWidget::shape(QGraphicsWidget* theWrappedObject) const +bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const { - return ( theWrappedObject->shape()); + return ( theWrappedObject->matches(key)); } -void PythonQtWrapper_QGraphicsWidget::showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event) +Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_showEvent(event)); + return ( theWrappedObject->modifiers()); } -QSizeF PythonQtWrapper_QGraphicsWidget::size(QGraphicsWidget* theWrappedObject) const +unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->nativeModifiers()); } -QSizeF PythonQtWrapper_QGraphicsWidget::sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const +unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_sizeHint(which, constraint)); + return ( theWrappedObject->nativeScanCode()); } -QStyle* PythonQtWrapper_QGraphicsWidget::style(QGraphicsWidget* theWrappedObject) const +unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->style()); + return ( theWrappedObject->nativeVirtualKey()); } -bool PythonQtWrapper_QGraphicsWidget::testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const +QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const { - return ( theWrappedObject->testAttribute(attribute)); + return ( theWrappedObject->text()); } -int PythonQtWrapper_QGraphicsWidget::type(QGraphicsWidget* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} -void PythonQtWrapper_QGraphicsWidget::ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabKeyboardEvent(event)); -} -void PythonQtWrapper_QGraphicsWidget::ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event) +PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QKeyEventTransition::childEvent(QChildEvent* event0) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_ungrabMouseEvent(event)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::unsetLayoutDirection(QGraphicsWidget* theWrappedObject) + QKeyEventTransition::childEvent(event0); +} +void PythonQtShell_QKeyEventTransition::customEvent(QEvent* event0) { - ( theWrappedObject->unsetLayoutDirection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject) + QKeyEventTransition::customEvent(event0); +} +bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) { - ( theWrappedObject->unsetWindowFrameMargins()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -void PythonQtWrapper_QGraphicsWidget::updateGeometry(QGraphicsWidget* theWrappedObject) + return QKeyEventTransition::event(e0); +} +bool PythonQtShell_QKeyEventTransition::eventFilter(QObject* watched0, QEvent* event1) { - ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_updateGeometry()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::WindowFlags PythonQtWrapper_QGraphicsWidget::windowFlags(QGraphicsWidget* theWrappedObject) const + return QKeyEventTransition::eventFilter(watched0, event1); +} +bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) { - return ( theWrappedObject->windowFlags()); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsWidget::windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e) + return QKeyEventTransition::eventTest(event0); +} +void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameEvent(e)); +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(); + } + } } - -QRectF PythonQtWrapper_QGraphicsWidget::windowFrameGeometry(QGraphicsWidget* theWrappedObject) const + QKeyEventTransition::onTransition(event0); +} +void PythonQtShell_QKeyEventTransition::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->windowFrameGeometry()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -QRectF PythonQtWrapper_QGraphicsWidget::windowFrameRect(QGraphicsWidget* theWrappedObject) const +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->windowFrameRect()); + return ( theWrappedObject->key()); } -Qt::WindowFrameSection PythonQtWrapper_QGraphicsWidget::windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const +Qt::KeyboardModifiers PythonQtWrapper_QKeyEventTransition::modifierMask(QKeyEventTransition* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QGraphicsWidget*)theWrappedObject)->promoted_windowFrameSectionAt(pos)); + return ( theWrappedObject->modifierMask()); } -QString PythonQtWrapper_QGraphicsWidget::windowTitle(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QKeyEventTransition::setKey(QKeyEventTransition* theWrappedObject, int key) { - return ( theWrappedObject->windowTitle()); + ( theWrappedObject->setKey(key)); } -Qt::WindowType PythonQtWrapper_QGraphicsWidget::windowType(QGraphicsWidget* theWrappedObject) const +void PythonQtWrapper_QKeyEventTransition::setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) { - return ( theWrappedObject->windowType()); + ( theWrappedObject->setModifierMask(modifiers)); } -PythonQtShell_QGridLayout::~PythonQtShell_QGridLayout() { +PythonQtShell_QKeySequenceEdit::~PythonQtShell_QKeySequenceEdit() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) +void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6104,65 +5548,142 @@ if (_wrapper) { } } } - QGridLayout::addItem(arg__1); + QKeySequenceEdit::actionEvent(event0); } -int PythonQtShell_QGridLayout::count() const +void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("changeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + 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(); } } } - return QGridLayout::count(); + QKeySequenceEdit::customEvent(event0); } -Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const +int PythonQtShell_QKeySequenceEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6170,87 +5691,65 @@ if (_wrapper) { } } } - return QGridLayout::expandingDirections(); + return QKeySequenceEdit::devType(); } -bool PythonQtShell_QGridLayout::hasHeightForWidth() const +void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::hasHeightForWidth(); + QKeySequenceEdit::dragEnterEvent(event0); } -int PythonQtShell_QGridLayout::heightForWidth(int arg__1) const +void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::heightForWidth(arg__1); + QKeySequenceEdit::dragLeaveEvent(event0); } -void PythonQtShell_QGridLayout::invalidate() +void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6258,98 +5757,76 @@ if (_wrapper) { } } } - QGridLayout::invalidate(); + QKeySequenceEdit::dragMoveEvent(event0); } -QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index0) const +void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::itemAt(index0); + QKeySequenceEdit::dropEvent(event0); } -QSize PythonQtShell_QGridLayout::maximumSize() const +void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGridLayout::maximumSize(); + QKeySequenceEdit::enterEvent(event0); } -int PythonQtShell_QGridLayout::minimumHeightForWidth(int arg__1) const +bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6357,32 +5834,32 @@ if (_wrapper) { } } } - return QGridLayout::minimumHeightForWidth(arg__1); + return QKeySequenceEdit::event(arg__1); } -QSize PythonQtShell_QGridLayout::minimumSize() const +bool PythonQtShell_QKeySequenceEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6390,21 +5867,21 @@ if (_wrapper) { } } } - return QGridLayout::minimumSize(); + return QKeySequenceEdit::eventFilter(watched0, event1); } -void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6412,32 +5889,32 @@ if (_wrapper) { } } } - QGridLayout::setGeometry(arg__1); + QKeySequenceEdit::focusInEvent(event0); } -QSize PythonQtShell_QGridLayout::sizeHint() const +bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6445,32 +5922,54 @@ if (_wrapper) { } } } - return QGridLayout::sizeHint(); + return QKeySequenceEdit::focusNextPrevChild(next0); } -QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index0) +void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6478,255 +5977,153 @@ if (_wrapper) { } } } - return QGridLayout::takeAt(index0); -} -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, QLayoutItem* arg__1) -{ - ( ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_addItem(arg__1)); -} - -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::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::count(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -Qt::Orientations PythonQtWrapper_QGridLayout::expandingDirections(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->expandingDirections()); -} - -bool PythonQtWrapper_QGridLayout::hasHeightForWidth(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QGridLayout::heightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->horizontalSpacing()); -} - -void PythonQtWrapper_QGridLayout::invalidate(QGridLayout* theWrappedObject) -{ - ( theWrappedObject->invalidate()); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAt(QGridLayout* theWrappedObject, int index) const -{ - return ( theWrappedObject->itemAt(index)); -} - -QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->itemAtPosition(row, column)); -} - -QSize PythonQtWrapper_QGridLayout::maximumSize(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->minimumHeightForWidth(arg__1)); -} - -QSize PythonQtWrapper_QGridLayout::minimumSize(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -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::setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - -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)); + return QKeySequenceEdit::hasHeightForWidth(); } - -void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) +int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const { - ( theWrappedObject->setRowStretch(row, stretch)); +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(); + } + } } - -void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) -{ - ( theWrappedObject->setSpacing(spacing)); + return QKeySequenceEdit::heightForWidth(arg__1); } - -void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) +void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) { - ( theWrappedObject->setVerticalSpacing(spacing)); +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(); + } + } } - -QSize PythonQtWrapper_QGridLayout::sizeHint(QGridLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); + QKeySequenceEdit::hideEvent(event0); } - -int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const +void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const { - return ( theWrappedObject->spacing()); +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(); + } + } } - -QLayoutItem* PythonQtWrapper_QGridLayout::takeAt(QGridLayout* theWrappedObject, int index) -{ - return ( theWrappedObject->takeAt(index)); + QKeySequenceEdit::initPainter(painter0); } - -int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const +void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->verticalSpacing()); +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(); + } + } } - - - -PythonQtShell_QGroupBox::~PythonQtShell_QGroupBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QKeySequenceEdit::inputMethodEvent(arg__1); } -void PythonQtShell_QGroupBox::actionEvent(QActionEvent* event0) +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("actionEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::actionEvent(event0); + return QKeySequenceEdit::inputMethodQuery(arg__1); } -void PythonQtShell_QGroupBox::changeEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6734,21 +6131,21 @@ if (_wrapper) { } } } - QGroupBox::changeEvent(event0); + QKeySequenceEdit::keyPressEvent(arg__1); } -void PythonQtShell_QGroupBox::childEvent(QChildEvent* event0) +void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("childEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6756,21 +6153,21 @@ if (_wrapper) { } } } - QGroupBox::childEvent(event0); + QKeySequenceEdit::keyReleaseEvent(arg__1); } -void PythonQtShell_QGroupBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6778,54 +6175,65 @@ if (_wrapper) { } } } - QGroupBox::closeEvent(event0); + QKeySequenceEdit::leaveEvent(event0); } -void PythonQtShell_QGroupBox::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::contextMenuEvent(event0); + return QKeySequenceEdit::metric(arg__1); } -int PythonQtShell_QGroupBox::devType() const +QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6833,21 +6241,21 @@ if (_wrapper) { } } } - return QGroupBox::devType(); + return QKeySequenceEdit::minimumSizeHint(); } -void PythonQtShell_QGroupBox::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6855,21 +6263,21 @@ if (_wrapper) { } } } - QGroupBox::dragEnterEvent(event0); + QKeySequenceEdit::mouseDoubleClickEvent(event0); } -void PythonQtShell_QGroupBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6877,21 +6285,21 @@ if (_wrapper) { } } } - QGroupBox::dragLeaveEvent(event0); + QKeySequenceEdit::mouseMoveEvent(event0); } -void PythonQtShell_QGroupBox::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6899,21 +6307,21 @@ if (_wrapper) { } } } - QGroupBox::dragMoveEvent(event0); + QKeySequenceEdit::mousePressEvent(event0); } -void PythonQtShell_QGroupBox::dropEvent(QDropEvent* event0) +void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6921,21 +6329,21 @@ if (_wrapper) { } } } - QGroupBox::dropEvent(event0); + QKeySequenceEdit::mouseReleaseEvent(event0); } -void PythonQtShell_QGroupBox::enterEvent(QEvent* event0) +void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6943,54 +6351,164 @@ if (_wrapper) { } } } - QGroupBox::enterEvent(event0); + QKeySequenceEdit::moveEvent(event0); } -bool PythonQtShell_QGroupBox::event(QEvent* 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("event"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::event(event0); + QKeySequenceEdit::resizeEvent(event0); } -void PythonQtShell_QGroupBox::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6998,32 +6516,32 @@ if (_wrapper) { } } } - QGroupBox::focusInEvent(event0); + QKeySequenceEdit::setVisible(visible0); } -bool PythonQtShell_QGroupBox::focusNextPrevChild(bool next0) +QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7031,21 +6549,21 @@ if (_wrapper) { } } } - return QGroupBox::focusNextPrevChild(next0); + return QKeySequenceEdit::sharedPainter(); } -void PythonQtShell_QGroupBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7053,32 +6571,32 @@ if (_wrapper) { } } } - QGroupBox::focusOutEvent(event0); + QKeySequenceEdit::showEvent(event0); } -bool PythonQtShell_QGroupBox::hasHeightForWidth() const +QSize PythonQtShell_QKeySequenceEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7086,54 +6604,43 @@ if (_wrapper) { } } } - return QGroupBox::hasHeightForWidth(); + return QKeySequenceEdit::sizeHint(); } -int PythonQtShell_QGroupBox::heightForWidth(int arg__1) const +void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::heightForWidth(arg__1); + QKeySequenceEdit::tabletEvent(event0); } -void PythonQtShell_QGroupBox::hideEvent(QHideEvent* event0) +void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7141,21 +6648,75 @@ if (_wrapper) { } } } - QGroupBox::hideEvent(event0); + QKeySequenceEdit::timerEvent(arg__1); } -void PythonQtShell_QGroupBox::initPainter(QPainter* painter0) const +void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + 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] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7163,21 +6724,21 @@ if (_wrapper) { } } } - QGroupBox::initPainter(painter0); + QLCDNumber::actionEvent(event0); } -void PythonQtShell_QGroupBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7185,54 +6746,43 @@ if (_wrapper) { } } } - QGroupBox::inputMethodEvent(arg__1); + QLCDNumber::changeEvent(arg__1); } -QVariant PythonQtShell_QGroupBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QLCDNumber::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::inputMethodQuery(arg__1); + QLCDNumber::childEvent(event0); } -void PythonQtShell_QGroupBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7240,21 +6790,21 @@ if (_wrapper) { } } } - QGroupBox::keyPressEvent(event0); + QLCDNumber::closeEvent(event0); } -void PythonQtShell_QGroupBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7262,21 +6812,21 @@ if (_wrapper) { } } } - QGroupBox::keyReleaseEvent(event0); + QLCDNumber::contextMenuEvent(event0); } -void PythonQtShell_QGroupBox::leaveEvent(QEvent* event0) +void PythonQtShell_QLCDNumber::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7284,32 +6834,32 @@ if (_wrapper) { } } } - QGroupBox::leaveEvent(event0); + QLCDNumber::customEvent(event0); } -int PythonQtShell_QGroupBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QLCDNumber::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7317,54 +6867,43 @@ if (_wrapper) { } } } - return QGroupBox::metric(arg__1); + return QLCDNumber::devType(); } -QSize PythonQtShell_QGroupBox::minimumSizeHint() const +void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::minimumSizeHint(); + QLCDNumber::dragEnterEvent(event0); } -void PythonQtShell_QGroupBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7372,21 +6911,21 @@ if (_wrapper) { } } } - QGroupBox::mouseDoubleClickEvent(event0); + QLCDNumber::dragLeaveEvent(event0); } -void PythonQtShell_QGroupBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7394,21 +6933,21 @@ if (_wrapper) { } } } - QGroupBox::mouseMoveEvent(event0); + QLCDNumber::dragMoveEvent(event0); } -void PythonQtShell_QGroupBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7416,21 +6955,21 @@ if (_wrapper) { } } } - QGroupBox::mousePressEvent(event0); + QLCDNumber::dropEvent(event0); } -void PythonQtShell_QGroupBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7438,21 +6977,87 @@ if (_wrapper) { } } } - QGroupBox::mouseReleaseEvent(event0); + QLCDNumber::enterEvent(event0); } -void PythonQtShell_QGroupBox::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QLCDNumber::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7460,32 +7065,32 @@ if (_wrapper) { } } } - QGroupBox::moveEvent(event0); + QLCDNumber::focusInEvent(event0); } -bool PythonQtShell_QGroupBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7493,32 +7098,54 @@ if (_wrapper) { } } } - return QGroupBox::nativeEvent(eventType0, message1, result2); + return QLCDNumber::focusNextPrevChild(next0); } -QPaintEngine* PythonQtShell_QGroupBox::paintEngine() const +void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + 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); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7526,76 +7153,76 @@ if (_wrapper) { } } } - return QGroupBox::paintEngine(); + return QLCDNumber::hasHeightForWidth(); } -void PythonQtShell_QGroupBox::paintEvent(QPaintEvent* event0) +int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGroupBox::paintEvent(event0); + return QLCDNumber::heightForWidth(arg__1); } -QPaintDevice* PythonQtShell_QGroupBox::redirected(QPoint* offset0) const +void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::redirected(offset0); + QLCDNumber::hideEvent(event0); } -void PythonQtShell_QGroupBox::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7603,21 +7230,21 @@ if (_wrapper) { } } } - QGroupBox::resizeEvent(event0); + QLCDNumber::initPainter(painter0); } -void PythonQtShell_QGroupBox::setVisible(bool visible0) +void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7625,32 +7252,32 @@ if (_wrapper) { } } } - QGroupBox::setVisible(visible0); + QLCDNumber::inputMethodEvent(arg__1); } -QPainter* PythonQtShell_QGroupBox::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7658,21 +7285,21 @@ if (_wrapper) { } } } - return QGroupBox::sharedPainter(); + return QLCDNumber::inputMethodQuery(arg__1); } -void PythonQtShell_QGroupBox::showEvent(QShowEvent* event0) +void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7680,54 +7307,43 @@ if (_wrapper) { } } } - QGroupBox::showEvent(event0); + QLCDNumber::keyPressEvent(event0); } -QSize PythonQtShell_QGroupBox::sizeHint() const +void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGroupBox::sizeHint(); + QLCDNumber::keyReleaseEvent(event0); } -void PythonQtShell_QGroupBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7735,352 +7351,175 @@ if (_wrapper) { } } } - QGroupBox::tabletEvent(event0); + QLCDNumber::leaveEvent(event0); } -void PythonQtShell_QGroupBox::wheelEvent(QWheelEvent* 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("wheelEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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::childEvent(QGroupBox* theWrappedObject, QChildEvent* event) -{ - ( ((PythonQtPublicPromoter_QGroupBox*)theWrappedObject)->promoted_childEvent(event)); -} - -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)); -} - -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()); -} - -QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMethod() -{ - return (QGuiApplication::inputMethod()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isFallbackSessionManagementEnabled() -{ - return (QGuiApplication::isFallbackSessionManagementEnabled()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() -{ - return (QGuiApplication::isLeftToRight()); -} - -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() -{ - return (QGuiApplication::isRightToLeft()); -} - -bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSavingSession()); -} - -bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSessionRestored()); -} - -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()); -} - -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()); -} - -QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); -} - -QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionKey()); -} - -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_setFallbackSessionManagementEnabled(bool arg__1) -{ - (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) -{ - (QGuiApplication::setFont(arg__1)); + return QLCDNumber::metric(arg__1); } - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction) -{ - (QGuiApplication::setLayoutDirection(direction)); -} - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setOverrideCursor(const QCursor& arg__1) +QSize PythonQtShell_QLCDNumber::minimumSizeHint() const { - (QGuiApplication::setOverrideCursor(arg__1)); +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(); + } + } } - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setPalette(const QPalette& pal) -{ - (QGuiApplication::setPalette(pal)); + return QLCDNumber::minimumSizeHint(); } - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setQuitOnLastWindowClosed(bool quit) +void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) { - (QGuiApplication::setQuitOnLastWindowClosed(quit)); +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(); + } + } } - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setWindowIcon(const QIcon& icon) -{ - (QGuiApplication::setWindowIcon(icon)); + QLCDNumber::mouseDoubleClickEvent(event0); } - -QStyleHints* PythonQtWrapper_QGuiApplication::static_QGuiApplication_styleHints() +void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) { - return (QGuiApplication::styleHints()); +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(); + } + } } - -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_sync() -{ - (QGuiApplication::sync()); + QLCDNumber::mouseMoveEvent(event0); } - -QWindow* PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelAt(const QPoint& pos) +void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) { - return (QGuiApplication::topLevelAt(pos)); +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(); + } + } } - -QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_topLevelWindows() -{ - return (QGuiApplication::topLevelWindows()); + QLCDNumber::mousePressEvent(event0); } - -QIcon PythonQtWrapper_QGuiApplication::static_QGuiApplication_windowIcon() +void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) { - return (QGuiApplication::windowIcon()); +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(); + } + } } - - - -PythonQtShell_QHBoxLayout::~PythonQtShell_QHBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QLCDNumber::mouseReleaseEvent(event0); } -void PythonQtShell_QHBoxLayout::addItem(QLayoutItem* arg__1) +void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8088,32 +7527,32 @@ if (_wrapper) { } } } - QHBoxLayout::addItem(arg__1); + QLCDNumber::moveEvent(event0); } -int PythonQtShell_QHBoxLayout::count() const +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("count"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8121,32 +7560,32 @@ if (_wrapper) { } } } - return QHBoxLayout::count(); + return QLCDNumber::nativeEvent(eventType0, message1, result2); } -Qt::Orientations PythonQtShell_QHBoxLayout::expandingDirections() const +QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8154,65 +7593,54 @@ if (_wrapper) { } } } - return QHBoxLayout::expandingDirections(); + return QLCDNumber::paintEngine(); } -bool PythonQtShell_QHBoxLayout::hasHeightForWidth() const +void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::hasHeightForWidth(); + QLCDNumber::paintEvent(arg__1); } -int PythonQtShell_QHBoxLayout::heightForWidth(int arg__1) const +QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8220,21 +7648,21 @@ if (_wrapper) { } } } - return QHBoxLayout::heightForWidth(arg__1); + return QLCDNumber::redirected(offset0); } -void PythonQtShell_QHBoxLayout::invalidate() +void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8242,65 +7670,54 @@ if (_wrapper) { } } } - QHBoxLayout::invalidate(); + QLCDNumber::resizeEvent(event0); } -QLayoutItem* PythonQtShell_QHBoxLayout::itemAt(int arg__1) const +void PythonQtShell_QLCDNumber::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::itemAt(arg__1); + QLCDNumber::setVisible(visible0); } -QSize PythonQtShell_QHBoxLayout::maximumSize() const +QPainter* PythonQtShell_QLCDNumber::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8308,65 +7725,54 @@ if (_wrapper) { } } } - return QHBoxLayout::maximumSize(); + return QLCDNumber::sharedPainter(); } -int PythonQtShell_QHBoxLayout::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::minimumHeightForWidth(arg__1); + QLCDNumber::showEvent(event0); } -QSize PythonQtShell_QHBoxLayout::minimumSize() const +QSize PythonQtShell_QLCDNumber::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8374,21 +7780,21 @@ if (_wrapper) { } } } - return QHBoxLayout::minimumSize(); + return QLCDNumber::sizeHint(); } -void PythonQtShell_QHBoxLayout::setGeometry(const QRect& arg__1) +void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8396,102 +7802,135 @@ if (_wrapper) { } } } - QHBoxLayout::setGeometry(arg__1); + QLCDNumber::tabletEvent(event0); } -QSize PythonQtShell_QHBoxLayout::sizeHint() const +void PythonQtShell_QLCDNumber::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::sizeHint(); + QLCDNumber::timerEvent(event0); } -QLayoutItem* PythonQtShell_QHBoxLayout::takeAt(int arg__1) +void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("takeAt"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHBoxLayout::takeAt(arg__1); + QLCDNumber::wheelEvent(event0); } -QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout() +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(QWidget* parent) { -return new PythonQtShell_QHBoxLayout(); } +return new PythonQtShell_QLCDNumber(parent); } -QHBoxLayout* PythonQtWrapper_QHBoxLayout::new_QHBoxLayout(QWidget* parent) +QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(uint numDigits, QWidget* parent) { -return new PythonQtShell_QHBoxLayout(parent); } +return new PythonQtShell_QLCDNumber(numDigits, parent); } -const QMetaObject* PythonQtShell_QHBoxLayout::metaObject() const { +const QMetaObject* PythonQtShell_QLCDNumber::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QHBoxLayout::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLCDNumber::staticMetaObject); } else { - return &QHBoxLayout::staticMetaObject; + return &QLCDNumber::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; +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_QHeaderView::~PythonQtShell_QHeaderView() { + +PythonQtShell_QLabel::~PythonQtShell_QLabel() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QHeaderView::actionEvent(QActionEvent* event0) +void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8501,9 +7940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8511,9 +7950,9 @@ if (_wrapper) { } } } - QHeaderView::actionEvent(event0); + QLabel::actionEvent(event0); } -void PythonQtShell_QHeaderView::changeEvent(QEvent* arg__1) +void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8523,9 +7962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8533,21 +7972,21 @@ if (_wrapper) { } } } - QHeaderView::changeEvent(arg__1); + QLabel::changeEvent(arg__1); } -void PythonQtShell_QHeaderView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QLabel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8555,9 +7994,9 @@ if (_wrapper) { } } } - QHeaderView::closeEditor(editor0, hint1); + QLabel::childEvent(event0); } -void PythonQtShell_QHeaderView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8567,31 +8006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8599,9 +8016,9 @@ if (_wrapper) { } } } - QHeaderView::commitData(editor0); + QLabel::closeEvent(event0); } -void PythonQtShell_QHeaderView::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8611,31 +8028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - 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] = {NULL, (void*)¤t0, (void*)&old1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8643,21 +8038,21 @@ if (_wrapper) { } } } - QHeaderView::currentChanged(current0, old1); + QLabel::contextMenuEvent(ev0); } -void PythonQtShell_QHeaderView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QLabel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8665,9 +8060,9 @@ if (_wrapper) { } } } - QHeaderView::dataChanged(topLeft0, bottomRight1, roles2); + QLabel::customEvent(event0); } -int PythonQtShell_QHeaderView::devType() const +int PythonQtShell_QLabel::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8678,19 +8073,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8698,31 +8093,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QHeaderView::doItemsLayout(); + return QLabel::devType(); } -void PythonQtShell_QHeaderView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8732,9 +8105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8742,9 +8115,9 @@ if (_wrapper) { } } } - QHeaderView::dragEnterEvent(event0); + QLabel::dragEnterEvent(event0); } -void PythonQtShell_QHeaderView::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8754,9 +8127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8764,9 +8137,9 @@ if (_wrapper) { } } } - QHeaderView::dragLeaveEvent(event0); + QLabel::dragLeaveEvent(event0); } -void PythonQtShell_QHeaderView::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8776,9 +8149,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8786,9 +8159,9 @@ if (_wrapper) { } } } - QHeaderView::dragMoveEvent(event0); + QLabel::dragMoveEvent(event0); } -void PythonQtShell_QHeaderView::dropEvent(QDropEvent* event0) +void PythonQtShell_QLabel::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8798,64 +8171,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8863,9 +8181,9 @@ if (_wrapper) { } } } - QHeaderView::editorDestroyed(editor0); + QLabel::dropEvent(event0); } -void PythonQtShell_QHeaderView::enterEvent(QEvent* event0) +void PythonQtShell_QLabel::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8875,9 +8193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8885,9 +8203,9 @@ if (_wrapper) { } } } - QHeaderView::enterEvent(event0); + QLabel::enterEvent(event0); } -bool PythonQtShell_QHeaderView::event(QEvent* e0) +bool PythonQtShell_QLabel::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8898,19 +8216,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8918,9 +8236,9 @@ if (_wrapper) { } } } - return QHeaderView::event(e0); + return QLabel::event(e0); } -bool PythonQtShell_QHeaderView::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QLabel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8931,19 +8249,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8951,9 +8269,9 @@ if (_wrapper) { } } } - return QHeaderView::eventFilter(object0, event1); + return QLabel::eventFilter(watched0, event1); } -void PythonQtShell_QHeaderView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8963,9 +8281,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8973,9 +8291,9 @@ if (_wrapper) { } } } - QHeaderView::focusInEvent(event0); + QLabel::focusInEvent(ev0); } -bool PythonQtShell_QHeaderView::focusNextPrevChild(bool next0) +bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8986,19 +8304,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9006,9 +8324,9 @@ if (_wrapper) { } } } - return QHeaderView::focusNextPrevChild(next0); + return QLabel::focusNextPrevChild(next0); } -void PythonQtShell_QHeaderView::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9018,9 +8336,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9028,9 +8346,9 @@ if (_wrapper) { } } } - QHeaderView::focusOutEvent(event0); + QLabel::focusOutEvent(ev0); } -bool PythonQtShell_QHeaderView::hasHeightForWidth() const +bool PythonQtShell_QLabel::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9041,19 +8359,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9061,9 +8379,9 @@ if (_wrapper) { } } } - return QHeaderView::hasHeightForWidth(); + return QLabel::hasHeightForWidth(); } -int PythonQtShell_QHeaderView::heightForWidth(int arg__1) const +int PythonQtShell_QLabel::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9074,19 +8392,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9094,9 +8412,9 @@ if (_wrapper) { } } } - return QHeaderView::heightForWidth(arg__1); + return QLabel::heightForWidth(arg__1); } -void PythonQtShell_QHeaderView::hideEvent(QHideEvent* event0) +void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9106,9 +8424,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9116,54 +8434,43 @@ if (_wrapper) { } } } - QHeaderView::hideEvent(event0); + QLabel::hideEvent(event0); } -int PythonQtShell_QHeaderView::horizontalOffset() const +void PythonQtShell_QLabel::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("initPainter"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::horizontalOffset(); + QLabel::initPainter(painter0); } -void PythonQtShell_QHeaderView::horizontalScrollbarAction(int action0) +void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9171,76 +8478,76 @@ if (_wrapper) { } } } - QHeaderView::horizontalScrollbarAction(action0); + QLabel::inputMethodEvent(arg__1); } -void PythonQtShell_QHeaderView::horizontalScrollbarValueChanged(int value0) +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("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::horizontalScrollbarValueChanged(value0); + return QLabel::inputMethodQuery(arg__1); } -QModelIndex PythonQtShell_QHeaderView::indexAt(const QPoint& p0) const +void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&p0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::indexAt(p0); + QLabel::keyPressEvent(ev0); } -void PythonQtShell_QHeaderView::initPainter(QPainter* painter0) const +void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9248,21 +8555,21 @@ if (_wrapper) { } } } - QHeaderView::initPainter(painter0); + QLabel::keyReleaseEvent(event0); } -void PythonQtShell_QHeaderView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QLabel::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9270,32 +8577,32 @@ if (_wrapper) { } } } - QHeaderView::inputMethodEvent(event0); + QLabel::leaveEvent(event0); } -QVariant PythonQtShell_QHeaderView::inputMethodQuery(Qt::InputMethodQuery query0) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9303,32 +8610,32 @@ if (_wrapper) { } } } - return QHeaderView::inputMethodQuery(query0); + return QLabel::metric(arg__1); } -bool PythonQtShell_QHeaderView::isIndexHidden(const QModelIndex& index0) const +QSize PythonQtShell_QLabel::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&index0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9336,21 +8643,21 @@ if (_wrapper) { } } } - return QHeaderView::isIndexHidden(index0); + return QLabel::minimumSizeHint(); } -void PythonQtShell_QHeaderView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9358,21 +8665,21 @@ if (_wrapper) { } } } - QHeaderView::keyPressEvent(event0); + QLabel::mouseDoubleClickEvent(event0); } -void PythonQtShell_QHeaderView::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9380,21 +8687,21 @@ if (_wrapper) { } } } - QHeaderView::keyReleaseEvent(event0); + QLabel::mouseMoveEvent(ev0); } -void PythonQtShell_QHeaderView::keyboardSearch(const QString& search0) +void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&search0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9402,21 +8709,21 @@ if (_wrapper) { } } } - QHeaderView::keyboardSearch(search0); + QLabel::mousePressEvent(ev0); } -void PythonQtShell_QHeaderView::leaveEvent(QEvent* event0) +void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9424,32 +8731,54 @@ if (_wrapper) { } } } - QHeaderView::leaveEvent(event0); + QLabel::mouseReleaseEvent(ev0); } -int PythonQtShell_QHeaderView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9457,32 +8786,32 @@ if (_wrapper) { } } } - return QHeaderView::metric(arg__1); + return QLabel::nativeEvent(eventType0, message1, result2); } -QSize PythonQtShell_QHeaderView::minimumSizeHint() const +QPaintEngine* PythonQtShell_QLabel::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9490,21 +8819,21 @@ if (_wrapper) { } } } - return QHeaderView::minimumSizeHint(); + return QLabel::paintEngine(); } -void PythonQtShell_QHeaderView::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9512,43 +8841,54 @@ if (_wrapper) { } } } - QHeaderView::mouseDoubleClickEvent(e0); + QLabel::paintEvent(arg__1); } -void PythonQtShell_QHeaderView::mouseMoveEvent(QMouseEvent* e0) +QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::mouseMoveEvent(e0); + return QLabel::redirected(offset0); } -void PythonQtShell_QHeaderView::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9556,21 +8896,21 @@ if (_wrapper) { } } } - QHeaderView::mousePressEvent(e0); + QLabel::resizeEvent(event0); } -void PythonQtShell_QHeaderView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QLabel::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9578,32 +8918,32 @@ if (_wrapper) { } } } - QHeaderView::mouseReleaseEvent(e0); + QLabel::setVisible(visible0); } -QModelIndex PythonQtShell_QHeaderView::moveCursor(QAbstractItemView::CursorAction arg__1, Qt::KeyboardModifiers arg__2) +QPainter* PythonQtShell_QLabel::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveCursor"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9611,21 +8951,21 @@ if (_wrapper) { } } } - return QHeaderView::moveCursor(arg__1, arg__2); + return QLabel::sharedPainter(); } -void PythonQtShell_QHeaderView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QLabel::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9633,32 +8973,32 @@ if (_wrapper) { } } } - QHeaderView::moveEvent(event0); + QLabel::showEvent(event0); } -bool PythonQtShell_QHeaderView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSize PythonQtShell_QLabel::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9666,54 +9006,43 @@ if (_wrapper) { } } } - return QHeaderView::nativeEvent(eventType0, message1, result2); + return QLabel::sizeHint(); } -QPaintEngine* PythonQtShell_QHeaderView::paintEngine() const +void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("tabletEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::paintEngine(); + QLabel::tabletEvent(event0); } -void PythonQtShell_QHeaderView::paintEvent(QPaintEvent* e0) +void PythonQtShell_QLabel::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9721,21 +9050,21 @@ if (_wrapper) { } } } - QHeaderView::paintEvent(e0); + QLabel::timerEvent(event0); } -void PythonQtShell_QHeaderView::paintSection(QPainter* painter0, const QRect& rect1, int logicalIndex2) const +void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintSection"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&logicalIndex2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9743,54 +9072,205 @@ if (_wrapper) { } } } - QHeaderView::paintSection(painter0, rect1, logicalIndex2); + 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()); } -QPaintDevice* PythonQtShell_QHeaderView::redirected(QPoint* offset0) const + + + +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("redirected"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QHeaderView::redirected(offset0); + } -void PythonQtShell_QHeaderView::reset() +void PythonQtShell_QLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9798,65 +9278,87 @@ if (_wrapper) { } } } - QHeaderView::reset(); + QLayout::childEvent(e0); } -void PythonQtShell_QHeaderView::resizeEvent(QResizeEvent* event0) +QSizePolicy::ControlTypes PythonQtShell_QLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("controlTypes"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::resizeEvent(event0); + return QLayout::controlTypes(); } -void PythonQtShell_QHeaderView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +int PythonQtShell_QLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("count"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::rowsAboutToBeRemoved(parent0, start1, end2); + return int(); } -void PythonQtShell_QHeaderView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9864,76 +9366,98 @@ if (_wrapper) { } } } - QHeaderView::rowsInserted(parent0, start1, end2); + QLayout::customEvent(event0); } -void PythonQtShell_QHeaderView::scrollContentsBy(int dx0, int dy1) +bool PythonQtShell_QLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::scrollContentsBy(dx0, dy1); + return QLayout::event(event0); } -void PythonQtShell_QHeaderView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +bool PythonQtShell_QLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&index0, (void*)&hint1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::scrollTo(index0, hint1); + return QLayout::eventFilter(watched0, event1); } -QSize PythonQtShell_QHeaderView::sectionSizeFromContents(int logicalIndex0) const +Qt::Orientations PythonQtShell_QLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sectionSizeFromContents"); + static PyObject* name = PyString_FromString("expandingDirections"); 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] = {NULL, (void*)&logicalIndex0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sectionSizeFromContents", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((Qt::Orientations*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9941,54 +9465,65 @@ if (_wrapper) { } } } - return QHeaderView::sectionSizeFromContents(logicalIndex0); + return QLayout::expandingDirections(); } -void PythonQtShell_QHeaderView::selectAll() +QRect PythonQtShell_QLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectAll"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::selectAll(); + return QLayout::geometry(); } -QList PythonQtShell_QHeaderView::selectedIndexes() const +bool PythonQtShell_QLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9996,54 +9531,65 @@ if (_wrapper) { } } } - return QHeaderView::selectedIndexes(); + return QLayout::hasHeightForWidth(); } -void PythonQtShell_QHeaderView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +int PythonQtShell_QLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL, (void*)&selected0, (void*)&deselected1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::selectionChanged(selected0, deselected1); + return QLayout::heightForWidth(arg__1); } -QItemSelectionModel::SelectionFlags PythonQtShell_QHeaderView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +int PythonQtShell_QLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("indexOf"); 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] = {NULL, (void*)&index0, (void*)&event1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10051,21 +9597,21 @@ if (_wrapper) { } } } - return QHeaderView::selectionCommand(index0, event1); + return QLayout::indexOf(arg__1); } -void PythonQtShell_QHeaderView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("invalidate"); 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] = {NULL, (void*)&model0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10073,142 +9619,197 @@ if (_wrapper) { } } } - QHeaderView::setModel(model0); + QLayout::invalidate(); } -void PythonQtShell_QHeaderView::setRootIndex(const QModelIndex& index0) +bool PythonQtShell_QLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("isEmpty"); 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] = {NULL, (void*)&index0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::setRootIndex(index0); + return QLayout::isEmpty(); } -void PythonQtShell_QHeaderView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags flags1) +QLayoutItem* PythonQtShell_QLayout::itemAt(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("itemAt"); 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] = {NULL, (void*)&rect0, (void*)&flags1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::setSelection(rect0, flags1); + return nullptr; } -void PythonQtShell_QHeaderView::setSelectionModel(QItemSelectionModel* selectionModel0) +QLayout* PythonQtShell_QLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("layout"); 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] = {NULL, (void*)&selectionModel0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::setSelectionModel(selectionModel0); + return QLayout::layout(); } -void PythonQtShell_QHeaderView::setVisible(bool v0) +QSize PythonQtShell_QLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("maximumSize"); 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] = {NULL, (void*)&v0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::setVisible(v0); + return QLayout::maximumSize(); } -void PythonQtShell_QHeaderView::setupViewport(QWidget* viewport0) +int PythonQtShell_QLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::setupViewport(viewport0); + return QLayout::minimumHeightForWidth(arg__1); } -QPainter* PythonQtShell_QHeaderView::sharedPainter() const +QSize PythonQtShell_QLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10216,21 +9817,21 @@ if (_wrapper) { } } } - return QHeaderView::sharedPainter(); + return QLayout::minimumSize(); } -void PythonQtShell_QHeaderView::showEvent(QShowEvent* event0) +void PythonQtShell_QLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10238,9 +9839,9 @@ if (_wrapper) { } } } - QHeaderView::showEvent(event0); + QLayout::setGeometry(arg__1); } -QSize PythonQtShell_QHeaderView::sizeHint() const +QSize PythonQtShell_QLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10251,19 +9852,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10271,32 +9872,32 @@ if (_wrapper) { } } } - return QHeaderView::sizeHint(); + return QSize(); } -int PythonQtShell_QHeaderView::sizeHintForColumn(int column0) const +QSpacerItem* PythonQtShell_QLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("spacerItem"); 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] = {NULL, (void*)&column0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10304,32 +9905,32 @@ if (_wrapper) { } } } - return QHeaderView::sizeHintForColumn(column0); + return QLayout::spacerItem(); } -int PythonQtShell_QHeaderView::sizeHintForRow(int row0) const +QLayoutItem* PythonQtShell_QLayout::takeAt(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10337,21 +9938,21 @@ if (_wrapper) { } } } - return QHeaderView::sizeHintForRow(row0); + return nullptr; } -void PythonQtShell_QHeaderView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10359,142 +9960,381 @@ if (_wrapper) { } } } - QHeaderView::startDrag(supportedActions0); + 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)); } -void PythonQtShell_QHeaderView::tabletEvent(QTabletEvent* event0) + +QSize PythonQtWrapper_QLayout::totalMaximumSize(QLayout* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->totalMaximumSize()); } - QHeaderView::tabletEvent(event0); + +QSize PythonQtWrapper_QLayout::totalMinimumSize(QLayout* theWrappedObject) const +{ + return ( theWrappedObject->totalMinimumSize()); } -void PythonQtShell_QHeaderView::timerEvent(QTimerEvent* event0) + +QSize PythonQtWrapper_QLayout::totalSizeHint(QLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->totalSizeHint()); +} + +void PythonQtWrapper_QLayout::update(QLayout* theWrappedObject) +{ + ( theWrappedObject->update()); } - QHeaderView::timerEvent(event0); + +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); } } -void PythonQtShell_QHeaderView::updateEditorData() +QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + } else { + returnValue = *((QSizePolicy::ControlTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::updateEditorData(); + return QLayoutItem::controlTypes(); } -void PythonQtShell_QHeaderView::updateEditorGeometries() +Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"Qt::Orientations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::updateEditorGeometries(); + return Qt::Orientations(); } -void PythonQtShell_QHeaderView::updateGeometries() +QRect PythonQtShell_QLayoutItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::updateGeometries(); + return QRect(); } -int PythonQtShell_QHeaderView::verticalOffset() const +bool PythonQtShell_QLayoutItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10502,43 +10342,54 @@ if (_wrapper) { } } } - return QHeaderView::verticalOffset(); + return QLayoutItem::hasHeightForWidth(); } -void PythonQtShell_QHeaderView::verticalScrollbarAction(int action0) +int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QHeaderView::verticalScrollbarAction(action0); + return QLayoutItem::heightForWidth(arg__1); } -void PythonQtShell_QHeaderView::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QLayoutItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("invalidate"); 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] = {NULL, (void*)&value0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10546,32 +10397,32 @@ if (_wrapper) { } } } - QHeaderView::verticalScrollbarValueChanged(value0); + QLayoutItem::invalidate(); } -QStyleOptionViewItem PythonQtShell_QHeaderView::viewOptions() const +bool PythonQtShell_QLayoutItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10579,32 +10430,32 @@ if (_wrapper) { } } } - return QHeaderView::viewOptions(); + return bool(); } -bool PythonQtShell_QHeaderView::viewportEvent(QEvent* e0) +QLayout* PythonQtShell_QLayoutItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10612,32 +10463,32 @@ if (_wrapper) { } } } - return QHeaderView::viewportEvent(e0); + return QLayoutItem::layout(); } -QSize PythonQtShell_QHeaderView::viewportSizeHint() const +QSize PythonQtShell_QLayoutItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10645,32 +10496,32 @@ if (_wrapper) { } } } - return QHeaderView::viewportSizeHint(); + return QSize(); } -QRect PythonQtShell_QHeaderView::visualRect(const QModelIndex& index0) const +int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10678,32 +10529,32 @@ if (_wrapper) { } } } - return QHeaderView::visualRect(index0); + return QLayoutItem::minimumHeightForWidth(arg__1); } -QRegion PythonQtShell_QHeaderView::visualRegionForSelection(const QItemSelection& selection0) const +QSize PythonQtShell_QLayoutItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("minimumSize"); 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] = {NULL, (void*)&selection0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10711,21 +10562,21 @@ if (_wrapper) { } } } - return QHeaderView::visualRegionForSelection(selection0); + return QSize(); } -void PythonQtShell_QHeaderView::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10733,458 +10584,534 @@ if (_wrapper) { } } } - 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) +QSize PythonQtShell_QLayoutItem::sizeHint() const { - ( theWrappedObject->resizeSections(mode)); +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(); + } + } } - -bool PythonQtWrapper_QHeaderView::restoreState(QHeaderView* theWrappedObject, const QByteArray& state) -{ - return ( theWrappedObject->restoreState(state)); + return QSize(); } - -QByteArray PythonQtWrapper_QHeaderView::saveState(QHeaderView* theWrappedObject) const +QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() { - return ( theWrappedObject->saveState()); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionPosition(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionPosition(logicalIndex)); + return QLayoutItem::spacerItem(); } - -QHeaderView::ResizeMode PythonQtWrapper_QHeaderView::sectionResizeMode(QHeaderView* theWrappedObject, int logicalIndex) const +QWidget* PythonQtShell_QLayoutItem::widget() { - return ( theWrappedObject->sectionResizeMode(logicalIndex)); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::sectionSize(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->sectionSize(logicalIndex)); + return QLayoutItem::widget(); } +QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) +{ +return new PythonQtShell_QLayoutItem(alignment); } -QSize PythonQtWrapper_QHeaderView::sectionSizeFromContents(QHeaderView* theWrappedObject, int logicalIndex) const +Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QHeaderView*)theWrappedObject)->promoted_sectionSizeFromContents(logicalIndex)); + return ( theWrappedObject->alignment()); } -int PythonQtWrapper_QHeaderView::sectionSizeHint(QHeaderView* theWrappedObject, int logicalIndex) const +QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->sectionSizeHint(logicalIndex)); + return ( theWrappedObject->controlTypes()); } -int PythonQtWrapper_QHeaderView::sectionViewportPosition(QHeaderView* theWrappedObject, int logicalIndex) const +Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->sectionViewportPosition(logicalIndex)); + return ( theWrappedObject->expandingDirections()); } -bool PythonQtWrapper_QHeaderView::sectionsClickable(QHeaderView* theWrappedObject) const +QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->sectionsClickable()); + return ( theWrappedObject->geometry()); } -bool PythonQtWrapper_QHeaderView::sectionsHidden(QHeaderView* theWrappedObject) const +bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const { - return ( theWrappedObject->sectionsHidden()); + return ( theWrappedObject->hasHeightForWidth()); } -bool PythonQtWrapper_QHeaderView::sectionsMovable(QHeaderView* theWrappedObject) const +int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const { - return ( theWrappedObject->sectionsMovable()); + return ( theWrappedObject->heightForWidth(arg__1)); } -bool PythonQtWrapper_QHeaderView::sectionsMoved(QHeaderView* theWrappedObject) const +void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) { - return ( theWrappedObject->sectionsMoved()); + ( theWrappedObject->invalidate()); } -void PythonQtWrapper_QHeaderView::setCascadingSectionResizes(QHeaderView* theWrappedObject, bool enable) +bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setCascadingSectionResizes(enable)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QHeaderView::setDefaultAlignment(QHeaderView* theWrappedObject, Qt::Alignment alignment) +QLayout* PythonQtWrapper_QLayoutItem::layout(QLayoutItem* theWrappedObject) { - ( theWrappedObject->setDefaultAlignment(alignment)); + return ( theWrappedObject->layout()); } -void PythonQtWrapper_QHeaderView::setDefaultSectionSize(QHeaderView* theWrappedObject, int size) +QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setDefaultSectionSize(size)); + return ( theWrappedObject->maximumSize()); } -void PythonQtWrapper_QHeaderView::setFirstSectionMovable(QHeaderView* theWrappedObject, bool movable) +int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const { - ( theWrappedObject->setFirstSectionMovable(movable)); + return ( theWrappedObject->minimumHeightForWidth(arg__1)); } -void PythonQtWrapper_QHeaderView::setHighlightSections(QHeaderView* theWrappedObject, bool highlight) +QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setHighlightSections(highlight)); + return ( theWrappedObject->minimumSize()); } -void PythonQtWrapper_QHeaderView::setMaximumSectionSize(QHeaderView* theWrappedObject, int size) +void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) { - ( theWrappedObject->setMaximumSectionSize(size)); + ( theWrappedObject->setAlignment(a)); } -void PythonQtWrapper_QHeaderView::setMinimumSectionSize(QHeaderView* theWrappedObject, int size) +void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) { - ( theWrappedObject->setMinimumSectionSize(size)); + ( theWrappedObject->setGeometry(arg__1)); } -void PythonQtWrapper_QHeaderView::setResizeContentsPrecision(QHeaderView* theWrappedObject, int precision) +QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const { - ( theWrappedObject->setResizeContentsPrecision(precision)); + return ( theWrappedObject->sizeHint()); } -void PythonQtWrapper_QHeaderView::setSectionHidden(QHeaderView* theWrappedObject, int logicalIndex, bool hide) +QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) { - ( theWrappedObject->setSectionHidden(logicalIndex, hide)); + return ( theWrappedObject->spacerItem()); } -void PythonQtWrapper_QHeaderView::setSectionResizeMode(QHeaderView* theWrappedObject, QHeaderView::ResizeMode mode) +QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) { - ( theWrappedObject->setSectionResizeMode(mode)); + return ( theWrappedObject->widget()); } -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)); +PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QHeaderView::setSortIndicator(QHeaderView* theWrappedObject, int logicalIndex, Qt::SortOrder order) +void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) { - ( theWrappedObject->setSortIndicator(logicalIndex, order)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::setSortIndicatorShown(QHeaderView* theWrappedObject, bool show) -{ - ( theWrappedObject->setSortIndicatorShown(show)); + QLineEdit::actionEvent(event0); } - -void PythonQtWrapper_QHeaderView::setStretchLastSection(QHeaderView* theWrappedObject, bool stretch) +void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) { - ( theWrappedObject->setStretchLastSection(stretch)); +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(); + } + } } - -void PythonQtWrapper_QHeaderView::showSection(QHeaderView* theWrappedObject, int logicalIndex) -{ - ( theWrappedObject->showSection(logicalIndex)); + QLineEdit::changeEvent(arg__1); } - -Qt::SortOrder PythonQtWrapper_QHeaderView::sortIndicatorOrder(QHeaderView* theWrappedObject) const +void PythonQtShell_QLineEdit::childEvent(QChildEvent* event0) { - return ( theWrappedObject->sortIndicatorOrder()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QHeaderView::sortIndicatorSection(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->sortIndicatorSection()); + QLineEdit::childEvent(event0); } - -bool PythonQtWrapper_QHeaderView::stretchLastSection(QHeaderView* theWrappedObject) const +void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->stretchLastSection()); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::stretchSectionCount(QHeaderView* theWrappedObject) const -{ - return ( theWrappedObject->stretchSectionCount()); + QLineEdit::closeEvent(event0); } - -void PythonQtWrapper_QHeaderView::swapSections(QHeaderView* theWrappedObject, int first, int second) +void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) { - ( theWrappedObject->swapSections(first, second)); +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(); + } + } } - -int PythonQtWrapper_QHeaderView::visualIndex(QHeaderView* theWrappedObject, int logicalIndex) const -{ - return ( theWrappedObject->visualIndex(logicalIndex)); + QLineEdit::contextMenuEvent(arg__1); } - -int PythonQtWrapper_QHeaderView::visualIndexAt(QHeaderView* theWrappedObject, int position) const +void PythonQtShell_QLineEdit::customEvent(QEvent* event0) { - return ( theWrappedObject->visualIndexAt(position)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -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()); + QLineEdit::customEvent(event0); } - -int PythonQtWrapper_QHelpEvent::globalX(QHelpEvent* theWrappedObject) const +int PythonQtShell_QLineEdit::devType() const { - return ( theWrappedObject->globalX()); +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(); + } + } } - -int PythonQtWrapper_QHelpEvent::globalY(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); + return QLineEdit::devType(); } - -const QPoint* PythonQtWrapper_QHelpEvent::pos(QHelpEvent* theWrappedObject) const +void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) { - return &( theWrappedObject->pos()); +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(); + } + } } - -int PythonQtWrapper_QHelpEvent::x(QHelpEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); + QLineEdit::dragEnterEvent(arg__1); } - -int PythonQtWrapper_QHelpEvent::y(QHelpEvent* theWrappedObject) const +void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) { - return ( theWrappedObject->y()); +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(); + } + } } - - - -QHideEvent* PythonQtWrapper_QHideEvent::new_QHideEvent() -{ -return new QHideEvent(); } - - - -PythonQtShell_QHoverEvent::~PythonQtShell_QHoverEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QLineEdit::dragLeaveEvent(e0); } -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 +void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) { - return ( theWrappedObject->oldPos()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QHoverEvent::oldPosF(QHoverEvent* theWrappedObject) const + QLineEdit::dragMoveEvent(e0); +} +void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) { - return &( theWrappedObject->oldPosF()); +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(); + } + } } - -QPoint PythonQtWrapper_QHoverEvent::pos(QHoverEvent* theWrappedObject) const + QLineEdit::dropEvent(arg__1); +} +void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) { - return ( theWrappedObject->pos()); +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(); + } + } } - -const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) const + QLineEdit::enterEvent(event0); +} +bool PythonQtShell_QLineEdit::event(QEvent* arg__1) { - return &( theWrappedObject->posF()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - - - -QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() -{ -return new QIconDragEvent(); } - - - -PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QLineEdit::event(arg__1); } -QSize PythonQtShell_QIconEngine::actualSize(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +bool PythonQtShell_QLineEdit::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actualSize"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&size0, (void*)&mode1, (void*)&state2}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("actualSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11192,21 +11119,21 @@ if (_wrapper) { } } } - return QIconEngine::actualSize(size0, mode1, state2); + return QLineEdit::eventFilter(watched0, event1); } -void PythonQtShell_QIconEngine::addFile(const QString& fileName0, const QSize& size1, QIcon::Mode mode2, QIcon::State state3) +void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addFile"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL, (void*)&fileName0, (void*)&size1, (void*)&mode2, (void*)&state3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11214,21 +11141,54 @@ if (_wrapper) { } } } - QIconEngine::addFile(fileName0, size1, mode2, state3); + QLineEdit::focusInEvent(arg__1); } -void PythonQtShell_QIconEngine::addPixmap(const QPixmap& pixmap0, QIcon::Mode mode1, QIcon::State state2) +bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addPixmap"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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] = {NULL, (void*)&pixmap0, (void*)&mode1, (void*)&state2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11236,32 +11196,32 @@ if (_wrapper) { } } } - QIconEngine::addPixmap(pixmap0, mode1, state2); + QLineEdit::focusOutEvent(arg__1); } -QList PythonQtShell_QIconEngine::availableSizes(QIcon::Mode mode0, QIcon::State state1) const +bool PythonQtShell_QLineEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("availableSizes"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&mode0, (void*)&state1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availableSizes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11269,32 +11229,32 @@ if (_wrapper) { } } } - return QIconEngine::availableSizes(mode0, state1); + return QLineEdit::hasHeightForWidth(); } -QIconEngine* PythonQtShell_QIconEngine::clone() const +int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clone"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QIconEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11302,32 +11262,98 @@ if (_wrapper) { } } } - return 0; + return QLineEdit::heightForWidth(arg__1); } -QString PythonQtShell_QIconEngine::iconName() const +void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("iconName"); + static PyObject* name = PyString_FromString("hideEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("iconName", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11335,54 +11361,43 @@ if (_wrapper) { } } } - return QIconEngine::iconName(); + return QLineEdit::inputMethodQuery(arg__1); } -QString PythonQtShell_QIconEngine::key() const +void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("key"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("key", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::key(); + QLineEdit::keyPressEvent(arg__1); } -void PythonQtShell_QIconEngine::paint(QPainter* painter0, const QRect& rect1, QIcon::Mode mode2, QIcon::State state3) +void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&mode2, (void*)&state3}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11390,65 +11405,54 @@ if (_wrapper) { } } } - + QLineEdit::keyReleaseEvent(event0); } -QPixmap PythonQtShell_QIconEngine::pixmap(const QSize& size0, QIcon::Mode mode1, QIcon::State state2) +void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pixmap"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL, (void*)&size0, (void*)&mode1, (void*)&state2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QIconEngine::pixmap(size0, mode1, state2); + QLineEdit::leaveEvent(event0); } -bool PythonQtShell_QIconEngine::read(QDataStream& in0) +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("read"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&in0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11456,303 +11460,175 @@ if (_wrapper) { } } } - return QIconEngine::read(in0); + return QLineEdit::metric(arg__1); } -void PythonQtShell_QIconEngine::virtual_hook(int id0, void* data1) +QSize PythonQtShell_QLineEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("virtual_hook"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id0, (void*)&data1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QIconEngine::virtual_hook(id0, data1); + return QLineEdit::minimumSizeHint(); } -bool PythonQtShell_QIconEngine::write(QDataStream& out0) const +void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return 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)); -} - -void PythonQtWrapper_QIconEngine::virtual_hook(QIconEngine* theWrappedObject, int id, void* data) -{ - ( theWrappedObject->virtual_hook(id, data)); -} - -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); } + QLineEdit::mouseDoubleClickEvent(arg__1); } -bool PythonQtShell_QImageIOHandler::canRead() const +void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canRead"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QLineEdit::mouseMoveEvent(arg__1); } -int PythonQtShell_QImageIOHandler::currentImageNumber() const +void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentImageNumber"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageNumber", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::currentImageNumber(); + QLineEdit::mousePressEvent(arg__1); } -QRect PythonQtShell_QImageIOHandler::currentImageRect() const +void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentImageRect"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentImageRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::currentImageRect(); + QLineEdit::mouseReleaseEvent(arg__1); } -int PythonQtShell_QImageIOHandler::imageCount() const +void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("imageCount"); + static PyObject* name = PyString_FromString("moveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::imageCount(); + QLineEdit::moveEvent(event0); } -bool PythonQtShell_QImageIOHandler::jumpToImage(int imageNumber0) +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("jumpToImage"); + static PyObject* name = PyString_FromString("nativeEvent"); 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); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&imageNumber0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("jumpToImage", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11760,32 +11636,32 @@ if (_wrapper) { } } } - return QImageIOHandler::jumpToImage(imageNumber0); + return QLineEdit::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QImageIOHandler::jumpToNextImage() +QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("jumpToNextImage"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("jumpToNextImage", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11793,65 +11669,54 @@ if (_wrapper) { } } } - return QImageIOHandler::jumpToNextImage(); + return QLineEdit::paintEngine(); } -int PythonQtShell_QImageIOHandler::loopCount() const +void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loopCount"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loopCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::loopCount(); + QLineEdit::paintEvent(arg__1); } -QByteArray PythonQtShell_QImageIOHandler::name() const +QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("name"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QByteArray*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11859,98 +11724,76 @@ if (_wrapper) { } } } - return QImageIOHandler::name(); + return QLineEdit::redirected(offset0); } -int PythonQtShell_QImageIOHandler::nextImageDelay() const +void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextImageDelay"); + static PyObject* name = PyString_FromString("resizeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextImageDelay", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::nextImageDelay(); + QLineEdit::resizeEvent(event0); } -QVariant PythonQtShell_QImageIOHandler::option(QImageIOHandler::ImageOption option0) const +void PythonQtShell_QLineEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("option"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QImageIOHandler::ImageOption"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("option", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOHandler::option(option0); + QLineEdit::setVisible(visible0); } -bool PythonQtShell_QImageIOHandler::read(QImage* image0) +QPainter* PythonQtShell_QLineEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("read"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&image0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11958,21 +11801,21 @@ if (_wrapper) { } } } - return bool(); + return QLineEdit::sharedPainter(); } -void PythonQtShell_QImageIOHandler::setOption(QImageIOHandler::ImageOption option0, const QVariant& value1) +void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setOption"); + static PyObject* name = PyString_FromString("showEvent"); 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] = {NULL, (void*)&option0, (void*)&value1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11980,32 +11823,32 @@ if (_wrapper) { } } } - QImageIOHandler::setOption(option0, value1); + QLineEdit::showEvent(event0); } -bool PythonQtShell_QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option0) const +QSize PythonQtShell_QLineEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportsOption"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&option0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsOption", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12013,631 +11856,403 @@ if (_wrapper) { } } } - return QImageIOHandler::supportsOption(option0); + return QLineEdit::sizeHint(); } -bool PythonQtShell_QImageIOHandler::write(const QImage& image0) +void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("write"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QImage&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&image0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("write", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return 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); } + QLineEdit::tabletEvent(event0); } -QImageIOPlugin::Capabilities PythonQtShell_QImageIOPlugin::capabilities(QIODevice* device0, const QByteArray& format1) const +void PythonQtShell_QLineEdit::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("capabilities"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)&device0, (void*)&format1}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("capabilities", methodInfo, result); - } else { - returnValue = *((QImageIOPlugin::Capabilities*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QImageIOPlugin::Capabilities(); + QLineEdit::timerEvent(event0); } -QImageIOHandler* PythonQtShell_QImageIOPlugin::create(QIODevice* device0, const QByteArray& format1) const +void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("create"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL, (void*)&device0, (void*)&format1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); - } else { - returnValue = *((QImageIOHandler**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return 0; + QLineEdit::wheelEvent(event0); } -QImageIOPlugin* PythonQtWrapper_QImageIOPlugin::new_QImageIOPlugin(QObject* parent) +QLineEdit* PythonQtWrapper_QLineEdit::new_QLineEdit(QWidget* parent) { -return new PythonQtShell_QImageIOPlugin(parent); } +return new PythonQtShell_QLineEdit(parent); } -const QMetaObject* PythonQtShell_QImageIOPlugin::metaObject() const { +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, &QImageIOPlugin::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLineEdit::staticMetaObject); } else { - return &QImageIOPlugin::staticMetaObject; + return &QLineEdit::staticMetaObject; } } -int PythonQtShell_QImageIOPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QImageIOPlugin::qt_metacall(call, id, args); +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; } -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)); -} - - - -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) +void PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position) { - return (QImageReader::imageFormatsForMimeType(mimeType)); + ( theWrappedObject->addAction(action, position)); } -bool PythonQtWrapper_QImageReader::jumpToImage(QImageReader* theWrappedObject, int imageNumber) +QAction* PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position) { - return ( theWrappedObject->jumpToImage(imageNumber)); + return ( theWrappedObject->addAction(icon, position)); } -bool PythonQtWrapper_QImageReader::jumpToNextImage(QImageReader* theWrappedObject) +Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->jumpToNextImage()); + return ( theWrappedObject->alignment()); } -int PythonQtWrapper_QImageReader::loopCount(QImageReader* theWrappedObject) const +void PythonQtWrapper_QLineEdit::backspace(QLineEdit* theWrappedObject) { - return ( theWrappedObject->loopCount()); + ( theWrappedObject->backspace()); } -int PythonQtWrapper_QImageReader::nextImageDelay(QImageReader* theWrappedObject) const +QCompleter* PythonQtWrapper_QLineEdit::completer(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->nextImageDelay()); + return ( theWrappedObject->completer()); } -int PythonQtWrapper_QImageReader::quality(QImageReader* theWrappedObject) const +QMenu* PythonQtWrapper_QLineEdit::createStandardContextMenu(QLineEdit* theWrappedObject) { - return ( theWrappedObject->quality()); + return ( theWrappedObject->createStandardContextMenu()); } -QImage PythonQtWrapper_QImageReader::read(QImageReader* theWrappedObject) +void PythonQtWrapper_QLineEdit::cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps) { - return ( theWrappedObject->read()); + ( theWrappedObject->cursorBackward(mark, steps)); } -QRect PythonQtWrapper_QImageReader::scaledClipRect(QImageReader* theWrappedObject) const +void PythonQtWrapper_QLineEdit::cursorForward(QLineEdit* theWrappedObject, bool mark, int steps) { - return ( theWrappedObject->scaledClipRect()); + ( theWrappedObject->cursorForward(mark, steps)); } -QSize PythonQtWrapper_QImageReader::scaledSize(QImageReader* theWrappedObject) const +Qt::CursorMoveStyle PythonQtWrapper_QLineEdit::cursorMoveStyle(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->scaledSize()); + return ( theWrappedObject->cursorMoveStyle()); } -void PythonQtWrapper_QImageReader::setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled) +int PythonQtWrapper_QLineEdit::cursorPosition(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setAutoDetectImageFormat(enabled)); + return ( theWrappedObject->cursorPosition()); } -void PythonQtWrapper_QImageReader::setAutoTransform(QImageReader* theWrappedObject, bool enabled) +int PythonQtWrapper_QLineEdit::cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos) { - ( theWrappedObject->setAutoTransform(enabled)); + return ( theWrappedObject->cursorPositionAt(pos)); } -void PythonQtWrapper_QImageReader::setBackgroundColor(QImageReader* theWrappedObject, const QColor& color) +QRect PythonQtWrapper_QLineEdit::cursorRect(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setBackgroundColor(color)); + return ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_cursorRect()); } -void PythonQtWrapper_QImageReader::setClipRect(QImageReader* theWrappedObject, const QRect& rect) +void PythonQtWrapper_QLineEdit::cursorWordBackward(QLineEdit* theWrappedObject, bool mark) { - ( theWrappedObject->setClipRect(rect)); + ( theWrappedObject->cursorWordBackward(mark)); } -void PythonQtWrapper_QImageReader::setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored) +void PythonQtWrapper_QLineEdit::cursorWordForward(QLineEdit* theWrappedObject, bool mark) { - ( theWrappedObject->setDecideFormatFromContent(ignored)); + ( theWrappedObject->cursorWordForward(mark)); } -void PythonQtWrapper_QImageReader::setDevice(QImageReader* theWrappedObject, QIODevice* device) +void PythonQtWrapper_QLineEdit::del(QLineEdit* theWrappedObject) { - ( theWrappedObject->setDevice(device)); + ( theWrappedObject->del()); } -void PythonQtWrapper_QImageReader::setFileName(QImageReader* theWrappedObject, const QString& fileName) +void PythonQtWrapper_QLineEdit::deselect(QLineEdit* theWrappedObject) { - ( theWrappedObject->setFileName(fileName)); + ( theWrappedObject->deselect()); } -void PythonQtWrapper_QImageReader::setFormat(QImageReader* theWrappedObject, const QByteArray& format) +QString PythonQtWrapper_QLineEdit::displayText(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setFormat(format)); + return ( theWrappedObject->displayText()); } -void PythonQtWrapper_QImageReader::setGamma(QImageReader* theWrappedObject, float gamma) +bool PythonQtWrapper_QLineEdit::dragEnabled(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setGamma(gamma)); + return ( theWrappedObject->dragEnabled()); } -void PythonQtWrapper_QImageReader::setQuality(QImageReader* theWrappedObject, int quality) +QLineEdit::EchoMode PythonQtWrapper_QLineEdit::echoMode(QLineEdit* theWrappedObject) const { - ( theWrappedObject->setQuality(quality)); + return ( theWrappedObject->echoMode()); } -void PythonQtWrapper_QImageReader::setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect) +void PythonQtWrapper_QLineEdit::end(QLineEdit* theWrappedObject, bool mark) { - ( theWrappedObject->setScaledClipRect(rect)); + ( theWrappedObject->end(mark)); } -void PythonQtWrapper_QImageReader::setScaledSize(QImageReader* theWrappedObject, const QSize& size) +void PythonQtWrapper_QLineEdit::getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const { - ( theWrappedObject->setScaledSize(size)); + ( theWrappedObject->getTextMargins(left, top, right, bottom)); } -QSize PythonQtWrapper_QImageReader::size(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QLineEdit::hasAcceptableInput(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->hasAcceptableInput()); } -QByteArray PythonQtWrapper_QImageReader::subType(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QLineEdit::hasFrame(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->subType()); + return ( theWrappedObject->hasFrame()); } -QList PythonQtWrapper_QImageReader::static_QImageReader_supportedImageFormats() +bool PythonQtWrapper_QLineEdit::hasSelectedText(QLineEdit* theWrappedObject) const { - return (QImageReader::supportedImageFormats()); + return ( theWrappedObject->hasSelectedText()); } -QList PythonQtWrapper_QImageReader::static_QImageReader_supportedMimeTypes() +void PythonQtWrapper_QLineEdit::home(QLineEdit* theWrappedObject, bool mark) { - return (QImageReader::supportedMimeTypes()); + ( theWrappedObject->home(mark)); } -QList PythonQtWrapper_QImageReader::supportedSubTypes(QImageReader* theWrappedObject) const +void PythonQtWrapper_QLineEdit::initStyleOption(QLineEdit* theWrappedObject, QStyleOptionFrame* option) const { - return ( theWrappedObject->supportedSubTypes()); + ( ((PythonQtPublicPromoter_QLineEdit*)theWrappedObject)->promoted_initStyleOption(option)); } -bool PythonQtWrapper_QImageReader::supportsAnimation(QImageReader* theWrappedObject) const +QString PythonQtWrapper_QLineEdit::inputMask(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->supportsAnimation()); + return ( theWrappedObject->inputMask()); } -bool PythonQtWrapper_QImageReader::supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const +QVariant PythonQtWrapper_QLineEdit::inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery property, QVariant argument) const { - return ( theWrappedObject->supportsOption(option)); + return ( theWrappedObject->inputMethodQuery(property, argument)); } -QString PythonQtWrapper_QImageReader::text(QImageReader* theWrappedObject, const QString& key) const +void PythonQtWrapper_QLineEdit::insert(QLineEdit* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->text(key)); + ( theWrappedObject->insert(arg__1)); } -QStringList PythonQtWrapper_QImageReader::textKeys(QImageReader* theWrappedObject) const +bool PythonQtWrapper_QLineEdit::isClearButtonEnabled(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->textKeys()); + return ( theWrappedObject->isClearButtonEnabled()); } -QString PythonQtWrapper_QImageReader::static_QImageReader_tr(const char* sourceText, const char* disambiguation, int n) +bool PythonQtWrapper_QLineEdit::isModified(QLineEdit* theWrappedObject) const { - return (QImageReader::tr(sourceText, disambiguation, n)); + return ( theWrappedObject->isModified()); } -QString PythonQtWrapper_QImageReader::static_QImageReader_trUtf8(const char* sourceText, const char* disambiguation, int n) +bool PythonQtWrapper_QLineEdit::isReadOnly(QLineEdit* theWrappedObject) const { - return (QImageReader::trUtf8(sourceText, disambiguation, n)); + return ( theWrappedObject->isReadOnly()); } - - -bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const +bool PythonQtWrapper_QLineEdit::isRedoAvailable(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->canWrite()); + return ( theWrappedObject->isRedoAvailable()); } -int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const +bool PythonQtWrapper_QLineEdit::isUndoAvailable(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->compression()); + return ( theWrappedObject->isUndoAvailable()); } -QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const +int PythonQtWrapper_QLineEdit::maxLength(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->maxLength()); } -QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const +QSize PythonQtWrapper_QLineEdit::minimumSizeHint(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->minimumSizeHint()); } -QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const +QString PythonQtWrapper_QLineEdit::placeholderText(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->placeholderText()); } -QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const +QString PythonQtWrapper_QLineEdit::selectedText(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->fileName()); + return ( theWrappedObject->selectedText()); } -QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const +int PythonQtWrapper_QLineEdit::selectionEnd(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->selectionEnd()); } -float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const +int PythonQtWrapper_QLineEdit::selectionLength(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->gamma()); + return ( theWrappedObject->selectionLength()); } -QList PythonQtWrapper_QImageWriter::static_QImageWriter_imageFormatsForMimeType(const QByteArray& mimeType) +int PythonQtWrapper_QLineEdit::selectionStart(QLineEdit* theWrappedObject) const { - return (QImageWriter::imageFormatsForMimeType(mimeType)); + return ( theWrappedObject->selectionStart()); } -bool PythonQtWrapper_QImageWriter::optimizedWrite(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag) { - return ( theWrappedObject->optimizedWrite()); + ( theWrappedObject->setAlignment(flag)); } -bool PythonQtWrapper_QImageWriter::progressiveScanWrite(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setClearButtonEnabled(QLineEdit* theWrappedObject, bool enable) { - return ( theWrappedObject->progressiveScanWrite()); + ( theWrappedObject->setClearButtonEnabled(enable)); } -int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setCompleter(QLineEdit* theWrappedObject, QCompleter* completer) { - return ( theWrappedObject->quality()); + ( theWrappedObject->setCompleter(completer)); } -void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression) +void PythonQtWrapper_QLineEdit::setCursorMoveStyle(QLineEdit* theWrappedObject, Qt::CursorMoveStyle style) { - ( theWrappedObject->setCompression(compression)); + ( theWrappedObject->setCursorMoveStyle(style)); } -void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device) +void PythonQtWrapper_QLineEdit::setCursorPosition(QLineEdit* theWrappedObject, int arg__1) { - ( theWrappedObject->setDevice(device)); + ( theWrappedObject->setCursorPosition(arg__1)); } -void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName) +void PythonQtWrapper_QLineEdit::setDragEnabled(QLineEdit* theWrappedObject, bool b) { - ( theWrappedObject->setFileName(fileName)); + ( theWrappedObject->setDragEnabled(b)); } -void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format) +void PythonQtWrapper_QLineEdit::setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->setEchoMode(arg__1)); } -void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma) +void PythonQtWrapper_QLineEdit::setFrame(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->setGamma(gamma)); + ( theWrappedObject->setFrame(arg__1)); } -void PythonQtWrapper_QImageWriter::setOptimizedWrite(QImageWriter* theWrappedObject, bool optimize) +void PythonQtWrapper_QLineEdit::setInputMask(QLineEdit* theWrappedObject, const QString& inputMask) { - ( theWrappedObject->setOptimizedWrite(optimize)); + ( theWrappedObject->setInputMask(inputMask)); } -void PythonQtWrapper_QImageWriter::setProgressiveScanWrite(QImageWriter* theWrappedObject, bool progressive) +void PythonQtWrapper_QLineEdit::setMaxLength(QLineEdit* theWrappedObject, int arg__1) { - ( theWrappedObject->setProgressiveScanWrite(progressive)); + ( theWrappedObject->setMaxLength(arg__1)); } -void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality) +void PythonQtWrapper_QLineEdit::setModified(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->setQuality(quality)); + ( theWrappedObject->setModified(arg__1)); } -void PythonQtWrapper_QImageWriter::setSubType(QImageWriter* theWrappedObject, const QByteArray& type) +void PythonQtWrapper_QLineEdit::setPlaceholderText(QLineEdit* theWrappedObject, const QString& arg__1) { - ( theWrappedObject->setSubType(type)); + ( theWrappedObject->setPlaceholderText(arg__1)); } -void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text) +void PythonQtWrapper_QLineEdit::setReadOnly(QLineEdit* theWrappedObject, bool arg__1) { - ( theWrappedObject->setText(key, text)); + ( theWrappedObject->setReadOnly(arg__1)); } -QByteArray PythonQtWrapper_QImageWriter::subType(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2) { - return ( theWrappedObject->subType()); + ( theWrappedObject->setSelection(arg__1, arg__2)); } -QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats() +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins) { - return (QImageWriter::supportedImageFormats()); + ( theWrappedObject->setTextMargins(margins)); } -QList PythonQtWrapper_QImageWriter::static_QImageWriter_supportedMimeTypes() +void PythonQtWrapper_QLineEdit::setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom) { - return (QImageWriter::supportedMimeTypes()); + ( theWrappedObject->setTextMargins(left, top, right, bottom)); } -QList PythonQtWrapper_QImageWriter::supportedSubTypes(QImageWriter* theWrappedObject) const +void PythonQtWrapper_QLineEdit::setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1) { - return ( theWrappedObject->supportedSubTypes()); + ( theWrappedObject->setValidator(arg__1)); } -bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const +QSize PythonQtWrapper_QLineEdit::sizeHint(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->supportsOption(option)); + return ( theWrappedObject->sizeHint()); } -QString PythonQtWrapper_QImageWriter::static_QImageWriter_tr(const char* sourceText, const char* disambiguation, int n) +QString PythonQtWrapper_QLineEdit::text(QLineEdit* theWrappedObject) const { - return (QImageWriter::tr(sourceText, disambiguation, n)); + return ( theWrappedObject->text()); } -QString PythonQtWrapper_QImageWriter::static_QImageWriter_trUtf8(const char* sourceText, const char* disambiguation, int n) +QMargins PythonQtWrapper_QLineEdit::textMargins(QLineEdit* theWrappedObject) const { - return (QImageWriter::trUtf8(sourceText, disambiguation, n)); + return ( theWrappedObject->textMargins()); } -bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image) +const QValidator* PythonQtWrapper_QLineEdit::validator(QLineEdit* theWrappedObject) const { - return ( theWrappedObject->write(image)); + return ( theWrappedObject->validator()); } diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui4.h new file mode 100644 index 00000000..600d133b --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp similarity index 63% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index 0c481318..af869bad 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -1,83 +1,153 @@ -#include "com_trolltech_qt_gui4.h" +#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 #include +#include #include #include +#include +#include +#include #include -#include +#include +#include +#include +#include #include #include #include #include -PythonQtShell_QInputDialog::~PythonQtShell_QInputDialog() { +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_QInputDialog::accept() +void PythonQtShell_QListView::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -85,21 +155,21 @@ if (_wrapper) { } } } - QInputDialog::accept(); + QListView::actionEvent(event0); } -void PythonQtShell_QInputDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QListView::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -107,21 +177,21 @@ if (_wrapper) { } } } - QInputDialog::actionEvent(event0); + QListView::changeEvent(arg__1); } -void PythonQtShell_QInputDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QListView::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -129,21 +199,21 @@ if (_wrapper) { } } } - QInputDialog::changeEvent(arg__1); + QListView::childEvent(event0); } -void PythonQtShell_QInputDialog::closeEvent(QCloseEvent* arg__1) +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("closeEvent"); + static PyObject* name = PyString_FromString("closeEditor"); 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] = {NULL, (void*)&arg__1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -151,21 +221,21 @@ if (_wrapper) { } } } - QInputDialog::closeEvent(arg__1); + QListView::closeEditor(editor0, hint1); } -void PythonQtShell_QInputDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -173,54 +243,43 @@ if (_wrapper) { } } } - QInputDialog::contextMenuEvent(arg__1); + QListView::closeEvent(event0); } -int PythonQtShell_QInputDialog::devType() const +void PythonQtShell_QListView::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("commitData"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::devType(); + QListView::commitData(editor0); } -void PythonQtShell_QInputDialog::done(int result0) +void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -228,21 +287,21 @@ if (_wrapper) { } } } - QInputDialog::done(result0); + QListView::contextMenuEvent(arg__1); } -void PythonQtShell_QInputDialog::dragEnterEvent(QDragEnterEvent* event0) +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("dragEnterEvent"); + static PyObject* name = PyString_FromString("currentChanged"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -250,21 +309,21 @@ if (_wrapper) { } } } - QInputDialog::dragEnterEvent(event0); + QListView::currentChanged(current0, previous1); } -void PythonQtShell_QInputDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QListView::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -272,21 +331,21 @@ if (_wrapper) { } } } - QInputDialog::dragLeaveEvent(event0); + QListView::customEvent(event0); } -void PythonQtShell_QInputDialog::dragMoveEvent(QDragMoveEvent* 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("dragMoveEvent"); + static PyObject* name = PyString_FromString("dataChanged"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -294,43 +353,54 @@ if (_wrapper) { } } } - QInputDialog::dragMoveEvent(event0); + QListView::dataChanged(topLeft0, bottomRight1, roles2); } -void PythonQtShell_QInputDialog::dropEvent(QDropEvent* event0) +int PythonQtShell_QListView::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::dropEvent(event0); + return QListView::devType(); } -void PythonQtShell_QInputDialog::enterEvent(QEvent* event0) +void PythonQtShell_QListView::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -338,120 +408,87 @@ if (_wrapper) { } } } - QInputDialog::enterEvent(event0); + QListView::doItemsLayout(); } -bool PythonQtShell_QInputDialog::event(QEvent* event0) +void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::event(event0); + QListView::dragEnterEvent(event0); } -bool PythonQtShell_QInputDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::eventFilter(arg__1, arg__2); + QListView::dragLeaveEvent(e0); } -int PythonQtShell_QInputDialog::exec() +void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::exec(); + QListView::dragMoveEvent(e0); } -void PythonQtShell_QInputDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListView::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -459,32 +496,32 @@ if (_wrapper) { } } } - QInputDialog::focusInEvent(event0); + QListView::dropEvent(e0); } -bool PythonQtShell_QInputDialog::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("edit"); 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); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -492,21 +529,21 @@ if (_wrapper) { } } } - return QInputDialog::focusNextPrevChild(next0); + return QListView::edit(index0, trigger1, event2); } -void PythonQtShell_QInputDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QListView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -514,65 +551,54 @@ if (_wrapper) { } } } - QInputDialog::focusOutEvent(event0); + QListView::editorDestroyed(editor0); } -bool PythonQtShell_QInputDialog::hasHeightForWidth() const +void PythonQtShell_QListView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::hasHeightForWidth(); + QListView::enterEvent(event0); } -int PythonQtShell_QInputDialog::heightForWidth(int arg__1) const +bool PythonQtShell_QListView::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -580,65 +606,54 @@ if (_wrapper) { } } } - return QInputDialog::heightForWidth(arg__1); + return QListView::event(e0); } -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] = {NULL, (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 +bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::initPainter(painter0); + return QListView::eventFilter(object0, event1); } -void PythonQtShell_QInputDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -646,32 +661,32 @@ if (_wrapper) { } } } - QInputDialog::inputMethodEvent(arg__1); + QListView::focusInEvent(event0); } -QVariant PythonQtShell_QInputDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QListView::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -679,21 +694,21 @@ if (_wrapper) { } } } - return QInputDialog::inputMethodQuery(arg__1); + return QListView::focusNextPrevChild(next0); } -void PythonQtShell_QInputDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -701,109 +716,120 @@ if (_wrapper) { } } } - QInputDialog::keyPressEvent(arg__1); + QListView::focusOutEvent(event0); } -void PythonQtShell_QInputDialog::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QListView::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::keyReleaseEvent(event0); + return QListView::hasHeightForWidth(); } -void PythonQtShell_QInputDialog::leaveEvent(QEvent* event0) +int PythonQtShell_QListView::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::leaveEvent(event0); + return QListView::heightForWidth(arg__1); } -int PythonQtShell_QInputDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QListView::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::metric(arg__1); + QListView::hideEvent(event0); } -QSize PythonQtShell_QInputDialog::minimumSizeHint() const +int PythonQtShell_QListView::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -811,21 +837,21 @@ if (_wrapper) { } } } - return QInputDialog::minimumSizeHint(); + return QListView::horizontalOffset(); } -void PythonQtShell_QInputDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QListView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -833,21 +859,21 @@ if (_wrapper) { } } } - QInputDialog::mouseDoubleClickEvent(event0); + QListView::horizontalScrollbarAction(action0); } -void PythonQtShell_QInputDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -855,43 +881,54 @@ if (_wrapper) { } } } - QInputDialog::mouseMoveEvent(event0); + QListView::horizontalScrollbarValueChanged(value0); } -void PythonQtShell_QInputDialog::mousePressEvent(QMouseEvent* event0) +QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::mousePressEvent(event0); + return QListView::indexAt(p0); } -void PythonQtShell_QInputDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QListView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -899,21 +936,21 @@ if (_wrapper) { } } } - QInputDialog::mouseReleaseEvent(event0); + QListView::initPainter(painter0); } -void PythonQtShell_QInputDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -921,32 +958,32 @@ if (_wrapper) { } } } - QInputDialog::moveEvent(event0); + QListView::inputMethodEvent(event0); } -bool PythonQtShell_QInputDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -954,32 +991,32 @@ if (_wrapper) { } } } - return QInputDialog::nativeEvent(eventType0, message1, result2); + return QListView::inputMethodQuery(query0); } -QPaintEngine* PythonQtShell_QInputDialog::paintEngine() const +bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("isIndexHidden"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -987,21 +1024,21 @@ if (_wrapper) { } } } - return QInputDialog::paintEngine(); + return QListView::isIndexHidden(index0); } -void PythonQtShell_QInputDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1009,54 +1046,43 @@ if (_wrapper) { } } } - QInputDialog::paintEvent(event0); + QListView::keyPressEvent(event0); } -QPaintDevice* PythonQtShell_QInputDialog::redirected(QPoint* offset0) const +void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::redirected(offset0); + QListView::keyReleaseEvent(event0); } -void PythonQtShell_QInputDialog::reject() +void PythonQtShell_QListView::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reject"); + static PyObject* name = PyString_FromString("keyboardSearch"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1064,21 +1090,21 @@ if (_wrapper) { } } } - QInputDialog::reject(); + QListView::keyboardSearch(search0); } -void PythonQtShell_QInputDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QListView::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1086,54 +1112,65 @@ if (_wrapper) { } } } - QInputDialog::resizeEvent(arg__1); + QListView::leaveEvent(event0); } -void PythonQtShell_QInputDialog::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QInputDialog::setVisible(visible0); + return QListView::metric(arg__1); } -QPainter* PythonQtShell_QInputDialog::sharedPainter() const +QSize PythonQtShell_QListView::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1141,21 +1178,21 @@ if (_wrapper) { } } } - return QInputDialog::sharedPainter(); + return QListView::minimumSizeHint(); } -void PythonQtShell_QInputDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1163,54 +1200,43 @@ if (_wrapper) { } } } - QInputDialog::showEvent(arg__1); + QListView::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QInputDialog::sizeHint() const +void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QInputDialog::sizeHint(); + QListView::mouseMoveEvent(e0); } -void PythonQtShell_QInputDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1218,21 +1244,21 @@ if (_wrapper) { } } } - QInputDialog::tabletEvent(event0); + QListView::mousePressEvent(event0); } -void PythonQtShell_QInputDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1240,460 +1266,263 @@ if (_wrapper) { } } } - 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()); + QListView::mouseReleaseEvent(e0); } - -int PythonQtWrapper_QInputDialog::doubleDecimals(QInputDialog* theWrappedObject) const +QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { - return ( theWrappedObject->doubleDecimals()); +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(); + } + } } - -double PythonQtWrapper_QInputDialog::doubleMaximum(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleMaximum()); + return QListView::moveCursor(cursorAction0, modifiers1); } - -double PythonQtWrapper_QInputDialog::doubleMinimum(QInputDialog* theWrappedObject) const +void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->doubleMinimum()); +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(); + } + } } - -double PythonQtWrapper_QInputDialog::doubleStep(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->doubleStep()); + QListView::moveEvent(event0); } - -double PythonQtWrapper_QInputDialog::doubleValue(QInputDialog* theWrappedObject) const +bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->doubleValue()); +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(); + } + } } - -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)); + return QListView::nativeEvent(eventType0, message1, result2); } - -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) +QPaintEngine* PythonQtShell_QListView::paintEngine() const { - return (QInputDialog::getDouble(parent, title, label, value, minValue, maxValue, decimals, ok, flags, step)); +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(); + } + } } - -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)); + return QListView::paintEngine(); } - -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) +void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) { - return (QInputDialog::getItem(parent, title, label, items, current, editable, ok, flags, inputMethodHints)); +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(); + } + } } - -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)); + QListView::paintEvent(e0); } - -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) +QPaintDevice* PythonQtShell_QListView::redirected(QPoint* offset0) const { - return (QInputDialog::getText(parent, title, label, echo, text, ok, flags, inputMethodHints)); +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(); + } + } } - -QInputDialog::InputMode PythonQtWrapper_QInputDialog::inputMode(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->inputMode()); + return QListView::redirected(offset0); } - -int PythonQtWrapper_QInputDialog::intMaximum(QInputDialog* theWrappedObject) const +void PythonQtShell_QListView::reset() { - return ( theWrappedObject->intMaximum()); +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(); + } + } } - -int PythonQtWrapper_QInputDialog::intMinimum(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->intMinimum()); + QListView::reset(); } - -int PythonQtWrapper_QInputDialog::intStep(QInputDialog* theWrappedObject) const +void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) { - return ( theWrappedObject->intStep()); +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(); + } + } } - -int PythonQtWrapper_QInputDialog::intValue(QInputDialog* theWrappedObject) const -{ - return ( theWrappedObject->intValue()); + QListView::resizeEvent(e0); } - -bool PythonQtWrapper_QInputDialog::isComboBoxEditable(QInputDialog* theWrappedObject) const +void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { - 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)); +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(); + } + } } - - - -PythonQtShell_QIntValidator::~PythonQtShell_QIntValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QIntValidator::fixup(QString& input0) const +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("fixup"); + static PyObject* name = PyString_FromString("rowsInserted"); 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] = {NULL, (void*)&input0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1701,21 +1530,21 @@ if (_wrapper) { } } } - QIntValidator::fixup(input0); + QListView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QIntValidator::setRange(int bottom0, int top1) +void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRange"); + 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] = {NULL, (void*)&bottom0, (void*)&top1}; + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1723,117 +1552,131 @@ if (_wrapper) { } } } - QIntValidator::setRange(bottom0, top1); + QListView::scrollContentsBy(dx0, dy1); } -QValidator::State PythonQtShell_QIntValidator::validate(QString& arg__1, int& arg__2) const +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("validate"); + static PyObject* name = PyString_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } 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()); + QListView::scrollTo(index0, hint1); } - -void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1) +void PythonQtShell_QListView::selectAll() { - ( theWrappedObject->setBottom(arg__1)); -} - -void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top) -{ - ( theWrappedObject->setRange(bottom, top)); +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(); + } + } } - -void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1) + QListView::selectAll(); +} +QList PythonQtShell_QListView::selectedIndexes() const { - ( theWrappedObject->setTop(arg__1)); +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(); + } + } } - -int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const + return QListView::selectedIndexes(); +} +void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { - return ( theWrappedObject->top()); +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(); + } + } } - - - -PythonQtShell_QItemDelegate::~PythonQtShell_QItemDelegate() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListView::selectionChanged(selected0, deselected1); } -QWidget* PythonQtShell_QItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +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("createEditor"); + static PyObject* name = PyString_FromString("selectionCommand"); 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] = {NULL, (void*)&parent0, (void*)&option1, (void*)&index2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QWidget**)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1841,21 +1684,21 @@ if (_wrapper) { } } } - return QItemDelegate::createEditor(parent0, option1, index2); + return QListView::selectionCommand(index0, event1); } -void PythonQtShell_QItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("destroyEditor"); + static PyObject* name = PyString_FromString("setModel"); 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] = {NULL, (void*)&editor0, (void*)&index1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1863,21 +1706,21 @@ if (_wrapper) { } } } - QItemDelegate::destroyEditor(editor0, index1); + QListView::setModel(model0); } -void PythonQtShell_QItemDelegate::drawCheck(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, Qt::CheckState state3) const +void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawCheck"); + static PyObject* name = PyString_FromString("setRootIndex"); 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] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&state3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1885,21 +1728,21 @@ if (_wrapper) { } } } - QItemDelegate::drawCheck(painter0, option1, rect2, state3); + QListView::setRootIndex(index0); } -void PythonQtShell_QItemDelegate::drawDecoration(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QPixmap& pixmap3) const +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("drawDecoration"); + static PyObject* name = PyString_FromString("setSelection"); 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] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&pixmap3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1907,21 +1750,21 @@ if (_wrapper) { } } } - QItemDelegate::drawDecoration(painter0, option1, rect2, pixmap3); + QListView::setSelection(rect0, command1); } -void PythonQtShell_QItemDelegate::drawDisplay(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2, const QString& text3) const +void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawDisplay"); + static PyObject* name = PyString_FromString("setSelectionModel"); 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] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2, (void*)&text3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1929,21 +1772,21 @@ if (_wrapper) { } } } - QItemDelegate::drawDisplay(painter0, option1, rect2, text3); + QListView::setSelectionModel(selectionModel0); } -void PythonQtShell_QItemDelegate::drawFocus(QPainter* painter0, const QStyleOptionViewItem& option1, const QRect& rect2) const +void PythonQtShell_QListView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawFocus"); + static PyObject* name = PyString_FromString("setVisible"); 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] = {NULL, (void*)&painter0, (void*)&option1, (void*)&rect2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1951,65 +1794,54 @@ if (_wrapper) { } } } - QItemDelegate::drawFocus(painter0, option1, rect2); + QListView::setVisible(visible0); } -bool PythonQtShell_QItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +void PythonQtShell_QListView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorEvent"); + static PyObject* name = PyString_FromString("setupViewport"); 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] = {NULL, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::editorEvent(event0, model1, option2, index3); + QListView::setupViewport(viewport0); } -bool PythonQtShell_QItemDelegate::eventFilter(QObject* object0, QEvent* event1) +QPainter* PythonQtShell_QListView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2017,32 +1849,54 @@ if (_wrapper) { } } } - return QItemDelegate::eventFilter(object0, event1); + return QListView::sharedPainter(); } -bool PythonQtShell_QItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +void PythonQtShell_QListView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("helpEvent"); + static PyObject* name = PyString_FromString("showEvent"); 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] = {NULL, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2050,54 +1904,65 @@ if (_wrapper) { } } } - return QItemDelegate::helpEvent(event0, view1, option2, index3); + return QListView::sizeHint(); } -void PythonQtShell_QItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +int PythonQtShell_QListView::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); 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] = {NULL, (void*)&painter0, (void*)&option1, (void*)&index2}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemDelegate::paint(painter0, option1, index2); + return QListView::sizeHintForColumn(column0); } -QVector PythonQtShell_QItemDelegate::paintingRoles() const +int PythonQtShell_QListView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintingRoles"); + static PyObject* name = PyString_FromString("sizeHintForRow"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); } else { - returnValue = *((QVector*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2105,21 +1970,21 @@ if (_wrapper) { } } } - return QItemDelegate::paintingRoles(); + return QListView::sizeHintForRow(row0); } -void PythonQtShell_QItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const +void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setEditorData"); + static PyObject* name = PyString_FromString("startDrag"); 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] = {NULL, (void*)&editor0, (void*)&index1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2127,21 +1992,21 @@ if (_wrapper) { } } } - QItemDelegate::setEditorData(editor0, index1); + QListView::startDrag(supportedActions0); } -void PythonQtShell_QItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModelData"); + static PyObject* name = PyString_FromString("tabletEvent"); 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] = {NULL, (void*)&editor0, (void*)&model1, (void*)&index2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2149,54 +2014,43 @@ if (_wrapper) { } } } - QItemDelegate::setModelData(editor0, model1, index2); + QListView::tabletEvent(event0); } -QSize PythonQtShell_QItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const +void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)&option0, (void*)&index1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemDelegate::sizeHint(option0, index1); + QListView::timerEvent(e0); } -void PythonQtShell_QItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const +void PythonQtShell_QListView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometry"); + static PyObject* name = PyString_FromString("updateEditorData"); 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] = {NULL, (void*)&editor0, (void*)&option1, (void*)&index2}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2204,168 +2058,76 @@ if (_wrapper) { } } } - QItemDelegate::updateEditorGeometry(editor0, option1, index2); + QListView::updateEditorData(); } -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; +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(); + } } } -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)); + QListView::updateEditorGeometries(); } - -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::eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event) -{ - return ( ((PythonQtPublicPromoter_QItemDelegate*)theWrappedObject)->promoted_eventFilter(object, event)); -} - -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 +void PythonQtShell_QListView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createWidget"); + static PyObject* name = PyString_FromString("updateGeometries"); 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] = {NULL, (void*)&parent0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return 0; + QListView::updateGeometries(); } -QByteArray PythonQtShell_QItemEditorCreatorBase::valuePropertyName() const +int PythonQtShell_QListView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valuePropertyName"); + static PyObject* name = PyString_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QByteArray"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QByteArray returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QByteArray*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2373,283 +2135,230 @@ if (_wrapper) { } } } - 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); } + return QListView::verticalOffset(); } -QWidget* PythonQtShell_QItemEditorFactory::createEditor(int userType0, QWidget* parent1) const +void PythonQtShell_QListView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createEditor"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); 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] = {NULL, (void*)&userType0, (void*)&parent1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QItemEditorFactory::createEditor(userType0, parent1); + QListView::verticalScrollbarAction(action0); } -QByteArray PythonQtShell_QItemEditorFactory::valuePropertyName(int userType0) const +void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("valuePropertyName"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QByteArray" , "int"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QByteArray returnValue{}; - void* args[2] = {NULL, (void*)&userType0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("valuePropertyName", methodInfo, result); - } else { - returnValue = *((QByteArray*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } 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(const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ -return new QItemSelection(topLeft, bottomRight); } - -bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->contains(index)); -} - -QList PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const -{ - return ( theWrappedObject->indexes()); -} - -void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->merge(other, command)); -} - -void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight) -{ - ( theWrappedObject->select(topLeft, bottomRight)); -} - -void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result) -{ - (QItemSelection::split(range, other, result)); -} - - - -PythonQtShell_QItemSelectionModel::~PythonQtShell_QItemSelectionModel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QListView::verticalScrollbarValueChanged(value0); } -void PythonQtShell_QItemSelectionModel::clear() +QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::clear(); + return QListView::viewOptions(); } -void PythonQtShell_QItemSelectionModel::clearCurrentIndex() +bool PythonQtShell_QListView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clearCurrentIndex"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::clearCurrentIndex(); + return QListView::viewportEvent(event0); } -void PythonQtShell_QItemSelectionModel::reset() +QSize PythonQtShell_QListView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::reset(); + return QListView::viewportSizeHint(); } -void PythonQtShell_QItemSelectionModel::select(const QItemSelection& selection0, QItemSelectionModel::SelectionFlags command1) +QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("select"); + static PyObject* name = PyString_FromString("visualRect"); 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] = {NULL, (void*)&selection0, (void*)&command1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::select(selection0, command1); + return QListView::visualRect(index0); } -void PythonQtShell_QItemSelectionModel::select(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) +QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("select"); + static PyObject* name = PyString_FromString("visualRegionForSelection"); 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] = {NULL, (void*)&index0, (void*)&command1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QItemSelectionModel::select(index0, command1); + return QListView::visualRegionForSelection(selection0); } -void PythonQtShell_QItemSelectionModel::setCurrentIndex(const QModelIndex& index0, QItemSelectionModel::SelectionFlags command1) +void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setCurrentIndex"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL, (void*)&index0, (void*)&command1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2657,305 +2366,207 @@ if (_wrapper) { } } } - QItemSelectionModel::setCurrentIndex(index0, command1); + QListView::wheelEvent(e0); } -QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model) -{ -return new PythonQtShell_QItemSelectionModel(model); } - -QItemSelectionModel* PythonQtWrapper_QItemSelectionModel::new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent) +QListView* PythonQtWrapper_QListView::new_QListView(QWidget* parent) { -return new PythonQtShell_QItemSelectionModel(model, parent); } +return new PythonQtShell_QListView(parent); } -const QMetaObject* PythonQtShell_QItemSelectionModel::metaObject() const { +const QMetaObject* PythonQtShell_QListView::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QItemSelectionModel::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListView::staticMetaObject); } else { - return &QItemSelectionModel::staticMetaObject; + return &QListView::staticMetaObject; } } -int PythonQtShell_QItemSelectionModel::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QItemSelectionModel::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QItemSelectionModel::columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const +int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const { - return ( theWrappedObject->columnIntersectsSelection(column, parent)); + return ( theWrappedObject->batchSize()); } -QModelIndex PythonQtWrapper_QItemSelectionModel::currentIndex(QItemSelectionModel* theWrappedObject) const +void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) { - return ( theWrappedObject->currentIndex()); + ( theWrappedObject->clearPropertyFlags()); } -void PythonQtWrapper_QItemSelectionModel::emitSelectionChanged(QItemSelectionModel* theWrappedObject, const QItemSelection& newSelection, const QItemSelection& oldSelection) +QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QItemSelectionModel*)theWrappedObject)->promoted_emitSelectionChanged(newSelection, oldSelection)); + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); } -bool PythonQtWrapper_QItemSelectionModel::hasSelection(QItemSelectionModel* theWrappedObject) const +QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const { - return ( theWrappedObject->hasSelection()); + return ( theWrappedObject->flow()); } -bool PythonQtWrapper_QItemSelectionModel::isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const +QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const { - return ( theWrappedObject->isColumnSelected(column, parent)); + return ( theWrappedObject->gridSize()); } -bool PythonQtWrapper_QItemSelectionModel::isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const +bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const { - return ( theWrappedObject->isRowSelected(row, parent)); + return ( theWrappedObject->isRowHidden(row)); } -bool PythonQtWrapper_QItemSelectionModel::isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const +bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const { - return ( theWrappedObject->isSelected(index)); + return ( theWrappedObject->isSelectionRectVisible()); } -QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) +bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const { - return ( theWrappedObject->model()); + return ( theWrappedObject->isWrapping()); } -const QAbstractItemModel* PythonQtWrapper_QItemSelectionModel::model(QItemSelectionModel* theWrappedObject) const +Qt::Alignment PythonQtWrapper_QListView::itemAlignment(QListView* theWrappedObject) const { - return ( theWrappedObject->model()); + return ( theWrappedObject->itemAlignment()); } -bool PythonQtWrapper_QItemSelectionModel::rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const +QListView::LayoutMode PythonQtWrapper_QListView::layoutMode(QListView* theWrappedObject) const { - return ( theWrappedObject->rowIntersectsSelection(row, parent)); + return ( theWrappedObject->layoutMode()); } -QList PythonQtWrapper_QItemSelectionModel::selectedColumns(QItemSelectionModel* theWrappedObject, int row) const +int PythonQtWrapper_QListView::modelColumn(QListView* theWrappedObject) const { - return ( theWrappedObject->selectedColumns(row)); + return ( theWrappedObject->modelColumn()); } -QList PythonQtWrapper_QItemSelectionModel::selectedIndexes(QItemSelectionModel* theWrappedObject) const +QListView::Movement PythonQtWrapper_QListView::movement(QListView* theWrappedObject) const { - return ( theWrappedObject->selectedIndexes()); + return ( theWrappedObject->movement()); } -QList PythonQtWrapper_QItemSelectionModel::selectedRows(QItemSelectionModel* theWrappedObject, int column) const +QRect PythonQtWrapper_QListView::rectForIndex(QListView* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->selectedRows(column)); + return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_rectForIndex(index)); } -const QItemSelection PythonQtWrapper_QItemSelectionModel::selection(QItemSelectionModel* theWrappedObject) const +void PythonQtWrapper_QListView::resizeContents(QListView* theWrappedObject, int width, int height) { - return ( theWrappedObject->selection()); + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_resizeContents(width, height)); } -void PythonQtWrapper_QItemSelectionModel::setModel(QItemSelectionModel* theWrappedObject, QAbstractItemModel* model) +QListView::ResizeMode PythonQtWrapper_QListView::resizeMode(QListView* theWrappedObject) const { - ( theWrappedObject->setModel(model)); + return ( theWrappedObject->resizeMode()); } - - -PythonQtShell_QKeyEvent::~PythonQtShell_QKeyEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QListView::setBatchSize(QListView* theWrappedObject, int batchSize) +{ + ( theWrappedObject->setBatchSize(batchSize)); } -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 +void PythonQtWrapper_QListView::setFlow(QListView* theWrappedObject, QListView::Flow flow) { - return ( theWrappedObject->count()); + ( theWrappedObject->setFlow(flow)); } -bool PythonQtWrapper_QKeyEvent::isAutoRepeat(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setGridSize(QListView* theWrappedObject, const QSize& size) { - return ( theWrappedObject->isAutoRepeat()); + ( theWrappedObject->setGridSize(size)); } -int PythonQtWrapper_QKeyEvent::key(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setItemAlignment(QListView* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->key()); + ( theWrappedObject->setItemAlignment(alignment)); } -bool PythonQtWrapper_QKeyEvent::matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const +void PythonQtWrapper_QListView::setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode) { - return ( theWrappedObject->matches(key)); + ( theWrappedObject->setLayoutMode(mode)); } -Qt::KeyboardModifiers PythonQtWrapper_QKeyEvent::modifiers(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setModelColumn(QListView* theWrappedObject, int column) { - return ( theWrappedObject->modifiers()); + ( theWrappedObject->setModelColumn(column)); } -unsigned int PythonQtWrapper_QKeyEvent::nativeModifiers(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setMovement(QListView* theWrappedObject, QListView::Movement movement) { - return ( theWrappedObject->nativeModifiers()); + ( theWrappedObject->setMovement(movement)); } -unsigned int PythonQtWrapper_QKeyEvent::nativeScanCode(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setPositionForIndex(QListView* theWrappedObject, const QPoint& position, const QModelIndex& index) { - return ( theWrappedObject->nativeScanCode()); + ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_setPositionForIndex(position, index)); } -unsigned int PythonQtWrapper_QKeyEvent::nativeVirtualKey(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode) { - return ( theWrappedObject->nativeVirtualKey()); + ( theWrappedObject->setResizeMode(mode)); } -QString PythonQtWrapper_QKeyEvent::text(QKeyEvent* theWrappedObject) const +void PythonQtWrapper_QListView::setRowHidden(QListView* theWrappedObject, int row, bool hide) { - return ( theWrappedObject->text()); + ( theWrappedObject->setRowHidden(row, hide)); } - - -PythonQtShell_QKeyEventTransition::~PythonQtShell_QKeyEventTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QKeyEventTransition::event(QEvent* e0) +void PythonQtWrapper_QListView::setSelectionRectVisible(QListView* theWrappedObject, bool show) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QKeyEventTransition::event(e0); + ( theWrappedObject->setSelectionRectVisible(show)); } -bool PythonQtShell_QKeyEventTransition::eventTest(QEvent* event0) + +void PythonQtWrapper_QListView::setSpacing(QListView* theWrappedObject, int space) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); + ( theWrappedObject->setSpacing(space)); } -void PythonQtShell_QKeyEventTransition::onTransition(QEvent* event0) + +void PythonQtWrapper_QListView::setUniformItemSizes(QListView* theWrappedObject, bool enable) { -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] = {NULL, (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); + ( theWrappedObject->setUniformItemSizes(enable)); } -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); } +void PythonQtWrapper_QListView::setViewMode(QListView* theWrappedObject, QListView::ViewMode mode) +{ + ( theWrappedObject->setViewMode(mode)); +} -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; - } +void PythonQtWrapper_QListView::setWordWrap(QListView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); } -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; + +void PythonQtWrapper_QListView::setWrapping(QListView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setWrapping(enable)); } -int PythonQtWrapper_QKeyEventTransition::key(QKeyEventTransition* theWrappedObject) const + +int PythonQtWrapper_QListView::spacing(QListView* theWrappedObject) const { - return ( theWrappedObject->key()); + return ( theWrappedObject->spacing()); } -Qt::KeyboardModifiers PythonQtWrapper_QKeyEventTransition::modifierMask(QKeyEventTransition* theWrappedObject) const +bool PythonQtWrapper_QListView::uniformItemSizes(QListView* theWrappedObject) const { - return ( theWrappedObject->modifierMask()); + return ( theWrappedObject->uniformItemSizes()); } -void PythonQtWrapper_QKeyEventTransition::setKey(QKeyEventTransition* theWrappedObject, int key) +QListView::ViewMode PythonQtWrapper_QListView::viewMode(QListView* theWrappedObject) const { - ( theWrappedObject->setKey(key)); + return ( theWrappedObject->viewMode()); } -void PythonQtWrapper_QKeyEventTransition::setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers) +bool PythonQtWrapper_QListView::wordWrap(QListView* theWrappedObject) const { - ( theWrappedObject->setModifierMask(modifiers)); + return ( theWrappedObject->wordWrap()); } -PythonQtShell_QKeySequenceEdit::~PythonQtShell_QKeySequenceEdit() { +PythonQtShell_QListWidget::~PythonQtShell_QListWidget() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QKeySequenceEdit::actionEvent(QActionEvent* event0) +void PythonQtShell_QListWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2965,9 +2576,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2975,9 +2586,9 @@ if (_wrapper) { } } } - QKeySequenceEdit::actionEvent(event0); + QListWidget::actionEvent(event0); } -void PythonQtShell_QKeySequenceEdit::changeEvent(QEvent* arg__1) +void PythonQtShell_QListWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2987,9 +2598,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2997,21 +2608,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::changeEvent(arg__1); + QListWidget::changeEvent(arg__1); } -void PythonQtShell_QKeySequenceEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3019,21 +2630,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::closeEvent(event0); + QListWidget::childEvent(event0); } -void PythonQtShell_QKeySequenceEdit::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("closeEditor"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3041,54 +2652,43 @@ if (_wrapper) { } } } - QKeySequenceEdit::contextMenuEvent(event0); + QListWidget::closeEditor(editor0, hint1); } -int PythonQtShell_QKeySequenceEdit::devType() const +void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::devType(); + QListWidget::closeEvent(event0); } -void PythonQtShell_QKeySequenceEdit::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QListWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3096,21 +2696,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dragEnterEvent(event0); + QListWidget::commitData(editor0); } -void PythonQtShell_QKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3118,21 +2718,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dragLeaveEvent(event0); + QListWidget::contextMenuEvent(arg__1); } -void PythonQtShell_QKeySequenceEdit::dragMoveEvent(QDragMoveEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("currentChanged"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3140,21 +2740,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dragMoveEvent(event0); + QListWidget::currentChanged(current0, previous1); } -void PythonQtShell_QKeySequenceEdit::dropEvent(QDropEvent* event0) +void PythonQtShell_QListWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3162,21 +2762,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::dropEvent(event0); + QListWidget::customEvent(event0); } -void PythonQtShell_QKeySequenceEdit::enterEvent(QEvent* 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("enterEvent"); + static PyObject* name = PyString_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3184,32 +2784,32 @@ if (_wrapper) { } } } - QKeySequenceEdit::enterEvent(event0); + QListWidget::dataChanged(topLeft0, bottomRight1, roles2); } -bool PythonQtShell_QKeySequenceEdit::event(QEvent* arg__1) +int PythonQtShell_QListWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3217,21 +2817,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::event(arg__1); + return QListWidget::devType(); } -void PythonQtShell_QKeySequenceEdit::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3239,54 +2839,43 @@ if (_wrapper) { } } } - QKeySequenceEdit::focusInEvent(event0); + QListWidget::doItemsLayout(); } -bool PythonQtShell_QKeySequenceEdit::focusNextPrevChild(bool next0) +void PythonQtShell_QListWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::focusNextPrevChild(next0); + QListWidget::dragEnterEvent(event0); } -void PythonQtShell_QKeySequenceEdit::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3294,32 +2883,76 @@ if (_wrapper) { } } } - QKeySequenceEdit::focusOutEvent(event0); + QListWidget::dragLeaveEvent(e0); } -bool PythonQtShell_QKeySequenceEdit::hasHeightForWidth() const +void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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[1] = {NULL}; + void* args[4] = {nullptr, (void*)&index0, (void*)&data1, (void*)&action2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3327,32 +2960,32 @@ if (_wrapper) { } } } - return QKeySequenceEdit::hasHeightForWidth(); + return QListWidget::dropMimeData(index0, data1, action2); } -int PythonQtShell_QKeySequenceEdit::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("edit"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3360,21 +2993,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::heightForWidth(arg__1); + return QListWidget::edit(index0, trigger1, event2); } -void PythonQtShell_QKeySequenceEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3382,21 +3015,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::hideEvent(event0); + QListWidget::editorDestroyed(editor0); } -void PythonQtShell_QKeySequenceEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QListWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3404,54 +3037,65 @@ if (_wrapper) { } } } - QKeySequenceEdit::initPainter(painter0); + QListWidget::enterEvent(event0); } -void PythonQtShell_QKeySequenceEdit::inputMethodEvent(QInputMethodEvent* arg__1) +bool PythonQtShell_QListWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::inputMethodEvent(arg__1); + return QListWidget::event(e0); } -QVariant PythonQtShell_QKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3459,21 +3103,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::inputMethodQuery(arg__1); + return QListWidget::eventFilter(object0, event1); } -void PythonQtShell_QKeySequenceEdit::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3481,43 +3125,54 @@ if (_wrapper) { } } } - QKeySequenceEdit::keyPressEvent(arg__1); + QListWidget::focusInEvent(event0); } -void PythonQtShell_QKeySequenceEdit::keyReleaseEvent(QKeyEvent* arg__1) +bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::keyReleaseEvent(arg__1); + return QListWidget::focusNextPrevChild(next0); } -void PythonQtShell_QKeySequenceEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3525,32 +3180,32 @@ if (_wrapper) { } } } - QKeySequenceEdit::leaveEvent(event0); + QListWidget::focusOutEvent(event0); } -int PythonQtShell_QKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QListWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3558,32 +3213,32 @@ if (_wrapper) { } } } - return QKeySequenceEdit::metric(arg__1); + return QListWidget::hasHeightForWidth(); } -QSize PythonQtShell_QKeySequenceEdit::minimumSizeHint() const +int PythonQtShell_QListWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3591,21 +3246,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::minimumSizeHint(); + return QListWidget::heightForWidth(arg__1); } -void PythonQtShell_QKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3613,43 +3268,54 @@ if (_wrapper) { } } } - QKeySequenceEdit::mouseDoubleClickEvent(event0); + QListWidget::hideEvent(event0); } -void PythonQtShell_QKeySequenceEdit::mouseMoveEvent(QMouseEvent* event0) +int PythonQtShell_QListWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::mouseMoveEvent(event0); + return QListWidget::horizontalOffset(); } -void PythonQtShell_QKeySequenceEdit::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3657,21 +3323,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::mousePressEvent(event0); + QListWidget::horizontalScrollbarAction(action0); } -void PythonQtShell_QKeySequenceEdit::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3679,142 +3345,142 @@ if (_wrapper) { } } } - QKeySequenceEdit::mouseReleaseEvent(event0); + QListWidget::horizontalScrollbarValueChanged(value0); } -void PythonQtShell_QKeySequenceEdit::moveEvent(QMoveEvent* event0) +QModelIndex PythonQtShell_QListWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::moveEvent(event0); + return QListWidget::indexAt(p0); } -bool PythonQtShell_QKeySequenceEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QListWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("initPainter"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::nativeEvent(eventType0, message1, result2); + QListWidget::initPainter(painter0); } -QPaintEngine* PythonQtShell_QKeySequenceEdit::paintEngine() const +void PythonQtShell_QListWidget::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::paintEngine(); + QListWidget::inputMethodEvent(event0); } -void PythonQtShell_QKeySequenceEdit::paintEvent(QPaintEvent* 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("paintEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::paintEvent(event0); + return QListWidget::inputMethodQuery(query0); } -QPaintDevice* PythonQtShell_QKeySequenceEdit::redirected(QPoint* offset0) const +bool PythonQtShell_QListWidget::isIndexHidden(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("isIndexHidden"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3822,21 +3488,21 @@ if (_wrapper) { } } } - return QKeySequenceEdit::redirected(offset0); + return QListWidget::isIndexHidden(index0); } -void PythonQtShell_QKeySequenceEdit::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QListWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3844,21 +3510,21 @@ if (_wrapper) { } } } - QKeySequenceEdit::resizeEvent(event0); + QListWidget::keyPressEvent(event0); } -void PythonQtShell_QKeySequenceEdit::setVisible(bool visible0) +void PythonQtShell_QListWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3866,54 +3532,43 @@ if (_wrapper) { } } } - QKeySequenceEdit::setVisible(visible0); + QListWidget::keyReleaseEvent(event0); } -QPainter* PythonQtShell_QKeySequenceEdit::sharedPainter() const +void PythonQtShell_QListWidget::keyboardSearch(const QString& search0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("keyboardSearch"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QKeySequenceEdit::sharedPainter(); + QListWidget::keyboardSearch(search0); } -void PythonQtShell_QKeySequenceEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QListWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3921,32 +3576,32 @@ if (_wrapper) { } } } - QKeySequenceEdit::showEvent(event0); + QListWidget::leaveEvent(event0); } -QSize PythonQtShell_QKeySequenceEdit::sizeHint() const +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("getSizeHint"); + static PyObject* name = PyString_FromString("metric"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3954,124 +3609,120 @@ if (_wrapper) { } } } - return QKeySequenceEdit::sizeHint(); + return QListWidget::metric(arg__1); } -void PythonQtShell_QKeySequenceEdit::tabletEvent(QTabletEvent* event0) +QMimeData* PythonQtShell_QListWidget::mimeData(const QList items0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::tabletEvent(event0); + return QListWidget::mimeData(items0); } -void PythonQtShell_QKeySequenceEdit::timerEvent(QTimerEvent* arg__1) +QStringList PythonQtShell_QListWidget::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QKeySequenceEdit::timerEvent(arg__1); + return QListWidget::mimeTypes(); } -void PythonQtShell_QKeySequenceEdit::wheelEvent(QWheelEvent* event0) +QSize PythonQtShell_QListWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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()); -} - -void PythonQtWrapper_QKeySequenceEdit::timerEvent(QKeySequenceEdit* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QKeySequenceEdit*)theWrappedObject)->promoted_timerEvent(arg__1)); -} - - - -PythonQtShell_QLCDNumber::~PythonQtShell_QLCDNumber() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QListWidget::minimumSizeHint(); } -void PythonQtShell_QLCDNumber::actionEvent(QActionEvent* event0) +void PythonQtShell_QListWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4079,21 +3730,21 @@ if (_wrapper) { } } } - QLCDNumber::actionEvent(event0); + QListWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QLCDNumber::changeEvent(QEvent* arg__1) +void PythonQtShell_QListWidget::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4101,21 +3752,21 @@ if (_wrapper) { } } } - QLCDNumber::changeEvent(arg__1); + QListWidget::mouseMoveEvent(e0); } -void PythonQtShell_QLCDNumber::closeEvent(QCloseEvent* event0) +void PythonQtShell_QListWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4123,21 +3774,21 @@ if (_wrapper) { } } } - QLCDNumber::closeEvent(event0); + QListWidget::mousePressEvent(event0); } -void PythonQtShell_QLCDNumber::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QListWidget::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4145,32 +3796,32 @@ if (_wrapper) { } } } - QLCDNumber::contextMenuEvent(event0); + QListWidget::mouseReleaseEvent(e0); } -int PythonQtShell_QLCDNumber::devType() const +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("devType"); + static PyObject* name = PyString_FromString("moveCursor"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4178,21 +3829,21 @@ if (_wrapper) { } } } - return QLCDNumber::devType(); + return QListWidget::moveCursor(cursorAction0, modifiers1); } -void PythonQtShell_QLCDNumber::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QListWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4200,65 +3851,87 @@ if (_wrapper) { } } } - QLCDNumber::dragEnterEvent(event0); + QListWidget::moveEvent(event0); } -void PythonQtShell_QLCDNumber::dragLeaveEvent(QDragLeaveEvent* 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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::dragLeaveEvent(event0); + return QListWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QLCDNumber::dragMoveEvent(QDragMoveEvent* event0) +QPaintEngine* PythonQtShell_QListWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::dragMoveEvent(event0); + return QListWidget::paintEngine(); } -void PythonQtShell_QLCDNumber::dropEvent(QDropEvent* event0) +void PythonQtShell_QListWidget::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4266,76 +3939,76 @@ if (_wrapper) { } } } - QLCDNumber::dropEvent(event0); + QListWidget::paintEvent(e0); } -void PythonQtShell_QLCDNumber::enterEvent(QEvent* event0) +QPaintDevice* PythonQtShell_QListWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::enterEvent(event0); + return QListWidget::redirected(offset0); } -bool PythonQtShell_QLCDNumber::event(QEvent* e0) +void PythonQtShell_QListWidget::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("reset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::event(e0); + QListWidget::reset(); } -void PythonQtShell_QLCDNumber::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QListWidget::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4343,54 +4016,43 @@ if (_wrapper) { } } } - QLCDNumber::focusInEvent(event0); + QListWidget::resizeEvent(e0); } -bool PythonQtShell_QLCDNumber::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); 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] = {NULL, (void*)&next0}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::focusNextPrevChild(next0); + QListWidget::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QLCDNumber::focusOutEvent(QFocusEvent* event0) +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("focusOutEvent"); + static PyObject* name = PyString_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4398,87 +4060,65 @@ if (_wrapper) { } } } - QLCDNumber::focusOutEvent(event0); + QListWidget::rowsInserted(parent0, start1, end2); } -bool PythonQtShell_QLCDNumber::hasHeightForWidth() const +void PythonQtShell_QListWidget::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::hasHeightForWidth(); + QListWidget::scrollContentsBy(dx0, dy1); } -int PythonQtShell_QLCDNumber::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("scrollTo"); 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] = {NULL, (void*)&arg__1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::heightForWidth(arg__1); + QListWidget::scrollTo(index0, hint1); } -void PythonQtShell_QLCDNumber::hideEvent(QHideEvent* event0) +void PythonQtShell_QListWidget::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4486,43 +4126,54 @@ if (_wrapper) { } } } - QLCDNumber::hideEvent(event0); + QListWidget::selectAll(); } -void PythonQtShell_QLCDNumber::initPainter(QPainter* painter0) const +QList PythonQtShell_QListWidget::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("selectedIndexes"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::initPainter(painter0); + return QListWidget::selectedIndexes(); } -void PythonQtShell_QLCDNumber::inputMethodEvent(QInputMethodEvent* arg__1) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4530,32 +4181,32 @@ if (_wrapper) { } } } - QLCDNumber::inputMethodEvent(arg__1); + QListWidget::selectionChanged(selected0, deselected1); } -QVariant PythonQtShell_QLCDNumber::inputMethodQuery(Qt::InputMethodQuery arg__1) const +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("selectionCommand"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4563,21 +4214,21 @@ if (_wrapper) { } } } - return QLCDNumber::inputMethodQuery(arg__1); + return QListWidget::selectionCommand(index0, event1); } -void PythonQtShell_QLCDNumber::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QListWidget::setRootIndex(const QModelIndex& index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("setRootIndex"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4585,21 +4236,43 @@ if (_wrapper) { } } } - QLCDNumber::keyPressEvent(event0); + QListWidget::setRootIndex(index0); } -void PythonQtShell_QLCDNumber::keyReleaseEvent(QKeyEvent* event0) +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("setSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4607,21 +4280,21 @@ if (_wrapper) { } } } - QLCDNumber::keyReleaseEvent(event0); + QListWidget::setSelectionModel(selectionModel0); } -void PythonQtShell_QLCDNumber::leaveEvent(QEvent* event0) +void PythonQtShell_QListWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4629,65 +4302,54 @@ if (_wrapper) { } } } - QLCDNumber::leaveEvent(event0); + QListWidget::setVisible(visible0); } -int PythonQtShell_QLCDNumber::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QListWidget::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::metric(arg__1); + QListWidget::setupViewport(viewport0); } -QSize PythonQtShell_QLCDNumber::minimumSizeHint() const +QPainter* PythonQtShell_QListWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4695,21 +4357,21 @@ if (_wrapper) { } } } - return QLCDNumber::minimumSizeHint(); + return QListWidget::sharedPainter(); } -void PythonQtShell_QLCDNumber::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QListWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4717,87 +4379,120 @@ if (_wrapper) { } } } - QLCDNumber::mouseDoubleClickEvent(event0); + QListWidget::showEvent(event0); } -void PythonQtShell_QLCDNumber::mouseMoveEvent(QMouseEvent* event0) +QSize PythonQtShell_QListWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::mouseMoveEvent(event0); + return QListWidget::sizeHint(); } -void PythonQtShell_QLCDNumber::mousePressEvent(QMouseEvent* event0) +int PythonQtShell_QListWidget::sizeHintForColumn(int column0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("sizeHintForColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::mousePressEvent(event0); + return QListWidget::sizeHintForColumn(column0); } -void PythonQtShell_QLCDNumber::mouseReleaseEvent(QMouseEvent* event0) +int PythonQtShell_QListWidget::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::mouseReleaseEvent(event0); + return QListWidget::sizeHintForRow(row0); } -void PythonQtShell_QLCDNumber::moveEvent(QMoveEvent* event0) +void PythonQtShell_QListWidget::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4805,32 +4500,32 @@ if (_wrapper) { } } } - QLCDNumber::moveEvent(event0); + QListWidget::startDrag(supportedActions0); } -bool PythonQtShell_QLCDNumber::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +Qt::DropActions PythonQtShell_QListWidget::supportedDropActions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("supportedDropActions"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4838,54 +4533,43 @@ if (_wrapper) { } } } - return QLCDNumber::nativeEvent(eventType0, message1, result2); + return QListWidget::supportedDropActions(); } -QPaintEngine* PythonQtShell_QLCDNumber::paintEngine() const +void PythonQtShell_QListWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("tabletEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLCDNumber::paintEngine(); + QListWidget::tabletEvent(event0); } -void PythonQtShell_QLCDNumber::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QListWidget::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4893,32 +4577,98 @@ if (_wrapper) { } } } - QLCDNumber::paintEvent(arg__1); + QListWidget::timerEvent(e0); } -QPaintDevice* PythonQtShell_QLCDNumber::redirected(QPoint* offset0) const +void PythonQtShell_QListWidget::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("updateEditorData"); 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] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4926,21 +4676,21 @@ if (_wrapper) { } } } - return QLCDNumber::redirected(offset0); + return QListWidget::verticalOffset(); } -void PythonQtShell_QLCDNumber::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QListWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4948,21 +4698,21 @@ if (_wrapper) { } } } - QLCDNumber::resizeEvent(event0); + QListWidget::verticalScrollbarAction(action0); } -void PythonQtShell_QLCDNumber::setVisible(bool visible0) +void PythonQtShell_QListWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4970,32 +4720,32 @@ if (_wrapper) { } } } - QLCDNumber::setVisible(visible0); + QListWidget::verticalScrollbarValueChanged(value0); } -QPainter* PythonQtShell_QLCDNumber::sharedPainter() const +QStyleOptionViewItem PythonQtShell_QListWidget::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5003,54 +4753,65 @@ if (_wrapper) { } } } - return QLCDNumber::sharedPainter(); + return QListWidget::viewOptions(); } -void PythonQtShell_QLCDNumber::showEvent(QShowEvent* event0) +bool PythonQtShell_QListWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLCDNumber::showEvent(event0); + return QListWidget::viewportEvent(event0); } -QSize PythonQtShell_QLCDNumber::sizeHint() const +QSize PythonQtShell_QListWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5058,31 +4819,75 @@ if (_wrapper) { } } } - return QLCDNumber::sizeHint(); + return QListWidget::viewportSizeHint(); } -void PythonQtShell_QLCDNumber::tabletEvent(QTabletEvent* event0) +QRect PythonQtShell_QListWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + 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(); } } } - QLCDNumber::tabletEvent(event0); + return QListWidget::visualRegionForSelection(selection0); } -void PythonQtShell_QLCDNumber::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QListWidget::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5092,9 +4897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5102,202 +4907,283 @@ if (_wrapper) { } } } - QLCDNumber::wheelEvent(event0); + QListWidget::wheelEvent(e0); } -QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(QWidget* parent) -{ -return new PythonQtShell_QLCDNumber(parent); } - -QLCDNumber* PythonQtWrapper_QLCDNumber::new_QLCDNumber(uint numDigits, QWidget* parent) +QListWidget* PythonQtWrapper_QListWidget::new_QListWidget(QWidget* parent) { -return new PythonQtShell_QLCDNumber(numDigits, parent); } +return new PythonQtShell_QListWidget(parent); } -const QMetaObject* PythonQtShell_QLCDNumber::metaObject() const { +const QMetaObject* PythonQtShell_QListWidget::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLCDNumber::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QListWidget::staticMetaObject); } else { - return &QLCDNumber::staticMetaObject; + return &QListWidget::staticMetaObject; } } -int PythonQtShell_QLCDNumber::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLCDNumber::qt_metacall(call, id, args); +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; } -bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, double num) const +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { - return ( theWrappedObject->checkOverflow(num)); + ( theWrappedObject->addItem(item)); } -bool PythonQtWrapper_QLCDNumber::checkOverflow(QLCDNumber* theWrappedObject, int num) const +void PythonQtWrapper_QListWidget::addItem(QListWidget* theWrappedObject, const QString& label) { - return ( theWrappedObject->checkOverflow(num)); + ( theWrappedObject->addItem(label)); } -int PythonQtWrapper_QLCDNumber::digitCount(QLCDNumber* theWrappedObject) const +void PythonQtWrapper_QListWidget::addItems(QListWidget* theWrappedObject, const QStringList& labels) { - return ( theWrappedObject->digitCount()); + ( theWrappedObject->addItems(labels)); } -int PythonQtWrapper_QLCDNumber::intValue(QLCDNumber* theWrappedObject) const +void PythonQtWrapper_QListWidget::closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item) { - return ( theWrappedObject->intValue()); + ( theWrappedObject->closePersistentEditor(item)); } -QLCDNumber::Mode PythonQtWrapper_QLCDNumber::mode(QLCDNumber* theWrappedObject) const +int PythonQtWrapper_QListWidget::count(QListWidget* theWrappedObject) const { - return ( theWrappedObject->mode()); + return ( theWrappedObject->count()); } -QLCDNumber::SegmentStyle PythonQtWrapper_QLCDNumber::segmentStyle(QLCDNumber* theWrappedObject) const +QListWidgetItem* PythonQtWrapper_QListWidget::currentItem(QListWidget* theWrappedObject) const { - return ( theWrappedObject->segmentStyle()); + return ( theWrappedObject->currentItem()); } -void PythonQtWrapper_QLCDNumber::setDigitCount(QLCDNumber* theWrappedObject, int nDigits) +int PythonQtWrapper_QListWidget::currentRow(QListWidget* theWrappedObject) const { - ( theWrappedObject->setDigitCount(nDigits)); + return ( theWrappedObject->currentRow()); } -void PythonQtWrapper_QLCDNumber::setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1) +bool PythonQtWrapper_QListWidget::dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action) { - ( theWrappedObject->setMode(arg__1)); + return ( ((PythonQtPublicPromoter_QListWidget*)theWrappedObject)->promoted_dropMimeData(index, data, action)); } -void PythonQtWrapper_QLCDNumber::setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1) +void PythonQtWrapper_QListWidget::editItem(QListWidget* theWrappedObject, QListWidgetItem* item) { - ( theWrappedObject->setSegmentStyle(arg__1)); + ( theWrappedObject->editItem(item)); } -bool PythonQtWrapper_QLCDNumber::smallDecimalPoint(QLCDNumber* theWrappedObject) const +QList PythonQtWrapper_QListWidget::findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const { - return ( theWrappedObject->smallDecimalPoint()); + return ( theWrappedObject->findItems(text, flags)); } -double PythonQtWrapper_QLCDNumber::value(QLCDNumber* theWrappedObject) const +QModelIndex PythonQtWrapper_QListWidget::indexFromItem(QListWidget* theWrappedObject, QListWidgetItem* item) const { - return ( theWrappedObject->value()); + 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)); +} -PythonQtShell_QLabel::~PythonQtShell_QLabel() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QListWidget::insertItem(QListWidget* theWrappedObject, int row, const QString& label) +{ + ( theWrappedObject->insertItem(row, label)); } -void PythonQtShell_QLabel::actionEvent(QActionEvent* event0) + +void PythonQtWrapper_QListWidget::insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->insertItems(row, labels)); } - QLabel::actionEvent(event0); + +bool PythonQtWrapper_QListWidget::isPersistentEditorOpen(QListWidget* theWrappedObject, QListWidgetItem* item) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item)); } -void PythonQtShell_QLabel::changeEvent(QEvent* arg__1) + +bool PythonQtWrapper_QListWidget::isSortingEnabled(QListWidget* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isSortingEnabled()); } - QLabel::changeEvent(arg__1); + +QListWidgetItem* PythonQtWrapper_QListWidget::item(QListWidget* theWrappedObject, int row) const +{ + return ( theWrappedObject->item(row)); } -void PythonQtShell_QLabel::closeEvent(QCloseEvent* event0) + +QListWidgetItem* PythonQtWrapper_QListWidget::itemAt(QListWidget* theWrappedObject, const QPoint& p) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + 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)); } - QLabel::closeEvent(event0); + + + +PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QLabel::contextMenuEvent(QContextMenuEvent* ev0) +QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("clone"); 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] = {NULL, (void*)&ev0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QListWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::contextMenuEvent(ev0); + return QListWidgetItem::clone(); } -int PythonQtShell_QLabel::devType() const +QVariant PythonQtShell_QListWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5305,21 +5191,21 @@ if (_wrapper) { } } } - return QLabel::devType(); + return QListWidgetItem::data(role0); } -void PythonQtShell_QLabel::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QListWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5327,21 +5213,21 @@ if (_wrapper) { } } } - QLabel::dragEnterEvent(event0); + QListWidgetItem::read(in0); } -void PythonQtShell_QLabel::dragLeaveEvent(QDragLeaveEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("setData"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5349,21 +5235,21 @@ if (_wrapper) { } } } - QLabel::dragLeaveEvent(event0); + QListWidgetItem::setData(role0, value1); } -void PythonQtShell_QLabel::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5371,21 +5257,224 @@ if (_wrapper) { } } } - QLabel::dragMoveEvent(event0); + 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_QLabel::dropEvent(QDropEvent* event0) +void PythonQtShell_QMainWindow::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5393,21 +5482,21 @@ if (_wrapper) { } } } - QLabel::dropEvent(event0); + QMainWindow::actionEvent(event0); } -void PythonQtShell_QLabel::enterEvent(QEvent* event0) +void PythonQtShell_QMainWindow::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5415,54 +5504,43 @@ if (_wrapper) { } } } - QLabel::enterEvent(event0); + QMainWindow::changeEvent(arg__1); } -bool PythonQtShell_QLabel::event(QEvent* e0) +void PythonQtShell_QMainWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::event(e0); + QMainWindow::childEvent(event0); } -void PythonQtShell_QLabel::focusInEvent(QFocusEvent* ev0) +void PythonQtShell_QMainWindow::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5470,120 +5548,109 @@ if (_wrapper) { } } } - QLabel::focusInEvent(ev0); + QMainWindow::closeEvent(event0); } -bool PythonQtShell_QLabel::focusNextPrevChild(bool next0) +void PythonQtShell_QMainWindow::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::focusNextPrevChild(next0); + QMainWindow::contextMenuEvent(event0); } -void PythonQtShell_QLabel::focusOutEvent(QFocusEvent* ev0) +QMenu* PythonQtShell_QMainWindow::createPopupMenu() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("createPopupMenu"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); + } else { + returnValue = *((QMenu**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::focusOutEvent(ev0); + return QMainWindow::createPopupMenu(); } -bool PythonQtShell_QLabel::hasHeightForWidth() const +void PythonQtShell_QMainWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::hasHeightForWidth(); + QMainWindow::customEvent(event0); } -int PythonQtShell_QLabel::heightForWidth(int arg__1) const +int PythonQtShell_QMainWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5591,21 +5658,21 @@ if (_wrapper) { } } } - return QLabel::heightForWidth(arg__1); + return QMainWindow::devType(); } -void PythonQtShell_QLabel::hideEvent(QHideEvent* event0) +void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5613,21 +5680,21 @@ if (_wrapper) { } } } - QLabel::hideEvent(event0); + QMainWindow::dragEnterEvent(event0); } -void PythonQtShell_QLabel::initPainter(QPainter* painter0) const +void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5635,21 +5702,21 @@ if (_wrapper) { } } } - QLabel::initPainter(painter0); + QMainWindow::dragLeaveEvent(event0); } -void PythonQtShell_QLabel::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5657,54 +5724,43 @@ if (_wrapper) { } } } - QLabel::inputMethodEvent(arg__1); + QMainWindow::dragMoveEvent(event0); } -QVariant PythonQtShell_QLabel::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::inputMethodQuery(arg__1); + QMainWindow::dropEvent(event0); } -void PythonQtShell_QLabel::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5712,109 +5768,120 @@ if (_wrapper) { } } } - QLabel::keyPressEvent(ev0); + QMainWindow::enterEvent(event0); } -void PythonQtShell_QLabel::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QMainWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::keyReleaseEvent(event0); + return QMainWindow::event(event0); } -void PythonQtShell_QLabel::leaveEvent(QEvent* 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("leaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::leaveEvent(event0); + return QMainWindow::eventFilter(watched0, event1); } -int PythonQtShell_QLabel::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::metric(arg__1); + QMainWindow::focusInEvent(event0); } -QSize PythonQtShell_QLabel::minimumSizeHint() const +bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5822,21 +5889,21 @@ if (_wrapper) { } } } - return QLabel::minimumSizeHint(); + return QMainWindow::focusNextPrevChild(next0); } -void PythonQtShell_QLabel::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5844,65 +5911,87 @@ if (_wrapper) { } } } - QLabel::mouseDoubleClickEvent(event0); + QMainWindow::focusOutEvent(event0); } -void PythonQtShell_QLabel::mouseMoveEvent(QMouseEvent* ev0) +bool PythonQtShell_QMainWindow::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::mouseMoveEvent(ev0); + return QMainWindow::hasHeightForWidth(); } -void PythonQtShell_QLabel::mousePressEvent(QMouseEvent* ev0) +int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::mousePressEvent(ev0); + return QMainWindow::heightForWidth(arg__1); } -void PythonQtShell_QLabel::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5910,21 +5999,21 @@ if (_wrapper) { } } } - QLabel::mouseReleaseEvent(ev0); + QMainWindow::hideEvent(event0); } -void PythonQtShell_QLabel::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5932,65 +6021,54 @@ if (_wrapper) { } } } - QLabel::moveEvent(event0); + QMainWindow::initPainter(painter0); } -bool PythonQtShell_QLabel::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::nativeEvent(eventType0, message1, result2); + QMainWindow::inputMethodEvent(arg__1); } -QPaintEngine* PythonQtShell_QLabel::paintEngine() const +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("paintEngine"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5998,21 +6076,21 @@ if (_wrapper) { } } } - return QLabel::paintEngine(); + return QMainWindow::inputMethodQuery(arg__1); } -void PythonQtShell_QLabel::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6020,54 +6098,43 @@ if (_wrapper) { } } } - QLabel::paintEvent(arg__1); + QMainWindow::keyPressEvent(event0); } -QPaintDevice* PythonQtShell_QLabel::redirected(QPoint* offset0) const +void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::redirected(offset0); + QMainWindow::keyReleaseEvent(event0); } -void PythonQtShell_QLabel::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6075,54 +6142,65 @@ if (_wrapper) { } } } - QLabel::resizeEvent(event0); + QMainWindow::leaveEvent(event0); } -void PythonQtShell_QLabel::setVisible(bool visible0) +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("setVisible"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLabel::setVisible(visible0); + return QMainWindow::metric(arg__1); } -QPainter* PythonQtShell_QLabel::sharedPainter() const +QSize PythonQtShell_QMainWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6130,21 +6208,21 @@ if (_wrapper) { } } } - return QLabel::sharedPainter(); + return QMainWindow::minimumSizeHint(); } -void PythonQtShell_QLabel::showEvent(QShowEvent* event0) +void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6152,54 +6230,43 @@ if (_wrapper) { } } } - QLabel::showEvent(event0); + QMainWindow::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QLabel::sizeHint() const +void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLabel::sizeHint(); + QMainWindow::mouseMoveEvent(event0); } -void PythonQtShell_QLabel::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6207,21 +6274,21 @@ if (_wrapper) { } } } - QLabel::tabletEvent(event0); + QMainWindow::mousePressEvent(event0); } -void PythonQtShell_QLabel::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6229,227 +6296,54 @@ if (_wrapper) { } } } - 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_QLayoutItem::~PythonQtShell_QLayoutItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMainWindow::mouseReleaseEvent(event0); } -QSizePolicy::ControlTypes PythonQtShell_QLayoutItem::controlTypes() const +void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("controlTypes"); + static PyObject* name = PyString_FromString("moveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::controlTypes(); + QMainWindow::moveEvent(event0); } -Qt::Orientations PythonQtShell_QLayoutItem::expandingDirections() const +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("expandingDirections"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((Qt::Orientations*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6457,32 +6351,32 @@ if (_wrapper) { } } } - return Qt::Orientations(); + return QMainWindow::nativeEvent(eventType0, message1, result2); } -QRect PythonQtShell_QLayoutItem::geometry() const +QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("geometry"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6490,65 +6384,54 @@ if (_wrapper) { } } } - return QRect(); + return QMainWindow::paintEngine(); } -bool PythonQtShell_QLayoutItem::hasHeightForWidth() const +void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::hasHeightForWidth(); + QMainWindow::paintEvent(event0); } -int PythonQtShell_QLayoutItem::heightForWidth(int arg__1) const +QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6556,21 +6439,21 @@ if (_wrapper) { } } } - return QLayoutItem::heightForWidth(arg__1); + return QMainWindow::redirected(offset0); } -void PythonQtShell_QLayoutItem::invalidate() +void PythonQtShell_QMainWindow::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6578,65 +6461,54 @@ if (_wrapper) { } } } - QLayoutItem::invalidate(); + QMainWindow::resizeEvent(event0); } -bool PythonQtShell_QLayoutItem::isEmpty() const +void PythonQtShell_QMainWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isEmpty"); + 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(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QMainWindow::setVisible(visible0); } -QSize PythonQtShell_QLayoutItem::maximumSize() const +QPainter* PythonQtShell_QMainWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6644,65 +6516,54 @@ if (_wrapper) { } } } - return QSize(); + return QMainWindow::sharedPainter(); } -int PythonQtShell_QLayoutItem::minimumHeightForWidth(int arg__1) const +void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::minimumHeightForWidth(arg__1); + QMainWindow::showEvent(event0); } -QSize PythonQtShell_QLayoutItem::minimumSize() const +QSize PythonQtShell_QMainWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6710,21 +6571,21 @@ if (_wrapper) { } } } - return QSize(); + return QMainWindow::sizeHint(); } -void PythonQtShell_QLayoutItem::setGeometry(const QRect& arg__1) +void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6732,639 +6593,510 @@ if (_wrapper) { } } } - + QMainWindow::tabletEvent(event0); } -QSize PythonQtShell_QLayoutItem::sizeHint() const +void PythonQtShell_QMainWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSize(); + QMainWindow::timerEvent(event0); } -QSpacerItem* PythonQtShell_QLayoutItem::spacerItem() +void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("spacerItem"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLayoutItem::spacerItem(); + QMainWindow::wheelEvent(event0); } -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QLayoutItem::widget(); +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)); } -QLayoutItem* PythonQtWrapper_QLayoutItem::new_QLayoutItem(Qt::Alignment alignment) -{ -return new PythonQtShell_QLayoutItem(alignment); } -Qt::Alignment PythonQtWrapper_QLayoutItem::alignment(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation) { - return ( theWrappedObject->alignment()); + ( theWrappedObject->addDockWidget(area, dockwidget, orientation)); } -QSizePolicy::ControlTypes PythonQtWrapper_QLayoutItem::controlTypes(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) { - return ( theWrappedObject->controlTypes()); + ( theWrappedObject->addToolBar(toolbar)); } -Qt::Orientations PythonQtWrapper_QLayoutItem::expandingDirections(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar) { - return ( theWrappedObject->expandingDirections()); + ( theWrappedObject->addToolBar(area, toolbar)); } -QRect PythonQtWrapper_QLayoutItem::geometry(QLayoutItem* theWrappedObject) const +QToolBar* PythonQtWrapper_QMainWindow::addToolBar(QMainWindow* theWrappedObject, const QString& title) { - return ( theWrappedObject->geometry()); + return ( theWrappedObject->addToolBar(title)); } -bool PythonQtWrapper_QLayoutItem::hasHeightForWidth(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QMainWindow::addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area) { - return ( theWrappedObject->hasHeightForWidth()); + ( theWrappedObject->addToolBarBreak(area)); } -int PythonQtWrapper_QLayoutItem::heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +QWidget* PythonQtWrapper_QMainWindow::centralWidget(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->heightForWidth(arg__1)); + return ( theWrappedObject->centralWidget()); } -void PythonQtWrapper_QLayoutItem::invalidate(QLayoutItem* theWrappedObject) +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::corner(QMainWindow* theWrappedObject, Qt::Corner corner) const { - ( theWrappedObject->invalidate()); + return ( theWrappedObject->corner(corner)); } -bool PythonQtWrapper_QLayoutItem::isEmpty(QLayoutItem* theWrappedObject) const +QMenu* PythonQtWrapper_QMainWindow::createPopupMenu(QMainWindow* theWrappedObject) { - return ( theWrappedObject->isEmpty()); + return ( theWrappedObject->createPopupMenu()); } -QSize PythonQtWrapper_QLayoutItem::maximumSize(QLayoutItem* theWrappedObject) const +QMainWindow::DockOptions PythonQtWrapper_QMainWindow::dockOptions(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->maximumSize()); + return ( theWrappedObject->dockOptions()); } -int PythonQtWrapper_QLayoutItem::minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const +Qt::DockWidgetArea PythonQtWrapper_QMainWindow::dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const { - return ( theWrappedObject->minimumHeightForWidth(arg__1)); + return ( theWrappedObject->dockWidgetArea(dockwidget)); } -QSize PythonQtWrapper_QLayoutItem::minimumSize(QLayoutItem* theWrappedObject) const +bool PythonQtWrapper_QMainWindow::documentMode(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->minimumSize()); + return ( theWrappedObject->documentMode()); } -void PythonQtWrapper_QLayoutItem::setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a) +QSize PythonQtWrapper_QMainWindow::iconSize(QMainWindow* theWrappedObject) const { - ( theWrappedObject->setAlignment(a)); + return ( theWrappedObject->iconSize()); } -void PythonQtWrapper_QLayoutItem::setGeometry(QLayoutItem* theWrappedObject, const QRect& arg__1) +void PythonQtWrapper_QMainWindow::insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar) { - ( theWrappedObject->setGeometry(arg__1)); + ( theWrappedObject->insertToolBar(before, toolbar)); } -QSize PythonQtWrapper_QLayoutItem::sizeHint(QLayoutItem* theWrappedObject) const +void PythonQtWrapper_QMainWindow::insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->insertToolBarBreak(before)); } -QSpacerItem* PythonQtWrapper_QLayoutItem::spacerItem(QLayoutItem* theWrappedObject) +bool PythonQtWrapper_QMainWindow::isAnimated(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->spacerItem()); + return ( theWrappedObject->isAnimated()); } -QWidget* PythonQtWrapper_QLayoutItem::widget(QLayoutItem* theWrappedObject) +bool PythonQtWrapper_QMainWindow::isDockNestingEnabled(QMainWindow* theWrappedObject) const { - return ( theWrappedObject->widget()); + 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()); +} -PythonQtShell_QLineEdit::~PythonQtShell_QLineEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QWidget* PythonQtWrapper_QMainWindow::menuWidget(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->menuWidget()); } -void PythonQtShell_QLineEdit::actionEvent(QActionEvent* event0) + +void PythonQtWrapper_QMainWindow::removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->removeDockWidget(dockwidget)); } - QLineEdit::actionEvent(event0); + +void PythonQtWrapper_QMainWindow::removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar) +{ + ( theWrappedObject->removeToolBar(toolbar)); } -void PythonQtShell_QLineEdit::changeEvent(QEvent* arg__1) + +void PythonQtWrapper_QMainWindow::removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->removeToolBarBreak(before)); } - QLineEdit::changeEvent(arg__1); + +void PythonQtWrapper_QMainWindow::resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation) +{ + ( theWrappedObject->resizeDocks(docks, sizes, orientation)); } -void PythonQtShell_QLineEdit::closeEvent(QCloseEvent* event0) + +bool PythonQtWrapper_QMainWindow::restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->restoreDockWidget(dockwidget)); } - QLineEdit::closeEvent(event0); + +bool PythonQtWrapper_QMainWindow::restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version) +{ + return ( theWrappedObject->restoreState(state, version)); } -void PythonQtShell_QLineEdit::contextMenuEvent(QContextMenuEvent* arg__1) + +QByteArray PythonQtWrapper_QMainWindow::saveState(QMainWindow* theWrappedObject, int version) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->saveState(version)); } - QLineEdit::contextMenuEvent(arg__1); + +void PythonQtWrapper_QMainWindow::setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setCentralWidget(widget)); } -int PythonQtShell_QLineEdit::devType() const + +void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCorner(corner, area)); } - return QLineEdit::devType(); + +void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) +{ + ( theWrappedObject->setDockOptions(options)); } -void PythonQtShell_QLineEdit::dragEnterEvent(QDragEnterEvent* arg__1) + +void PythonQtWrapper_QMainWindow::setDocumentMode(QMainWindow* theWrappedObject, bool enabled) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDocumentMode(enabled)); } - QLineEdit::dragEnterEvent(arg__1); + +void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) +{ + ( theWrappedObject->setIconSize(iconSize)); } -void PythonQtShell_QLineEdit::dragLeaveEvent(QDragLeaveEvent* e0) + +void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMenuBar(menubar)); } - QLineEdit::dragLeaveEvent(e0); + +void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) +{ + ( theWrappedObject->setMenuWidget(menubar)); } -void PythonQtShell_QLineEdit::dragMoveEvent(QDragMoveEvent* e0) + +void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) { -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setStatusBar(statusbar)); } - QLineEdit::dragMoveEvent(e0); + +void PythonQtWrapper_QMainWindow::setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) +{ + ( theWrappedObject->setTabPosition(areas, tabPosition)); } -void PythonQtShell_QLineEdit::dropEvent(QDropEvent* arg__1) + +void PythonQtWrapper_QMainWindow::setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTabShape(tabShape)); } - QLineEdit::dropEvent(arg__1); + +void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) +{ + ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); } -void PythonQtShell_QLineEdit::enterEvent(QEvent* event0) + +void PythonQtWrapper_QMainWindow::splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->splitDockWidget(after, dockwidget, orientation)); } - QLineEdit::enterEvent(event0); + +QStatusBar* PythonQtWrapper_QMainWindow::statusBar(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->statusBar()); } -bool PythonQtShell_QLineEdit::event(QEvent* arg__1) + +QTabWidget::TabPosition PythonQtWrapper_QMainWindow::tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabPosition(area)); } - return QLineEdit::event(arg__1); + +QTabWidget::TabShape PythonQtWrapper_QMainWindow::tabShape(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->tabShape()); } -void PythonQtShell_QLineEdit::focusInEvent(QFocusEvent* arg__1) + +QList PythonQtWrapper_QMainWindow::tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabifiedDockWidgets(dockwidget)); } - QLineEdit::focusInEvent(arg__1); + +void PythonQtWrapper_QMainWindow::tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second) +{ + ( theWrappedObject->tabifyDockWidget(first, second)); } -bool PythonQtShell_QLineEdit::focusNextPrevChild(bool next0) + +QWidget* PythonQtWrapper_QMainWindow::takeCentralWidget(QMainWindow* theWrappedObject) { -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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->takeCentralWidget()); } - return QLineEdit::focusNextPrevChild(next0); + +Qt::ToolBarArea PythonQtWrapper_QMainWindow::toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const +{ + return ( theWrappedObject->toolBarArea(toolbar)); } -void PythonQtShell_QLineEdit::focusOutEvent(QFocusEvent* arg__1) + +bool PythonQtWrapper_QMainWindow::toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toolBarBreak(toolbar)); } - QLineEdit::focusOutEvent(arg__1); + +Qt::ToolButtonStyle PythonQtWrapper_QMainWindow::toolButtonStyle(QMainWindow* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); } -bool PythonQtShell_QLineEdit::hasHeightForWidth() const + +bool PythonQtWrapper_QMainWindow::unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->unifiedTitleAndToolBarOnMac()); } - return QLineEdit::hasHeightForWidth(); + + + +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()); } -int PythonQtShell_QLineEdit::heightForWidth(int arg__1) const + +bool PythonQtWrapper_QMargins::isNull(QMargins* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isNull()); } - return QLineEdit::heightForWidth(arg__1); + +int PythonQtWrapper_QMargins::left(QMargins* theWrappedObject) const +{ + return ( theWrappedObject->left()); } -void PythonQtShell_QLineEdit::hideEvent(QHideEvent* event0) + +bool PythonQtWrapper_QMargins::__ne__(QMargins* theWrappedObject, const QMargins& arg__2) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + 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)); } - QLineEdit::hideEvent(event0); + +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_QLineEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7372,21 +7104,21 @@ if (_wrapper) { } } } - QLineEdit::initPainter(painter0); + QMdiArea::actionEvent(event0); } -void PythonQtShell_QLineEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7394,54 +7126,43 @@ if (_wrapper) { } } } - QLineEdit::inputMethodEvent(arg__1); + QMdiArea::changeEvent(arg__1); } -QVariant PythonQtShell_QLineEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&childEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::inputMethodQuery(arg__1); + QMdiArea::childEvent(childEvent0); } -void PythonQtShell_QLineEdit::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7449,21 +7170,21 @@ if (_wrapper) { } } } - QLineEdit::keyPressEvent(arg__1); + QMdiArea::closeEvent(event0); } -void PythonQtShell_QLineEdit::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7471,21 +7192,21 @@ if (_wrapper) { } } } - QLineEdit::keyReleaseEvent(event0); + QMdiArea::contextMenuEvent(arg__1); } -void PythonQtShell_QLineEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QMdiArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7493,32 +7214,32 @@ if (_wrapper) { } } } - QLineEdit::leaveEvent(event0); + QMdiArea::customEvent(event0); } -int PythonQtShell_QLineEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMdiArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7526,54 +7247,43 @@ if (_wrapper) { } } } - return QLineEdit::metric(arg__1); + return QMdiArea::devType(); } -QSize PythonQtShell_QLineEdit::minimumSizeHint() const +void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::minimumSizeHint(); + QMdiArea::dragEnterEvent(arg__1); } -void PythonQtShell_QLineEdit::mouseDoubleClickEvent(QMouseEvent* 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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7581,21 +7291,21 @@ if (_wrapper) { } } } - QLineEdit::mouseDoubleClickEvent(arg__1); + QMdiArea::dragLeaveEvent(arg__1); } -void PythonQtShell_QLineEdit::mouseMoveEvent(QMouseEvent* 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("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7603,21 +7313,21 @@ if (_wrapper) { } } } - QLineEdit::mouseMoveEvent(arg__1); + QMdiArea::dragMoveEvent(arg__1); } -void PythonQtShell_QLineEdit::mousePressEvent(QMouseEvent* 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("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7625,21 +7335,21 @@ if (_wrapper) { } } } - QLineEdit::mousePressEvent(arg__1); + QMdiArea::dropEvent(arg__1); } -void PythonQtShell_QLineEdit::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7647,54 +7357,65 @@ if (_wrapper) { } } } - QLineEdit::mouseReleaseEvent(arg__1); + QMdiArea::enterEvent(event0); } -void PythonQtShell_QLineEdit::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QMdiArea::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::moveEvent(event0); + return QMdiArea::event(event0); } -bool PythonQtShell_QLineEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7702,32 +7423,54 @@ if (_wrapper) { } } } - return QLineEdit::nativeEvent(eventType0, message1, result2); + return QMdiArea::eventFilter(object0, event1); } -QPaintEngine* PythonQtShell_QLineEdit::paintEngine() const +void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7735,21 +7478,21 @@ if (_wrapper) { } } } - return QLineEdit::paintEngine(); + return QMdiArea::focusNextPrevChild(next0); } -void PythonQtShell_QLineEdit::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7757,32 +7500,32 @@ if (_wrapper) { } } } - QLineEdit::paintEvent(arg__1); + QMdiArea::focusOutEvent(event0); } -QPaintDevice* PythonQtShell_QLineEdit::redirected(QPoint* offset0) const +bool PythonQtShell_QMdiArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7790,43 +7533,54 @@ if (_wrapper) { } } } - return QLineEdit::redirected(offset0); + return QMdiArea::hasHeightForWidth(); } -void PythonQtShell_QLineEdit::resizeEvent(QResizeEvent* event0) +int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLineEdit::resizeEvent(event0); + return QMdiArea::heightForWidth(arg__1); } -void PythonQtShell_QLineEdit::setVisible(bool visible0) +void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7834,54 +7588,43 @@ if (_wrapper) { } } } - QLineEdit::setVisible(visible0); + QMdiArea::hideEvent(event0); } -QPainter* PythonQtShell_QLineEdit::sharedPainter() const +void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + 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(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLineEdit::sharedPainter(); + QMdiArea::initPainter(painter0); } -void PythonQtShell_QLineEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7889,32 +7632,32 @@ if (_wrapper) { } } } - QLineEdit::showEvent(event0); + QMdiArea::inputMethodEvent(arg__1); } -QSize PythonQtShell_QLineEdit::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7922,21 +7665,21 @@ if (_wrapper) { } } } - return QLineEdit::sizeHint(); + return QMdiArea::inputMethodQuery(arg__1); } -void PythonQtShell_QLineEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7944,21 +7687,21 @@ if (_wrapper) { } } } - QLineEdit::tabletEvent(event0); + QMdiArea::keyPressEvent(arg__1); } -void PythonQtShell_QLineEdit::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7966,402 +7709,109 @@ if (_wrapper) { } } } - QLineEdit::wheelEvent(event0); + QMdiArea::keyReleaseEvent(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; +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(); + } } } -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; + QMdiArea::leaveEvent(event0); } -void PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, QAction* action, QLineEdit::ActionPosition position) +int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->addAction(action, position)); +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(); + } + } } - -QAction* PythonQtWrapper_QLineEdit::addAction(QLineEdit* theWrappedObject, const QIcon& icon, QLineEdit::ActionPosition position) -{ - return ( theWrappedObject->addAction(icon, position)); + return QMdiArea::metric(arg__1); } - -Qt::Alignment PythonQtWrapper_QLineEdit::alignment(QLineEdit* theWrappedObject) const +QSize PythonQtShell_QMdiArea::minimumSizeHint() const { - return ( theWrappedObject->alignment()); +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(); + } + } } - -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()); -} - - - -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); } + return QMdiArea::minimumSizeHint(); } -void PythonQtShell_QListView::actionEvent(QActionEvent* event0) +void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8369,21 +7819,21 @@ if (_wrapper) { } } } - QListView::actionEvent(event0); + QMdiArea::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QListView::changeEvent(QEvent* 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("changeEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8391,21 +7841,21 @@ if (_wrapper) { } } } - QListView::changeEvent(arg__1); + QMdiArea::mouseMoveEvent(arg__1); } -void PythonQtShell_QListView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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] = {NULL, (void*)&editor0, (void*)&hint1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8413,21 +7863,21 @@ if (_wrapper) { } } } - QListView::closeEditor(editor0, hint1); + QMdiArea::mousePressEvent(arg__1); } -void PythonQtShell_QListView::closeEvent(QCloseEvent* event0) +void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8435,21 +7885,21 @@ if (_wrapper) { } } } - QListView::closeEvent(event0); + QMdiArea::mouseReleaseEvent(arg__1); } -void PythonQtShell_QListView::commitData(QWidget* editor0) +void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8457,65 +7907,87 @@ if (_wrapper) { } } } - QListView::commitData(editor0); + QMdiArea::moveEvent(event0); } -void PythonQtShell_QListView::contextMenuEvent(QContextMenuEvent* arg__1) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::contextMenuEvent(arg__1); + return QMdiArea::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QListView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)¤t0, (void*)&previous1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::currentChanged(current0, previous1); + return QMdiArea::paintEngine(); } -void PythonQtShell_QListView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8523,32 +7995,32 @@ if (_wrapper) { } } } - QListView::dataChanged(topLeft0, bottomRight1, roles2); + QMdiArea::paintEvent(paintEvent0); } -int PythonQtShell_QListView::devType() const +QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8556,21 +8028,21 @@ if (_wrapper) { } } } - return QListView::devType(); + return QMdiArea::redirected(offset0); } -void PythonQtShell_QListView::doItemsLayout() +void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8578,21 +8050,21 @@ if (_wrapper) { } } } - QListView::doItemsLayout(); + QMdiArea::resizeEvent(resizeEvent0); } -void PythonQtShell_QListView::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("scrollContentsBy"); 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] = {NULL, (void*)&event0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8600,21 +8072,21 @@ if (_wrapper) { } } } - QListView::dragEnterEvent(event0); + QMdiArea::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QListView::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QMdiArea::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8622,21 +8094,21 @@ if (_wrapper) { } } } - QListView::dragLeaveEvent(e0); + QMdiArea::setVisible(visible0); } -void PythonQtShell_QListView::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QMdiArea::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8644,21 +8116,54 @@ if (_wrapper) { } } } - QListView::dragMoveEvent(e0); + QMdiArea::setupViewport(viewport0); } -void PythonQtShell_QListView::dropEvent(QDropEvent* e0) +QPainter* PythonQtShell_QMdiArea::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + 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] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8666,32 +8171,32 @@ if (_wrapper) { } } } - QListView::dropEvent(e0); + QMdiArea::showEvent(showEvent0); } -bool PythonQtShell_QListView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +QSize PythonQtShell_QMdiArea::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("edit"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8699,21 +8204,21 @@ if (_wrapper) { } } } - return QListView::edit(index0, trigger1, event2); + return QMdiArea::sizeHint(); } -void PythonQtShell_QListView::editorDestroyed(QObject* editor0) +void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8721,21 +8226,21 @@ if (_wrapper) { } } } - QListView::editorDestroyed(editor0); + QMdiArea::tabletEvent(event0); } -void PythonQtShell_QListView::enterEvent(QEvent* event0) +void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&timerEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8743,32 +8248,32 @@ if (_wrapper) { } } } - QListView::enterEvent(event0); + QMdiArea::timerEvent(timerEvent0); } -bool PythonQtShell_QListView::event(QEvent* e0) +bool PythonQtShell_QMdiArea::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + 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] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8776,32 +8281,32 @@ if (_wrapper) { } } } - return QListView::event(e0); + return QMdiArea::viewportEvent(event0); } -bool PythonQtShell_QListView::eventFilter(QObject* object0, QEvent* event1) +QSize PythonQtShell_QMdiArea::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8809,21 +8314,21 @@ if (_wrapper) { } } } - return QListView::eventFilter(object0, event1); + return QMdiArea::viewportSizeHint(); } -void PythonQtShell_QListView::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8831,142 +8336,203 @@ if (_wrapper) { } } } - QListView::focusInEvent(event0); + QMdiArea::wheelEvent(arg__1); } -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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QListView::focusNextPrevChild(next0); +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; } -void PythonQtShell_QListView::focusOutEvent(QFocusEvent* event0) +QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->activationOrder()); } - QListView::focusOutEvent(event0); + +QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const +{ + return ( theWrappedObject->activeSubWindow()); } -bool PythonQtShell_QListView::hasHeightForWidth() const + +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("hasHeightForWidth"); + static PyObject* name = PyString_FromString("actionEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::hasHeightForWidth(); + QMdiSubWindow::actionEvent(event0); } -int PythonQtShell_QListView::heightForWidth(int arg__1) const +void PythonQtShell_QMdiSubWindow::changeEvent(QEvent* changeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&changeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::heightForWidth(arg__1); + QMdiSubWindow::changeEvent(changeEvent0); } -void PythonQtShell_QListView::hideEvent(QHideEvent* event0) +void PythonQtShell_QMdiSubWindow::childEvent(QChildEvent* childEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&childEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8974,54 +8540,43 @@ if (_wrapper) { } } } - QListView::hideEvent(event0); + QMdiSubWindow::childEvent(childEvent0); } -int PythonQtShell_QListView::horizontalOffset() const +void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalOffset"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::horizontalOffset(); + QMdiSubWindow::closeEvent(closeEvent0); } -void PythonQtShell_QListView::horizontalScrollbarAction(int action0) +void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarAction"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&contextMenuEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9029,21 +8584,21 @@ if (_wrapper) { } } } - QListView::horizontalScrollbarAction(action0); + QMdiSubWindow::contextMenuEvent(contextMenuEvent0); } -void PythonQtShell_QListView::horizontalScrollbarValueChanged(int value0) +void PythonQtShell_QMdiSubWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("horizontalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9051,32 +8606,32 @@ if (_wrapper) { } } } - QListView::horizontalScrollbarValueChanged(value0); + QMdiSubWindow::customEvent(event0); } -QModelIndex PythonQtShell_QListView::indexAt(const QPoint& p0) const +int PythonQtShell_QMdiSubWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("indexAt"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&p0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9084,21 +8639,21 @@ if (_wrapper) { } } } - return QListView::indexAt(p0); + return QMdiSubWindow::devType(); } -void PythonQtShell_QListView::initPainter(QPainter* painter0) const +void PythonQtShell_QMdiSubWindow::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9106,21 +8661,21 @@ if (_wrapper) { } } } - QListView::initPainter(painter0); + QMdiSubWindow::dragEnterEvent(event0); } -void PythonQtShell_QListView::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QMdiSubWindow::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9128,87 +8683,65 @@ if (_wrapper) { } } } - QListView::inputMethodEvent(event0); + QMdiSubWindow::dragLeaveEvent(event0); } -QVariant PythonQtShell_QListView::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QMdiSubWindow::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::inputMethodQuery(query0); + QMdiSubWindow::dragMoveEvent(event0); } -bool PythonQtShell_QListView::isIndexHidden(const QModelIndex& index0) const +void PythonQtShell_QMdiSubWindow::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isIndexHidden"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::isIndexHidden(index0); + QMdiSubWindow::dropEvent(event0); } -void PythonQtShell_QListView::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9216,65 +8749,87 @@ if (_wrapper) { } } } - QListView::keyPressEvent(event0); + QMdiSubWindow::enterEvent(event0); } -void PythonQtShell_QListView::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::keyReleaseEvent(event0); + return QMdiSubWindow::event(event0); } -void PythonQtShell_QListView::keyboardSearch(const QString& search0) +bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyboardSearch"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&search0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::keyboardSearch(search0); + return QMdiSubWindow::eventFilter(object0, event1); } -void PythonQtShell_QListView::leaveEvent(QEvent* event0) +void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&focusInEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9282,32 +8837,32 @@ if (_wrapper) { } } } - QListView::leaveEvent(event0); + QMdiSubWindow::focusInEvent(focusInEvent0); } -int PythonQtShell_QListView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9315,32 +8870,54 @@ if (_wrapper) { } } } - return QListView::metric(arg__1); + return QMdiSubWindow::focusNextPrevChild(next0); } -QSize PythonQtShell_QListView::minimumSizeHint() const +void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + 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); - QSize returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9348,43 +8925,54 @@ if (_wrapper) { } } } - return QListView::minimumSizeHint(); + return QMdiSubWindow::hasHeightForWidth(); } -void PythonQtShell_QListView::mouseDoubleClickEvent(QMouseEvent* event0) +int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::mouseDoubleClickEvent(event0); + return QMdiSubWindow::heightForWidth(arg__1); } -void PythonQtShell_QListView::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9392,21 +8980,21 @@ if (_wrapper) { } } } - QListView::mouseMoveEvent(e0); + QMdiSubWindow::hideEvent(hideEvent0); } -void PythonQtShell_QListView::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QMdiSubWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9414,21 +9002,21 @@ if (_wrapper) { } } } - QListView::mousePressEvent(event0); + QMdiSubWindow::initPainter(painter0); } -void PythonQtShell_QListView::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9436,32 +9024,32 @@ if (_wrapper) { } } } - QListView::mouseReleaseEvent(e0); + QMdiSubWindow::inputMethodEvent(arg__1); } -QModelIndex PythonQtShell_QListView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +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("moveCursor"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9469,21 +9057,21 @@ if (_wrapper) { } } } - return QListView::moveCursor(cursorAction0, modifiers1); + return QMdiSubWindow::inputMethodQuery(arg__1); } -void PythonQtShell_QListView::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&keyEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9491,120 +9079,76 @@ if (_wrapper) { } } } - QListView::moveEvent(event0); + QMdiSubWindow::keyPressEvent(keyEvent0); } -bool PythonQtShell_QListView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::nativeEvent(eventType0, message1, result2); + QMdiSubWindow::keyReleaseEvent(event0); } -QPaintEngine* PythonQtShell_QListView::paintEngine() const +void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::paintEngine(); + QMdiSubWindow::leaveEvent(leaveEvent0); } -void PythonQtShell_QListView::paintEvent(QPaintEvent* e0) +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("paintEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9612,43 +9156,54 @@ if (_wrapper) { } } } - return QListView::redirected(offset0); + return QMdiSubWindow::metric(arg__1); } -void PythonQtShell_QListView::reset() +QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::reset(); + return QMdiSubWindow::minimumSizeHint(); } -void PythonQtShell_QListView::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9656,21 +9211,21 @@ if (_wrapper) { } } } - QListView::resizeEvent(e0); + QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); } -void PythonQtShell_QListView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9678,21 +9233,21 @@ if (_wrapper) { } } } - QListView::rowsAboutToBeRemoved(parent0, start1, end2); + QMdiSubWindow::mouseMoveEvent(mouseEvent0); } -void PythonQtShell_QListView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +void PythonQtShell_QMdiSubWindow::mousePressEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowsInserted"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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] = {NULL, (void*)&parent0, (void*)&start1, (void*)&end2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9700,21 +9255,21 @@ if (_wrapper) { } } } - QListView::rowsInserted(parent0, start1, end2); + QMdiSubWindow::mousePressEvent(mouseEvent0); } -void PythonQtShell_QListView::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9722,21 +9277,21 @@ if (_wrapper) { } } } - QListView::scrollContentsBy(dx0, dy1); + QMdiSubWindow::mouseReleaseEvent(mouseEvent0); } -void PythonQtShell_QListView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollTo"); + static PyObject* name = PyString_FromString("moveEvent"); 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] = {NULL, (void*)&index0, (void*)&hint1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9744,54 +9299,65 @@ if (_wrapper) { } } } - QListView::scrollTo(index0, hint1); + QMdiSubWindow::moveEvent(moveEvent0); } -void PythonQtShell_QListView::selectAll() +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("selectAll"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::selectAll(); + return QMdiSubWindow::nativeEvent(eventType0, message1, result2); } -QList PythonQtShell_QListView::selectedIndexes() const +QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectedIndexes"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9799,21 +9365,21 @@ if (_wrapper) { } } } - return QListView::selectedIndexes(); + return QMdiSubWindow::paintEngine(); } -void PythonQtShell_QListView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionChanged"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL, (void*)&selected0, (void*)&deselected1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9821,32 +9387,32 @@ if (_wrapper) { } } } - QListView::selectionChanged(selected0, deselected1); + QMdiSubWindow::paintEvent(paintEvent0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QListView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("selectionCommand"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL, (void*)&index0, (void*)&event1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9854,21 +9420,21 @@ if (_wrapper) { } } } - return QListView::selectionCommand(index0, event1); + return QMdiSubWindow::redirected(offset0); } -void PythonQtShell_QListView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setModel"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&model0}; + void* args[2] = {nullptr, (void*)&resizeEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9876,21 +9442,21 @@ if (_wrapper) { } } } - QListView::setModel(model0); + QMdiSubWindow::resizeEvent(resizeEvent0); } -void PythonQtShell_QListView::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setRootIndex"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9898,43 +9464,54 @@ if (_wrapper) { } } } - QListView::setRootIndex(index0); + QMdiSubWindow::setVisible(visible0); } -void PythonQtShell_QListView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelection"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&rect0, (void*)&command1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::setSelection(rect0, command1); + return QMdiSubWindow::sharedPainter(); } -void PythonQtShell_QListView::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSelectionModel"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9942,43 +9519,54 @@ if (_wrapper) { } } } - QListView::setSelectionModel(selectionModel0); + QMdiSubWindow::showEvent(showEvent0); } -void PythonQtShell_QListView::setVisible(bool visible0) +QSize PythonQtShell_QMdiSubWindow::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::setVisible(visible0); + return QMdiSubWindow::sizeHint(); } -void PythonQtShell_QListView::setupViewport(QWidget* viewport0) +void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9986,54 +9574,43 @@ if (_wrapper) { } } } - QListView::setupViewport(viewport0); + QMdiSubWindow::tabletEvent(event0); } -QPainter* PythonQtShell_QListView::sharedPainter() const +void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sharedPainter(); + QMdiSubWindow::timerEvent(timerEvent0); } -void PythonQtShell_QListView::showEvent(QShowEvent* event0) +void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10041,120 +9618,190 @@ if (_wrapper) { } } } - QListView::showEvent(event0); + QMdiSubWindow::wheelEvent(event0); } -QSize PythonQtShell_QListView::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("actionEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sizeHint(); + QMenu::actionEvent(arg__1); } -int PythonQtShell_QListView::sizeHintForColumn(int column0) const +void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForColumn"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sizeHintForColumn(column0); + QMenu::changeEvent(arg__1); } -int PythonQtShell_QListView::sizeHintForRow(int row0) const +void PythonQtShell_QMenu::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHintForRow"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::sizeHintForRow(row0); + QMenu::childEvent(event0); } -void PythonQtShell_QListView::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("startDrag"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10162,21 +9809,21 @@ if (_wrapper) { } } } - QListView::startDrag(supportedActions0); + QMenu::closeEvent(event0); } -void PythonQtShell_QListView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10184,21 +9831,21 @@ if (_wrapper) { } } } - QListView::tabletEvent(event0); + QMenu::contextMenuEvent(event0); } -void PythonQtShell_QListView::timerEvent(QTimerEvent* e0) +void PythonQtShell_QMenu::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10206,43 +9853,54 @@ if (_wrapper) { } } } - QListView::timerEvent(e0); + QMenu::customEvent(event0); } -void PythonQtShell_QListView::updateEditorData() +int PythonQtShell_QMenu::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorData"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListView::updateEditorData(); + return QMenu::devType(); } -void PythonQtShell_QListView::updateEditorGeometries() +void PythonQtShell_QMenu::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateEditorGeometries"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10250,21 +9908,21 @@ if (_wrapper) { } } } - QListView::updateEditorGeometries(); + QMenu::dragEnterEvent(event0); } -void PythonQtShell_QListView::updateGeometries() +void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("updateGeometries"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10272,54 +9930,43 @@ if (_wrapper) { } } } - QListView::updateGeometries(); + QMenu::dragLeaveEvent(event0); } -int PythonQtShell_QListView::verticalOffset() const +void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalOffset"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListView::verticalOffset(); + QMenu::dragMoveEvent(event0); } -void PythonQtShell_QListView::verticalScrollbarAction(int action0) +void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarAction"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10327,21 +9974,21 @@ if (_wrapper) { } } } - QListView::verticalScrollbarAction(action0); + QMenu::dropEvent(event0); } -void PythonQtShell_QListView::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10349,32 +9996,32 @@ if (_wrapper) { } } } - QListView::verticalScrollbarValueChanged(value0); + QMenu::enterEvent(arg__1); } -QStyleOptionViewItem PythonQtShell_QListView::viewOptions() const +bool PythonQtShell_QMenu::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewOptions"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10382,32 +10029,32 @@ if (_wrapper) { } } } - return QListView::viewOptions(); + return QMenu::event(arg__1); } -bool PythonQtShell_QListView::viewportEvent(QEvent* event0) +bool PythonQtShell_QMenu::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10415,32 +10062,54 @@ if (_wrapper) { } } } - return QListView::viewportEvent(event0); + return QMenu::eventFilter(watched0, event1); } -QSize PythonQtShell_QListView::viewportSizeHint() const +void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10448,32 +10117,54 @@ if (_wrapper) { } } } - return QListView::viewportSizeHint(); + return QMenu::focusNextPrevChild(next0); } -QRect PythonQtShell_QListView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRect"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10481,32 +10172,32 @@ if (_wrapper) { } } } - return QListView::visualRect(index0); + return QMenu::hasHeightForWidth(); } -QRegion PythonQtShell_QListView::visualRegionForSelection(const QItemSelection& selection0) const +int PythonQtShell_QMenu::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("visualRegionForSelection"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {NULL, (void*)&selection0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10514,21 +10205,21 @@ if (_wrapper) { } } } - return QListView::visualRegionForSelection(selection0); + return QMenu::heightForWidth(arg__1); } -void PythonQtShell_QListView::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10536,219 +10227,142 @@ if (_wrapper) { } } } - QListView::wheelEvent(e0); + QMenu::hideEvent(arg__1); } -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; +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(); + } } } -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; + QMenu::initPainter(painter0); } -int PythonQtWrapper_QListView::batchSize(QListView* theWrappedObject) const +void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->batchSize()); +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(); + } + } } - -void PythonQtWrapper_QListView::clearPropertyFlags(QListView* theWrappedObject) -{ - ( theWrappedObject->clearPropertyFlags()); + QMenu::inputMethodEvent(arg__1); } - -QSize PythonQtWrapper_QListView::contentsSize(QListView* theWrappedObject) const +QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( ((PythonQtPublicPromoter_QListView*)theWrappedObject)->promoted_contentsSize()); +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(); + } + } } - -QListView::Flow PythonQtWrapper_QListView::flow(QListView* theWrappedObject) const -{ - return ( theWrappedObject->flow()); + return QMenu::inputMethodQuery(arg__1); } - -QSize PythonQtWrapper_QListView::gridSize(QListView* theWrappedObject) const +void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) { - return ( theWrappedObject->gridSize()); +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(); + } + } } - -bool PythonQtWrapper_QListView::isRowHidden(QListView* theWrappedObject, int row) const -{ - return ( theWrappedObject->isRowHidden(row)); + QMenu::keyPressEvent(arg__1); } - -bool PythonQtWrapper_QListView::isSelectionRectVisible(QListView* theWrappedObject) const +void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->isSelectionRectVisible()); +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(); + } + } } - -bool PythonQtWrapper_QListView::isWrapping(QListView* theWrappedObject) const -{ - return ( theWrappedObject->isWrapping()); + QMenu::keyReleaseEvent(event0); } - -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) +void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10756,65 +10370,87 @@ if (_wrapper) { } } } - QListWidget::actionEvent(event0); + QMenu::leaveEvent(arg__1); } -void PythonQtShell_QListWidget::changeEvent(QEvent* 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("changeEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::changeEvent(arg__1); + return QMenu::metric(arg__1); } -void PythonQtShell_QListWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +QSize PythonQtShell_QMenu::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEditor"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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] = {NULL, (void*)&editor0, (void*)&hint1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::closeEditor(editor0, hint1); + return QMenu::minimumSizeHint(); } -void PythonQtShell_QListWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10822,21 +10458,21 @@ if (_wrapper) { } } } - QListWidget::closeEvent(event0); + QMenu::mouseDoubleClickEvent(event0); } -void PythonQtShell_QListWidget::commitData(QWidget* editor0) +void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("commitData"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10844,21 +10480,21 @@ if (_wrapper) { } } } - QListWidget::commitData(editor0); + QMenu::mouseMoveEvent(arg__1); } -void PythonQtShell_QListWidget::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10866,21 +10502,21 @@ if (_wrapper) { } } } - QListWidget::contextMenuEvent(arg__1); + QMenu::mousePressEvent(arg__1); } -void PythonQtShell_QListWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentChanged"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL, (void*)¤t0, (void*)&previous1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10888,21 +10524,21 @@ if (_wrapper) { } } } - QListWidget::currentChanged(current0, previous1); + QMenu::mouseReleaseEvent(arg__1); } -void PythonQtShell_QListWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dataChanged"); + static PyObject* name = PyString_FromString("moveEvent"); 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] = {NULL, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10910,32 +10546,32 @@ if (_wrapper) { } } } - QListWidget::dataChanged(topLeft0, bottomRight1, roles2); + QMenu::moveEvent(event0); } -int PythonQtShell_QListWidget::devType() const +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("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10943,87 +10579,54 @@ if (_wrapper) { } } } - return QListWidget::devType(); + return QMenu::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QListWidget::doItemsLayout() +QPaintEngine* PythonQtShell_QMenu::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("doItemsLayout"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + 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] = {NULL, (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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QListWidget::dragLeaveEvent(e0); + return QMenu::paintEngine(); } -void PythonQtShell_QListWidget::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11031,87 +10634,32 @@ if (_wrapper) { } } } - QListWidget::dragMoveEvent(e0); + QMenu::paintEvent(arg__1); } -void PythonQtShell_QListWidget::dropEvent(QDropEvent* event0) +QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL, (void*)&index0, (void*)&data1, (void*)&action2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&index0, (void*)&trigger1, (void*)&event2}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11119,21 +10667,21 @@ if (_wrapper) { } } } - return QListWidget::edit(index0, trigger1, event2); + return QMenu::redirected(offset0); } -void PythonQtShell_QListWidget::editorDestroyed(QObject* editor0) +void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("editorDestroyed"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11141,21 +10689,21 @@ if (_wrapper) { } } } - QListWidget::editorDestroyed(editor0); + QMenu::resizeEvent(event0); } -void PythonQtShell_QListWidget::enterEvent(QEvent* event0) +void PythonQtShell_QMenu::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11163,65 +10711,32 @@ if (_wrapper) { } } } - 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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QListWidget::event(e0); + QMenu::setVisible(visible0); } -bool PythonQtShell_QListWidget::eventFilter(QObject* object0, QEvent* event1) +QPainter* PythonQtShell_QMenu::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11229,21 +10744,21 @@ if (_wrapper) { } } } - return QListWidget::eventFilter(object0, event1); + return QMenu::sharedPainter(); } -void PythonQtShell_QListWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QMenu::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11251,32 +10766,32 @@ if (_wrapper) { } } } - QListWidget::focusInEvent(event0); + QMenu::showEvent(event0); } -bool PythonQtShell_QListWidget::focusNextPrevChild(bool next0) +QSize PythonQtShell_QMenu::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11284,21 +10799,21 @@ if (_wrapper) { } } } - return QListWidget::focusNextPrevChild(next0); + return QMenu::sizeHint(); } -void PythonQtShell_QListWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11306,3071 +10821,312 @@ if (_wrapper) { } } } - QListWidget::focusOutEvent(event0); + QMenu::tabletEvent(event0); } -bool PythonQtShell_QListWidget::hasHeightForWidth() const +void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::hasHeightForWidth(); + QMenu::timerEvent(arg__1); } -int PythonQtShell_QListWidget::heightForWidth(int arg__1) const +void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QListWidget::heightForWidth(arg__1); + QMenu::wheelEvent(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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&items0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL}; - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL}; - 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] = {NULL}; - 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] = {NULL}; - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&role0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -bool PythonQtShell_QListWidgetItem::__lt__(const QListWidgetItem& other0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QListWidgetItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QListWidgetItem::operator<(other0); -} -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] = {NULL, (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::setBackgroundColor(const QColor& color0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setBackgroundColor"); - 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] = {NULL, (void*)&color0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListWidgetItem::setBackgroundColor(color0); -} -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] = {NULL, (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] = {NULL, (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)); -} - +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); } -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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QMainWindow::contextMenuEvent(event0); +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; } -QMenu* PythonQtShell_QMainWindow::createPopupMenu() +QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createPopupMenu", methodInfo, result); - } else { - returnValue = *((QMenu**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMainWindow::createPopupMenu(); + return ( theWrappedObject->actionAt(arg__1)); } -int PythonQtShell_QMainWindow::devType() const + +QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMainWindow::devType(); + return ( theWrappedObject->actionGeometry(arg__1)); } -void PythonQtShell_QMainWindow::dragEnterEvent(QDragEnterEvent* event0) + +QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->activeAction()); } -void PythonQtShell_QMainWindow::dragLeaveEvent(QDragLeaveEvent* event0) + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text) { -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] = {NULL, (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); + return ( theWrappedObject->addAction(icon, text)); } -void PythonQtShell_QMainWindow::dragMoveEvent(QDragMoveEvent* event0) + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) { -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] = {NULL, (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); + return ( theWrappedObject->addAction(icon, text, receiver, member, shortcut)); } -void PythonQtShell_QMainWindow::dropEvent(QDropEvent* event0) + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text) { -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] = {NULL, (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); + return ( theWrappedObject->addAction(text)); } -void PythonQtShell_QMainWindow::enterEvent(QEvent* event0) + +QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) { -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] = {NULL, (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); + return ( theWrappedObject->addAction(text, receiver, member, shortcut)); } -bool PythonQtShell_QMainWindow::event(QEvent* event0) + +QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->addMenu(menu)); } - return QMainWindow::event(event0); + +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) +{ + return ( theWrappedObject->addMenu(icon, title)); } -void PythonQtShell_QMainWindow::focusInEvent(QFocusEvent* event0) + +QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->addMenu(title)); } - QMainWindow::focusInEvent(event0); + +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addSection(icon, text)); } -bool PythonQtShell_QMainWindow::focusNextPrevChild(bool next0) + +QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QString& text) { -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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->addSection(text)); +} + +QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); } - return QMainWindow::focusNextPrevChild(next0); + +void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) +{ + ( theWrappedObject->clear()); } -void PythonQtShell_QMainWindow::focusOutEvent(QFocusEvent* event0) + +int PythonQtWrapper_QMenu::columnCount(QMenu* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_columnCount()); } - QMainWindow::focusOutEvent(event0); + +QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); } -bool PythonQtShell_QMainWindow::hasHeightForWidth() const + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->exec()); } - return QMainWindow::hasHeightForWidth(); + +QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent) +{ + return (QMenu::exec(actions, pos, at, parent)); } -int PythonQtShell_QMainWindow::heightForWidth(int arg__1) const + +QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->exec(pos, at)); } - return QMainWindow::heightForWidth(arg__1); + +void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) +{ + ( theWrappedObject->hideTearOffMenu()); } -void PythonQtShell_QMainWindow::hideEvent(QHideEvent* event0) + +QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->icon()); } - QMainWindow::hideEvent(event0); + +void PythonQtWrapper_QMenu::initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +{ + ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_initStyleOption(option, action)); } -void PythonQtShell_QMainWindow::initPainter(QPainter* painter0) const + +QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) { -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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->insertMenu(before, menu)); } - QMainWindow::initPainter(painter0); + +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertSection(before, icon, text)); } -void PythonQtShell_QMainWindow::inputMethodEvent(QInputMethodEvent* arg__1) + +QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QString& text) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->insertSection(before, text)); } - QMainWindow::inputMethodEvent(arg__1); + +QAction* PythonQtWrapper_QMenu::insertSeparator(QMenu* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); } -QVariant PythonQtShell_QMainWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isEmpty()); } - return QMainWindow::inputMethodQuery(arg__1); + +bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->isTearOffEnabled()); } -void PythonQtShell_QMainWindow::keyPressEvent(QKeyEvent* event0) + +bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isTearOffMenuVisible()); } - QMainWindow::keyPressEvent(event0); + +QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->menuAction()); } -void PythonQtShell_QMainWindow::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QMenu::popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( 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)); } - QMainWindow::keyReleaseEvent(event0); + +void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); } -void PythonQtShell_QMainWindow::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSeparatorsCollapsible(collapse)); } - QMainWindow::leaveEvent(event0); + +void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setTearOffEnabled(arg__1)); } -int PythonQtShell_QMainWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTitle(title)); } - return QMainWindow::metric(arg__1); + +void PythonQtWrapper_QMenu::setToolTipsVisible(QMenu* theWrappedObject, bool visible) +{ + ( theWrappedObject->setToolTipsVisible(visible)); } -QSize PythonQtShell_QMainWindow::minimumSizeHint() const + +void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->showTearOffMenu()); } - return QMainWindow::minimumSizeHint(); + +void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->showTearOffMenu(pos)); } -void PythonQtShell_QMainWindow::mouseDoubleClickEvent(QMouseEvent* event0) + +QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sizeHint()); } - QMainWindow::mouseDoubleClickEvent(event0); + +QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const +{ + return ( theWrappedObject->title()); } -void PythonQtShell_QMainWindow::mouseMoveEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QMenu::toolTipsVisible(QMenu* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toolTipsVisible()); } - QMainWindow::mouseMoveEvent(event0); + + + +PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QMainWindow::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14378,21 +11134,21 @@ if (_wrapper) { } } } - QMainWindow::mousePressEvent(event0); + QMenuBar::actionEvent(arg__1); } -void PythonQtShell_QMainWindow::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14400,21 +11156,21 @@ if (_wrapper) { } } } - QMainWindow::mouseReleaseEvent(event0); + QMenuBar::changeEvent(arg__1); } -void PythonQtShell_QMainWindow::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMenuBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14422,87 +11178,65 @@ if (_wrapper) { } } } - QMainWindow::moveEvent(event0); + QMenuBar::childEvent(event0); } -bool PythonQtShell_QMainWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::nativeEvent(eventType0, message1, result2); + QMenuBar::closeEvent(event0); } -QPaintEngine* PythonQtShell_QMainWindow::paintEngine() const +void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::paintEngine(); + QMenuBar::contextMenuEvent(event0); } -void PythonQtShell_QMainWindow::paintEvent(QPaintEvent* event0) +void PythonQtShell_QMenuBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14510,32 +11244,32 @@ if (_wrapper) { } } } - QMainWindow::paintEvent(event0); + QMenuBar::customEvent(event0); } -QPaintDevice* PythonQtShell_QMainWindow::redirected(QPoint* offset0) const +int PythonQtShell_QMenuBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14543,43 +11277,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QMenuBar::devType(); } -void PythonQtShell_QMainWindow::setVisible(bool visible0) +void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14587,54 +11299,43 @@ if (_wrapper) { } } } - QMainWindow::setVisible(visible0); + QMenuBar::dragEnterEvent(event0); } -QPainter* PythonQtShell_QMainWindow::sharedPainter() const +void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::sharedPainter(); + QMenuBar::dragLeaveEvent(event0); } -void PythonQtShell_QMainWindow::showEvent(QShowEvent* event0) +void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14642,54 +11343,43 @@ if (_wrapper) { } } } - QMainWindow::showEvent(event0); + QMenuBar::dragMoveEvent(event0); } -QSize PythonQtShell_QMainWindow::sizeHint() const +void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + static PyObject* name = PyString_FromString("dropEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMainWindow::sizeHint(); + QMenuBar::dropEvent(event0); } -void PythonQtShell_QMainWindow::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14697,694 +11387,1033 @@ if (_wrapper) { } } } - QMainWindow::tabletEvent(event0); + QMenuBar::enterEvent(event0); } -void PythonQtShell_QMainWindow::wheelEvent(QWheelEvent* event0) +bool PythonQtShell_QMenuBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - 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)); + return QMenuBar::event(arg__1); } - -void PythonQtWrapper_QMainWindow::setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area) +bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) { - ( theWrappedObject->setCorner(corner, area)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + 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(); + } + } } - -void PythonQtWrapper_QMainWindow::setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options) -{ - ( theWrappedObject->setDockOptions(options)); + return QMenuBar::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QMainWindow::setDocumentMode(QMainWindow* theWrappedObject, bool enabled) +void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) { - ( theWrappedObject->setDocumentMode(enabled)); +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(); + } + } } - -void PythonQtWrapper_QMainWindow::setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize) -{ - ( theWrappedObject->setIconSize(iconSize)); + QMenuBar::focusInEvent(arg__1); } - -void PythonQtWrapper_QMainWindow::setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar) +bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) { - ( theWrappedObject->setMenuBar(menubar)); +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(); + } + } } - -void PythonQtWrapper_QMainWindow::setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar) -{ - ( theWrappedObject->setMenuWidget(menubar)); + return QMenuBar::focusNextPrevChild(next0); } - -void PythonQtWrapper_QMainWindow::setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar) +void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) { - ( theWrappedObject->setStatusBar(statusbar)); +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(); + } + } } - -void PythonQtWrapper_QMainWindow::setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) -{ - ( theWrappedObject->setTabPosition(areas, tabPosition)); + QMenuBar::focusOutEvent(arg__1); } - -void PythonQtWrapper_QMainWindow::setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape) +bool PythonQtShell_QMenuBar::hasHeightForWidth() const { - ( theWrappedObject->setTabShape(tabShape)); +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(); + } + } } - -void PythonQtWrapper_QMainWindow::setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle) -{ - ( theWrappedObject->setToolButtonStyle(toolButtonStyle)); + return QMenuBar::hasHeightForWidth(); } - -void PythonQtWrapper_QMainWindow::splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation) +int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const { - ( theWrappedObject->splitDockWidget(after, dockwidget, orientation)); +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(); + } + } } - -QStatusBar* PythonQtWrapper_QMainWindow::statusBar(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->statusBar()); + return QMenuBar::heightForWidth(arg__1); } - -QTabWidget::TabPosition PythonQtWrapper_QMainWindow::tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const +void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->tabPosition(area)); +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::TabShape PythonQtWrapper_QMainWindow::tabShape(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->tabShape()); + QMenuBar::hideEvent(event0); } - -QList PythonQtWrapper_QMainWindow::tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const +void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const { - return ( theWrappedObject->tabifiedDockWidgets(dockwidget)); +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(); + } + } } - -void PythonQtWrapper_QMainWindow::tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second) -{ - ( theWrappedObject->tabifyDockWidget(first, second)); + QMenuBar::initPainter(painter0); } - -QWidget* PythonQtWrapper_QMainWindow::takeCentralWidget(QMainWindow* theWrappedObject) +void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->takeCentralWidget()); +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(); + } + } } - -Qt::ToolBarArea PythonQtWrapper_QMainWindow::toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const -{ - return ( theWrappedObject->toolBarArea(toolbar)); + QMenuBar::inputMethodEvent(arg__1); } - -bool PythonQtWrapper_QMainWindow::toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const +QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->toolBarBreak(toolbar)); +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(); + } + } } - -Qt::ToolButtonStyle PythonQtWrapper_QMainWindow::toolButtonStyle(QMainWindow* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); + return QMenuBar::inputMethodQuery(arg__1); } - -bool PythonQtWrapper_QMainWindow::unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const +void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) { - return ( theWrappedObject->unifiedTitleAndToolBarOnMac()); -} - - - -PythonQtShell_QMargins::~PythonQtShell_QMargins() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -QMargins* PythonQtWrapper_QMargins::new_QMargins() -{ -return new PythonQtShell_QMargins(); } - -QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, int divisor) -{ - return ( (*theWrappedObject)/ divisor); + QMenuBar::keyPressEvent(arg__1); } - -QMargins PythonQtWrapper_QMargins::__div__(QMargins* theWrappedObject, qreal divisor) +void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) { - return ( (*theWrappedObject)/ divisor); +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(); + } + } } - -QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, int arg__1) -{ - return &( (*theWrappedObject)/= arg__1); + QMenuBar::keyReleaseEvent(event0); } - -QMargins* PythonQtWrapper_QMargins::__idiv__(QMargins* theWrappedObject, qreal arg__1) +void PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) { - return &( (*theWrappedObject)/= 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(); + } + } } - -void PythonQtWrapper_QMargins::writeTo(QMargins* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); + QMenuBar::leaveEvent(arg__1); } - -void PythonQtWrapper_QMargins::readFrom(QMargins* theWrappedObject, QDataStream& arg__1) +int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - arg__1 >> (*theWrappedObject); +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(); + } + } } - -QString PythonQtWrapper_QMargins::py_toString(QMargins* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return QMenuBar::metric(arg__1); } - - - -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 +QSize PythonQtShell_QMenuBar::minimumSizeHint() const { - return ( theWrappedObject->column(index)); +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(); + } + } } - -const float* PythonQtWrapper_QMatrix4x4::constData(QMatrix4x4* theWrappedObject) const -{ - return ( theWrappedObject->constData()); + return QMenuBar::minimumSizeHint(); } - -void PythonQtWrapper_QMatrix4x4::copyDataTo(QMatrix4x4* theWrappedObject, float* values) const +void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) { - ( theWrappedObject->copyDataTo(values)); +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(); + } + } } - -float* PythonQtWrapper_QMatrix4x4::data(QMatrix4x4* theWrappedObject) -{ - return ( theWrappedObject->data()); + QMenuBar::mouseDoubleClickEvent(event0); } - -double PythonQtWrapper_QMatrix4x4::determinant(QMatrix4x4* theWrappedObject) const +void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->determinant()); +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(); + } + } } - -void PythonQtWrapper_QMatrix4x4::fill(QMatrix4x4* theWrappedObject, float value) -{ - ( theWrappedObject->fill(value)); + QMenuBar::mouseMoveEvent(arg__1); } - -void PythonQtWrapper_QMatrix4x4::flipCoordinates(QMatrix4x4* theWrappedObject) +void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) { - ( theWrappedObject->flipCoordinates()); +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(); + } + } } - -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)); + QMenuBar::mousePressEvent(arg__1); } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::inverted(QMatrix4x4* theWrappedObject, bool* invertible) const +void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->inverted(invertible)); +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(); + } + } } - -bool PythonQtWrapper_QMatrix4x4::isAffine(QMatrix4x4* theWrappedObject) const + QMenuBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->isAffine()); +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(); + } + } } - -bool PythonQtWrapper_QMatrix4x4::isIdentity(QMatrix4x4* theWrappedObject) const -{ - return ( theWrappedObject->isIdentity()); + QMenuBar::moveEvent(event0); } - -void PythonQtWrapper_QMatrix4x4::lookAt(QMatrix4x4* theWrappedObject, const QVector3D& eye, const QVector3D& center, const QVector3D& up) +bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->lookAt(eye, center, up)); +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(); + } + } } - -QPoint PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPoint& point) const -{ - return ( theWrappedObject->map(point)); + return QMenuBar::nativeEvent(eventType0, message1, result2); } - -QPointF PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QPointF& point) const +QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const { - return ( theWrappedObject->map(point)); +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(); + } + } } - -QVector3D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector3D& point) const -{ - return ( theWrappedObject->map(point)); + return QMenuBar::paintEngine(); } - -QVector4D PythonQtWrapper_QMatrix4x4::map(QMatrix4x4* theWrappedObject, const QVector4D& point) const +void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) { - return ( theWrappedObject->map(point)); +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(); + } + } } - -QRect PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRect& rect) const -{ - return ( theWrappedObject->mapRect(rect)); + QMenuBar::paintEvent(arg__1); } - -QRectF PythonQtWrapper_QMatrix4x4::mapRect(QMatrix4x4* theWrappedObject, const QRectF& rect) const +QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const { - return ( theWrappedObject->mapRect(rect)); +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(); + } + } } - -QVector3D PythonQtWrapper_QMatrix4x4::mapVector(QMatrix4x4* theWrappedObject, const QVector3D& vector) const -{ - return ( theWrappedObject->mapVector(vector)); + return QMenuBar::redirected(offset0); } - -bool PythonQtWrapper_QMatrix4x4::__ne__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const +void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) { - return ( (*theWrappedObject)!= other); +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(); + } + } } - -float* PythonQtWrapper_QMatrix4x4::operator_cast_(QMatrix4x4* theWrappedObject, int row, int column) -{ - return &( theWrappedObject->operator()(row, column)); + QMenuBar::resizeEvent(arg__1); } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +void PythonQtShell_QMenuBar::setVisible(bool visible0) { - return ( (*theWrappedObject)* m2); +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(); + } + } } - -QPoint PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPoint& point) -{ - return ( (*theWrappedObject)* point); + QMenuBar::setVisible(visible0); } - -QPointF PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QPointF& point) +QPainter* PythonQtShell_QMenuBar::sharedPainter() const { - return ( (*theWrappedObject)* point); +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(); + } + } } - -QVector3D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector3D& vector) -{ - return ( (*theWrappedObject)* vector); + return QMenuBar::sharedPainter(); } - -QVector4D PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, const QVector4D& vector) +void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) { - return ( (*theWrappedObject)* vector); +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(); + } + } } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__mul__(QMatrix4x4* theWrappedObject, float factor) -{ - return ( (*theWrappedObject)* factor); + QMenuBar::showEvent(event0); } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) +QSize PythonQtShell_QMenuBar::sizeHint() const { - return &( (*theWrappedObject)*= other); +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(); + } + } } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__imul__(QMatrix4x4* theWrappedObject, float factor) -{ - return &( (*theWrappedObject)*= factor); + return QMenuBar::sizeHint(); } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__add__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* event0) { - return ( (*theWrappedObject)+ m2); +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(); + } + } } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__iadd__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) -{ - return &( (*theWrappedObject)+= other); + QMenuBar::tabletEvent(event0); } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__sub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& m2) +void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) { - return ( (*theWrappedObject)- m2); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_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(); + } + } } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__isub__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) -{ - return &( (*theWrappedObject)-= other); + QMenuBar::timerEvent(arg__1); } - -QMatrix4x4 PythonQtWrapper_QMatrix4x4::__div__(QMatrix4x4* theWrappedObject, float divisor) +void PythonQtShell_QMenuBar::wheelEvent(QWheelEvent* event0) { - return ( (*theWrappedObject)/ divisor); +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(); + } + } } - -QMatrix4x4* PythonQtWrapper_QMatrix4x4::__idiv__(QMatrix4x4* theWrappedObject, float divisor) -{ - return &( (*theWrappedObject)/= divisor); + QMenuBar::wheelEvent(event0); } +QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +{ +return new PythonQtShell_QMenuBar(parent); } -void PythonQtWrapper_QMatrix4x4::writeTo(QMatrix4x4* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); +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; + } } - -bool PythonQtWrapper_QMatrix4x4::__eq__(QMatrix4x4* theWrappedObject, const QMatrix4x4& other) const -{ - return ( (*theWrappedObject)== other); +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; } - -void PythonQtWrapper_QMatrix4x4::readFrom(QMatrix4x4* theWrappedObject, QDataStream& arg__1) +QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const { - arg__1 >> (*theWrappedObject); + return ( theWrappedObject->actionAt(arg__1)); } -void PythonQtWrapper_QMatrix4x4::optimize(QMatrix4x4* theWrappedObject) +QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const { - ( theWrappedObject->optimize()); + return ( theWrappedObject->actionGeometry(arg__1)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRect& rect) +QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const { - ( theWrappedObject->ortho(rect)); + return ( theWrappedObject->activeAction()); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, const QRectF& rect) +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) { - ( theWrappedObject->ortho(rect)); + return ( theWrappedObject->addAction(text)); } -void PythonQtWrapper_QMatrix4x4::ortho(QMatrix4x4* theWrappedObject, float left, float right, float bottom, float top, float nearPlane, float farPlane) +QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) { - ( theWrappedObject->ortho(left, right, bottom, top, nearPlane, farPlane)); + return ( theWrappedObject->addAction(text, receiver, member)); } -void PythonQtWrapper_QMatrix4x4::perspective(QMatrix4x4* theWrappedObject, float verticalAngle, float aspectRatio, float nearPlane, float farPlane) +QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) { - ( theWrappedObject->perspective(verticalAngle, aspectRatio, nearPlane, farPlane)); + return ( theWrappedObject->addMenu(menu)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, const QQuaternion& quaternion) +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) { - ( theWrappedObject->rotate(quaternion)); + return ( theWrappedObject->addMenu(icon, title)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, const QVector3D& vector) +QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) { - ( theWrappedObject->rotate(angle, vector)); + return ( theWrappedObject->addMenu(title)); } -void PythonQtWrapper_QMatrix4x4::rotate(QMatrix4x4* theWrappedObject, float angle, float x, float y, float z) +QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) { - ( theWrappedObject->rotate(angle, x, y, z)); + return ( theWrappedObject->addSeparator()); } -QVector4D PythonQtWrapper_QMatrix4x4::row(QMatrix4x4* theWrappedObject, int index) const +void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) { - return ( theWrappedObject->row(index)); + ( theWrappedObject->clear()); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, const QVector3D& vector) +QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const { - ( theWrappedObject->scale(vector)); + return ( theWrappedObject->cornerWidget(corner)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float factor) +void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const { - ( theWrappedObject->scale(factor)); + ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y) +QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) { - ( theWrappedObject->scale(x, y)); + return ( theWrappedObject->insertMenu(before, menu)); } -void PythonQtWrapper_QMatrix4x4::scale(QMatrix4x4* theWrappedObject, float x, float y, float z) +QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) { - ( theWrappedObject->scale(x, y, z)); + return ( theWrappedObject->insertSeparator(before)); } -void PythonQtWrapper_QMatrix4x4::setColumn(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const { - ( theWrappedObject->setColumn(index, value)); + return ( theWrappedObject->isDefaultUp()); } -void PythonQtWrapper_QMatrix4x4::setRow(QMatrix4x4* theWrappedObject, int index, const QVector4D& value) +bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const { - ( theWrappedObject->setRow(index, value)); + return ( theWrappedObject->isNativeMenuBar()); } -void PythonQtWrapper_QMatrix4x4::setToIdentity(QMatrix4x4* theWrappedObject) +QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const { - ( theWrappedObject->setToIdentity()); + return ( theWrappedObject->minimumSizeHint()); } -QMatrix PythonQtWrapper_QMatrix4x4::toAffine(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) { - return ( theWrappedObject->toAffine()); + ( theWrappedObject->setActiveAction(action)); } -QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject) const +void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) { - return ( theWrappedObject->toTransform()); + ( theWrappedObject->setCornerWidget(w, corner)); } -QTransform PythonQtWrapper_QMatrix4x4::toTransform(QMatrix4x4* theWrappedObject, float distanceToPlane) const +void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) { - return ( theWrappedObject->toTransform(distanceToPlane)); + ( theWrappedObject->setDefaultUp(arg__1)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, const QVector3D& vector) +void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) { - ( theWrappedObject->translate(vector)); + ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); } -void PythonQtWrapper_QMatrix4x4::translate(QMatrix4x4* theWrappedObject, float x, float y) +QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const { - ( theWrappedObject->translate(x, y)); + return ( theWrappedObject->sizeHint()); } -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)); +PythonQtShell_QMessageBox::~PythonQtShell_QMessageBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QMatrix4x4::viewport(QMatrix4x4* theWrappedObject, float left, float bottom, float width, float height, float nearPlane, float farPlane) +void PythonQtShell_QMessageBox::accept() { - ( theWrappedObject->viewport(left, bottom, width, height, nearPlane, farPlane)); -} - -QString PythonQtWrapper_QMatrix4x4::py_toString(QMatrix4x4* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +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(); + } + } } - - - -PythonQtShell_QMdiArea::~PythonQtShell_QMdiArea() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMessageBox::accept(); } -void PythonQtShell_QMdiArea::actionEvent(QActionEvent* event0) +void PythonQtShell_QMessageBox::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15394,9 +12423,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15404,9 +12433,9 @@ if (_wrapper) { } } } - QMdiArea::actionEvent(event0); + QMessageBox::actionEvent(event0); } -void PythonQtShell_QMdiArea::changeEvent(QEvent* arg__1) +void PythonQtShell_QMessageBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15416,9 +12445,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15426,9 +12455,9 @@ if (_wrapper) { } } } - QMdiArea::changeEvent(arg__1); + QMessageBox::changeEvent(event0); } -void PythonQtShell_QMdiArea::childEvent(QChildEvent* childEvent0) +void PythonQtShell_QMessageBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15438,9 +12467,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&childEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15448,9 +12477,9 @@ if (_wrapper) { } } } - QMdiArea::childEvent(childEvent0); + QMessageBox::childEvent(event0); } -void PythonQtShell_QMdiArea::closeEvent(QCloseEvent* event0) +void PythonQtShell_QMessageBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15460,9 +12489,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15470,9 +12499,9 @@ if (_wrapper) { } } } - QMdiArea::closeEvent(event0); + QMessageBox::closeEvent(event0); } -void PythonQtShell_QMdiArea::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QMessageBox::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15482,9 +12511,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15492,9 +12521,31 @@ if (_wrapper) { } } } - QMdiArea::contextMenuEvent(arg__1); + QMessageBox::contextMenuEvent(arg__1); } -int PythonQtShell_QMdiArea::devType() const +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 @@ -15505,19 +12556,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15525,9 +12576,31 @@ if (_wrapper) { } } } - return QMdiArea::devType(); + return QMessageBox::devType(); } -void PythonQtShell_QMdiArea::dragEnterEvent(QDragEnterEvent* arg__1) +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 @@ -15537,9 +12610,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15547,9 +12620,9 @@ if (_wrapper) { } } } - QMdiArea::dragEnterEvent(arg__1); + QMessageBox::dragEnterEvent(event0); } -void PythonQtShell_QMdiArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +void PythonQtShell_QMessageBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15559,9 +12632,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15569,9 +12642,9 @@ if (_wrapper) { } } } - QMdiArea::dragLeaveEvent(arg__1); + QMessageBox::dragLeaveEvent(event0); } -void PythonQtShell_QMdiArea::dragMoveEvent(QDragMoveEvent* arg__1) +void PythonQtShell_QMessageBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15581,9 +12654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15591,9 +12664,9 @@ if (_wrapper) { } } } - QMdiArea::dragMoveEvent(arg__1); + QMessageBox::dragMoveEvent(event0); } -void PythonQtShell_QMdiArea::dropEvent(QDropEvent* arg__1) +void PythonQtShell_QMessageBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15603,9 +12676,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15613,9 +12686,9 @@ if (_wrapper) { } } } - QMdiArea::dropEvent(arg__1); + QMessageBox::dropEvent(event0); } -void PythonQtShell_QMdiArea::enterEvent(QEvent* event0) +void PythonQtShell_QMessageBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15625,9 +12698,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15635,9 +12708,9 @@ if (_wrapper) { } } } - QMdiArea::enterEvent(event0); + QMessageBox::enterEvent(event0); } -bool PythonQtShell_QMdiArea::event(QEvent* event0) +bool PythonQtShell_QMessageBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15648,19 +12721,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15668,9 +12741,9 @@ if (_wrapper) { } } } - return QMdiArea::event(event0); + return QMessageBox::event(e0); } -bool PythonQtShell_QMdiArea::eventFilter(QObject* object0, QEvent* event1) +bool PythonQtShell_QMessageBox::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15681,19 +12754,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15701,9 +12774,42 @@ if (_wrapper) { } } } - return QMdiArea::eventFilter(object0, event1); + return QMessageBox::eventFilter(arg__1, arg__2); } -void PythonQtShell_QMdiArea::focusInEvent(QFocusEvent* event0) +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 @@ -15713,9 +12819,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15723,9 +12829,9 @@ if (_wrapper) { } } } - QMdiArea::focusInEvent(event0); + QMessageBox::focusInEvent(event0); } -bool PythonQtShell_QMdiArea::focusNextPrevChild(bool next0) +bool PythonQtShell_QMessageBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15736,19 +12842,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15756,9 +12862,9 @@ if (_wrapper) { } } } - return QMdiArea::focusNextPrevChild(next0); + return QMessageBox::focusNextPrevChild(next0); } -void PythonQtShell_QMdiArea::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QMessageBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15768,9 +12874,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15778,9 +12884,9 @@ if (_wrapper) { } } } - QMdiArea::focusOutEvent(event0); + QMessageBox::focusOutEvent(event0); } -bool PythonQtShell_QMdiArea::hasHeightForWidth() const +bool PythonQtShell_QMessageBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15791,19 +12897,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15811,9 +12917,9 @@ if (_wrapper) { } } } - return QMdiArea::hasHeightForWidth(); + return QMessageBox::hasHeightForWidth(); } -int PythonQtShell_QMdiArea::heightForWidth(int arg__1) const +int PythonQtShell_QMessageBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15824,19 +12930,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15844,9 +12950,9 @@ if (_wrapper) { } } } - return QMdiArea::heightForWidth(arg__1); + return QMessageBox::heightForWidth(arg__1); } -void PythonQtShell_QMdiArea::hideEvent(QHideEvent* event0) +void PythonQtShell_QMessageBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15856,9 +12962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15866,9 +12972,9 @@ if (_wrapper) { } } } - QMdiArea::hideEvent(event0); + QMessageBox::hideEvent(event0); } -void PythonQtShell_QMdiArea::initPainter(QPainter* painter0) const +void PythonQtShell_QMessageBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15878,9 +12984,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15888,9 +12994,9 @@ if (_wrapper) { } } } - QMdiArea::initPainter(painter0); + QMessageBox::initPainter(painter0); } -void PythonQtShell_QMdiArea::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QMessageBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15900,9 +13006,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15910,9 +13016,9 @@ if (_wrapper) { } } } - QMdiArea::inputMethodEvent(arg__1); + QMessageBox::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QMdiArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QMessageBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15923,19 +13029,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15943,9 +13049,9 @@ if (_wrapper) { } } } - return QMdiArea::inputMethodQuery(arg__1); + return QMessageBox::inputMethodQuery(arg__1); } -void PythonQtShell_QMdiArea::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QMessageBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15955,9 +13061,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15965,9 +13071,9 @@ if (_wrapper) { } } } - QMdiArea::keyPressEvent(arg__1); + QMessageBox::keyPressEvent(event0); } -void PythonQtShell_QMdiArea::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QMessageBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15977,9 +13083,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15987,9 +13093,9 @@ if (_wrapper) { } } } - QMdiArea::keyReleaseEvent(event0); + QMessageBox::keyReleaseEvent(event0); } -void PythonQtShell_QMdiArea::leaveEvent(QEvent* event0) +void PythonQtShell_QMessageBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15999,9 +13105,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16009,9 +13115,9 @@ if (_wrapper) { } } } - QMdiArea::leaveEvent(event0); + QMessageBox::leaveEvent(event0); } -int PythonQtShell_QMdiArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QMessageBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16022,19 +13128,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16042,9 +13148,9 @@ if (_wrapper) { } } } - return QMdiArea::metric(arg__1); + return QMessageBox::metric(arg__1); } -QSize PythonQtShell_QMdiArea::minimumSizeHint() const +QSize PythonQtShell_QMessageBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16055,19 +13161,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16075,9 +13181,9 @@ if (_wrapper) { } } } - return QMdiArea::minimumSizeHint(); + return QMessageBox::minimumSizeHint(); } -void PythonQtShell_QMdiArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QMessageBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16087,9 +13193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16097,9 +13203,9 @@ if (_wrapper) { } } } - QMdiArea::mouseDoubleClickEvent(arg__1); + QMessageBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QMdiArea::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QMessageBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16109,9 +13215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16119,9 +13225,9 @@ if (_wrapper) { } } } - QMdiArea::mouseMoveEvent(arg__1); + QMessageBox::mouseMoveEvent(event0); } -void PythonQtShell_QMdiArea::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QMessageBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16131,9 +13237,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16141,9 +13247,9 @@ if (_wrapper) { } } } - QMdiArea::mousePressEvent(arg__1); + QMessageBox::mousePressEvent(event0); } -void PythonQtShell_QMdiArea::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QMessageBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16153,9 +13259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16163,9 +13269,9 @@ if (_wrapper) { } } } - QMdiArea::mouseReleaseEvent(arg__1); + QMessageBox::mouseReleaseEvent(event0); } -void PythonQtShell_QMdiArea::moveEvent(QMoveEvent* event0) +void PythonQtShell_QMessageBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16175,9 +13281,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16185,9 +13291,9 @@ if (_wrapper) { } } } - QMdiArea::moveEvent(event0); + QMessageBox::moveEvent(event0); } -bool PythonQtShell_QMdiArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QMessageBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16198,19 +13304,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16218,9 +13324,9 @@ if (_wrapper) { } } } - return QMdiArea::nativeEvent(eventType0, message1, result2); + return QMessageBox::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QMdiArea::paintEngine() const +QPaintEngine* PythonQtShell_QMessageBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16231,19 +13337,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16251,9 +13357,9 @@ if (_wrapper) { } } } - return QMdiArea::paintEngine(); + return QMessageBox::paintEngine(); } -void PythonQtShell_QMdiArea::paintEvent(QPaintEvent* paintEvent0) +void PythonQtShell_QMessageBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16263,9 +13369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&paintEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16273,9 +13379,9 @@ if (_wrapper) { } } } - QMdiArea::paintEvent(paintEvent0); + QMessageBox::paintEvent(event0); } -QPaintDevice* PythonQtShell_QMdiArea::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QMessageBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16286,19 +13392,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16306,21 +13412,21 @@ if (_wrapper) { } } } - return QMdiArea::redirected(offset0); + return QMessageBox::redirected(offset0); } -void PythonQtShell_QMdiArea::resizeEvent(QResizeEvent* resizeEvent0) +void PythonQtShell_QMessageBox::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("reject"); 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] = {NULL, (void*)&resizeEvent0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16328,21 +13434,21 @@ if (_wrapper) { } } } - QMdiArea::resizeEvent(resizeEvent0); + QMessageBox::reject(); } -void PythonQtShell_QMdiArea::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QMessageBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("resizeEvent"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16350,9 +13456,9 @@ if (_wrapper) { } } } - QMdiArea::scrollContentsBy(dx0, dy1); + QMessageBox::resizeEvent(event0); } -void PythonQtShell_QMdiArea::setVisible(bool visible0) +void PythonQtShell_QMessageBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16362,31 +13468,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16394,9 +13478,9 @@ if (_wrapper) { } } } - QMdiArea::setupViewport(viewport0); + QMessageBox::setVisible(visible0); } -QPainter* PythonQtShell_QMdiArea::sharedPainter() const +QPainter* PythonQtShell_QMessageBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16407,19 +13491,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16427,9 +13511,9 @@ if (_wrapper) { } } } - return QMdiArea::sharedPainter(); + return QMessageBox::sharedPainter(); } -void PythonQtShell_QMdiArea::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QMessageBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16439,9 +13523,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16449,9 +13533,9 @@ if (_wrapper) { } } } - QMdiArea::showEvent(showEvent0); + QMessageBox::showEvent(event0); } -QSize PythonQtShell_QMdiArea::sizeHint() const +QSize PythonQtShell_QMessageBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16462,19 +13546,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16482,9 +13566,9 @@ if (_wrapper) { } } } - return QMdiArea::sizeHint(); + return QMessageBox::sizeHint(); } -void PythonQtShell_QMdiArea::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QMessageBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16494,9 +13578,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16504,9 +13588,9 @@ if (_wrapper) { } } } - QMdiArea::tabletEvent(event0); + QMessageBox::tabletEvent(event0); } -void PythonQtShell_QMdiArea::timerEvent(QTimerEvent* timerEvent0) +void PythonQtShell_QMessageBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16516,9 +13600,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&timerEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16526,75 +13610,9 @@ if (_wrapper) { } } } - 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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMdiArea::viewportSizeHint(); + QMessageBox::timerEvent(event0); } -void PythonQtShell_QMdiArea::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QMessageBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16604,9 +13622,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16614,201 +13632,348 @@ if (_wrapper) { } } } - QMdiArea::wheelEvent(arg__1); + QMessageBox::wheelEvent(event0); } -QMdiArea* PythonQtWrapper_QMdiArea::new_QMdiArea(QWidget* parent) +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_QMdiArea(parent); } +return new PythonQtShell_QMessageBox(icon, title, text, buttons, parent, flags); } -const QMetaObject* PythonQtShell_QMdiArea::metaObject() const { +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, &QMdiArea::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMessageBox::staticMetaObject); } else { - return &QMdiArea::staticMetaObject; + return &QMessageBox::staticMetaObject; } } -int PythonQtShell_QMdiArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMdiArea::qt_metacall(call, id, args); +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; } -QMdiArea::WindowOrder PythonQtWrapper_QMdiArea::activationOrder(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMessageBox::static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text) { - return ( theWrappedObject->activationOrder()); + (QMessageBox::about(parent, title, text)); } -QMdiSubWindow* PythonQtWrapper_QMdiArea::activeSubWindow(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMessageBox::static_QMessageBox_aboutQt(QWidget* parent, const QString& title) { - return ( theWrappedObject->activeSubWindow()); + (QMessageBox::aboutQt(parent, title)); } -QMdiSubWindow* PythonQtWrapper_QMdiArea::addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags) +void PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role) { - return ( theWrappedObject->addSubWindow(widget, flags)); + ( theWrappedObject->addButton(button, role)); } -QBrush PythonQtWrapper_QMdiArea::background(QMdiArea* theWrappedObject) const +QPushButton* PythonQtWrapper_QMessageBox::addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button) { - return ( theWrappedObject->background()); + 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)); } -void PythonQtWrapper_QMdiArea::childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent) +QMessageBox::StandardButtons PythonQtWrapper_QMessageBox::standardButtons(QMessageBox* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_childEvent(childEvent)); + return ( theWrappedObject->standardButtons()); } -QMdiSubWindow* PythonQtWrapper_QMdiArea::currentSubWindow(QMdiArea* theWrappedObject) const +QString PythonQtWrapper_QMessageBox::text(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->currentSubWindow()); + return ( theWrappedObject->text()); } -bool PythonQtWrapper_QMdiArea::documentMode(QMdiArea* theWrappedObject) const +Qt::TextFormat PythonQtWrapper_QMessageBox::textFormat(QMessageBox* theWrappedObject) const { - return ( theWrappedObject->documentMode()); + return ( theWrappedObject->textFormat()); } -void PythonQtWrapper_QMdiArea::removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget) +Qt::TextInteractionFlags PythonQtWrapper_QMessageBox::textInteractionFlags(QMessageBox* theWrappedObject) const { - ( theWrappedObject->removeSubWindow(widget)); + return ( theWrappedObject->textInteractionFlags()); } -void PythonQtWrapper_QMdiArea::setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) +QMessageBox::StandardButton PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton) { - ( theWrappedObject->setActivationOrder(order)); + return (QMessageBox::warning(parent, title, text, buttons, defaultButton)); } -void PythonQtWrapper_QMdiArea::setBackground(QMdiArea* theWrappedObject, const QBrush& background) +int PythonQtWrapper_QMessageBox::static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1) { - ( theWrappedObject->setBackground(background)); + return (QMessageBox::warning(parent, title, text, button0, button1)); } -void PythonQtWrapper_QMdiArea::setDocumentMode(QMdiArea* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setDocumentMode(enabled)); + + +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); } -void PythonQtWrapper_QMdiArea::setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on) +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 { - ( theWrappedObject->setOption(option, on)); + return ( theWrappedObject->button()); } -void PythonQtWrapper_QMdiArea::setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position) +Qt::MouseButtons PythonQtWrapper_QMouseEvent::buttons(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->setTabPosition(position)); + return ( theWrappedObject->buttons()); } -void PythonQtWrapper_QMdiArea::setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape) +Qt::MouseEventFlags PythonQtWrapper_QMouseEvent::flags(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->setTabShape(shape)); + return ( theWrappedObject->flags()); } -void PythonQtWrapper_QMdiArea::setTabsClosable(QMdiArea* theWrappedObject, bool closable) +QPoint PythonQtWrapper_QMouseEvent::globalPos(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->setTabsClosable(closable)); + return ( theWrappedObject->globalPos()); } -void PythonQtWrapper_QMdiArea::setTabsMovable(QMdiArea* theWrappedObject, bool movable) +int PythonQtWrapper_QMouseEvent::globalX(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->setTabsMovable(movable)); + return ( theWrappedObject->globalX()); } -void PythonQtWrapper_QMdiArea::setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode) +int PythonQtWrapper_QMouseEvent::globalY(QMouseEvent* theWrappedObject) const { - ( theWrappedObject->setViewMode(mode)); + return ( theWrappedObject->globalY()); } -QList PythonQtWrapper_QMdiArea::subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order) const +const QPointF* PythonQtWrapper_QMouseEvent::localPos(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->subWindowList(order)); + return &( theWrappedObject->localPos()); } -QTabWidget::TabPosition PythonQtWrapper_QMdiArea::tabPosition(QMdiArea* theWrappedObject) const +QPoint PythonQtWrapper_QMouseEvent::pos(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->tabPosition()); + return ( theWrappedObject->pos()); } -QTabWidget::TabShape PythonQtWrapper_QMdiArea::tabShape(QMdiArea* theWrappedObject) const +const QPointF* PythonQtWrapper_QMouseEvent::screenPos(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->tabShape()); + return &( theWrappedObject->screenPos()); } -bool PythonQtWrapper_QMdiArea::tabsClosable(QMdiArea* theWrappedObject) const +void PythonQtWrapper_QMouseEvent::setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition) { - return ( theWrappedObject->tabsClosable()); + ( theWrappedObject->setLocalPos(localPosition)); } -bool PythonQtWrapper_QMdiArea::tabsMovable(QMdiArea* theWrappedObject) const +Qt::MouseEventSource PythonQtWrapper_QMouseEvent::source(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->tabsMovable()); + return ( theWrappedObject->source()); } -bool PythonQtWrapper_QMdiArea::testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const +const QPointF* PythonQtWrapper_QMouseEvent::windowPos(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->testOption(opton)); + return &( theWrappedObject->windowPos()); } -void PythonQtWrapper_QMdiArea::timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent) +int PythonQtWrapper_QMouseEvent::x(QMouseEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->promoted_timerEvent(timerEvent)); + return ( theWrappedObject->x()); } -QMdiArea::ViewMode PythonQtWrapper_QMdiArea::viewMode(QMdiArea* theWrappedObject) const +int PythonQtWrapper_QMouseEvent::y(QMouseEvent* theWrappedObject) const { - return ( theWrappedObject->viewMode()); + return ( theWrappedObject->y()); } -PythonQtShell_QMdiSubWindow::~PythonQtShell_QMdiSubWindow() { +PythonQtShell_QMouseEventTransition::~PythonQtShell_QMouseEventTransition() { 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] = {NULL, (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] = {NULL, (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) +void PythonQtShell_QMouseEventTransition::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -16818,9 +13983,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&childEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16828,21 +13993,21 @@ if (_wrapper) { } } } - QMdiSubWindow::childEvent(childEvent0); + QMouseEventTransition::childEvent(event0); } -void PythonQtShell_QMdiSubWindow::closeEvent(QCloseEvent* closeEvent0) +void PythonQtShell_QMouseEventTransition::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&closeEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16850,54 +14015,32 @@ if (_wrapper) { } } } - QMdiSubWindow::closeEvent(closeEvent0); + QMouseEventTransition::customEvent(event0); } -void PythonQtShell_QMdiSubWindow::contextMenuEvent(QContextMenuEvent* contextMenuEvent0) +bool PythonQtShell_QMouseEventTransition::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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); -} -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] = {NULL}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16905,142 +14048,65 @@ if (_wrapper) { } } } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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); + return QMouseEventTransition::event(e0); } -void PythonQtShell_QMdiSubWindow::enterEvent(QEvent* event0) +bool PythonQtShell_QMouseEventTransition::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::enterEvent(event0); + return QMouseEventTransition::eventFilter(watched0, event1); } -bool PythonQtShell_QMdiSubWindow::event(QEvent* event0) +bool PythonQtShell_QMouseEventTransition::eventTest(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventTest", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17048,54 +14114,43 @@ if (_wrapper) { } } } - return QMdiSubWindow::event(event0); + return QMouseEventTransition::eventTest(event0); } -bool PythonQtShell_QMdiSubWindow::eventFilter(QObject* object0, QEvent* event1) +void PythonQtShell_QMouseEventTransition::onTransition(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("onTransition"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::eventFilter(object0, event1); + QMouseEventTransition::onTransition(event0); } -void PythonQtShell_QMdiSubWindow::focusInEvent(QFocusEvent* focusInEvent0) +void PythonQtShell_QMouseEventTransition::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusInEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17103,54 +14158,120 @@ if (_wrapper) { } } } - QMdiSubWindow::focusInEvent(focusInEvent0); + QMouseEventTransition::timerEvent(event0); } -bool PythonQtShell_QMdiSubWindow::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::focusNextPrevChild(next0); + QMovie::childEvent(event0); } -void PythonQtShell_QMdiSubWindow::focusOutEvent(QFocusEvent* focusOutEvent0) +void PythonQtShell_QMovie::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&focusOutEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17158,32 +14279,32 @@ if (_wrapper) { } } } - QMdiSubWindow::focusOutEvent(focusOutEvent0); + QMovie::customEvent(event0); } -bool PythonQtShell_QMdiSubWindow::hasHeightForWidth() const +bool PythonQtShell_QMovie::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17191,32 +14312,32 @@ if (_wrapper) { } } } - return QMdiSubWindow::hasHeightForWidth(); + return QMovie::event(event0); } -int PythonQtShell_QMdiSubWindow::heightForWidth(int arg__1) const +bool PythonQtShell_QMovie::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17224,21 +14345,21 @@ if (_wrapper) { } } } - return QMdiSubWindow::heightForWidth(arg__1); + return QMovie::eventFilter(watched0, event1); } -void PythonQtShell_QMdiSubWindow::hideEvent(QHideEvent* hideEvent0) +void PythonQtShell_QMovie::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17246,98 +14367,258 @@ if (_wrapper) { } } } - QMdiSubWindow::hideEvent(hideEvent0); + QMovie::timerEvent(event0); } -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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QMdiSubWindow::initPainter(painter0); +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; } -void PythonQtShell_QMdiSubWindow::inputMethodEvent(QInputMethodEvent* arg__1) +QColor PythonQtWrapper_QMovie::backgroundColor(QMovie* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + 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()); } - QMdiSubWindow::inputMethodEvent(arg__1); + +qreal PythonQtWrapper_QNativeGestureEvent::value(QNativeGestureEvent* theWrappedObject) const +{ + return ( theWrappedObject->value()); } -QVariant PythonQtShell_QMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +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("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::inputMethodQuery(arg__1); + QOffscreenSurface::childEvent(event0); } -void PythonQtShell_QMdiSubWindow::keyPressEvent(QKeyEvent* keyEvent0) +void PythonQtShell_QOffscreenSurface::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&keyEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17345,76 +14626,98 @@ if (_wrapper) { } } } - QMdiSubWindow::keyPressEvent(keyEvent0); + QOffscreenSurface::customEvent(event0); } -void PythonQtShell_QMdiSubWindow::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QOffscreenSurface::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::keyReleaseEvent(event0); + return QOffscreenSurface::event(event0); } -void PythonQtShell_QMdiSubWindow::leaveEvent(QEvent* leaveEvent0) +bool PythonQtShell_QOffscreenSurface::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&leaveEvent0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::leaveEvent(leaveEvent0); + return QOffscreenSurface::eventFilter(watched0, event1); } -int PythonQtShell_QMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QSurfaceFormat PythonQtShell_QOffscreenSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("format"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17422,32 +14725,32 @@ if (_wrapper) { } } } - return QMdiSubWindow::metric(arg__1); + return QOffscreenSurface::format(); } -QSize PythonQtShell_QMdiSubWindow::minimumSizeHint() const +QSize PythonQtShell_QOffscreenSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17455,43 +14758,54 @@ if (_wrapper) { } } } - return QMdiSubWindow::minimumSizeHint(); + return QOffscreenSurface::size(); } -void PythonQtShell_QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent* mouseEvent0) +QSurface::SurfaceType PythonQtShell_QOffscreenSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::mouseDoubleClickEvent(mouseEvent0); + return QOffscreenSurface::surfaceType(); } -void PythonQtShell_QMdiSubWindow::mouseMoveEvent(QMouseEvent* mouseEvent0) +void PythonQtShell_QOffscreenSurface::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17499,208 +14813,219 @@ if (_wrapper) { } } } - QMdiSubWindow::mouseMoveEvent(mouseEvent0); + QOffscreenSurface::timerEvent(event0); } -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] = {NULL, (void*)&mouseEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QMdiSubWindow::mousePressEvent(mouseEvent0); +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 PythonQtShell_QMdiSubWindow::mouseReleaseEvent(QMouseEvent* mouseEvent0) +void PythonQtWrapper_QOffscreenSurface::create(QOffscreenSurface* theWrappedObject) { -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] = {NULL, (void*)&mouseEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->create()); } - QMdiSubWindow::mouseReleaseEvent(mouseEvent0); + +void PythonQtWrapper_QOffscreenSurface::destroy(QOffscreenSurface* theWrappedObject) +{ + ( theWrappedObject->destroy()); } -void PythonQtShell_QMdiSubWindow::moveEvent(QMoveEvent* moveEvent0) + +bool PythonQtWrapper_QOffscreenSurface::isValid(QOffscreenSurface* theWrappedObject) const { -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] = {NULL, (void*)&moveEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - QMdiSubWindow::moveEvent(moveEvent0); + +void* PythonQtWrapper_QOffscreenSurface::nativeHandle(QOffscreenSurface* theWrappedObject) const +{ + return ( theWrappedObject->nativeHandle()); } -bool PythonQtShell_QMdiSubWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QSurfaceFormat PythonQtWrapper_QOffscreenSurface::requestedFormat(QOffscreenSurface* theWrappedObject) const { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( 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)); } - return QMdiSubWindow::nativeEvent(eventType0, message1, result2); + +int PythonQtWrapper_QOpenGLBuffer::size(QOpenGLBuffer* theWrappedObject) const +{ + return ( theWrappedObject->size()); } -QPaintEngine* PythonQtShell_QMdiSubWindow::paintEngine() const + +QOpenGLBuffer::Type PythonQtWrapper_QOpenGLBuffer::type(QOpenGLBuffer* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->type()); } - return QMdiSubWindow::paintEngine(); + +bool PythonQtWrapper_QOpenGLBuffer::unmap(QOpenGLBuffer* theWrappedObject) +{ + return ( theWrappedObject->unmap()); } -void PythonQtShell_QMdiSubWindow::paintEvent(QPaintEvent* paintEvent0) + +QOpenGLBuffer::UsagePattern PythonQtWrapper_QOpenGLBuffer::usagePattern(QOpenGLBuffer* theWrappedObject) const { -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] = {NULL, (void*)&paintEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->usagePattern()); } - QMdiSubWindow::paintEvent(paintEvent0); + +void PythonQtWrapper_QOpenGLBuffer::write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count) +{ + ( theWrappedObject->write(offset, data, count)); } -QPaintDevice* PythonQtShell_QMdiSubWindow::redirected(QPoint* offset0) const + + + +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("redirected"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMdiSubWindow::redirected(offset0); + QOpenGLContext::childEvent(event0); } -void PythonQtShell_QMdiSubWindow::resizeEvent(QResizeEvent* resizeEvent0) +void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&resizeEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17708,54 +15033,65 @@ if (_wrapper) { } } } - QMdiSubWindow::resizeEvent(resizeEvent0); + QOpenGLContext::customEvent(event0); } -void PythonQtShell_QMdiSubWindow::setVisible(bool visible0) +bool PythonQtShell_QOpenGLContext::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMdiSubWindow::setVisible(visible0); + return QOpenGLContext::event(event0); } -QPainter* PythonQtShell_QMdiSubWindow::sharedPainter() const +bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17763,21 +15099,21 @@ if (_wrapper) { } } } - return QMdiSubWindow::sharedPainter(); + return QOpenGLContext::eventFilter(watched0, event1); } -void PythonQtShell_QMdiSubWindow::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17785,314 +15121,433 @@ if (_wrapper) { } } } - QMdiSubWindow::showEvent(showEvent0); + QOpenGLContext::timerEvent(event0); } -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QMdiSubWindow::sizeHint(); +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)); } -void PythonQtShell_QMdiSubWindow::tabletEvent(QTabletEvent* event0) + +QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObject::attachment(QOpenGLFramebufferObject* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->attachment()); } - QMdiSubWindow::tabletEvent(event0); + +bool PythonQtWrapper_QOpenGLFramebufferObject::bind(QOpenGLFramebufferObject* theWrappedObject) +{ + return ( theWrappedObject->bind()); } -void PythonQtShell_QMdiSubWindow::timerEvent(QTimerEvent* timerEvent0) + +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_bindDefault() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&timerEvent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QOpenGLFramebufferObject::bindDefault()); } - QMdiSubWindow::timerEvent(timerEvent0); + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers, GLenum filter) +{ + (QOpenGLFramebufferObject::blitFramebuffer(target, source, buffers, filter)); } -void PythonQtShell_QMdiSubWindow::wheelEvent(QWheelEvent* event0) + +void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); } - QMdiSubWindow::wheelEvent(event0); + +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)); } -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; - } +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)); } -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; + +QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -void PythonQtWrapper_QMdiSubWindow::childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent) + +GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_childEvent(childEvent)); + return ( theWrappedObject->handle()); } -bool PythonQtWrapper_QMdiSubWindow::eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event) +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() { - return ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_eventFilter(object, event)); + return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); } -bool PythonQtWrapper_QMdiSubWindow::isShaded(QMdiSubWindow* theWrappedObject) const +bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() { - return ( theWrappedObject->isShaded()); + return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); } -int PythonQtWrapper_QMdiSubWindow::keyboardPageStep(QMdiSubWindow* theWrappedObject) const +int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->keyboardPageStep()); + return ( theWrappedObject->height()); } -int PythonQtWrapper_QMdiSubWindow::keyboardSingleStep(QMdiSubWindow* theWrappedObject) const +bool PythonQtWrapper_QOpenGLFramebufferObject::isBound(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->keyboardSingleStep()); + return ( theWrappedObject->isBound()); } -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const +bool PythonQtWrapper_QOpenGLFramebufferObject::isValid(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->maximizedButtonsWidget()); + return ( theWrappedObject->isValid()); } -QWidget* PythonQtWrapper_QMdiSubWindow::maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const +bool PythonQtWrapper_QOpenGLFramebufferObject::release(QOpenGLFramebufferObject* theWrappedObject) { - return ( theWrappedObject->maximizedSystemMenuIconWidget()); + return ( theWrappedObject->release()); } -QMdiArea* PythonQtWrapper_QMdiSubWindow::mdiArea(QMdiSubWindow* theWrappedObject) const +void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) { - return ( theWrappedObject->mdiArea()); + ( theWrappedObject->setAttachment(attachment)); } -QSize PythonQtWrapper_QMdiSubWindow::minimumSizeHint(QMdiSubWindow* theWrappedObject) const +QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->minimumSizeHint()); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QMdiSubWindow::setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step) +QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const { - ( theWrappedObject->setKeyboardPageStep(step)); + return ( theWrappedObject->sizes()); } -void PythonQtWrapper_QMdiSubWindow::setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step) +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) { - ( theWrappedObject->setKeyboardSingleStep(step)); + return ( theWrappedObject->takeTexture()); } -void PythonQtWrapper_QMdiSubWindow::setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on) +GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) { - ( theWrappedObject->setOption(option, on)); + return ( theWrappedObject->takeTexture(colorAttachmentIndex)); } -void PythonQtWrapper_QMdiSubWindow::setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu) +GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const { - ( theWrappedObject->setSystemMenu(systemMenu)); + return ( theWrappedObject->texture()); } -void PythonQtWrapper_QMdiSubWindow::setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget) +QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const { - ( theWrappedObject->setWidget(widget)); + return ( theWrappedObject->textures()); } -QSize PythonQtWrapper_QMdiSubWindow::sizeHint(QMdiSubWindow* theWrappedObject) const +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->toImage()); } -QMenu* PythonQtWrapper_QMdiSubWindow::systemMenu(QMdiSubWindow* theWrappedObject) const +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const { - return ( theWrappedObject->systemMenu()); + return ( theWrappedObject->toImage(flipped)); } -bool PythonQtWrapper_QMdiSubWindow::testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const +QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const { - return ( theWrappedObject->testOption(arg__1)); + return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); } -void PythonQtWrapper_QMdiSubWindow::timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent) +int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->promoted_timerEvent(timerEvent)); + return ( theWrappedObject->width()); } -QWidget* PythonQtWrapper_QMdiSubWindow::widget(QMdiSubWindow* theWrappedObject) const + + +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->widget()); + return ( theWrappedObject->attachment()); } +GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->internalTextureFormat()); +} +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const +{ + return ( theWrappedObject->mipmap()); +} -PythonQtShell_QMenu::~PythonQtShell_QMenu() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)!= other); } -void PythonQtShell_QMenu::actionEvent(QActionEvent* arg__1) + +QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)= other); } - QMenu::actionEvent(arg__1); + +bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const +{ + return ( (*theWrappedObject)== other); } -void PythonQtShell_QMenu::changeEvent(QEvent* arg__1) + +int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->samples()); } - QMenu::changeEvent(arg__1); + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) +{ + ( theWrappedObject->setAttachment(attachment)); } -void PythonQtShell_QMenu::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); } - QMenu::closeEvent(event0); + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setMipmap(enabled)); } -void PythonQtShell_QMenu::contextMenuEvent(QContextMenuEvent* event0) + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSamples(samples)); } - QMenu::contextMenuEvent(event0); + +void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) +{ + ( theWrappedObject->setTextureTarget(target)); } -int PythonQtShell_QMenu::devType() const + +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 @@ -18103,19 +15558,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18123,43 +15578,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QOpenGLPaintDevice::devType(); } -void PythonQtShell_QMenu::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("ensureActiveTarget"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18167,21 +15600,21 @@ if (_wrapper) { } } } - QMenu::dragLeaveEvent(event0); + QOpenGLPaintDevice::ensureActiveTarget(); } -void PythonQtShell_QMenu::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18189,76 +15622,98 @@ if (_wrapper) { } } } - QMenu::dragMoveEvent(event0); + QOpenGLPaintDevice::initPainter(painter0); } -void PythonQtShell_QMenu::dropEvent(QDropEvent* event0) +int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::dropEvent(event0); + return QOpenGLPaintDevice::metric(metric0); } -void PythonQtShell_QMenu::enterEvent(QEvent* arg__1) +QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::enterEvent(arg__1); + return QOpenGLPaintDevice::paintEngine(); } -bool PythonQtShell_QMenu::event(QEvent* arg__1) +QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18266,76 +15721,149 @@ if (_wrapper) { } } } - return QMenu::event(arg__1); + return QOpenGLPaintDevice::redirected(offset0); } -void PythonQtShell_QMenu::focusInEvent(QFocusEvent* event0) +QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::focusInEvent(event0); + return QOpenGLPaintDevice::sharedPainter(); } -bool PythonQtShell_QMenu::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenu::focusNextPrevChild(next0); + QOpenGLShader::childEvent(event0); } -void PythonQtShell_QMenu::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18343,32 +15871,32 @@ if (_wrapper) { } } } - QMenu::focusOutEvent(event0); + QOpenGLShader::customEvent(event0); } -bool PythonQtShell_QMenu::hasHeightForWidth() const +bool PythonQtShell_QOpenGLShader::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18376,32 +15904,32 @@ if (_wrapper) { } } } - return QMenu::hasHeightForWidth(); + return QOpenGLShader::event(event0); } -int PythonQtShell_QMenu::heightForWidth(int arg__1) const +bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18409,21 +15937,21 @@ if (_wrapper) { } } } - return QMenu::heightForWidth(arg__1); + return QOpenGLShader::eventFilter(watched0, event1); } -void PythonQtShell_QMenu::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18431,21 +15959,94 @@ if (_wrapper) { } } } - QMenu::hideEvent(arg__1); + QOpenGLShader::timerEvent(event0); } -void PythonQtShell_QMenu::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18453,21 +16054,21 @@ if (_wrapper) { } } } - QMenu::initPainter(painter0); + QOpenGLShaderProgram::childEvent(event0); } -void PythonQtShell_QMenu::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18475,32 +16076,32 @@ if (_wrapper) { } } } - QMenu::inputMethodEvent(arg__1); + QOpenGLShaderProgram::customEvent(event0); } -QVariant PythonQtShell_QMenu::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18508,65 +16109,87 @@ if (_wrapper) { } } } - return QMenu::inputMethodQuery(arg__1); + return QOpenGLShaderProgram::event(event0); } -void PythonQtShell_QMenu::keyPressEvent(QKeyEvent* arg__1) +bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::keyPressEvent(arg__1); + return QOpenGLShaderProgram::eventFilter(watched0, event1); } -void PythonQtShell_QMenu::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QOpenGLShaderProgram::link() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("link"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenu::keyReleaseEvent(event0); + return QOpenGLShaderProgram::link(); } -void PythonQtShell_QMenu::leaveEvent(QEvent* arg__1) +void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18574,1615 +16197,1129 @@ if (_wrapper) { } } } - QMenu::leaveEvent(arg__1); + QOpenGLShaderProgram::timerEvent(event0); } -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +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; } } - return QMenu::metric(arg__1); +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)); } -QSize PythonQtShell_QMenu::minimumSizeHint() const + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, x, y)); } - return QMenu::minimumSizeHint(); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(name, x, y, z)); } -void PythonQtShell_QMenu::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, x, y, z, w)); } - QMenu::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) +{ + ( theWrappedObject->setUniformValue(name, value)); } -void PythonQtShell_QMenu::mouseMoveEvent(QMouseEvent* arg__1) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, value)); } - QMenu::mouseMoveEvent(arg__1); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) +{ + ( theWrappedObject->setUniformValue(name, color)); } -void PythonQtShell_QMenu::mousePressEvent(QMouseEvent* arg__1) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, value)); } - QMenu::mousePressEvent(arg__1); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) +{ + ( theWrappedObject->setUniformValue(name, point)); } -void PythonQtShell_QMenu::mouseReleaseEvent(QMouseEvent* arg__1) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, point)); } - QMenu::mouseReleaseEvent(arg__1); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) +{ + ( theWrappedObject->setUniformValue(name, size)); } -void PythonQtShell_QMenu::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, size)); } - QMenu::moveEvent(event0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) +{ + ( theWrappedObject->setUniformValue(name, value)); } -bool PythonQtShell_QMenu::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, value)); } - return QMenu::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) +{ + ( theWrappedObject->setUniformValue(name, value)); } -QPaintEngine* PythonQtShell_QMenu::paintEngine() const + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(name, value)); } - return QMenu::paintEngine(); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) +{ + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtShell_QMenu::paintEvent(QPaintEvent* arg__1) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, x, y)); } - QMenu::paintEvent(arg__1); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) +{ + ( theWrappedObject->setUniformValue(location, x, y, z)); } -QPaintDevice* PythonQtShell_QMenu::redirected(QPoint* offset0) const + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, x, y, z, w)); } - return QMenu::redirected(offset0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) +{ + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtShell_QMenu::resizeEvent(QResizeEvent* event0) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, value)); +} + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) +{ + ( theWrappedObject->setUniformValue(location, color)); } - QMenu::resizeEvent(event0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) +{ + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtShell_QMenu::setVisible(bool visible0) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) { -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] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, point)); } - QMenu::setVisible(visible0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) +{ + ( theWrappedObject->setUniformValue(location, point)); } -QPainter* PythonQtShell_QMenu::sharedPainter() const + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, size)); } - return QMenu::sharedPainter(); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) +{ + ( theWrappedObject->setUniformValue(location, size)); } -void PythonQtShell_QMenu::showEvent(QShowEvent* event0) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, value)); } - QMenu::showEvent(event0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); } -QSize PythonQtShell_QMenu::sizeHint() const + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValue(location, value)); } - return QMenu::sizeHint(); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +{ + ( theWrappedObject->setUniformValue(location, value)); } -void PythonQtShell_QMenu::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); } - QMenu::tabletEvent(event0); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); } -void PythonQtShell_QMenu::timerEvent(QTimerEvent* arg__1) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValueArray(name, values, count)); } - QMenu::timerEvent(arg__1); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); } -void PythonQtShell_QMenu::wheelEvent(QWheelEvent* arg__1) + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUniformValueArray(name, values, count)); } - QMenu::wheelEvent(arg__1); + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); } -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); } +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +{ + ( theWrappedObject->setUniformValueArray(name, values, count)); +} -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; - } +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +{ + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); } -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; + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +{ + ( theWrappedObject->setUniformValueArray(location, values, count)); } -QAction* PythonQtWrapper_QMenu::actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const + +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) { - return ( theWrappedObject->actionAt(arg__1)); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -QRect PythonQtWrapper_QMenu::actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) { - return ( theWrappedObject->actionGeometry(arg__1)); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -QAction* PythonQtWrapper_QMenu::activeAction(QMenu* theWrappedObject) const +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) { - return ( theWrappedObject->activeAction()); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) { - return ( theWrappedObject->addAction(icon, text)); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) +void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) { - return ( theWrappedObject->addAction(icon, text, receiver, member, shortcut)); + ( theWrappedObject->setUniformValueArray(location, values, count)); } -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text) +QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const { - return ( theWrappedObject->addAction(text)); + return ( theWrappedObject->shaders()); } -QAction* PythonQtWrapper_QMenu::addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut) +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const { - return ( theWrappedObject->addAction(text, receiver, member, shortcut)); + return ( theWrappedObject->uniformLocation(name)); } -QAction* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, QMenu* menu) +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const { - return ( theWrappedObject->addMenu(menu)); + return ( theWrappedObject->uniformLocation(name)); } -QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title) +int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const { - return ( theWrappedObject->addMenu(icon, title)); + return ( theWrappedObject->uniformLocation(name)); } -QMenu* PythonQtWrapper_QMenu::addMenu(QMenu* theWrappedObject, const QString& title) + + +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) { - return ( theWrappedObject->addMenu(title)); + ( theWrappedObject->allocateStorage()); } -QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text) +void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) { - return ( theWrappedObject->addSection(icon, text)); + ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); } -QAction* PythonQtWrapper_QMenu::addSection(QMenu* theWrappedObject, const QString& text) +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) { - return ( theWrappedObject->addSection(text)); + ( theWrappedObject->bind()); } -QAction* PythonQtWrapper_QMenu::addSeparator(QMenu* theWrappedObject) +void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) { - return ( theWrappedObject->addSeparator()); + ( theWrappedObject->bind(unit, reset)); } -void PythonQtWrapper_QMenu::clear(QMenu* theWrappedObject) +QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->borderColor()); } -int PythonQtWrapper_QMenu::columnCount(QMenu* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const { - return ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_columnCount()); + ( theWrappedObject->borderColor(border)); } -QAction* PythonQtWrapper_QMenu::defaultAction(QMenu* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const { - return ( theWrappedObject->defaultAction()); + ( theWrappedObject->borderColor(border)); } -QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject) +void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const { - return ( theWrappedObject->exec()); + ( theWrappedObject->borderColor(border)); } -QAction* PythonQtWrapper_QMenu::static_QMenu_exec(QList actions, const QPoint& pos, QAction* at, QWidget* parent) +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) { - return (QMenu::exec(actions, pos, at, parent)); + return (QOpenGLTexture::boundTextureId(target)); } -QAction* PythonQtWrapper_QMenu::exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at) +GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) { - return ( theWrappedObject->exec(pos, at)); + return (QOpenGLTexture::boundTextureId(unit, target)); } -void PythonQtWrapper_QMenu::hideTearOffMenu(QMenu* theWrappedObject) +QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->hideTearOffMenu()); + return ( theWrappedObject->comparisonFunction()); } -QIcon PythonQtWrapper_QMenu::icon(QMenu* theWrappedObject) const +QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->icon()); + return ( theWrappedObject->comparisonMode()); } -void PythonQtWrapper_QMenu::initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const +bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) { - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_initStyleOption(option, action)); + return ( theWrappedObject->create()); } -QAction* PythonQtWrapper_QMenu::insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu) +QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const { - return ( theWrappedObject->insertMenu(before, menu)); + return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); } -QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text) +int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->insertSection(before, icon, text)); + return ( theWrappedObject->depth()); } -QAction* PythonQtWrapper_QMenu::insertSection(QMenu* theWrappedObject, QAction* before, const QString& text) +QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->insertSection(before, text)); + return ( theWrappedObject->depthStencilMode()); } -QAction* PythonQtWrapper_QMenu::insertSeparator(QMenu* theWrappedObject, QAction* before) +void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) { - return ( theWrappedObject->insertSeparator(before)); + ( theWrappedObject->destroy()); } -bool PythonQtWrapper_QMenu::isEmpty(QMenu* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->isEmpty()); + return ( theWrappedObject->faces()); } -bool PythonQtWrapper_QMenu::isTearOffEnabled(QMenu* theWrappedObject) const +QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->isTearOffEnabled()); + return ( theWrappedObject->format()); } -bool PythonQtWrapper_QMenu::isTearOffMenuVisible(QMenu* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) { - return ( theWrappedObject->isTearOffMenuVisible()); + ( theWrappedObject->generateMipMaps()); } -QAction* PythonQtWrapper_QMenu::menuAction(QMenu* theWrappedObject) const +void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) { - return ( theWrappedObject->menuAction()); + ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); } -void PythonQtWrapper_QMenu::popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at) +bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) { - ( theWrappedObject->popup(pos, at)); + return (QOpenGLTexture::hasFeature(feature)); +} + +int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->height()); } -bool PythonQtWrapper_QMenu::separatorsCollapsible(QMenu* theWrappedObject) const +bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->separatorsCollapsible()); + return ( theWrappedObject->isAutoMipMapGenerationEnabled()); } -void PythonQtWrapper_QMenu::setActiveAction(QMenu* theWrappedObject, QAction* act) +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setActiveAction(act)); + return ( theWrappedObject->isBound()); } -void PythonQtWrapper_QMenu::setDefaultAction(QMenu* theWrappedObject, QAction* arg__1) +bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) { - ( theWrappedObject->setDefaultAction(arg__1)); + return ( theWrappedObject->isBound(unit)); } -void PythonQtWrapper_QMenu::setIcon(QMenu* theWrappedObject, const QIcon& icon) +bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->isCreated()); } -void PythonQtWrapper_QMenu::setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse) +bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setSeparatorsCollapsible(collapse)); + return ( theWrappedObject->isFixedSamplePositions()); } -void PythonQtWrapper_QMenu::setTearOffEnabled(QMenu* theWrappedObject, bool arg__1) +bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setTearOffEnabled(arg__1)); + return ( theWrappedObject->isStorageAllocated()); } -void PythonQtWrapper_QMenu::setTitle(QMenu* theWrappedObject, const QString& title) +bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setTitle(title)); + return ( theWrappedObject->isTextureView()); } -void PythonQtWrapper_QMenu::setToolTipsVisible(QMenu* theWrappedObject, bool visible) +int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->setToolTipsVisible(visible)); + return ( theWrappedObject->layers()); } -void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject) +QPair PythonQtWrapper_QOpenGLTexture::levelOfDetailRange(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->showTearOffMenu()); + return ( theWrappedObject->levelOfDetailRange()); } -void PythonQtWrapper_QMenu::showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos) +float PythonQtWrapper_QOpenGLTexture::levelofDetailBias(QOpenGLTexture* theWrappedObject) const { - ( theWrappedObject->showTearOffMenu(pos)); + return ( theWrappedObject->levelofDetailBias()); } -QSize PythonQtWrapper_QMenu::sizeHint(QMenu* theWrappedObject) const +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::magnificationFilter(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->magnificationFilter()); } -void PythonQtWrapper_QMenu::timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1) +float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QMenu*)theWrappedObject)->promoted_timerEvent(arg__1)); + return ( theWrappedObject->maximumAnisotropy()); } -QString PythonQtWrapper_QMenu::title(QMenu* theWrappedObject) const +float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->title()); + return ( theWrappedObject->maximumLevelOfDetail()); } -bool PythonQtWrapper_QMenu::toolTipsVisible(QMenu* theWrappedObject) const +int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const { - return ( theWrappedObject->toolTipsVisible()); + return ( theWrappedObject->maximumMipLevels()); } - - -PythonQtShell_QMenuBar::~PythonQtShell_QMenuBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QMenuBar::actionEvent(QActionEvent* arg__1) +QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->minMagFilters()); } - QMenuBar::actionEvent(arg__1); -} -void PythonQtShell_QMenuBar::changeEvent(QEvent* arg__1) + +QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->minificationFilter()); } -void PythonQtShell_QMenuBar::closeEvent(QCloseEvent* event0) + +float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->minimumLevelOfDetail()); } -void PythonQtShell_QMenuBar::contextMenuEvent(QContextMenuEvent* event0) + +int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->mipBaseLevel()); } -int PythonQtShell_QMenuBar::devType() const + +QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMenuBar::devType(); + return ( theWrappedObject->mipLevelRange()); } -void PythonQtShell_QMenuBar::dragEnterEvent(QDragEnterEvent* event0) + +int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->mipLevels()); } - QMenuBar::dragEnterEvent(event0); -} -void PythonQtShell_QMenuBar::dragLeaveEvent(QDragLeaveEvent* event0) + +int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QMenuBar::dragLeaveEvent(event0); + return ( theWrappedObject->mipMaxLevel()); } -void PythonQtShell_QMenuBar::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) { -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] = {NULL, (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); + ( theWrappedObject->release()); } -void PythonQtShell_QMenuBar::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) { -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] = {NULL, (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); + ( theWrappedObject->release(unit, reset)); } -void PythonQtShell_QMenuBar::enterEvent(QEvent* event0) + +int PythonQtWrapper_QOpenGLTexture::samples(QOpenGLTexture* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->samples()); } - QMenuBar::enterEvent(event0); -} -bool PythonQtShell_QMenuBar::event(QEvent* arg__1) + +void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); } - return QMenuBar::event(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) +{ + ( theWrappedObject->setBorderColor(color)); } -bool PythonQtShell_QMenuBar::eventFilter(QObject* arg__1, QEvent* arg__2) + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBorderColor(r, g, b, a)); } - return QMenuBar::eventFilter(arg__1, arg__2); + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) +{ + ( theWrappedObject->setBorderColor(r, g, b, a)); } -void PythonQtShell_QMenuBar::focusInEvent(QFocusEvent* arg__1) + +void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBorderColor(r, g, b, a)); } - QMenuBar::focusInEvent(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) +{ + ( theWrappedObject->setComparisonFunction(function)); } -bool PythonQtShell_QMenuBar::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) { -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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setComparisonMode(mode)); } - return QMenuBar::focusNextPrevChild(next0); + +void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +{ + ( theWrappedObject->setData(image, genMipMaps)); } -void PythonQtShell_QMenuBar::focusOutEvent(QFocusEvent* arg__1) + +void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDepthStencilMode(mode)); } - QMenuBar::focusOutEvent(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) +{ + ( theWrappedObject->setFixedSamplePositions(fixed)); } -bool PythonQtShell_QMenuBar::hasHeightForWidth() const + +void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFormat(format)); } - return QMenuBar::hasHeightForWidth(); + +void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) +{ + ( theWrappedObject->setLayers(layers)); } -int PythonQtShell_QMenuBar::heightForWidth(int arg__1) const + +void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLevelOfDetailRange(min, max)); } - return QMenuBar::heightForWidth(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias) +{ + ( theWrappedObject->setLevelofDetailBias(bias)); } -void PythonQtShell_QMenuBar::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMagnificationFilter(filter)); } - QMenuBar::hideEvent(event0); + +void PythonQtWrapper_QOpenGLTexture::setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy) +{ + ( theWrappedObject->setMaximumAnisotropy(anisotropy)); } -void PythonQtShell_QMenuBar::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) { -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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMaximumLevelOfDetail(value)); } - QMenuBar::initPainter(painter0); + +void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) +{ + ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); } -void PythonQtShell_QMenuBar::inputMethodEvent(QInputMethodEvent* arg__1) + +void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMinificationFilter(filter)); } - QMenuBar::inputMethodEvent(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +{ + ( theWrappedObject->setMinimumLevelOfDetail(value)); } -QVariant PythonQtShell_QMenuBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMipBaseLevel(baseLevel)); } - return QMenuBar::inputMethodQuery(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) +{ + ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); } -void PythonQtShell_QMenuBar::keyPressEvent(QKeyEvent* arg__1) + +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) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSamples(samples)); } - QMenuBar::keyPressEvent(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) +{ + ( theWrappedObject->setSize(width, height, depth)); } -void PythonQtShell_QMenuBar::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSwizzleMask(component, value)); } - QMenuBar::keyReleaseEvent(event0); + +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 PythonQtShell_QMenuBar::leaveEvent(QEvent* arg__1) + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWrapMode(direction, mode)); } - QMenuBar::leaveEvent(arg__1); + +void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) +{ + ( theWrappedObject->setWrapMode(mode)); } -int PythonQtShell_QMenuBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->swizzleMask(component)); } - return QMenuBar::metric(arg__1); + +QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->target()); } -QSize PythonQtShell_QMenuBar::minimumSizeHint() const + +GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->textureId()); } - return QMenuBar::minimumSizeHint(); + +int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const +{ + return ( theWrappedObject->width()); } -void PythonQtShell_QMenuBar::mouseDoubleClickEvent(QMouseEvent* event0) + +QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->wrapMode(direction)); } - QMenuBar::mouseDoubleClickEvent(event0); + +QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -void PythonQtShell_QMenuBar::mouseMoveEvent(QMouseEvent* arg__1) + + + +QOpenGLTextureBlitter* PythonQtWrapper_QOpenGLTextureBlitter::new_QOpenGLTextureBlitter() +{ +return new QOpenGLTextureBlitter(); } + +void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->bind(target)); } - QMenuBar::mouseMoveEvent(arg__1); + +void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) +{ + ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); } -void PythonQtShell_QMenuBar::mousePressEvent(QMouseEvent* arg__1) + +bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->create()); } - QMenuBar::mousePressEvent(arg__1); + +void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) +{ + ( theWrappedObject->destroy()); } -void PythonQtShell_QMenuBar::mouseReleaseEvent(QMouseEvent* arg__1) + +bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isCreated()); } - QMenuBar::mouseReleaseEvent(arg__1); + +void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) +{ + ( theWrappedObject->release()); } -void PythonQtShell_QMenuBar::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setOpacity(opacity)); } - QMenuBar::moveEvent(event0); + +void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) +{ + ( theWrappedObject->setRedBlueSwizzle(swizzle)); } -bool PythonQtShell_QMenuBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->supportsExternalOESTarget()); } - return QMenuBar::nativeEvent(eventType0, message1, result2); + +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); } } -QPaintEngine* PythonQtShell_QMenuBar::paintEngine() const +void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::paintEngine(); + QOpenGLTimeMonitor::childEvent(event0); } -void PythonQtShell_QMenuBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20190,32 +17327,32 @@ if (_wrapper) { } } } - QMenuBar::paintEvent(arg__1); + QOpenGLTimeMonitor::customEvent(event0); } -QPaintDevice* PythonQtShell_QMenuBar::redirected(QPoint* offset0) const +bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20223,43 +17360,54 @@ if (_wrapper) { } } } - return QMenuBar::redirected(offset0); + return QOpenGLTimeMonitor::event(event0); } -void PythonQtShell_QMenuBar::resizeEvent(QResizeEvent* arg__1) +bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::resizeEvent(arg__1); + return QOpenGLTimeMonitor::eventFilter(watched0, event1); } -void PythonQtShell_QMenuBar::setVisible(bool visible0) +void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20267,54 +17415,121 @@ if (_wrapper) { } } } - QMenuBar::setVisible(visible0); + QOpenGLTimeMonitor::timerEvent(event0); } -QPainter* PythonQtShell_QMenuBar::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QMenuBar::sharedPainter(); + QOpenGLTimerQuery::childEvent(event0); } -void PythonQtShell_QMenuBar::showEvent(QShowEvent* event0) +void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20322,32 +17537,32 @@ if (_wrapper) { } } } - QMenuBar::showEvent(event0); + QOpenGLTimerQuery::customEvent(event0); } -QSize PythonQtShell_QMenuBar::sizeHint() const +bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -20355,31 +17570,42 @@ if (_wrapper) { } } } - return QMenuBar::sizeHint(); + return QOpenGLTimerQuery::event(event0); } -void PythonQtShell_QMenuBar::tabletEvent(QTabletEvent* 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("tabletEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QMenuBar::tabletEvent(event0); + return QOpenGLTimerQuery::eventFilter(watched0, event1); } -void PythonQtShell_QMenuBar::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -20389,31 +17615,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -20421,143 +17625,144 @@ if (_wrapper) { } } } - QMenuBar::wheelEvent(event0); + QOpenGLTimerQuery::timerEvent(event0); } -QMenuBar* PythonQtWrapper_QMenuBar::new_QMenuBar(QWidget* parent) +QOpenGLTimerQuery* PythonQtWrapper_QOpenGLTimerQuery::new_QOpenGLTimerQuery(QObject* parent) { -return new PythonQtShell_QMenuBar(parent); } +return new PythonQtShell_QOpenGLTimerQuery(parent); } -const QMetaObject* PythonQtShell_QMenuBar::metaObject() const { +const QMetaObject* PythonQtShell_QOpenGLTimerQuery::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QMenuBar::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimerQuery::staticMetaObject); } else { - return &QMenuBar::staticMetaObject; + return &QOpenGLTimerQuery::staticMetaObject; } } -int PythonQtShell_QMenuBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QMenuBar::qt_metacall(call, id, args); +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; } -QAction* PythonQtWrapper_QMenuBar::actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const +void PythonQtWrapper_QOpenGLTimerQuery::begin(QOpenGLTimerQuery* theWrappedObject) { - return ( theWrappedObject->actionAt(arg__1)); + ( theWrappedObject->begin()); } -QRect PythonQtWrapper_QMenuBar::actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const +bool PythonQtWrapper_QOpenGLTimerQuery::create(QOpenGLTimerQuery* theWrappedObject) { - return ( theWrappedObject->actionGeometry(arg__1)); + return ( theWrappedObject->create()); } -QAction* PythonQtWrapper_QMenuBar::activeAction(QMenuBar* theWrappedObject) const +void PythonQtWrapper_QOpenGLTimerQuery::destroy(QOpenGLTimerQuery* theWrappedObject) { - return ( theWrappedObject->activeAction()); + ( theWrappedObject->destroy()); } -QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text) +void PythonQtWrapper_QOpenGLTimerQuery::end(QOpenGLTimerQuery* theWrappedObject) { - return ( theWrappedObject->addAction(text)); + ( theWrappedObject->end()); } -QAction* PythonQtWrapper_QMenuBar::addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +bool PythonQtWrapper_QOpenGLTimerQuery::isCreated(QOpenGLTimerQuery* theWrappedObject) const { - return ( theWrappedObject->addAction(text, receiver, member)); + return ( theWrappedObject->isCreated()); } -QAction* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, QMenu* menu) +bool PythonQtWrapper_QOpenGLTimerQuery::isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const { - return ( theWrappedObject->addMenu(menu)); + return ( theWrappedObject->isResultAvailable()); } -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title) +GLuint PythonQtWrapper_QOpenGLTimerQuery::objectId(QOpenGLTimerQuery* theWrappedObject) const { - return ( theWrappedObject->addMenu(icon, title)); + return ( theWrappedObject->objectId()); } -QMenu* PythonQtWrapper_QMenuBar::addMenu(QMenuBar* theWrappedObject, const QString& title) +void PythonQtWrapper_QOpenGLTimerQuery::recordTimestamp(QOpenGLTimerQuery* theWrappedObject) { - return ( theWrappedObject->addMenu(title)); + ( theWrappedObject->recordTimestamp()); } -QAction* PythonQtWrapper_QMenuBar::addSeparator(QMenuBar* theWrappedObject) +GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForResult(QOpenGLTimerQuery* theWrappedObject) const { - return ( theWrappedObject->addSeparator()); + return ( theWrappedObject->waitForResult()); } -void PythonQtWrapper_QMenuBar::clear(QMenuBar* theWrappedObject) +GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->waitForTimestamp()); } -QWidget* PythonQtWrapper_QMenuBar::cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->cornerWidget(corner)); -} -bool PythonQtWrapper_QMenuBar::eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); -} -void PythonQtWrapper_QMenuBar::initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_initStyleOption(option, action)); -} +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile() +{ +return new QOpenGLVersionProfile(); } -QAction* PythonQtWrapper_QMenuBar::insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu) +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->insertMenu(before, menu)); + return ( theWrappedObject->hasProfiles()); } -QAction* PythonQtWrapper_QMenuBar::insertSeparator(QMenuBar* theWrappedObject, QAction* before) +bool PythonQtWrapper_QOpenGLVersionProfile::isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const { - return ( theWrappedObject->insertSeparator(before)); + return ( theWrappedObject->isLegacyVersion()); } -bool PythonQtWrapper_QMenuBar::isDefaultUp(QMenuBar* theWrappedObject) const +bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theWrappedObject) const { - return ( theWrappedObject->isDefaultUp()); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QMenuBar::isNativeMenuBar(QMenuBar* theWrappedObject) const +bool PythonQtWrapper_QOpenGLVersionProfile::__ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) { - return ( theWrappedObject->isNativeMenuBar()); + return ( (*theWrappedObject)!= rhs); } -QSize PythonQtWrapper_QMenuBar::minimumSizeHint(QMenuBar* theWrappedObject) const +QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) { - return ( theWrappedObject->minimumSizeHint()); + return &( (*theWrappedObject)= rhs); } -void PythonQtWrapper_QMenuBar::setActiveAction(QMenuBar* theWrappedObject, QAction* action) +bool PythonQtWrapper_QOpenGLVersionProfile::__eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) { - ( theWrappedObject->setActiveAction(action)); + return ( (*theWrappedObject)== rhs); } -void PythonQtWrapper_QMenuBar::setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner) +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const { - ( theWrappedObject->setCornerWidget(w, corner)); + return ( theWrappedObject->profile()); } -void PythonQtWrapper_QMenuBar::setDefaultUp(QMenuBar* theWrappedObject, bool arg__1) +void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) { - ( theWrappedObject->setDefaultUp(arg__1)); + ( theWrappedObject->setProfile(profile)); } -void PythonQtWrapper_QMenuBar::setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar) +void PythonQtWrapper_QOpenGLVersionProfile::setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion) { - ( theWrappedObject->setNativeMenuBar(nativeMenuBar)); + ( theWrappedObject->setVersion(majorVersion, minorVersion)); } -QSize PythonQtWrapper_QMenuBar::sizeHint(QMenuBar* theWrappedObject) const +QPair PythonQtWrapper_QOpenGLVersionProfile::version(QOpenGLVersionProfile* theWrappedObject) const { - return ( theWrappedObject->sizeHint()); + return ( theWrappedObject->version()); } -void PythonQtWrapper_QMenuBar::timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->promoted_timerEvent(arg__1)); +QString PythonQtWrapper_QOpenGLVersionProfile::py_toString(QOpenGLVersionProfile* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui5.h new file mode 100644 index 00000000..6293ad87 --- /dev/null +++ b/generated_cpp_5.15.2/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 = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(nullptr) {}; + PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; + + ~PythonQtShell_QOpenGLFramebufferObject() 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 = GL_TEXTURE_2D); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); +QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format); +void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } + void 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 = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); + void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); + 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 = GL_TEXTURE_2D); + 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.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp new file mode 100644 index 00000000..81ffe2e8 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui6.h new file mode 100644 index 00000000..386eaea3 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index f00e0814..65694599 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -1,1315 +1,1852 @@ -#include "com_trolltech_qt_gui6.h" +#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 +#include #include +#include +#include +#include +#include +#include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include #include -const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->background()); -} +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF() +{ +return new QPolygonF(); } -Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->backgroundMode()); -} +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygon& a) +{ +return new QPolygonF(a); } -bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) -{ - return ( theWrappedObject->begin(arg__1)); -} +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygonF& a) +{ +return new QPolygonF(a); } -void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) -{ - ( theWrappedObject->beginNativePainting()); -} +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QRectF& r) +{ +return new QPolygonF(r); } -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) -{ - return ( theWrappedObject->boundingRect(rect, flags, text)); -} +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QVector& v) +{ +return new QPolygonF(v); } -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) -{ - return ( theWrappedObject->boundingRect(rect, text, o)); -} +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(int size) +{ +return new QPolygonF(size); } -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) { - return ( theWrappedObject->boundingRect(rect, flags, text)); + ( theWrappedObject->append(t)); } -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) { - return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); + ( theWrappedObject->append(l)); } -const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const +const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const { - return &( theWrappedObject->brush()); + return &( theWrappedObject->at(i)); } -QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const +QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->brushOrigin()); + return ( theWrappedObject->boundingRect()); } -QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const +int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->clipBoundingRect()); + return ( theWrappedObject->capacity()); } -QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const +void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) { - return ( theWrappedObject->clipPath()); + ( theWrappedObject->clear()); } -QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const +const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->clipRegion()); + return &( theWrappedObject->constFirst()); } -QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const +const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->combinedMatrix()); + return &( theWrappedObject->constLast()); } -QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const { - return ( theWrappedObject->combinedTransform()); + return ( theWrappedObject->contains(t)); } -QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const { - return ( theWrappedObject->compositionMode()); + return ( theWrappedObject->containsPoint(pt, fillRule)); } -QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->count()); } -const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const { - return &( theWrappedObject->deviceMatrix()); + return ( theWrappedObject->count(t)); } -const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const { - return &( theWrappedObject->deviceTransform()); + return ( theWrappedObject->empty()); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const { - ( theWrappedObject->drawArc(arg__1, a, alen)); + return ( theWrappedObject->endsWith(t)); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) { - ( theWrappedObject->drawArc(rect, a, alen)); + return &( theWrappedObject->fill(t, size)); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawArc(x, y, w, h, a, alen)); + return &( theWrappedObject->first()); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) { - ( theWrappedObject->drawChord(arg__1, a, alen)); + return (QPolygonF::fromList(list)); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const { - ( theWrappedObject->drawChord(rect, a, alen)); + return ( theWrappedObject->indexOf(t, from)); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const { - ( theWrappedObject->drawChord(x, y, w, h, a, alen)); + return ( theWrappedObject->intersected(r)); } -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) +bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const { - ( theWrappedObject->drawConvexPolygon(polygon)); + return ( theWrappedObject->intersects(r)); } -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) +bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawConvexPolygon(polygon)); + return ( theWrappedObject->isClosed()); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) +bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawEllipse(center, rx, ry)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const { - ( theWrappedObject->drawEllipse(center, rx, ry)); + return ( theWrappedObject->isSharedWith(other)); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) +const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawEllipse(r)); + return &( theWrappedObject->last()); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) +int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const { - ( theWrappedObject->drawEllipse(r)); + return ( theWrappedObject->lastIndexOf(t, from)); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) +int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawEllipse(x, y, w, h)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) +QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const { - ( theWrappedObject->drawGlyphRun(position, glyphRun)); + return ( theWrappedObject->mid(pos, len)); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) +void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) { - ( theWrappedObject->drawImage(p, image)); + ( theWrappedObject->move(from, to)); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) +bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const { - ( theWrappedObject->drawImage(p, image, sr, flags)); + return ( (*theWrappedObject)!= v); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) { - ( theWrappedObject->drawImage(p, image)); + return ( (*theWrappedObject)* m); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) { - ( theWrappedObject->drawImage(p, image, sr, flags)); + return ( (*theWrappedObject)* m); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) +void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) { - ( theWrappedObject->drawImage(r, image)); + stream << (*theWrappedObject); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) +QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) { - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) +bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const { - ( theWrappedObject->drawImage(r, image)); + return ( (*theWrappedObject)== v); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) +void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) { - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); + stream >> (*theWrappedObject); } -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx, int sy, int sw, int sh, Qt::ImageConversionFlags flags) +void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); + ( theWrappedObject->pop_back()); } -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) +void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawLine(line)); + ( theWrappedObject->pop_front()); } -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) +void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) { - ( theWrappedObject->drawLine(line)); + ( theWrappedObject->prepend(t)); } -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) +void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) { - ( theWrappedObject->drawLine(p1, p2)); + ( theWrappedObject->push_back(t)); } -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) +void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) { - ( theWrappedObject->drawLine(p1, p2)); + ( theWrappedObject->push_front(t)); } -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) { - ( theWrappedObject->drawLine(x1, y1, x2, y2)); + ( theWrappedObject->remove(i)); } -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) { - ( theWrappedObject->drawLines(lines)); + ( theWrappedObject->remove(i, n)); } -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) { - ( theWrappedObject->drawLines(lines)); + return ( theWrappedObject->removeAll(t)); } -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) { - ( theWrappedObject->drawLines(pointPairs)); + ( theWrappedObject->removeAt(i)); } -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawLines(pointPairs)); + ( theWrappedObject->removeFirst()); } -void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) +void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawPath(path)); + ( theWrappedObject->removeLast()); } -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) +bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) { - ( theWrappedObject->drawPicture(p, picture)); + return ( theWrappedObject->removeOne(t)); } -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) +void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) { - ( theWrappedObject->drawPicture(p, picture)); + ( theWrappedObject->replace(i, t)); } -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) +void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) { - ( theWrappedObject->drawPicture(x, y, picture)); + ( theWrappedObject->reserve(size)); } -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) { - ( theWrappedObject->drawPie(arg__1, a, alen)); + ( theWrappedObject->resize(size)); } -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) { - ( theWrappedObject->drawPie(rect, a, alen)); + ( theWrappedObject->setSharable(sharable)); } -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawPie(x, y, w, h, a, alen)); + ( theWrappedObject->shrink_to_fit()); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) +int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawPixmap(p, pm)); + return ( theWrappedObject->size()); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) +void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawPixmap(p, pm, sr)); + ( theWrappedObject->squeeze()); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) +bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) const { - ( theWrappedObject->drawPixmap(p, pm)); + return ( theWrappedObject->startsWith(t)); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) +QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const { - ( theWrappedObject->drawPixmap(p, pm, sr)); + return ( theWrappedObject->subtracted(r)); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) +void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) { - ( theWrappedObject->drawPixmap(r, pm)); + ( theWrappedObject->swap(other)); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) +void PythonQtWrapper_QPolygonF::swapItemsAt(QPolygonF* theWrappedObject, int i, int j) { - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); + ( theWrappedObject->swapItemsAt(i, j)); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) +QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) { - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); + return ( theWrappedObject->takeAt(i)); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) +QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawPixmap(x, y, pm)); + return ( theWrappedObject->takeFirst()); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) +QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) { - ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); + return ( theWrappedObject->takeLast()); } -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) +QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawPixmap(x, y, w, h, pm)); + return ( theWrappedObject->toList()); } -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) +QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const { - ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); + return ( theWrappedObject->toPolygon()); } -void PythonQtWrapper_QPainter::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) { - ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); + ( theWrappedObject->translate(offset)); } -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) { - ( theWrappedObject->drawPoint(p)); + ( theWrappedObject->translate(dx, dy)); } -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, const QPointF& offset) const { - ( theWrappedObject->drawPoint(pt)); + return ( theWrappedObject->translated(offset)); } -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const { - ( theWrappedObject->drawPoint(x, y)); + return ( theWrappedObject->translated(dx, dy)); } -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) +QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const { - ( theWrappedObject->drawPoints(points)); + return ( theWrappedObject->united(r)); } -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const { - ( theWrappedObject->drawPoints(points)); + return ( theWrappedObject->value(i)); } -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const { - ( theWrappedObject->drawPolygon(polygon, fillRule)); + return ( theWrappedObject->value(i, defaultValue)); } -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) -{ - ( theWrappedObject->drawPolygon(polygon, fillRule)); +QString PythonQtWrapper_QPolygonF::py_toString(QPolygonF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -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)); +PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) +void PythonQtShell_QPrintDialog::accept() { - ( theWrappedObject->drawRect(rect)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) -{ - ( theWrappedObject->drawRect(x1, y1, w, h)); + QPrintDialog::accept(); } - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) { - ( theWrappedObject->drawRects(rectangles)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) -{ - ( theWrappedObject->drawRects(rectangles)); + QPrintDialog::actionEvent(event0); } - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) +void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { - ( theWrappedObject->drawRoundRect(r, xround, yround)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) -{ - ( theWrappedObject->drawRoundRect(r, xround, yround)); + QPrintDialog::changeEvent(arg__1); } - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) +void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) { - ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); + QPrintDialog::childEvent(event0); } - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); +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(); + } + } } - -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)); + QPrintDialog::closeEvent(arg__1); } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) +void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) -{ - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); + QPrintDialog::contextMenuEvent(arg__1); } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) +void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) { - ( theWrappedObject->drawStaticText(left, top, staticText)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) -{ - ( theWrappedObject->drawText(p, s)); + QPrintDialog::customEvent(event0); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) +int PythonQtShell_QPrintDialog::devType() const { - ( theWrappedObject->drawText(p, s)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) -{ - ( theWrappedObject->drawText(r, flags, text, br)); + return QPrintDialog::devType(); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) +void PythonQtShell_QPrintDialog::done(int result0) { - ( theWrappedObject->drawText(r, text, o)); +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(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) -{ - ( theWrappedObject->drawText(r, flags, text, br)); + QPrintDialog::done(result0); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) +void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->drawText(x, y, s)); +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(); + } + } } - -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)); + QPrintDialog::dragEnterEvent(event0); } - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) +void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->drawTextItem(p, ti)); +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(); + } + } } - -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)); + QPrintDialog::dragLeaveEvent(event0); } - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) +void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); +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(); + } + } } - -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)); + QPrintDialog::dragMoveEvent(event0); } - -bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) +void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->end()); +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(); + } + } } - -void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) -{ - ( theWrappedObject->endNativePainting()); + QPrintDialog::dropEvent(event0); } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) +void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) { - ( theWrappedObject->eraseRect(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*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) -{ - ( theWrappedObject->eraseRect(arg__1)); + QPrintDialog::enterEvent(event0); } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) +bool PythonQtShell_QPrintDialog::event(QEvent* event0) { - ( theWrappedObject->eraseRect(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) -{ - ( theWrappedObject->fillPath(path, brush)); + return QPrintDialog::event(event0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) +bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { - ( theWrappedObject->fillRect(arg__1, 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(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) -{ - ( theWrappedObject->fillRect(arg__1, color)); + return QPrintDialog::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) +int PythonQtShell_QPrintDialog::exec() { - ( theWrappedObject->fillRect(r, style)); +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(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(r, c)); + return QPrintDialog::exec(); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->fillRect(arg__1, arg__2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) -{ - ( theWrappedObject->fillRect(arg__1, color)); + QPrintDialog::focusInEvent(event0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) +bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { - ( theWrappedObject->fillRect(r, style)); +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(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(r, c)); + return QPrintDialog::focusNextPrevChild(next0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) +void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->fillRect(x, y, w, h, style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(x, y, w, h, c)); + QPrintDialog::focusOutEvent(event0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) +bool PythonQtShell_QPrintDialog::hasHeightForWidth() const { - ( theWrappedObject->fillRect(x, y, w, h, arg__5)); +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(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) -{ - ( theWrappedObject->fillRect(x, y, w, h, color)); + return QPrintDialog::hasHeightForWidth(); } - -const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const +int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { - return &( theWrappedObject->font()); +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(); + } + } } - -QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->fontInfo()); + return QPrintDialog::heightForWidth(arg__1); } - -QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const +void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->fontMetrics()); +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(); + } + } } - -bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->hasClipping()); + QPrintDialog::hideEvent(event0); } - -void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) +void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { - ( theWrappedObject->initFrom(device)); +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(); + } + } } - -bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); + QPrintDialog::initPainter(painter0); } - -Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const +void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { - return ( theWrappedObject->layoutDirection()); +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(); + } + } } - -qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); + QPrintDialog::inputMethodEvent(arg__1); } - -QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const +QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->paintEngine()); +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(); + } + } } - -const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->pen()); + return QPrintDialog::inputMethodQuery(arg__1); } - -QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) +void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { - return (QPainter::redirected(device, offset)); +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(); + } + } } - -QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->renderHints()); + QPrintDialog::keyPressEvent(arg__1); } - -void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) +void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->resetMatrix()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) -{ - ( theWrappedObject->resetTransform()); + QPrintDialog::keyReleaseEvent(event0); } - -void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) +void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) { - ( theWrappedObject->restore()); +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(); + } + } } - -void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) -{ - (QPainter::restoreRedirected(device)); + QPrintDialog::leaveEvent(event0); } - -void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) +int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->rotate(a)); +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(); + } + } } - -void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) -{ - ( theWrappedObject->save()); + return QPrintDialog::metric(arg__1); } - -void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) +QSize PythonQtShell_QPrintDialog::minimumSizeHint() const { - ( theWrappedObject->scale(sx, sy)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) -{ - ( theWrappedObject->setBackground(bg)); + return QPrintDialog::minimumSizeHint(); } - -void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) +void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) { - ( theWrappedObject->setBackgroundMode(mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "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(); + } + } } - -void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBrush(brush)); + QPrintDialog::mouseDoubleClickEvent(event0); } - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) +void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) { - ( 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)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(arg__1, op)); + QPrintDialog::mouseMoveEvent(event0); } - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) +void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) { - ( theWrappedObject->setClipRect(arg__1, op)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(x, y, w, h, op)); + QPrintDialog::mousePressEvent(event0); } - -void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) +void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->setClipRegion(arg__1, op)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setClipping(enable)); + QPrintDialog::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) +void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->setCompositionMode(mode)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) -{ - ( theWrappedObject->setFont(f)); + QPrintDialog::moveEvent(event0); } - -void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) +bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setLayoutDirection(direction)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) -{ - ( theWrappedObject->setOpacity(opacity)); + return QPrintDialog::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) +QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { - ( theWrappedObject->setPen(style)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setPen(color)); + return QPrintDialog::paintEngine(); } - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) +void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) { - ( theWrappedObject->setPen(pen)); +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(); + } + } } - -void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) -{ - (QPainter::setRedirected(device, replacement, offset)); + QPrintDialog::paintEvent(event0); } - -void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { - ( theWrappedObject->setRenderHint(hint, on)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) -{ - ( theWrappedObject->setRenderHints(hints, on)); + return QPrintDialog::redirected(offset0); } - -void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +void PythonQtShell_QPrintDialog::reject() { - ( theWrappedObject->setTransform(transform, combine)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setViewTransformEnabled(enable)); + QPrintDialog::reject(); } - -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) { - ( theWrappedObject->setViewport(viewport)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setViewport(x, y, w, h)); + QPrintDialog::resizeEvent(arg__1); } - -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +void PythonQtShell_QPrintDialog::setVisible(bool visible0) { - ( theWrappedObject->setWindow(window)); +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(); + } + } } - -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setWindow(x, y, w, h)); + QPrintDialog::setVisible(visible0); } - -void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { - ( 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)); +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(); + } + } } - -bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const -{ - return ( theWrappedObject->testRenderHint(hint)); + return QPrintDialog::sharedPainter(); } - -const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) { - return &( theWrappedObject->transform()); +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(); + } + } } - -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) -{ - ( theWrappedObject->translate(offset)); + QPrintDialog::showEvent(arg__1); } - -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +QSize PythonQtShell_QPrintDialog::sizeHint() const { - ( theWrappedObject->translate(offset)); +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(); + } + } } - -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); + return QPrintDialog::sizeHint(); } - -bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->viewTransformEnabled()); +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(); + } + } } - -QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->viewport()); + QPrintDialog::tabletEvent(event0); } - -QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->window()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->worldMatrix()); + QPrintDialog::timerEvent(event0); } - -bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->worldMatrixEnabled()); +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(); + } + } } - -const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const -{ - return &( theWrappedObject->worldTransform()); + QPrintDialog::wheelEvent(event0); } - - - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPainterPath& other) +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) { -return new QPainterPath(other); } +return new PythonQtShell_QPrintDialog(printer, parent); } -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPointF& startPoint) +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) { -return new QPainterPath(startPoint); } - -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) -{ - ( theWrappedObject->addEllipse(center, rx, ry)); -} +return new PythonQtShell_QPrintDialog(parent); } -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->addEllipse(x, y, w, h)); +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; + } } - -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) -{ - ( theWrappedObject->addRect(x, y, w, h)); +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_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) { - ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); + ( theWrappedObject->open(receiver, member)); } -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const { - ( theWrappedObject->addText(x, y, f, text)); + return ( theWrappedObject->options()); } -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) +void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) { - ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); + ( theWrappedObject->setOption(option, on)); } -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) +void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) { - ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); + ( theWrappedObject->setOptions(options)); } -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) +bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const { - ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); + return ( theWrappedObject->testOption(option)); } -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->lineTo(x, y)); -} -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) -{ - ( theWrappedObject->moveTo(x, y)); -} -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) -{ - return ( (*theWrappedObject)* m); +PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) +bool PythonQtShell_QPrintEngine::abort() { - return ( (*theWrappedObject)* m); +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(); + } + } } - -void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); + return bool(); } - -void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) +int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - arg__1 >> (*theWrappedObject); +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(); + } + } } - -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) -{ - ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); + return int(); } - -void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) -{ - ( theWrappedObject->translate(offset)); -} - -QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const -{ - return ( theWrappedObject->translated(offset)); -} - -QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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)); -} - - - -QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) -{ -return new QPanGesture(parent); } - -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); } -} -int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const +bool PythonQtShell_QPrintEngine::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("newPage"); 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] = {NULL, (void*)&id0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1317,32 +1854,32 @@ if (_wrapper) { } } } - return QPdfWriter::metric(id0); + return bool(); } -bool PythonQtShell_QPdfWriter::newPage() +QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPrinter::PrinterState"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QPrinter::PrinterState returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPrinter::PrinterState*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1350,32 +1887,32 @@ if (_wrapper) { } } } - return QPdfWriter::newPage(); + return QPrinter::PrinterState(); } -QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const +QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("property"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1383,21 +1920,21 @@ if (_wrapper) { } } } - return QPdfWriter::paintEngine(); + return QVariant(); } -void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) +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("setMargins"); + static PyObject* name = PyString_FromString("setProperty"); 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] = {NULL, (void*)&m0}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1405,21 +1942,61 @@ if (_wrapper) { } } } - QPdfWriter::setMargins(m0); + +} +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_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) +void PythonQtShell_QPrintPreviewDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); + static PyObject* name = PyString_FromString("accept"); 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] = {NULL, (void*)&size0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1427,21 +2004,21 @@ if (_wrapper) { } } } - QPdfWriter::setPageSize(size0); + QPrintPreviewDialog::accept(); } -void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) +void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1449,144 +2026,307 @@ if (_wrapper) { } } } - QPdfWriter::setPageSizeMM(size0); + QPrintPreviewDialog::actionEvent(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; +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(); + } } } -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; + QPrintPreviewDialog::changeEvent(arg__1); } -void PythonQtWrapper_QPdfWriter::addFileAttachment(QPdfWriter* theWrappedObject, const QString& fileName, const QByteArray& data, const QString& mimeType) +void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) { - ( theWrappedObject->addFileAttachment(fileName, data, mimeType)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->creator()); + QPrintPreviewDialog::childEvent(event0); } - -QByteArray PythonQtWrapper_QPdfWriter::documentXmpMetadata(QPdfWriter* theWrappedObject) const +void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { - return ( theWrappedObject->documentXmpMetadata()); +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(); + } + } } - -int PythonQtWrapper_QPdfWriter::metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const -{ - return ( ((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->promoted_metric(id)); + QPrintPreviewDialog::closeEvent(arg__1); } - -bool PythonQtWrapper_QPdfWriter::newPage(QPdfWriter* theWrappedObject) +void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) { - return ( theWrappedObject->newPage()); +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(); + } + } } - -QPaintEngine* PythonQtWrapper_QPdfWriter::paintEngine(QPdfWriter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->promoted_paintEngine()); + QPrintPreviewDialog::contextMenuEvent(arg__1); } - -QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const +void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) { - return ( theWrappedObject->pdfVersion()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->resolution()); + QPrintPreviewDialog::customEvent(event0); } - -void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) +int PythonQtShell_QPrintPreviewDialog::devType() const { - ( theWrappedObject->setCreator(creator)); +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(); + } + } } - -void PythonQtWrapper_QPdfWriter::setDocumentXmpMetadata(QPdfWriter* theWrappedObject, const QByteArray& xmpMetadata) -{ - ( theWrappedObject->setDocumentXmpMetadata(xmpMetadata)); + return QPrintPreviewDialog::devType(); } - -void PythonQtWrapper_QPdfWriter::setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m) +void PythonQtShell_QPrintPreviewDialog::done(int result0) { - ( theWrappedObject->setMargins(m)); +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(); + } + } } - -void PythonQtWrapper_QPdfWriter::setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size) -{ - ( theWrappedObject->setPageSize(size)); + QPrintPreviewDialog::done(result0); } - -void PythonQtWrapper_QPdfWriter::setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size) +void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setPageSizeMM(size)); +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(); + } + } } - -void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) + QPrintPreviewDialog::dragEnterEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setPdfVersion(version)); +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(); + } + } } - -void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) + QPrintPreviewDialog::dragLeaveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) { - ( theWrappedObject->setResolution(resolution)); +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(); + } + } } - -void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) + QPrintPreviewDialog::dragMoveEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) { - ( theWrappedObject->setTitle(title)); +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(); + } + } } - -QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const + QPrintPreviewDialog::dropEvent(event0); +} +void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) { - return ( theWrappedObject->title()); +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(); + } + } } - - - -PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPrintPreviewDialog::enterEvent(event0); } -bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) +bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("installIOHandler"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QString&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1594,32 +2334,32 @@ if (_wrapper) { } } } - return bool(); + return QPrintPreviewDialog::event(event0); } -bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) +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("loadPicture"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&format0, (void*)&filename1, (void*)&pic2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1627,32 +2367,32 @@ if (_wrapper) { } } } - return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); + return QPrintPreviewDialog::eventFilter(arg__1, arg__2); } -bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) +int PythonQtShell_QPrintPreviewDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("savePicture"); + static PyObject* name = PyString_FromString("exec"); 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] = {NULL, (void*)&format0, (void*)&filename1, (void*)&pic2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1660,308 +2400,54 @@ if (_wrapper) { } } } - return QPictureFormatPlugin::savePicture(format0, filename1, pic2); + return QPrintPreviewDialog::exec(); } -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)); -} - - - -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()); -} - - - -QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) -{ -return new QPinchGesture(parent); } - -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 +void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->totalScaleFactor()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPrintPreviewDialog::focusInEvent(event0); } -QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const +bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("blockBoundingRect"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&block0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1969,21 +2455,21 @@ if (_wrapper) { } } } - return QPlainTextDocumentLayout::blockBoundingRect(block0); + return QPrintPreviewDialog::focusNextPrevChild(next0); } -void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) +void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("documentChanged"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1991,32 +2477,32 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); + QPrintPreviewDialog::focusOutEvent(event0); } -QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const +bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("documentSize"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSizeF"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizeF returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSizeF*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2024,43 +2510,54 @@ if (_wrapper) { } } } - return QPlainTextDocumentLayout::documentSize(); + return QPrintPreviewDialog::hasHeightForWidth(); } -void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) +int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("draw"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextDocumentLayout::draw(arg__1, arg__2); + return QPrintPreviewDialog::heightForWidth(arg__1); } -void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) +void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawInlineObject"); + static PyObject* name = PyString_FromString("hideEvent"); 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] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2068,98 +2565,76 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); + QPrintPreviewDialog::hideEvent(event0); } -QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const +void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("frameBoundingRect"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextDocumentLayout::frameBoundingRect(arg__1); + QPrintPreviewDialog::initPainter(painter0); } -int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const +void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitTest"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); + QPrintPreviewDialog::inputMethodEvent(arg__1); } -int PythonQtShell_QPlainTextDocumentLayout::pageCount() const +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("pageCount"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2167,21 +2642,21 @@ if (_wrapper) { } } } - return QPlainTextDocumentLayout::pageCount(); + return QPrintPreviewDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("positionInlineObject"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2189,21 +2664,21 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); + QPrintPreviewDialog::keyPressEvent(arg__1); } -void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) +void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeInlineObject"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2211,97 +2686,87 @@ if (_wrapper) { } } } - QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); -} -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()); + QPrintPreviewDialog::keyReleaseEvent(event0); } - -void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) { - ( theWrappedObject->setCursorWidth(width)); +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(); + } + } } - - - -PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPrintPreviewDialog::leaveEvent(event0); } -void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* 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("actionEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::actionEvent(event0); + return QPrintPreviewDialog::metric(arg__1); } -bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const +QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canInsertFromMimeData"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&source0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2309,21 +2774,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::canInsertFromMimeData(source0); + return QPrintPreviewDialog::minimumSizeHint(); } -void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) +void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2331,21 +2796,21 @@ if (_wrapper) { } } } - QPlainTextEdit::changeEvent(e0); + QPrintPreviewDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2353,21 +2818,21 @@ if (_wrapper) { } } } - QPlainTextEdit::closeEvent(event0); + QPrintPreviewDialog::mouseMoveEvent(event0); } -void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2375,131 +2840,131 @@ if (_wrapper) { } } } - QPlainTextEdit::contextMenuEvent(e0); + QPrintPreviewDialog::mousePressEvent(event0); } -QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const +void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("createMimeDataFromSelection"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::createMimeDataFromSelection(); + QPrintPreviewDialog::mouseReleaseEvent(event0); } -int PythonQtShell_QPlainTextEdit::devType() const +void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("moveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::devType(); + QPrintPreviewDialog::moveEvent(event0); } -void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) +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("doSetTextCursor"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&cursor0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::doSetTextCursor(cursor0); + return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) +QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&e0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::dragEnterEvent(e0); + return QPrintPreviewDialog::paintEngine(); } -void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) +void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2507,43 +2972,54 @@ if (_wrapper) { } } } - QPlainTextEdit::dragLeaveEvent(e0); + QPrintPreviewDialog::paintEvent(event0); } -void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) +QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::dragMoveEvent(e0); + return QPrintPreviewDialog::redirected(offset0); } -void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) +void PythonQtShell_QPrintPreviewDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("reject"); 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] = {NULL, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2551,21 +3027,21 @@ if (_wrapper) { } } } - QPlainTextEdit::dropEvent(e0); + QPrintPreviewDialog::reject(); } -void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2573,65 +3049,54 @@ if (_wrapper) { } } } - QPlainTextEdit::enterEvent(event0); + QPrintPreviewDialog::resizeEvent(arg__1); } -bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) +void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::event(e0); + QPrintPreviewDialog::setVisible(visible0); } -bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2639,21 +3104,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::eventFilter(arg__1, arg__2); + return QPrintPreviewDialog::sharedPainter(); } -void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2661,32 +3126,32 @@ if (_wrapper) { } } } - QPlainTextEdit::focusInEvent(e0); + QPrintPreviewDialog::showEvent(arg__1); } -bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) +QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2694,21 +3159,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::focusNextPrevChild(next0); + return QPrintPreviewDialog::sizeHint(); } -void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2716,87 +3181,43 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextEdit::hasHeightForWidth(); + QPrintPreviewDialog::tabletEvent(event0); } -int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const +void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::heightForWidth(arg__1); + QPrintPreviewDialog::timerEvent(event0); } -void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2804,98 +3225,58 @@ if (_wrapper) { } } } - QPlainTextEdit::hideEvent(event0); + QPrintPreviewDialog::wheelEvent(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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QPlainTextEdit::initPainter(painter0); +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 PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) { -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] = {NULL, (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); + ( theWrappedObject->open(receiver, member)); } -QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const + +QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) { -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] = {NULL, (void*)&property0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->printer()); } - return QPlainTextEdit::inputMethodQuery(property0); + + + +PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertFromMimeData"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&source0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2903,21 +3284,21 @@ if (_wrapper) { } } } - QPlainTextEdit::insertFromMimeData(source0); + QPrintPreviewWidget::actionEvent(event0); } -void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2925,21 +3306,21 @@ if (_wrapper) { } } } - QPlainTextEdit::keyPressEvent(e0); + QPrintPreviewWidget::changeEvent(arg__1); } -void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2947,21 +3328,21 @@ if (_wrapper) { } } } - QPlainTextEdit::keyReleaseEvent(e0); + QPrintPreviewWidget::childEvent(event0); } -void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2969,98 +3350,76 @@ if (_wrapper) { } } } - QPlainTextEdit::leaveEvent(event0); + QPrintPreviewWidget::closeEvent(event0); } -QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) +void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("loadResource"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL, (void*)&type0, (void*)&name1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::loadResource(type0, name1); + QPrintPreviewWidget::contextMenuEvent(event0); } -int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::metric(arg__1); + QPrintPreviewWidget::customEvent(event0); } -QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const +int PythonQtShell_QPrintPreviewWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3068,21 +3427,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::minimumSizeHint(); + return QPrintPreviewWidget::devType(); } -void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3090,21 +3449,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseDoubleClickEvent(e0); + QPrintPreviewWidget::dragEnterEvent(event0); } -void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3112,21 +3471,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseMoveEvent(e0); + QPrintPreviewWidget::dragLeaveEvent(event0); } -void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3134,21 +3493,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mousePressEvent(e0); + QPrintPreviewWidget::dragMoveEvent(event0); } -void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3156,21 +3515,21 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseReleaseEvent(e0); + QPrintPreviewWidget::dropEvent(event0); } -void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3178,32 +3537,32 @@ if (_wrapper) { } } } - QPlainTextEdit::moveEvent(event0); + QPrintPreviewWidget::enterEvent(event0); } -bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3211,32 +3570,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::nativeEvent(eventType0, message1, result2); + return QPrintPreviewWidget::event(event0); } -QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3244,21 +3603,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::paintEngine(); + return QPrintPreviewWidget::eventFilter(watched0, event1); } -void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) +void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3266,32 +3625,32 @@ if (_wrapper) { } } } - QPlainTextEdit::paintEvent(e0); + QPrintPreviewWidget::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const +bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3299,21 +3658,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::redirected(offset0); + return QPrintPreviewWidget::focusNextPrevChild(next0); } -void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3321,65 +3680,87 @@ if (_wrapper) { } } } - QPlainTextEdit::resizeEvent(e0); + QPrintPreviewWidget::focusOutEvent(event0); } -void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) +bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::scrollContentsBy(dx0, dy1); + return QPrintPreviewWidget::hasHeightForWidth(); } -void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) +int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::setVisible(visible0); + return QPrintPreviewWidget::heightForWidth(arg__1); } -void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) +void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setupViewport"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3387,54 +3768,43 @@ if (_wrapper) { } } } - QPlainTextEdit::setupViewport(viewport0); + QPrintPreviewWidget::hideEvent(event0); } -QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const +void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + 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(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::sharedPainter(); + QPrintPreviewWidget::initPainter(painter0); } -void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3442,32 +3812,32 @@ if (_wrapper) { } } } - QPlainTextEdit::showEvent(arg__1); + QPrintPreviewWidget::inputMethodEvent(arg__1); } -QSize PythonQtShell_QPlainTextEdit::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3475,21 +3845,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::sizeHint(); + return QPrintPreviewWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3497,21 +3867,21 @@ if (_wrapper) { } } } - QPlainTextEdit::tabletEvent(event0); + QPrintPreviewWidget::keyPressEvent(event0); } -void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) +void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3519,32 +3889,54 @@ if (_wrapper) { } } } - QPlainTextEdit::timerEvent(e0); + QPrintPreviewWidget::keyReleaseEvent(event0); } -bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3552,32 +3944,32 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportEvent(arg__1); + return QPrintPreviewWidget::metric(arg__1); } -QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const +QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3585,21 +3977,21 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportSizeHint(); + return QPrintPreviewWidget::minimumSizeHint(); } -void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3607,442 +3999,175 @@ if (_wrapper) { } } } - 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)); + QPrintPreviewWidget::mouseDoubleClickEvent(event0); } - -bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const +void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->backgroundVisible()); +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(); + } + } } - -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); + QPrintPreviewWidget::mouseMoveEvent(event0); } - -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingRect(block)); +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(); + } + } } - -int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->blockCount()); + QPrintPreviewWidget::mousePressEvent(event0); } - -bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const +void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); +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(); + } + } } - -bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->canPaste()); + QPrintPreviewWidget::mouseReleaseEvent(event0); } - -bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const +void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->centerOnScroll()); +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(); + } + } } - -QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); + QPrintPreviewWidget::moveEvent(event0); } - -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()); -} - -void PythonQtWrapper_QPlainTextEdit::timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e) -{ - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_timerEvent(e)); -} - -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()); -} - - - -PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPrintDialog::accept() +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("accept"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::accept(); + return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) +QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::actionEvent(event0); + return QPrintPreviewWidget::paintEngine(); } -void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4050,43 +4175,54 @@ if (_wrapper) { } } } - QPrintDialog::changeEvent(arg__1); + QPrintPreviewWidget::paintEvent(event0); } -void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::closeEvent(arg__1); + return QPrintPreviewWidget::redirected(offset0); } -void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4094,32 +4230,54 @@ if (_wrapper) { } } } - QPrintDialog::contextMenuEvent(arg__1); + QPrintPreviewWidget::resizeEvent(event0); } -int PythonQtShell_QPrintDialog::devType() const +void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + 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); - int returnValue{}; - void* args[1] = {NULL}; + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4127,21 +4285,21 @@ if (_wrapper) { } } } - return QPrintDialog::devType(); + return QPrintPreviewWidget::sharedPainter(); } -void PythonQtShell_QPrintDialog::done(int result0) +void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4149,43 +4307,54 @@ if (_wrapper) { } } } - QPrintDialog::done(result0); + QPrintPreviewWidget::showEvent(event0); } -void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) +QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("getSizeHint"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::dragEnterEvent(event0); + return QPrintPreviewWidget::sizeHint(); } -void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4193,21 +4362,21 @@ if (_wrapper) { } } } - QPrintDialog::dragLeaveEvent(event0); + QPrintPreviewWidget::tabletEvent(event0); } -void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4215,21 +4384,21 @@ if (_wrapper) { } } } - QPrintDialog::dragMoveEvent(event0); + QPrintPreviewWidget::timerEvent(event0); } -void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4237,87 +4406,144 @@ if (_wrapper) { } } } - QPrintDialog::dropEvent(event0); + QPrintPreviewWidget::wheelEvent(event0); } -void PythonQtShell_QPrintDialog::enterEvent(QEvent* 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("enterEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::enterEvent(event0); + return QPrinter::devType(); } -bool PythonQtShell_QPrintDialog::event(QEvent* event0) +void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintDialog::event(event0); + QPrinter::initPainter(painter0); } -bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +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("eventFilter"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4325,32 +4551,32 @@ if (_wrapper) { } } } - return QPrintDialog::eventFilter(arg__1, arg__2); + return QPrinter::metric(arg__1); } -int PythonQtShell_QPrintDialog::exec() +bool PythonQtShell_QPrinter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4358,54 +4584,65 @@ if (_wrapper) { } } } - return QPrintDialog::exec(); + return QPrinter::newPage(); } -void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) +QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintDialog::focusInEvent(event0); + return QPrinter::paintEngine(); } -bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) +QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4413,109 +4650,21 @@ if (_wrapper) { } } } - return QPrintDialog::focusNextPrevChild(next0); + return QPrinter::redirected(offset0); } -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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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) +void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4523,21 +4672,21 @@ if (_wrapper) { } } } - QPrintDialog::hideEvent(event0); + QPrinter::setMargins(m0); } -void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4545,21 +4694,21 @@ if (_wrapper) { } } } - QPrintDialog::initPainter(painter0); + QPrinter::setPageSize(arg__1); } -void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* 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("inputMethodEvent"); + static PyObject* name = PyString_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4567,32 +4716,32 @@ if (_wrapper) { } } } - QPrintDialog::inputMethodEvent(arg__1); + QPrinter::setPageSizeMM(size0); } -QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPainter* PythonQtShell_QPrinter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4600,861 +4749,511 @@ if (_wrapper) { } } } - return QPrintDialog::inputMethodQuery(arg__1); + return QPrinter::sharedPainter(); } -void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +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) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&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); + return ( theWrappedObject->abort()); } -void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) + +int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->actualNumCopies()); } - QPrintDialog::keyReleaseEvent(event0); + +bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->collateCopies()); } -void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) + +QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->colorMode()); } - QPrintDialog::leaveEvent(event0); + +int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->copyCount()); } -int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->creator()); } - return QPrintDialog::metric(arg__1); + +QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->docName()); } -QSize PythonQtShell_QPrintDialog::minimumSizeHint() const + +bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->doubleSidedPrinting()); } - return QPrintDialog::minimumSizeHint(); + +QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->duplex()); } -void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->fontEmbeddingEnabled()); } - QPrintDialog::mouseDoubleClickEvent(event0); + +int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->fromPage()); } -void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->fullPage()); } - QPrintDialog::mouseMoveEvent(event0); + +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)); } -void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - QPrintDialog::mousePressEvent(event0); + +int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->numCopies()); } -void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) + +QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->orientation()); } - QPrintDialog::mouseReleaseEvent(event0); + +QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->outputFileName()); } -void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) + +QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->outputFormat()); } - QPrintDialog::moveEvent(event0); + +QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pageOrder()); } -bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->pageRect()); } - return QPrintDialog::nativeEvent(eventType0, message1, result2); + +QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +{ + return ( theWrappedObject->pageRect(arg__1)); } -QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pageSize()); } - return QPrintDialog::paintEngine(); + +QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperName()); } -void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) + +QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->paperRect()); } - QPrintDialog::paintEvent(event0); + +QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +{ + return ( theWrappedObject->paperRect(arg__1)); } -QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) 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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->paperSize()); } - return QPrintDialog::redirected(offset0); + +QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const +{ + return ( theWrappedObject->paperSize(unit)); } -void PythonQtShell_QPrintDialog::reject() + +QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintDialog::reject(); + return ( theWrappedObject->paperSource()); } -void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) + +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pdfVersion()); } - QPrintDialog::resizeEvent(arg__1); + +QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printEngine()); } -void PythonQtShell_QPrintDialog::setVisible(bool visible0) + +QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->printProgram()); } - QPrintDialog::setVisible(visible0); + +QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printRange()); } -QPainter* PythonQtShell_QPrintDialog::sharedPainter() const + +QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->printerName()); } - return QPrintDialog::sharedPainter(); + +QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); } -void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) + +int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->resolution()); } - QPrintDialog::showEvent(arg__1); + +void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) +{ + ( theWrappedObject->setCollateCopies(collate)); } -QSize PythonQtShell_QPrintDialog::sizeHint() const + +void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setColorMode(arg__1)); } - return QPrintDialog::sizeHint(); + +void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setCopyCount(arg__1)); } -void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& 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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCreator(arg__1)); } - QPrintDialog::tabletEvent(event0); + +void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDocName(arg__1)); } -void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) + +void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDoubleSidedPrinting(enable)); } - QPrintDialog::wheelEvent(event0); + +void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) +{ + ( theWrappedObject->setDuplex(duplex)); } -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); } +void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) +{ + ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); +} -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; - } +void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setFontEmbeddingEnabled(enable)); } -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_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +{ + ( theWrappedObject->setFromTo(fromPage, toPage)); } -void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) + +void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) { - ( theWrappedObject->open(receiver, member)); + ( theWrappedObject->setFullPage(arg__1)); } -QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const +void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) { - return ( theWrappedObject->options()); + ( theWrappedObject->setNumCopies(arg__1)); } -void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) +void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) { - ( theWrappedObject->setOption(option, on)); + ( theWrappedObject->setOrientation(arg__1)); } -void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) { - ( theWrappedObject->setOptions(options)); + ( theWrappedObject->setOutputFileName(arg__1)); } -bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) { - return ( theWrappedObject->testOption(option)); + ( 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)); +} -PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) +{ + ( theWrappedObject->setPaperName(paperName)); } -bool PythonQtShell_QPrintEngine::abort() + +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPaperSize(arg__1)); } - return bool(); + +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) +{ + ( theWrappedObject->setPaperSize(paperSize, unit)); } -int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPaperSource(arg__1)); } - return int(); + +void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +{ + ( theWrappedObject->setPdfVersion(version)); } -bool PythonQtShell_QPrintEngine::newPage() + +void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPrintProgram(arg__1)); } - return bool(); + +void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) +{ + ( theWrappedObject->setPrintRange(range)); } -QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const + +void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); - } else { - returnValue = *((QPrinter::PrinterState*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPrinterName(arg__1)); } - return QPrinter::PrinterState(); + +void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setResolution(arg__1)); } -QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const + +void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) { -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] = {NULL, (void*)&key0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWinPageSize(winPageSize)); } - return QVariant(); + +QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->supportedResolutions()); } -void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) + +bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const { -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] = {NULL, (void*)&key0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->supportsMultipleCopies()); } - + +int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->toPage()); } -QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() + +int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->winPageSize()); +} + + + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo() { -return new PythonQtShell_QPrintEngine(); } +return new QPrinterInfo(); } -bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) +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 ( theWrappedObject->abort()); + return (QPrinterInfo::availablePrinterNames()); } -int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() { - return ( theWrappedObject->metric(arg__1)); + return (QPrinterInfo::availablePrinters()); } -bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) +QPrinter::ColorMode PythonQtWrapper_QPrinterInfo::defaultColorMode(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->newPage()); + return ( theWrappedObject->defaultColorMode()); } -QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const +QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->printerState()); + return ( theWrappedObject->defaultDuplexMode()); } -QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const +QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->property(key)); + return ( theWrappedObject->defaultPageSize()); } -void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() { - ( theWrappedObject->setProperty(key, value)); + return (QPrinterInfo::defaultPrinter()); } +QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() +{ + return (QPrinterInfo::defaultPrinterName()); +} +QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} -PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); } -void PythonQtShell_QPrintPreviewDialog::accept() + +bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const { -if (_wrapper) { + 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("accept"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5462,21 +5261,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::accept(); + QProgressBar::actionEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5484,21 +5283,21 @@ if (_wrapper) { } } } - QPrintPreviewDialog::actionEvent(event0); + QProgressBar::changeEvent(arg__1); } -void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5506,9 +5305,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::changeEvent(arg__1); + QProgressBar::childEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5518,9 +5317,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5528,9 +5327,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::closeEvent(arg__1); + QProgressBar::closeEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5540,9 +5339,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5550,64 +5349,64 @@ if (_wrapper) { } } } - QPrintPreviewDialog::contextMenuEvent(arg__1); + QProgressBar::contextMenuEvent(event0); } -int PythonQtShell_QPrintPreviewDialog::devType() const +void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::devType(); + QProgressBar::customEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::done(int result0) +int PythonQtShell_QProgressBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("done"); + 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(2, argumentList); - void* args[2] = {NULL, (void*)&result0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::done(result0); + return QProgressBar::devType(); } -void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5617,9 +5416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5627,9 +5426,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dragEnterEvent(event0); + QProgressBar::dragEnterEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5639,9 +5438,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5649,9 +5448,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dragLeaveEvent(event0); + QProgressBar::dragLeaveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5661,9 +5460,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5671,9 +5470,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dragMoveEvent(event0); + QProgressBar::dragMoveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5683,9 +5482,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5693,9 +5492,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dropEvent(event0); + QProgressBar::dropEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) +void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5705,9 +5504,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5715,9 +5514,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::enterEvent(event0); + QProgressBar::enterEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) +bool PythonQtShell_QProgressBar::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5728,19 +5527,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5748,9 +5547,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::event(event0); + return QProgressBar::event(e0); } -bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5761,52 +5560,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5814,9 +5580,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::exec(); + return QProgressBar::eventFilter(watched0, event1); } -void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5826,9 +5592,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5836,9 +5602,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::focusInEvent(event0); + QProgressBar::focusInEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5849,19 +5615,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5869,9 +5635,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::focusNextPrevChild(next0); + return QProgressBar::focusNextPrevChild(next0); } -void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5881,9 +5647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5891,9 +5657,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::focusOutEvent(event0); + QProgressBar::focusOutEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const +bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5904,19 +5670,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5924,9 +5690,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::hasHeightForWidth(); + return QProgressBar::hasHeightForWidth(); } -int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const +int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5937,19 +5703,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5957,9 +5723,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::heightForWidth(arg__1); + return QProgressBar::heightForWidth(arg__1); } -void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5969,9 +5735,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5979,9 +5745,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::hideEvent(event0); + QProgressBar::hideEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5991,9 +5757,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6001,9 +5767,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::initPainter(painter0); + QProgressBar::initPainter(painter0); } -void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6013,9 +5779,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6023,9 +5789,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::inputMethodEvent(arg__1); + QProgressBar::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6036,19 +5802,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6056,9 +5822,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::inputMethodQuery(arg__1); + return QProgressBar::inputMethodQuery(arg__1); } -void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6068,9 +5834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6078,9 +5844,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::keyPressEvent(arg__1); + QProgressBar::keyPressEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6090,9 +5856,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6100,9 +5866,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::keyReleaseEvent(event0); + QProgressBar::keyReleaseEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6112,9 +5878,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6122,9 +5888,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::leaveEvent(event0); + QProgressBar::leaveEvent(event0); } -int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6135,19 +5901,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6155,9 +5921,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::metric(arg__1); + return QProgressBar::metric(arg__1); } -QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const +QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6168,19 +5934,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6188,9 +5954,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::minimumSizeHint(); + return QProgressBar::minimumSizeHint(); } -void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6200,9 +5966,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6210,9 +5976,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseDoubleClickEvent(event0); + QProgressBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6222,9 +5988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6232,9 +5998,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseMoveEvent(event0); + QProgressBar::mouseMoveEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6244,9 +6010,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6254,9 +6020,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mousePressEvent(event0); + QProgressBar::mousePressEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6266,9 +6032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6276,9 +6042,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseReleaseEvent(event0); + QProgressBar::mouseReleaseEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6288,9 +6054,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6298,9 +6064,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::moveEvent(event0); + QProgressBar::moveEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6311,19 +6077,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6331,9 +6097,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); + return QProgressBar::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const +QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6344,19 +6110,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6364,9 +6130,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::paintEngine(); + return QProgressBar::paintEngine(); } -void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6376,9 +6142,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6386,9 +6152,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::paintEvent(event0); + QProgressBar::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6399,19 +6165,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6419,31 +6185,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintPreviewDialog::reject(); + return QProgressBar::redirected(offset0); } -void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6453,9 +6197,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6463,9 +6207,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::resizeEvent(arg__1); + QProgressBar::resizeEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) +void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6475,9 +6219,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6485,9 +6229,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::setVisible(visible0); + QProgressBar::setVisible(visible0); } -QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const +QPainter* PythonQtShell_QProgressBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6498,19 +6242,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6518,9 +6262,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::sharedPainter(); + return QProgressBar::sharedPainter(); } -void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6530,9 +6274,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6540,9 +6284,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::showEvent(arg__1); + QProgressBar::showEvent(event0); } -QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const +QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6553,19 +6297,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6573,9 +6317,9 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::sizeHint(); + return QProgressBar::sizeHint(); } -void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6585,9 +6329,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6595,80 +6339,54 @@ if (_wrapper) { } } } - QPrintPreviewDialog::tabletEvent(event0); + QProgressBar::tabletEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) +QString PythonQtShell_QProgressBar::text() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("text"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QProgressBar::text(); } -void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6676,21 +6394,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::actionEvent(event0); + QProgressBar::timerEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) +void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6698,98 +6416,139 @@ if (_wrapper) { } } } - QPrintPreviewWidget::changeEvent(arg__1); + QProgressBar::wheelEvent(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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QPrintPreviewWidget::closeEvent(event0); +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; } -void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) +Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const { -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] = {NULL, (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); + return ( theWrappedObject->alignment()); } -int PythonQtShell_QPrintPreviewWidget::devType() const + +QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->format()); } - return QPrintPreviewWidget::devType(); + +void PythonQtWrapper_QProgressBar::initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const +{ + ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) + +bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE + 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("dragEnterEvent"); + static PyObject* name = PyString_FromString("accept"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6797,21 +6556,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragEnterEvent(event0); + QProgressDialog::accept(); } -void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6819,21 +6578,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragLeaveEvent(event0); + QProgressDialog::actionEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6841,21 +6600,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragMoveEvent(event0); + QProgressDialog::changeEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6863,21 +6622,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dropEvent(event0); + QProgressDialog::childEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6885,54 +6644,43 @@ if (_wrapper) { } } } - QPrintPreviewWidget::enterEvent(event0); + QProgressDialog::closeEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) +void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::event(event0); + QProgressDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6940,32 +6688,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusInEvent(event0); + QProgressDialog::customEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) +int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&next0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6973,21 +6721,21 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::focusNextPrevChild(next0); + return QProgressDialog::devType(); } -void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6995,87 +6743,65 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusOutEvent(event0); + QProgressDialog::done(arg__1); } -bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const +void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::hasHeightForWidth(); + QProgressDialog::dragEnterEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const +void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::heightForWidth(arg__1); + QProgressDialog::dragLeaveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) +void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7083,21 +6809,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::hideEvent(event0); + QProgressDialog::dragMoveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7105,21 +6831,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::initPainter(painter0); + QProgressDialog::dropEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7127,32 +6853,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::inputMethodEvent(arg__1); + QProgressDialog::enterEvent(event0); } -QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7160,65 +6886,87 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::inputMethodQuery(arg__1); + return QProgressDialog::event(event0); } -void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* 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("keyPressEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::keyPressEvent(event0); + return QProgressDialog::eventFilter(arg__1, arg__2); } -void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) +int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::keyReleaseEvent(event0); + return QProgressDialog::exec(); } -void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7226,32 +6974,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::leaveEvent(event0); + QProgressDialog::focusInEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7259,32 +7007,54 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::metric(arg__1); + return QProgressDialog::focusNextPrevChild(next0); } -QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const +void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + 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); - QSize returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7292,43 +7062,54 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::minimumSizeHint(); + return QProgressDialog::hasHeightForWidth(); } -void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) +int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::mouseDoubleClickEvent(event0); + return QProgressDialog::heightForWidth(arg__1); } -void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7336,21 +7117,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mouseMoveEvent(event0); + QProgressDialog::hideEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7358,21 +7139,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mousePressEvent(event0); + QProgressDialog::initPainter(painter0); } -void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7380,109 +7161,98 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mouseReleaseEvent(event0); + QProgressDialog::inputMethodEvent(arg__1); } -void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) +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("moveEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::moveEvent(event0); + return QProgressDialog::inputMethodQuery(arg__1); } -bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); + QProgressDialog::keyPressEvent(arg__1); } -QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const +void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::paintEngine(); + QProgressDialog::keyReleaseEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7490,32 +7260,32 @@ if (_wrapper) { } } } - QPrintPreviewWidget::paintEvent(event0); + QProgressDialog::leaveEvent(event0); } -QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7523,43 +7293,54 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::redirected(offset0); + return QProgressDialog::metric(arg__1); } -void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) +QSize PythonQtShell_QProgressDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::resizeEvent(event0); + return QProgressDialog::minimumSizeHint(); } -void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) +void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7567,54 +7348,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::setVisible(visible0); + QProgressDialog::mouseDoubleClickEvent(event0); } -QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const +void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7622,54 +7370,21 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrintPreviewWidget::sizeHint(); + QProgressDialog::mouseMoveEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7677,21 +7392,21 @@ if (_wrapper) { } } } - QPrintPreviewWidget::tabletEvent(event0); + QProgressDialog::mousePressEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7699,111 +7414,21 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrinter::devType(); + QProgressDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const +void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7811,32 +7436,32 @@ if (_wrapper) { } } } - QPrinter::initPainter(painter0); + QProgressDialog::moveEvent(event0); } -int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const +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("metric"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7844,32 +7469,32 @@ if (_wrapper) { } } } - return QPrinter::metric(arg__1); + return QProgressDialog::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QPrinter::newPage() +QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("newPage"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7877,42 +7502,31 @@ if (_wrapper) { } } } - return QPrinter::newPage(); + return QProgressDialog::paintEngine(); } -QPaintEngine* PythonQtShell_QPrinter::paintEngine() const +void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrinter::paintEngine(); + QProgressDialog::paintEvent(event0); } -QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -7923,19 +7537,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7943,21 +7557,21 @@ if (_wrapper) { } } } - return QPrinter::redirected(offset0); + return QProgressDialog::redirected(offset0); } -void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) +void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMargins"); + static PyObject* name = PyString_FromString("reject"); 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] = {NULL, (void*)&m0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7965,21 +7579,21 @@ if (_wrapper) { } } } - QPrinter::setMargins(m0); + QProgressDialog::reject(); } -void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) +void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSize"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7987,21 +7601,21 @@ if (_wrapper) { } } } - QPrinter::setPageSize(arg__1); + QProgressDialog::resizeEvent(event0); } -void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) +void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setPageSizeMM"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8009,9 +7623,9 @@ if (_wrapper) { } } } - QPrinter::setPageSizeMM(size0); + QProgressDialog::setVisible(visible0); } -QPainter* PythonQtShell_QPrinter::sharedPainter() const +QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8022,19 +7636,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8042,504 +7656,3255 @@ if (_wrapper) { } } } - return QPrinter::sharedPainter(); + return QProgressDialog::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) +void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { - return ( theWrappedObject->abort()); +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(); + } + } } - -int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->actualNumCopies()); + QProgressDialog::showEvent(event0); } - -bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const +QSize PythonQtShell_QProgressDialog::sizeHint() const { - return ( theWrappedObject->collateCopies()); +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(); + } + } } - -QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->colorMode()); + return QProgressDialog::sizeHint(); } - -int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const +void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->copyCount()); +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(); + } + } } - -QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->creator()); + QProgressDialog::tabletEvent(event0); } - -QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const +void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->docName()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->doubleSidedPrinting()); + QProgressDialog::timerEvent(event0); } - -QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const +void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->duplex()); +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(); + } + } } - -bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fontEmbeddingEnabled()); + QProgressDialog::wheelEvent(event0); } +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(parent, flags); } -int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fromPage()); -} +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); } -bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->fullPage()); +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; + } } - -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)); +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_QPrinter::isValid(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->autoClose()); } -int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->numCopies()); + return ( theWrappedObject->autoReset()); } -QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const +QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->orientation()); + return ( theWrappedObject->labelText()); } -QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->outputFileName()); + return ( theWrappedObject->maximum()); } -QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->outputFormat()); + return ( theWrappedObject->minimum()); } -QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->pageOrder()); + return ( theWrappedObject->minimumDuration()); } -QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const +void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) { - return ( theWrappedObject->pageRect()); + ( theWrappedObject->open(receiver, member)); } -QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool close) { - return ( theWrappedObject->pageRect(arg__1)); + ( theWrappedObject->setAutoClose(close)); } -QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const +void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool reset) { - return ( theWrappedObject->pageSize()); + ( theWrappedObject->setAutoReset(reset)); } -QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const +void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) { - return ( theWrappedObject->paperName()); + ( theWrappedObject->setBar(bar)); } -QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const +void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) { - return ( theWrappedObject->paperRect()); + ( theWrappedObject->setCancelButton(button)); } -QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) { - return ( theWrappedObject->paperRect(arg__1)); + ( theWrappedObject->setLabel(label)); } -QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->paperSize()); + return ( theWrappedObject->value()); } -QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const +bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->paperSize(unit)); + return ( theWrappedObject->wasCanceled()); } -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()); +PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const +void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) { - return ( theWrappedObject->printProgram()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const -{ - return ( theWrappedObject->printRange()); + QProxyStyle::childEvent(event0); } - -QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const +void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { - return ( theWrappedObject->printerName()); -} - -QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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 ( theWrappedObject->printerState()); + return (QQuaternion::fromEulerAngles(eulerAngles)); } -int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) { - return ( theWrappedObject->resolution()); + return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); } -void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) +void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const { - ( theWrappedObject->setCollateCopies(collate)); + ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); } -void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const { - ( theWrappedObject->setColorMode(arg__1)); + ( theWrappedObject->getAxisAndAngle(axis, angle)); } -void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const { - ( theWrappedObject->setCopyCount(arg__1)); + ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); } -void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const { - ( theWrappedObject->setCreator(arg__1)); + ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); } -void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) +QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setDocName(arg__1)); + return ( theWrappedObject->inverted()); } -void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) +bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setDoubleSidedPrinting(enable)); + return ( theWrappedObject->isIdentity()); } -void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) +bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setDuplex(duplex)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) +float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) +float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setFontEmbeddingEnabled(enable)); + return ( theWrappedObject->lengthSquared()); } -void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) { - ( theWrappedObject->setFromTo(fromPage, toPage)); + return (QQuaternion::nlerp(q1, q2, t)); } -void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) +void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) { - ( theWrappedObject->setFullPage(arg__1)); + ( theWrappedObject->normalize()); } -void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) +QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setNumCopies(arg__1)); + return ( theWrappedObject->normalized()); } -void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) +bool PythonQtWrapper_QQuaternion::__ne__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - ( theWrappedObject->setOrientation(arg__1)); + return ( (*theWrappedObject)!= q2); } -void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - ( theWrappedObject->setOutputFileName(arg__1)); + return ( (*theWrappedObject)* q2); } -void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) +QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) { - ( theWrappedObject->setOutputFormat(format)); + return ( (*theWrappedObject)* vec); } -void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) { - ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); + return ( (*theWrappedObject)* factor); } -void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - ( theWrappedObject->setPageOrder(arg__1)); + 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()); } -void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) +QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const { - ( theWrappedObject->setPaperName(paperName)); + return ( theWrappedObject->focalPoint()); } -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) +qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const { - ( theWrappedObject->setPaperSize(arg__1)); + return ( theWrappedObject->focalRadius()); } -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) +qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const { - ( theWrappedObject->setPaperSize(paperSize, unit)); + return ( theWrappedObject->radius()); } -void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) { - ( theWrappedObject->setPaperSource(arg__1)); + ( theWrappedObject->setCenter(center)); } -void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) { - ( theWrappedObject->setPdfVersion(version)); + ( theWrappedObject->setCenter(x, y)); } -void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) { - ( theWrappedObject->setPrintProgram(arg__1)); + ( theWrappedObject->setCenterRadius(radius)); } -void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) { - ( theWrappedObject->setPrintRange(range)); + ( theWrappedObject->setFocalPoint(focalPoint)); } -void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) { - ( theWrappedObject->setPrinterName(arg__1)); + ( theWrappedObject->setFocalPoint(x, y)); } -void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) +void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) { - ( theWrappedObject->setResolution(arg__1)); + ( theWrappedObject->setFocalRadius(radius)); } -void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) +void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) { - ( theWrappedObject->setWinPageSize(winPageSize)); + ( theWrappedObject->setRadius(radius)); } -QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const + + +PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->supportedResolutions()); +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(); + } + } } - -bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const + QRadioButton::actionEvent(event0); +} +void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { - return ( theWrappedObject->supportsMultipleCopies()); +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(); + } + } } - -int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const + QRadioButton::changeEvent(e0); +} +void PythonQtShell_QRadioButton::checkStateSet() { - return ( theWrappedObject->toPage()); +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(); + } + } } - -int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const + QRadioButton::checkStateSet(); +} +void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { - return ( theWrappedObject->winPageSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -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() + QRadioButton::childEvent(event0); +} +void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { - return (QPrinterInfo::availablePrinterNames()); +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(); + } + } } - -QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() + QRadioButton::closeEvent(event0); +} +void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { - return (QPrinterInfo::availablePrinters()); +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(); + } + } } - -QPrinter::ColorMode PythonQtWrapper_QPrinterInfo::defaultColorMode(QPrinterInfo* theWrappedObject) const + QRadioButton::contextMenuEvent(event0); +} +void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { - return ( theWrappedObject->defaultColorMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const + QRadioButton::customEvent(event0); +} +int PythonQtShell_QRadioButton::devType() const { - return ( theWrappedObject->defaultDuplexMode()); +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(); + } + } } - -QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const + return QRadioButton::devType(); +} +void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->defaultPageSize()); +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(); + } + } } - -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() -{ - return (QPrinterInfo::defaultPrinter()); + QRadioButton::dragLeaveEvent(event0); } - -QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() +void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { - return (QPrinterInfo::defaultPrinterName()); +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(); + } + } } - -QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->description()); + QRadioButton::dragMoveEvent(event0); } - -bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const +void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->isDefault()); +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(); + } + } } - -bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); + QRadioButton::dropEvent(event0); } - -bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const +void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { - return ( theWrappedObject->isRemote()); +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(); + } + } } - -QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->location()); + QRadioButton::enterEvent(event0); } - -QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const +bool PythonQtShell_QRadioButton::event(QEvent* e0) { - return ( theWrappedObject->makeAndModel()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->maximumPhysicalPageSize()); + return QRadioButton::event(e0); } - -QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->minimumPhysicalPageSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) -{ - return (QPrinterInfo::printerInfo(printerName)); + return QRadioButton::eventFilter(watched0, event1); } - -QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const +void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { - return ( theWrappedObject->printerName()); +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(); + } + } } - -QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->state()); + QRadioButton::focusInEvent(e0); } - -QList PythonQtWrapper_QPrinterInfo::supportedColorModes(QPrinterInfo* theWrappedObject) const +bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { - return ( theWrappedObject->supportedColorModes()); +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(); + } + } } - -QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->supportedDuplexModes()); + return QRadioButton::focusNextPrevChild(next0); } - -QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const +void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { - return ( theWrappedObject->supportedPageSizes()); +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(); + } + } } - -QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->supportedPaperSizes()); + QRadioButton::focusOutEvent(e0); } - -QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const +bool PythonQtShell_QRadioButton::hasHeightForWidth() const { - return ( theWrappedObject->supportedResolutions()); +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(); + } + } } - -QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const -{ - return ( theWrappedObject->supportedSizesWithNames()); + return QRadioButton::hasHeightForWidth(); } - -bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const +int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const { - return ( theWrappedObject->supportsCustomPageSizes()); +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(); + } + } } - - - -PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QRadioButton::heightForWidth(arg__1); } -void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8547,43 +10912,54 @@ if (_wrapper) { } } } - QProgressBar::actionEvent(event0); + QRadioButton::hideEvent(event0); } -void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) +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("changeEvent"); + static PyObject* name = PyString_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::changeEvent(arg__1); + return QRadioButton::hitButton(arg__1); } -void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8591,21 +10967,21 @@ if (_wrapper) { } } } - QProgressBar::closeEvent(event0); + QRadioButton::initPainter(painter0); } -void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8613,32 +10989,32 @@ if (_wrapper) { } } } - QProgressBar::contextMenuEvent(event0); + QRadioButton::inputMethodEvent(arg__1); } -int PythonQtShell_QProgressBar::devType() const +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("devType"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8646,21 +11022,21 @@ if (_wrapper) { } } } - return QProgressBar::devType(); + return QRadioButton::inputMethodQuery(arg__1); } -void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8668,21 +11044,21 @@ if (_wrapper) { } } } - QProgressBar::dragEnterEvent(event0); + QRadioButton::keyPressEvent(e0); } -void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8690,21 +11066,21 @@ if (_wrapper) { } } } - QProgressBar::dragLeaveEvent(event0); + QRadioButton::keyReleaseEvent(e0); } -void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8712,98 +11088,109 @@ if (_wrapper) { } } } - QProgressBar::dragMoveEvent(event0); + QRadioButton::leaveEvent(event0); } -void PythonQtShell_QProgressBar::dropEvent(QDropEvent* 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("dropEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::dropEvent(event0); + return QRadioButton::metric(arg__1); } -void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) +QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::enterEvent(event0); + return QRadioButton::minimumSizeHint(); } -bool PythonQtShell_QProgressBar::event(QEvent* e0) +void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::event(e0); + QRadioButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8811,54 +11198,43 @@ if (_wrapper) { } } } - QProgressBar::focusInEvent(event0); + QRadioButton::mouseMoveEvent(arg__1); } -bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) +void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::focusNextPrevChild(next0); + QRadioButton::mousePressEvent(e0); } -void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8866,65 +11242,54 @@ if (_wrapper) { } } } - QProgressBar::focusOutEvent(event0); + QRadioButton::mouseReleaseEvent(e0); } -bool PythonQtShell_QProgressBar::hasHeightForWidth() const +void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("moveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::hasHeightForWidth(); + QRadioButton::moveEvent(event0); } -int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8932,21 +11297,21 @@ if (_wrapper) { } } } - return QProgressBar::heightForWidth(arg__1); + return QRadioButton::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) +void PythonQtShell_QRadioButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8954,43 +11319,54 @@ if (_wrapper) { } } } - QProgressBar::hideEvent(event0); + QRadioButton::nextCheckState(); } -void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const +QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::initPainter(painter0); + return QRadioButton::paintEngine(); } -void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8998,32 +11374,32 @@ if (_wrapper) { } } } - QProgressBar::inputMethodEvent(arg__1); + QRadioButton::paintEvent(arg__1); } -QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9031,21 +11407,21 @@ if (_wrapper) { } } } - return QProgressBar::inputMethodQuery(arg__1); + return QRadioButton::redirected(offset0); } -void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9053,21 +11429,21 @@ if (_wrapper) { } } } - QProgressBar::keyPressEvent(event0); + QRadioButton::resizeEvent(event0); } -void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9075,87 +11451,87 @@ if (_wrapper) { } } } - QProgressBar::keyReleaseEvent(event0); + QRadioButton::setVisible(visible0); } -void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) +QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::leaveEvent(event0); + return QRadioButton::sharedPainter(); } -int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::metric(arg__1); + QRadioButton::showEvent(event0); } -QSize PythonQtShell_QProgressBar::minimumSizeHint() const +QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9163,21 +11539,21 @@ if (_wrapper) { } } } - return QProgressBar::minimumSizeHint(); + return QRadioButton::sizeHint(); } -void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9185,21 +11561,21 @@ if (_wrapper) { } } } - QProgressBar::mouseDoubleClickEvent(event0); + QRadioButton::tabletEvent(event0); } -void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9207,21 +11583,21 @@ if (_wrapper) { } } } - QProgressBar::mouseMoveEvent(event0); + QRadioButton::timerEvent(e0); } -void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9229,21 +11605,63 @@ if (_wrapper) { } } } - QProgressBar::mousePressEvent(event0); + QRadioButton::wheelEvent(event0); } -void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* 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("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9251,21 +11669,21 @@ if (_wrapper) { } } } - QProgressBar::mouseReleaseEvent(event0); + QRasterWindow::childEvent(event0); } -void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9273,32 +11691,32 @@ if (_wrapper) { } } } - QProgressBar::moveEvent(event0); + QRasterWindow::customEvent(event0); } -bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +int PythonQtShell_QRasterWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9306,32 +11724,32 @@ if (_wrapper) { } } } - return QProgressBar::nativeEvent(eventType0, message1, result2); + return QRasterWindow::devType(); } -QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const +bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9339,54 +11757,32 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QRasterWindow::event(event0); } -QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const +bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&offset0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9394,21 +11790,21 @@ if (_wrapper) { } } } - return QProgressBar::redirected(offset0); + return QRasterWindow::eventFilter(watched0, event1); } -void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("exposeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QExposeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9416,21 +11812,21 @@ if (_wrapper) { } } } - QProgressBar::resizeEvent(event0); + QRasterWindow::exposeEvent(arg__1); } -void PythonQtShell_QProgressBar::setVisible(bool visible0) +void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9438,32 +11834,32 @@ if (_wrapper) { } } } - QProgressBar::setVisible(visible0); + QRasterWindow::focusInEvent(arg__1); } -QPainter* PythonQtShell_QProgressBar::sharedPainter() const +QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9471,21 +11867,21 @@ if (_wrapper) { } } } - return QProgressBar::sharedPainter(); + return QRasterWindow::focusObject(); } -void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) +void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9493,32 +11889,32 @@ if (_wrapper) { } } } - QProgressBar::showEvent(event0); + QRasterWindow::focusOutEvent(arg__1); } -QSize PythonQtShell_QProgressBar::sizeHint() const +QSurfaceFormat PythonQtShell_QRasterWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QSurfaceFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9526,21 +11922,21 @@ if (_wrapper) { } } } - return QProgressBar::sizeHint(); + return QRasterWindow::format(); } -void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9548,54 +11944,21 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QProgressBar::text(); + QRasterWindow::hideEvent(arg__1); } -void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9603,139 +11966,21 @@ if (_wrapper) { } } } - 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()); + QRasterWindow::initPainter(painter0); } - - - -PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QProgressDialog::accept() +void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("accept"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9743,21 +11988,21 @@ if (_wrapper) { } } } - QProgressDialog::accept(); + QRasterWindow::keyPressEvent(arg__1); } -void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9765,43 +12010,54 @@ if (_wrapper) { } } } - QProgressDialog::actionEvent(event0); + QRasterWindow::keyReleaseEvent(arg__1); } -void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) +int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::changeEvent(event0); + return QRasterWindow::metric(metric0); } -void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) +void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9809,21 +12065,21 @@ if (_wrapper) { } } } - QProgressDialog::closeEvent(event0); + QRasterWindow::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9831,54 +12087,43 @@ if (_wrapper) { } } } - QProgressDialog::contextMenuEvent(arg__1); + QRasterWindow::mouseMoveEvent(arg__1); } -int PythonQtShell_QProgressDialog::devType() const +void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::devType(); + QRasterWindow::mousePressEvent(arg__1); } -void PythonQtShell_QProgressDialog::done(int 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("done"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9886,21 +12131,21 @@ if (_wrapper) { } } } - QProgressDialog::done(arg__1); + QRasterWindow::mouseReleaseEvent(arg__1); } -void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9908,43 +12153,54 @@ if (_wrapper) { } } } - QProgressDialog::dragEnterEvent(event0); + QRasterWindow::moveEvent(arg__1); } -void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) +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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::dragLeaveEvent(event0); + return QRasterWindow::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9952,43 +12208,54 @@ if (_wrapper) { } } } - QProgressDialog::dragMoveEvent(event0); + QRasterWindow::paintEvent(event0); } -void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* 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("dropEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::dropEvent(event0); + return QRasterWindow::redirected(arg__1); } -void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) +void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9996,32 +12263,32 @@ if (_wrapper) { } } } - QProgressDialog::enterEvent(event0); + QRasterWindow::resizeEvent(arg__1); } -bool PythonQtShell_QProgressDialog::event(QEvent* event0) +QPainter* PythonQtShell_QRasterWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10029,32 +12296,54 @@ if (_wrapper) { } } } - return QProgressDialog::event(event0); + return QRasterWindow::sharedPainter(); } -bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10062,32 +12351,32 @@ if (_wrapper) { } } } - return QProgressDialog::eventFilter(arg__1, arg__2); + return QRasterWindow::size(); } -int PythonQtShell_QProgressDialog::exec() +QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("exec"); + static PyObject* name = PyString_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSurface::SurfaceType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10095,21 +12384,21 @@ if (_wrapper) { } } } - return QProgressDialog::exec(); + return QRasterWindow::surfaceType(); } -void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10117,54 +12406,43 @@ if (_wrapper) { } } } - QProgressDialog::focusInEvent(event0); + QRasterWindow::tabletEvent(arg__1); } -bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) +void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::focusNextPrevChild(next0); + QRasterWindow::timerEvent(event0); } -void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10172,208 +12450,274 @@ if (_wrapper) { } } } - QProgressDialog::focusOutEvent(event0); + QRasterWindow::touchEvent(arg__1); } -bool PythonQtShell_QProgressDialog::hasHeightForWidth() const +void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::hasHeightForWidth(); + 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); } -int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const + +QPainterPath PythonQtWrapper_QRawFont::pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pathForGlyph(glyphIndex)); } - return QProgressDialog::heightForWidth(arg__1); + +qreal PythonQtWrapper_QRawFont::pixelSize(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->pixelSize()); } -void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QRawFont::setPixelSize(QRawFont* theWrappedObject, qreal pixelSize) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPixelSize(pixelSize)); } - QProgressDialog::hideEvent(event0); + +QFont::Style PythonQtWrapper_QRawFont::style(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->style()); } -void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const + +QString PythonQtWrapper_QRawFont::styleName(QRawFont* theWrappedObject) 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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->styleName()); } - QProgressDialog::initPainter(painter0); + +QList PythonQtWrapper_QRawFont::supportedWritingSystems(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->supportedWritingSystems()); } -void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) + +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, QChar character) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->supportsCharacter(character)); } - QProgressDialog::inputMethodEvent(arg__1); + +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const +{ + return ( theWrappedObject->supportsCharacter(ucs4)); } -QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +void PythonQtWrapper_QRawFont::swap(QRawFont* theWrappedObject, QRawFont& other) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - return QProgressDialog::inputMethodQuery(arg__1); + +qreal PythonQtWrapper_QRawFont::underlinePosition(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->underlinePosition()); } -void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) + +qreal PythonQtWrapper_QRawFont::unitsPerEm(QRawFont* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->unitsPerEm()); } - QProgressDialog::keyPressEvent(arg__1); + +int PythonQtWrapper_QRawFont::weight(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->weight()); } -void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) + +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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10381,21 +12725,21 @@ if (_wrapper) { } } } - QProgressDialog::keyReleaseEvent(event0); + QRegExpValidator::childEvent(event0); } -void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10403,32 +12747,32 @@ if (_wrapper) { } } } - QProgressDialog::leaveEvent(event0); + QRegExpValidator::customEvent(event0); } -int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10436,32 +12780,32 @@ if (_wrapper) { } } } - return QProgressDialog::metric(arg__1); + return QRegExpValidator::event(event0); } -QSize PythonQtShell_QProgressDialog::minimumSizeHint() const +bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10469,21 +12813,21 @@ if (_wrapper) { } } } - return QProgressDialog::minimumSizeHint(); + return QRegExpValidator::eventFilter(watched0, event1); } -void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10491,21 +12835,21 @@ if (_wrapper) { } } } - QProgressDialog::mouseDoubleClickEvent(event0); + QRegExpValidator::fixup(arg__1); } -void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10513,43 +12857,91 @@ if (_wrapper) { } } } - QProgressDialog::mouseMoveEvent(event0); + QRegExpValidator::timerEvent(event0); } -void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* 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("mousePressEvent"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::mousePressEvent(event0); + 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_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10557,21 +12949,21 @@ if (_wrapper) { } } } - QProgressDialog::mouseReleaseEvent(event0); + QRegularExpressionValidator::childEvent(event0); } -void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10579,32 +12971,32 @@ if (_wrapper) { } } } - QProgressDialog::moveEvent(event0); + QRegularExpressionValidator::customEvent(event0); } -bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("event"); 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); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10612,32 +13004,32 @@ if (_wrapper) { } } } - return QProgressDialog::nativeEvent(eventType0, message1, result2); + return QRegularExpressionValidator::event(event0); } -QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const +bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -10645,21 +13037,21 @@ if (_wrapper) { } } } - return QProgressDialog::paintEngine(); + return QRegularExpressionValidator::eventFilter(watched0, event1); } -void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10667,76 +13059,249 @@ if (_wrapper) { } } } - QProgressDialog::paintEvent(event0); + QRegularExpressionValidator::fixup(arg__1); } -QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const +void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::redirected(offset0); + QRegularExpressionValidator::timerEvent(event0); } -void PythonQtShell_QProgressDialog::reject() +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("reject"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::reject(); + return QRegularExpressionValidator::validate(input0, pos1); } -void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) +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("resizeEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10744,21 +13309,21 @@ if (_wrapper) { } } } - QProgressDialog::resizeEvent(event0); + QRubberBand::actionEvent(event0); } -void PythonQtShell_QProgressDialog::setVisible(bool visible0) +void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10766,54 +13331,43 @@ if (_wrapper) { } } } - QProgressDialog::setVisible(visible0); + QRubberBand::changeEvent(arg__1); } -QPainter* PythonQtShell_QProgressDialog::sharedPainter() const +void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::sharedPainter(); + QRubberBand::childEvent(event0); } -void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) +void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10821,54 +13375,43 @@ if (_wrapper) { } } } - QProgressDialog::showEvent(event0); + QRubberBand::closeEvent(event0); } -QSize PythonQtShell_QProgressDialog::sizeHint() const +void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) { 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::sizeHint(); + QRubberBand::contextMenuEvent(event0); } -void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRubberBand::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -10876,140 +13419,54 @@ if (_wrapper) { } } } - QProgressDialog::tabletEvent(event0); + QRubberBand::customEvent(event0); } -void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) +int PythonQtShell_QRubberBand::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } 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); } + return QRubberBand::devType(); } -void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawComplexControl"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL, (void*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11017,21 +13474,21 @@ if (_wrapper) { } } } - QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); + QRubberBand::dragEnterEvent(event0); } -void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawControl"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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] = {NULL, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11039,21 +13496,21 @@ if (_wrapper) { } } } - QProxyStyle::drawControl(element0, option1, painter2, widget3); + QRubberBand::dragLeaveEvent(event0); } -void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const +void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItemPixmap"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11061,21 +13518,21 @@ if (_wrapper) { } } } - QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); + QRubberBand::dragMoveEvent(event0); } -void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const +void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawItemText"); + static PyObject* name = PyString_FromString("dropEvent"); 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] = {NULL, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11083,21 +13540,21 @@ if (_wrapper) { } } } - QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); + QRubberBand::dropEvent(event0); } -void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("drawPrimitive"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11105,9 +13562,9 @@ if (_wrapper) { } } } - QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); + QRubberBand::enterEvent(event0); } -bool PythonQtShell_QProxyStyle::event(QEvent* e0) +bool PythonQtShell_QRubberBand::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11118,19 +13575,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11138,32 +13595,32 @@ if (_wrapper) { } } } - return QProxyStyle::event(e0); + return QRubberBand::event(e0); } -QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("generatedIconPixmap"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPixmap*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11171,65 +13628,54 @@ if (_wrapper) { } } } - return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); + return QRubberBand::eventFilter(watched0, event1); } -QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const +void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitTestComplexControl"); + static PyObject* name = PyString_FromString("focusInEvent"); 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] = {NULL, (void*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); - } else { - returnValue = *((QStyle::SubControl*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); + QRubberBand::focusInEvent(event0); } -QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const +bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemPixmapRect"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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] = {NULL, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11237,65 +13683,54 @@ if (_wrapper) { } } } - return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); + return QRubberBand::focusNextPrevChild(next0); } -QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const +void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemTextRect"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL, (void*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); + QRubberBand::focusOutEvent(event0); } -int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const +bool PythonQtShell_QRubberBand::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("layoutSpacing"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11303,32 +13738,32 @@ if (_wrapper) { } } } - return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); + return QRubberBand::hasHeightForWidth(); } -int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const +int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pixelMetric"); + static PyObject* name = PyString_FromString("heightForWidth"); 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); + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[4] = {NULL, (void*)&metric0, (void*)&option1, (void*)&widget2}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11336,21 +13771,21 @@ if (_wrapper) { } } } - return QProxyStyle::pixelMetric(metric0, option1, widget2); + return QRubberBand::heightForWidth(arg__1); } -void PythonQtShell_QProxyStyle::polish(QApplication* app0) +void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polish"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11358,21 +13793,21 @@ if (_wrapper) { } } } - QProxyStyle::polish(app0); + QRubberBand::hideEvent(event0); } -void PythonQtShell_QProxyStyle::polish(QPalette& pal0) +void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polish"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPalette&"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&pal0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11380,21 +13815,21 @@ if (_wrapper) { } } } - QProxyStyle::polish(pal0); + QRubberBand::initPainter(painter0); } -void PythonQtShell_QProxyStyle::polish(QWidget* widget0) +void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("polish"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11402,32 +13837,32 @@ if (_wrapper) { } } } - QProxyStyle::polish(widget0); + QRubberBand::inputMethodEvent(arg__1); } -QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const +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("sizeFromContents"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL, (void*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11435,164 +13870,98 @@ if (_wrapper) { } } } - return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); + return QRubberBand::inputMethodQuery(arg__1); } -QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const +void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("standardIcon"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardIcon(standardIcon0, option1, widget2); + QRubberBand::keyPressEvent(event0); } -QPalette PythonQtShell_QProxyStyle::standardPalette() const +void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("standardPalette"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardPalette(); + QRubberBand::keyReleaseEvent(event0); } -QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const +void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("standardPixmap"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); + QRubberBand::leaveEvent(event0); } -int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const +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("styleHint"); + static PyObject* name = PyString_FromString("metric"); 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); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[5] = {NULL, (void*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); + 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 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] = {NULL, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11600,32 +13969,32 @@ if (_wrapper) { } } } - return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); + return QRubberBand::metric(arg__1); } -QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const +QSize PythonQtShell_QRubberBand::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("subElementRect"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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] = {NULL, (void*)&element0, (void*)&option1, (void*)&widget2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11633,21 +14002,21 @@ if (_wrapper) { } } } - return QProxyStyle::subElementRect(element0, option1, widget2); + return QRubberBand::minimumSizeHint(); } -void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) +void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unpolish"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&app0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11655,21 +14024,21 @@ if (_wrapper) { } } } - QProxyStyle::unpolish(app0); + QRubberBand::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) +void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unpolish"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11677,68 +14046,21 @@ if (_wrapper) { } } } - 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()); -} - -bool PythonQtWrapper_QProxyStyle::event(QProxyStyle* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QProxyStyle*)theWrappedObject)->promoted_event(e)); -} - -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); } + QRubberBand::mouseMoveEvent(event0); } -void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) +void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11746,43 +14068,21 @@ if (_wrapper) { } } } - QPushButton::actionEvent(event0); + QRubberBand::mousePressEvent(event0); } -void PythonQtShell_QPushButton::changeEvent(QEvent* e0) +void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11790,21 +14090,21 @@ if (_wrapper) { } } } - QPushButton::checkStateSet(); + QRubberBand::mouseReleaseEvent(event0); } -void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11812,54 +14112,65 @@ if (_wrapper) { } } } - QPushButton::closeEvent(event0); + QRubberBand::moveEvent(arg__1); } -void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) +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("contextMenuEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::contextMenuEvent(event0); + return QRubberBand::nativeEvent(eventType0, message1, result2); } -int PythonQtShell_QPushButton::devType() const +QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -11867,21 +14178,21 @@ if (_wrapper) { } } } - return QPushButton::devType(); + return QRubberBand::paintEngine(); } -void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11889,43 +14200,54 @@ if (_wrapper) { } } } - QPushButton::dragEnterEvent(event0); + QRubberBand::paintEvent(arg__1); } -void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) +QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::dragLeaveEvent(event0); + return QRubberBand::redirected(offset0); } -void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11933,21 +14255,21 @@ if (_wrapper) { } } } - QPushButton::dragMoveEvent(event0); + QRubberBand::resizeEvent(arg__1); } -void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QRubberBand::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11955,21 +14277,54 @@ if (_wrapper) { } } } - QPushButton::dropEvent(event0); + QRubberBand::setVisible(visible0); } -void PythonQtShell_QPushButton::enterEvent(QEvent* event0) +QPainter* PythonQtShell_QRubberBand::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -11977,32 +14332,32 @@ if (_wrapper) { } } } - QPushButton::enterEvent(event0); + QRubberBand::showEvent(arg__1); } -bool PythonQtShell_QPushButton::event(QEvent* e0) +QSize PythonQtShell_QRubberBand::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("getSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12010,21 +14365,21 @@ if (_wrapper) { } } } - return QPushButton::event(e0); + return QRubberBand::sizeHint(); } -void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12032,54 +14387,43 @@ if (_wrapper) { } } } - QPushButton::focusInEvent(arg__1); + QRubberBand::tabletEvent(event0); } -bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) +void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::focusNextPrevChild(next0); + QRubberBand::timerEvent(event0); } -void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12087,142 +14431,284 @@ if (_wrapper) { } } } - QPushButton::focusOutEvent(arg__1); + QRubberBand::wheelEvent(event0); } -bool PythonQtShell_QPushButton::hasHeightForWidth() const +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 { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->transformBetween(a, b, target)); } - return QPushButton::hasHeightForWidth(); + +QRect PythonQtWrapper_QScreen::virtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualGeometry()); } -int PythonQtShell_QPushButton::heightForWidth(int arg__1) const + +QScreen* PythonQtWrapper_QScreen::virtualSiblingAt(QScreen* theWrappedObject, QPoint point) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->virtualSiblingAt(point)); } - return QPushButton::heightForWidth(arg__1); + +QList PythonQtWrapper_QScreen::virtualSiblings(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualSiblings()); } -void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) + +QSize PythonQtWrapper_QScreen::virtualSize(QScreen* theWrappedObject) const { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->virtualSize()); } - QPushButton::hideEvent(event0); + +QString PythonQtWrapper_QScreen::py_toString(QScreen* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; } -bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const + + + +QScreenOrientationChangeEvent* PythonQtWrapper_QScreenOrientationChangeEvent::new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation) +{ +return new QScreenOrientationChangeEvent(screen, orientation); } + +Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) 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] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->orientation()); } - return QPushButton::hitButton(pos0); + +QScreen* PythonQtWrapper_QScreenOrientationChangeEvent::screen(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->screen()); } -void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const + + + +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("initPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12230,21 +14716,21 @@ if (_wrapper) { } } } - QPushButton::initPainter(painter0); + QScrollArea::actionEvent(event0); } -void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12252,54 +14738,43 @@ if (_wrapper) { } } } - QPushButton::inputMethodEvent(arg__1); + QScrollArea::changeEvent(arg__1); } -QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::inputMethodQuery(arg__1); + QScrollArea::childEvent(event0); } -void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12307,21 +14782,21 @@ if (_wrapper) { } } } - QPushButton::keyPressEvent(arg__1); + QScrollArea::closeEvent(event0); } -void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12329,21 +14804,21 @@ if (_wrapper) { } } } - QPushButton::keyReleaseEvent(e0); + QScrollArea::contextMenuEvent(arg__1); } -void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) +void PythonQtShell_QScrollArea::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12351,32 +14826,32 @@ if (_wrapper) { } } } - QPushButton::leaveEvent(event0); + QScrollArea::customEvent(event0); } -int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QScrollArea::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12384,54 +14859,43 @@ if (_wrapper) { } } } - return QPushButton::metric(arg__1); + return QScrollArea::devType(); } -QSize PythonQtShell_QPushButton::minimumSizeHint() const +void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::minimumSizeHint(); + QScrollArea::dragEnterEvent(arg__1); } -void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12439,21 +14903,21 @@ if (_wrapper) { } } } - QPushButton::mouseDoubleClickEvent(event0); + QScrollArea::dragLeaveEvent(arg__1); } -void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12461,21 +14925,21 @@ if (_wrapper) { } } } - QPushButton::mouseMoveEvent(e0); + QScrollArea::dragMoveEvent(arg__1); } -void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12483,21 +14947,21 @@ if (_wrapper) { } } } - QPushButton::mousePressEvent(e0); + QScrollArea::dropEvent(arg__1); } -void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12505,54 +14969,65 @@ if (_wrapper) { } } } - QPushButton::mouseReleaseEvent(e0); + QScrollArea::enterEvent(event0); } -void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QScrollArea::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::moveEvent(event0); + return QScrollArea::event(arg__1); } -bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12560,21 +15035,21 @@ if (_wrapper) { } } } - return QPushButton::nativeEvent(eventType0, message1, result2); + return QScrollArea::eventFilter(arg__1, arg__2); } -void PythonQtShell_QPushButton::nextCheckState() +void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextCheckState"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12582,32 +15057,32 @@ if (_wrapper) { } } } - QPushButton::nextCheckState(); + QScrollArea::focusInEvent(event0); } -QPaintEngine* PythonQtShell_QPushButton::paintEngine() const +bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) { 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12615,21 +15090,21 @@ if (_wrapper) { } } } - return QPushButton::paintEngine(); + return QScrollArea::focusNextPrevChild(next0); } -void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12637,32 +15112,32 @@ if (_wrapper) { } } } - QPushButton::paintEvent(arg__1); + QScrollArea::focusOutEvent(event0); } -QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const +bool PythonQtShell_QScrollArea::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12670,43 +15145,54 @@ if (_wrapper) { } } } - return QPushButton::redirected(offset0); + return QScrollArea::hasHeightForWidth(); } -void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) +int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::resizeEvent(event0); + return QScrollArea::heightForWidth(arg__1); } -void PythonQtShell_QPushButton::setVisible(bool visible0) +void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12714,54 +15200,43 @@ if (_wrapper) { } } } - QPushButton::setVisible(visible0); + QScrollArea::hideEvent(event0); } -QPainter* PythonQtShell_QPushButton::sharedPainter() const +void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + 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(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::sharedPainter(); + QScrollArea::initPainter(painter0); } -void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) +void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12769,32 +15244,32 @@ if (_wrapper) { } } } - QPushButton::showEvent(event0); + QScrollArea::inputMethodEvent(arg__1); } -QSize PythonQtShell_QPushButton::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12802,21 +15277,21 @@ if (_wrapper) { } } } - return QPushButton::sizeHint(); + return QScrollArea::inputMethodQuery(arg__1); } -void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12824,21 +15299,21 @@ if (_wrapper) { } } } - QPushButton::tabletEvent(event0); + QScrollArea::keyPressEvent(arg__1); } -void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) +void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12846,487 +15321,704 @@ if (_wrapper) { } } } - QPushButton::timerEvent(e0); + QScrollArea::keyReleaseEvent(event0); } -void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL, (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)); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) -{ - return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); + QScrollArea::leaveEvent(event0); } - -void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const +int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const -{ - ( theWrappedObject->getAxisAndAngle(axis, angle)); + return QScrollArea::metric(arg__1); } - -void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const +QSize PythonQtShell_QScrollArea::minimumSizeHint() const { - ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const -{ - ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); + return QScrollArea::minimumSizeHint(); } - -QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const +void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->inverted()); +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(); + } + } } - -bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const -{ - return ( theWrappedObject->isIdentity()); + QScrollArea::mouseDoubleClickEvent(arg__1); } - -bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const +void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->isNull()); +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(); + } + } } - -float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const -{ - return ( theWrappedObject->length()); + QScrollArea::mouseMoveEvent(arg__1); } - -float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const +void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) { - return ( theWrappedObject->lengthSquared()); +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(); + } + } } - -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) -{ - return (QQuaternion::nlerp(q1, q2, t)); + QScrollArea::mousePressEvent(arg__1); } - -void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) +void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) { - ( theWrappedObject->normalize()); +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(); + } + } } - -QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const -{ - return ( theWrappedObject->normalized()); + QScrollArea::mouseReleaseEvent(arg__1); } - -const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) { - return ( (*theWrappedObject)* q2); +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(); + } + } } - -QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) -{ - return ( (*theWrappedObject)* vec); + QScrollArea::moveEvent(event0); } - -const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) +bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( (*theWrappedObject)* factor); +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(); + } + } } - -QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) -{ - return &( (*theWrappedObject)*= quaternion); + return QScrollArea::nativeEvent(eventType0, message1, result2); } - -QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) +QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const { - return &( (*theWrappedObject)*= factor); +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(); + } + } } - -const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) -{ - return ( (*theWrappedObject)+ q2); + return QScrollArea::paintEngine(); } - -QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) { - return &( (*theWrappedObject)+= quaternion); +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(); + } + } } - -const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) -{ - return ( (*theWrappedObject)- q2); + QScrollArea::paintEvent(arg__1); } - -QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const { - return &( (*theWrappedObject)-= quaternion); +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(); + } + } } - -const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) -{ - return ( (*theWrappedObject)/ divisor); + return QScrollArea::redirected(offset0); } - -QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) +void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) { - return &( (*theWrappedObject)/= divisor); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); + QScrollArea::resizeEvent(arg__1); } - -bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) { - return ( (*theWrappedObject)== q2); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); + QScrollArea::scrollContentsBy(dx0, dy1); } - -QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const +void PythonQtShell_QScrollArea::setVisible(bool visible0) { - return ( theWrappedObject->rotatedVector(vector)); +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(); + } + } } - -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) -{ - return (QQuaternion::rotationTo(from, to)); + QScrollArea::setVisible(visible0); } - -float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const +void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) { - return ( theWrappedObject->scalar()); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) -{ - ( theWrappedObject->setScalar(scalar)); + QScrollArea::setupViewport(viewport0); } - -void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) +QPainter* PythonQtShell_QScrollArea::sharedPainter() const { - ( theWrappedObject->setVector(vector)); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) -{ - ( theWrappedObject->setVector(x, y, z)); + return QScrollArea::sharedPainter(); } - -void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) +void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) { - ( theWrappedObject->setX(x)); +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(); + } + } } - -void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) -{ - ( theWrappedObject->setY(y)); + QScrollArea::showEvent(event0); } - -void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) +QSize PythonQtShell_QScrollArea::sizeHint() const { - ( theWrappedObject->setZ(z)); +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(); + } + } } - -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) -{ - return (QQuaternion::slerp(q1, q2, t)); + return QScrollArea::sizeHint(); } - -QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const +void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) { - return ( theWrappedObject->toEulerAngles()); +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(); + } + } } - -QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const -{ - return ( theWrappedObject->toVector4D()); + QScrollArea::tabletEvent(event0); } - -QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const +void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->vector()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const -{ - return ( theWrappedObject->x()); + QScrollArea::timerEvent(event0); } - -float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const +bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) { - return ( theWrappedObject->y()); +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(); + } + } } - -float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const + return QScrollArea::viewportEvent(arg__1); +} +QSize PythonQtShell_QScrollArea::viewportSizeHint() const { - return ( theWrappedObject->z()); +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(); + } + } } - -QString PythonQtWrapper_QQuaternion::py_toString(QQuaternion* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; + return QScrollArea::viewportSizeHint(); } - - - -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 +void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) { - return ( theWrappedObject->center()); +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(); + } + } } - -qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->centerRadius()); + QScrollArea::wheelEvent(arg__1); } +QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) +{ +return new PythonQtShell_QScrollArea(parent); } -QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->focalPoint()); +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; + } } - -qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const +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->focalRadius()); + return ( theWrappedObject->alignment()); } -qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const +void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) { - return ( theWrappedObject->radius()); + ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); } -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) +void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) { - ( theWrappedObject->setCenter(center)); + ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); } -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) +void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) { - ( theWrappedObject->setCenter(x, y)); + ( theWrappedObject->setAlignment(arg__1)); } -void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) +void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) { - ( theWrappedObject->setCenterRadius(radius)); + ( theWrappedObject->setWidget(widget)); } -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) +void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) { - ( theWrappedObject->setFocalPoint(focalPoint)); + ( theWrappedObject->setWidgetResizable(resizable)); } -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) +QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) { - ( theWrappedObject->setFocalPoint(x, y)); + return ( theWrappedObject->takeWidget()); } -void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) +QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const { - ( theWrappedObject->setFocalRadius(radius)); + return ( theWrappedObject->widget()); } -void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) +bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const { - ( theWrappedObject->setRadius(radius)); + return ( theWrappedObject->widgetResizable()); } -PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { +PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) +void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13336,9 +16028,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13346,9 +16038,9 @@ if (_wrapper) { } } } - QRadioButton::actionEvent(event0); + QScrollBar::actionEvent(event0); } -void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) +void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13358,9 +16050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13368,21 +16060,21 @@ if (_wrapper) { } } } - QRadioButton::changeEvent(e0); + QScrollBar::changeEvent(e0); } -void PythonQtShell_QRadioButton::checkStateSet() +void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("checkStateSet"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13390,9 +16082,9 @@ if (_wrapper) { } } } - QRadioButton::checkStateSet(); + QScrollBar::childEvent(event0); } -void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13402,9 +16094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13412,9 +16104,9 @@ if (_wrapper) { } } } - QRadioButton::closeEvent(event0); + QScrollBar::closeEvent(event0); } -void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13424,9 +16116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13434,9 +16126,31 @@ if (_wrapper) { } } } - QRadioButton::contextMenuEvent(event0); + QScrollBar::contextMenuEvent(arg__1); } -int PythonQtShell_QRadioButton::devType() const +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 @@ -13447,19 +16161,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13467,9 +16181,9 @@ if (_wrapper) { } } } - return QRadioButton::devType(); + return QScrollBar::devType(); } -void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13479,9 +16193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13489,9 +16203,9 @@ if (_wrapper) { } } } - QRadioButton::dragEnterEvent(event0); + QScrollBar::dragEnterEvent(event0); } -void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13501,9 +16215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13511,9 +16225,9 @@ if (_wrapper) { } } } - QRadioButton::dragLeaveEvent(event0); + QScrollBar::dragLeaveEvent(event0); } -void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13523,9 +16237,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13533,9 +16247,9 @@ if (_wrapper) { } } } - QRadioButton::dragMoveEvent(event0); + QScrollBar::dragMoveEvent(event0); } -void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13545,9 +16259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13555,9 +16269,9 @@ if (_wrapper) { } } } - QRadioButton::dropEvent(event0); + QScrollBar::dropEvent(event0); } -void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) +void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13567,9 +16281,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13577,9 +16291,9 @@ if (_wrapper) { } } } - QRadioButton::enterEvent(event0); + QScrollBar::enterEvent(event0); } -bool PythonQtShell_QRadioButton::event(QEvent* e0) +bool PythonQtShell_QScrollBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13590,19 +16304,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13610,9 +16324,42 @@ if (_wrapper) { } } } - return QRadioButton::event(e0); + return QScrollBar::event(event0); } -void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) +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 @@ -13622,9 +16369,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13632,9 +16379,9 @@ if (_wrapper) { } } } - QRadioButton::focusInEvent(e0); + QScrollBar::focusInEvent(event0); } -bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) +bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13645,19 +16392,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13665,9 +16412,9 @@ if (_wrapper) { } } } - return QRadioButton::focusNextPrevChild(next0); + return QScrollBar::focusNextPrevChild(next0); } -void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13677,9 +16424,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13687,9 +16434,9 @@ if (_wrapper) { } } } - QRadioButton::focusOutEvent(e0); + QScrollBar::focusOutEvent(event0); } -bool PythonQtShell_QRadioButton::hasHeightForWidth() const +bool PythonQtShell_QScrollBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13700,19 +16447,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13720,9 +16467,9 @@ if (_wrapper) { } } } - return QRadioButton::hasHeightForWidth(); + return QScrollBar::hasHeightForWidth(); } -int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const +int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13733,84 +16480,51 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::hideEvent(event0); + return QScrollBar::heightForWidth(arg__1); } -bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const +void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hitButton"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::hitButton(arg__1); + QScrollBar::hideEvent(arg__1); } -void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const +void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13820,9 +16534,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13830,9 +16544,9 @@ if (_wrapper) { } } } - QRadioButton::initPainter(painter0); + QScrollBar::initPainter(painter0); } -void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13842,9 +16556,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13852,9 +16566,9 @@ if (_wrapper) { } } } - QRadioButton::inputMethodEvent(arg__1); + QScrollBar::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13865,19 +16579,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13885,9 +16599,9 @@ if (_wrapper) { } } } - return QRadioButton::inputMethodQuery(arg__1); + return QScrollBar::inputMethodQuery(arg__1); } -void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13897,9 +16611,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13907,9 +16621,9 @@ if (_wrapper) { } } } - QRadioButton::keyPressEvent(e0); + QScrollBar::keyPressEvent(ev0); } -void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13919,9 +16633,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13929,9 +16643,9 @@ if (_wrapper) { } } } - QRadioButton::keyReleaseEvent(e0); + QScrollBar::keyReleaseEvent(event0); } -void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) +void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13941,9 +16655,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13951,9 +16665,9 @@ if (_wrapper) { } } } - QRadioButton::leaveEvent(event0); + QScrollBar::leaveEvent(event0); } -int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -13964,19 +16678,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13984,32 +16698,32 @@ if (_wrapper) { } } } - return QRadioButton::metric(arg__1); + return QScrollBar::metric(arg__1); } -QSize PythonQtShell_QRadioButton::minimumSizeHint() const +QSize PythonQtShell_QScrollBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14017,9 +16731,9 @@ if (_wrapper) { } } } - return QRadioButton::minimumSizeHint(); + return QScrollBar::minimumSizeHint(); } -void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14029,9 +16743,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14039,9 +16753,9 @@ if (_wrapper) { } } } - QRadioButton::mouseDoubleClickEvent(event0); + QScrollBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14051,9 +16765,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14061,9 +16775,9 @@ if (_wrapper) { } } } - QRadioButton::mouseMoveEvent(arg__1); + QScrollBar::mouseMoveEvent(arg__1); } -void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14073,9 +16787,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14083,9 +16797,9 @@ if (_wrapper) { } } } - QRadioButton::mousePressEvent(e0); + QScrollBar::mousePressEvent(arg__1); } -void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14095,9 +16809,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14105,9 +16819,9 @@ if (_wrapper) { } } } - QRadioButton::mouseReleaseEvent(e0); + QScrollBar::mouseReleaseEvent(arg__1); } -void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14117,9 +16831,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14127,9 +16841,9 @@ if (_wrapper) { } } } - QRadioButton::moveEvent(event0); + QScrollBar::moveEvent(event0); } -bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14140,19 +16854,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14160,31 +16874,9 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QRadioButton::nextCheckState(); + return QScrollBar::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const +QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14195,19 +16887,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14215,9 +16907,9 @@ if (_wrapper) { } } } - return QRadioButton::paintEngine(); + return QScrollBar::paintEngine(); } -void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14227,9 +16919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14237,9 +16929,9 @@ if (_wrapper) { } } } - QRadioButton::paintEvent(arg__1); + QScrollBar::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14250,19 +16942,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14270,9 +16962,9 @@ if (_wrapper) { } } } - return QRadioButton::redirected(offset0); + return QScrollBar::redirected(offset0); } -void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14282,9 +16974,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14292,9 +16984,9 @@ if (_wrapper) { } } } - QRadioButton::resizeEvent(event0); + QScrollBar::resizeEvent(event0); } -void PythonQtShell_QRadioButton::setVisible(bool visible0) +void PythonQtShell_QScrollBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14304,9 +16996,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14314,9 +17006,9 @@ if (_wrapper) { } } } - QRadioButton::setVisible(visible0); + QScrollBar::setVisible(visible0); } -QPainter* PythonQtShell_QRadioButton::sharedPainter() const +QPainter* PythonQtShell_QScrollBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14327,19 +17019,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14347,9 +17039,9 @@ if (_wrapper) { } } } - return QRadioButton::sharedPainter(); + return QScrollBar::sharedPainter(); } -void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) +void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14359,9 +17051,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14369,9 +17061,9 @@ if (_wrapper) { } } } - QRadioButton::showEvent(event0); + QScrollBar::showEvent(event0); } -QSize PythonQtShell_QRadioButton::sizeHint() const +QSize PythonQtShell_QScrollBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14382,19 +17074,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14402,43 +17094,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QScrollBar::sizeHint(); } -void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) +void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14446,21 +17116,21 @@ if (_wrapper) { } } } - QRadioButton::timerEvent(e0); + QScrollBar::sliderChange(change0); } -void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14468,162 +17138,21 @@ if (_wrapper) { } } } - 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); } -} -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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -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; -} -int PythonQtWrapper_QRasterWindow::metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_metric(metric)); -} - -QPaintDevice* PythonQtWrapper_QRasterWindow::redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - - - -PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QScrollBar::tabletEvent(event0); } -void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const +void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14631,177 +17160,349 @@ if (_wrapper) { } } } - QRegExpValidator::fixup(arg__1); + QScrollBar::timerEvent(arg__1); } -QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const +void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("validate"); + static PyObject* name = PyString_FromString("wheelEvent"); 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] = {NULL, (void*)&input0, (void*)&pos1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRegExpValidator::validate(input0, pos1); + QScrollBar::wheelEvent(arg__1); } -QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(QObject* parent) +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) { -return new PythonQtShell_QRegExpValidator(parent); } +return new PythonQtShell_QScrollBar(parent); } -QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(const QRegExp& rx, QObject* parent) +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) { -return new PythonQtShell_QRegExpValidator(rx, parent); } +return new PythonQtShell_QScrollBar(arg__1, parent); } -const QMetaObject* PythonQtShell_QRegExpValidator::metaObject() const { +const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegExpValidator::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollBar::staticMetaObject); } else { - return &QRegExpValidator::staticMetaObject; + return &QScrollBar::staticMetaObject; } } -int PythonQtShell_QRegExpValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRegExpValidator::qt_metacall(call, id, args); +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; } -const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const +void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const { - return &( theWrappedObject->regExp()); + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const { - ( theWrappedObject->setRegExp(rx)); + return ( theWrappedObject->sizeHint()); } -PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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()); } -void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const + +QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->overshootDistance()); } - QRegularExpressionValidator::fixup(arg__1); + +QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->scrollState()); } -QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const + + + +QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) +{ +return new QScrollPrepareEvent(startPos); } + +QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) 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] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->contentPos()); } - return QRegularExpressionValidator::validate(input0, pos1); + +QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPosRange()); } -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); } +void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setContentPos(pos)); +} -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; - } +void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setContentPosRange(rect)); } -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; + +void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setViewportSize(size)); } -QRegularExpression PythonQtWrapper_QRegularExpressionValidator::regularExpression(QRegularExpressionValidator* theWrappedObject) const + +QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const { - return ( theWrappedObject->regularExpression()); + return ( theWrappedObject->startPos()); +} + +QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->viewportSize()); } -PythonQtShell_QResizeEvent::~PythonQtShell_QResizeEvent() { +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); } } -QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties() { -return new PythonQtShell_QResizeEvent(size, oldSize); } +return new PythonQtShell_QScrollerProperties(); } -const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const +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->oldSize()); + return ( (*theWrappedObject)!= sp); } -const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const +QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) { - return &( theWrappedObject->size()); + 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()); +} + + + +bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) +{ + return ( theWrappedObject->allowsErrorInteraction()); +} + +bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) +{ + return ( theWrappedObject->allowsInteraction()); +} + +void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) +{ + ( theWrappedObject->cancel()); +} + +QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->discardCommand()); +} + +bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->isPhase2()); +} + +void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) +{ + ( theWrappedObject->release()); +} + +void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) +{ + ( theWrappedObject->requestPhase2()); +} + +QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->restartCommand()); +} + +QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->restartHint()); +} + +QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->sessionId()); +} + +QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const +{ + return ( theWrappedObject->sessionKey()); +} + +void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setDiscardCommand(arg__1)); +} + +void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setManagerProperty(name, value)); +} + +void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) +{ + ( theWrappedObject->setManagerProperty(name, value)); +} + +void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +{ + ( theWrappedObject->setRestartCommand(arg__1)); +} + +void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) +{ + ( theWrappedObject->setRestartHint(arg__1)); } diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h new file mode 100644 index 00000000..e5ceeb77 --- /dev/null +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -0,0 +1,2122 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 PythonQtWrapper_QSessionManager : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RestartHint ) +enum RestartHint{ + RestartIfRunning = QSessionManager::RestartIfRunning, RestartAnyway = QSessionManager::RestartAnyway, RestartImmediately = QSessionManager::RestartImmediately, RestartNever = QSessionManager::RestartNever}; +public slots: + bool allowsErrorInteraction(QSessionManager* theWrappedObject); + bool allowsInteraction(QSessionManager* theWrappedObject); + void cancel(QSessionManager* theWrappedObject); + QStringList discardCommand(QSessionManager* theWrappedObject) const; + bool isPhase2(QSessionManager* theWrappedObject) const; + void release(QSessionManager* theWrappedObject); + void requestPhase2(QSessionManager* theWrappedObject); + QStringList restartCommand(QSessionManager* theWrappedObject) const; + QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; + QString sessionId(QSessionManager* theWrappedObject) const; + QString sessionKey(QSessionManager* theWrappedObject) const; + void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); + void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); + void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); + void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); + void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp similarity index 76% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp index 8c54e3ec..5d70585d 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -1,4 +1,4 @@ -#include "com_trolltech_qt_gui7.h" +#include "com_trolltech_qt_gui8.h" #include #include #include @@ -11,164 +11,312 @@ #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include #include #include +#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include -#include -#include #include -#include -#include +#include +#include #include #include +#include #include +#include +#include +#include #include #include -unsigned short PythonQtWrapper_QRgba64::alpha(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->alpha()); +PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -unsigned char PythonQtWrapper_QRgba64::alpha8(QRgba64* theWrappedObject) const +void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) { - return ( theWrappedObject->alpha8()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -unsigned short PythonQtWrapper_QRgba64::blue(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->blue()); + QShortcut::childEvent(event0); } - -unsigned char PythonQtWrapper_QRgba64::blue8(QRgba64* theWrappedObject) const +void PythonQtShell_QShortcut::customEvent(QEvent* event0) { - return ( theWrappedObject->blue8()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromArgb32(uint rgb) + QShortcut::customEvent(event0); +} +bool PythonQtShell_QShortcut::event(QEvent* e0) { - return (QRgba64::fromArgb32(rgb)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) + return QShortcut::event(e0); +} +bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) { - return (QRgba64::fromRgba(red, green, blue, alpha)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(quint64 c) + return QShortcut::eventFilter(watched0, event1); +} +void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) { - return (QRgba64::fromRgba64(c)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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); } -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha) +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 (QRgba64::fromRgba64(red, green, blue, alpha)); + return ( theWrappedObject->autoRepeat()); } -unsigned short PythonQtWrapper_QRgba64::green(QRgba64* theWrappedObject) const +Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const { - return ( theWrappedObject->green()); + return ( theWrappedObject->context()); } -unsigned char PythonQtWrapper_QRgba64::green8(QRgba64* theWrappedObject) const +int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const { - return ( theWrappedObject->green8()); + return ( theWrappedObject->id()); } -bool PythonQtWrapper_QRgba64::isOpaque(QRgba64* theWrappedObject) const +bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const { - return ( theWrappedObject->isOpaque()); + return ( theWrappedObject->isEnabled()); } -bool PythonQtWrapper_QRgba64::isTransparent(QRgba64* theWrappedObject) const +QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const { - return ( theWrappedObject->isTransparent()); + return ( theWrappedObject->key()); } -QRgba64 PythonQtWrapper_QRgba64::operator_assign(QRgba64* theWrappedObject, quint64 _rgba) +QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const { - return ( (*theWrappedObject)= _rgba); + return ( theWrappedObject->parentWidget()); } -QRgba64 PythonQtWrapper_QRgba64::premultiplied(QRgba64* theWrappedObject) const +void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) { - return ( theWrappedObject->premultiplied()); + ( theWrappedObject->setAutoRepeat(on)); } -unsigned short PythonQtWrapper_QRgba64::red(QRgba64* theWrappedObject) const +void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) { - return ( theWrappedObject->red()); + ( theWrappedObject->setContext(context)); } -unsigned char PythonQtWrapper_QRgba64::red8(QRgba64* theWrappedObject) const +void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) { - return ( theWrappedObject->red8()); + ( theWrappedObject->setEnabled(enable)); } -void PythonQtWrapper_QRgba64::setAlpha(QRgba64* theWrappedObject, unsigned short _alpha) +void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) { - ( theWrappedObject->setAlpha(_alpha)); + ( theWrappedObject->setKey(key)); } -void PythonQtWrapper_QRgba64::setBlue(QRgba64* theWrappedObject, unsigned short _blue) +void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) { - ( theWrappedObject->setBlue(_blue)); + ( theWrappedObject->setWhatsThis(text)); } -void PythonQtWrapper_QRgba64::setGreen(QRgba64* theWrappedObject, unsigned short _green) +QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const { - ( theWrappedObject->setGreen(_green)); + return ( theWrappedObject->whatsThis()); } -void PythonQtWrapper_QRgba64::setRed(QRgba64* theWrappedObject, unsigned short _red) -{ - ( theWrappedObject->setRed(_red)); + + +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); } -uint PythonQtWrapper_QRgba64::toArgb32(QRgba64* theWrappedObject) const +bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const { - return ( theWrappedObject->toArgb32()); + return ( theWrappedObject->isAmbiguous()); } -ushort PythonQtWrapper_QRgba64::toRgb16(QRgba64* theWrappedObject) const +const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const { - return ( theWrappedObject->toRgb16()); + return &( theWrappedObject->key()); } -QRgba64 PythonQtWrapper_QRgba64::unpremultiplied(QRgba64* theWrappedObject) const +int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const { - return ( theWrappedObject->unpremultiplied()); + return ( theWrappedObject->shortcutId()); } -PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { +QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() +{ +return new QShowEvent(); } + + + +PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) +void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -178,9 +326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -188,9 +336,9 @@ if (_wrapper) { } } } - QRubberBand::actionEvent(event0); + QSizeGrip::actionEvent(event0); } -void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) +void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -200,9 +348,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -210,9 +380,9 @@ if (_wrapper) { } } } - QRubberBand::changeEvent(arg__1); + QSizeGrip::childEvent(event0); } -void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -222,9 +392,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -232,9 +402,9 @@ if (_wrapper) { } } } - QRubberBand::closeEvent(event0); + QSizeGrip::closeEvent(event0); } -void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -244,9 +414,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -254,9 +446,9 @@ if (_wrapper) { } } } - QRubberBand::contextMenuEvent(event0); + QSizeGrip::customEvent(event0); } -int PythonQtShell_QRubberBand::devType() const +int PythonQtShell_QSizeGrip::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -267,19 +459,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -287,9 +479,9 @@ if (_wrapper) { } } } - return QRubberBand::devType(); + return QSizeGrip::devType(); } -void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -299,9 +491,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -309,9 +501,9 @@ if (_wrapper) { } } } - QRubberBand::dragEnterEvent(event0); + QSizeGrip::dragEnterEvent(event0); } -void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -321,9 +513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -331,9 +523,9 @@ if (_wrapper) { } } } - QRubberBand::dragLeaveEvent(event0); + QSizeGrip::dragLeaveEvent(event0); } -void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -343,9 +535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -353,9 +545,9 @@ if (_wrapper) { } } } - QRubberBand::dragMoveEvent(event0); + QSizeGrip::dragMoveEvent(event0); } -void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) +void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -365,9 +557,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -375,9 +567,9 @@ if (_wrapper) { } } } - QRubberBand::dropEvent(event0); + QSizeGrip::dropEvent(event0); } -void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -387,9 +579,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -397,9 +589,9 @@ if (_wrapper) { } } } - QRubberBand::enterEvent(event0); + QSizeGrip::enterEvent(event0); } -bool PythonQtShell_QRubberBand::event(QEvent* e0) +bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -410,19 +602,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -430,54 +622,87 @@ if (_wrapper) { } } } - return QRubberBand::event(e0); + return QSizeGrip::event(arg__1); } -void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) +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("focusInEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::focusInEvent(event0); + return QSizeGrip::eventFilter(arg__1, arg__2); } -bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) +void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + 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] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -485,9 +710,9 @@ if (_wrapper) { } } } - return QRubberBand::focusNextPrevChild(next0); + return QSizeGrip::focusNextPrevChild(next0); } -void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -497,9 +722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -507,9 +732,9 @@ if (_wrapper) { } } } - QRubberBand::focusOutEvent(event0); + QSizeGrip::focusOutEvent(event0); } -bool PythonQtShell_QRubberBand::hasHeightForWidth() const +bool PythonQtShell_QSizeGrip::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -520,19 +745,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -540,9 +765,9 @@ if (_wrapper) { } } } - return QRubberBand::hasHeightForWidth(); + return QSizeGrip::hasHeightForWidth(); } -int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -553,19 +778,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -573,9 +798,9 @@ if (_wrapper) { } } } - return QRubberBand::heightForWidth(arg__1); + return QSizeGrip::heightForWidth(arg__1); } -void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) +void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -585,9 +810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&hideEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -595,9 +820,9 @@ if (_wrapper) { } } } - QRubberBand::hideEvent(event0); + QSizeGrip::hideEvent(hideEvent0); } -void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const +void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -607,9 +832,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -617,9 +842,9 @@ if (_wrapper) { } } } - QRubberBand::initPainter(painter0); + QSizeGrip::initPainter(painter0); } -void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -629,9 +854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -639,9 +864,9 @@ if (_wrapper) { } } } - QRubberBand::inputMethodEvent(arg__1); + QSizeGrip::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -652,19 +877,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -672,9 +897,9 @@ if (_wrapper) { } } } - return QRubberBand::inputMethodQuery(arg__1); + return QSizeGrip::inputMethodQuery(arg__1); } -void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -684,9 +909,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -694,9 +919,9 @@ if (_wrapper) { } } } - QRubberBand::keyPressEvent(event0); + QSizeGrip::keyPressEvent(event0); } -void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -706,9 +931,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -716,9 +941,9 @@ if (_wrapper) { } } } - QRubberBand::keyReleaseEvent(event0); + QSizeGrip::keyReleaseEvent(event0); } -void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) +void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -728,9 +953,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -738,9 +963,9 @@ if (_wrapper) { } } } - QRubberBand::leaveEvent(event0); + QSizeGrip::leaveEvent(event0); } -int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -751,19 +976,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -771,9 +996,9 @@ if (_wrapper) { } } } - return QRubberBand::metric(arg__1); + return QSizeGrip::metric(arg__1); } -QSize PythonQtShell_QRubberBand::minimumSizeHint() const +QSize PythonQtShell_QSizeGrip::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -784,19 +1009,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -804,9 +1029,9 @@ if (_wrapper) { } } } - return QRubberBand::minimumSizeHint(); + return QSizeGrip::minimumSizeHint(); } -void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -816,9 +1041,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -826,9 +1051,9 @@ if (_wrapper) { } } } - QRubberBand::mouseDoubleClickEvent(event0); + QSizeGrip::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -838,9 +1063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -848,9 +1073,9 @@ if (_wrapper) { } } } - QRubberBand::mouseMoveEvent(event0); + QSizeGrip::mouseMoveEvent(arg__1); } -void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -860,9 +1085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -870,9 +1095,9 @@ if (_wrapper) { } } } - QRubberBand::mousePressEvent(event0); + QSizeGrip::mousePressEvent(arg__1); } -void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -882,9 +1107,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&mouseEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -892,9 +1117,9 @@ if (_wrapper) { } } } - QRubberBand::mouseReleaseEvent(event0); + QSizeGrip::mouseReleaseEvent(mouseEvent0); } -void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -904,9 +1129,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&moveEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -914,9 +1139,9 @@ if (_wrapper) { } } } - QRubberBand::moveEvent(arg__1); + QSizeGrip::moveEvent(moveEvent0); } -bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -927,19 +1152,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -947,9 +1172,9 @@ if (_wrapper) { } } } - return QRubberBand::nativeEvent(eventType0, message1, result2); + return QSizeGrip::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -960,19 +1185,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -980,9 +1205,9 @@ if (_wrapper) { } } } - return QRubberBand::paintEngine(); + return QSizeGrip::paintEngine(); } -void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -992,9 +1217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1002,9 +1227,9 @@ if (_wrapper) { } } } - QRubberBand::paintEvent(arg__1); + QSizeGrip::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QSizeGrip::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1015,19 +1240,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1035,9 +1260,9 @@ if (_wrapper) { } } } - return QRubberBand::redirected(offset0); + return QSizeGrip::redirected(offset0); } -void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1047,9 +1272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1057,9 +1282,9 @@ if (_wrapper) { } } } - QRubberBand::resizeEvent(arg__1); + QSizeGrip::resizeEvent(event0); } -void PythonQtShell_QRubberBand::setVisible(bool visible0) +void PythonQtShell_QSizeGrip::setVisible(bool arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1069,9 +1294,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1079,9 +1304,9 @@ if (_wrapper) { } } } - QRubberBand::setVisible(visible0); + QSizeGrip::setVisible(arg__1); } -QPainter* PythonQtShell_QRubberBand::sharedPainter() const +QPainter* PythonQtShell_QSizeGrip::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1092,19 +1317,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1112,9 +1337,9 @@ if (_wrapper) { } } } - return QRubberBand::sharedPainter(); + return QSizeGrip::sharedPainter(); } -void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1124,9 +1349,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&showEvent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1134,32 +1359,32 @@ if (_wrapper) { } } } - QRubberBand::showEvent(arg__1); + QSizeGrip::showEvent(showEvent0); } -QSize PythonQtShell_QRubberBand::sizeHint() const +QSize PythonQtShell_QSizeGrip::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1167,9 +1392,9 @@ if (_wrapper) { } } } - return QRubberBand::sizeHint(); + return QSizeGrip::sizeHint(); } -void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1179,9 +1404,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1189,9 +1436,9 @@ if (_wrapper) { } } } - QRubberBand::tabletEvent(event0); + QSizeGrip::timerEvent(event0); } -void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1201,9 +1448,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1211,79 +1458,37 @@ if (_wrapper) { } } } - QRubberBand::wheelEvent(event0); + QSizeGrip::wheelEvent(event0); } -QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) +QSizeGrip* PythonQtWrapper_QSizeGrip::new_QSizeGrip(QWidget* parent) { -return new PythonQtShell_QRubberBand(arg__1, arg__2); } +return new PythonQtShell_QSizeGrip(parent); } -const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { +const QMetaObject* PythonQtShell_QSizeGrip::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSizeGrip::staticMetaObject); } else { - return &QRubberBand::staticMetaObject; + return &QSizeGrip::staticMetaObject; } } -int PythonQtShell_QRubberBand::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRubberBand::qt_metacall(call, id, args); +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; } -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()); -} - - - -Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const +QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const { - return ( theWrappedObject->orientation()); + return ( theWrappedObject->sizeHint()); } -PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { +PythonQtShell_QSlider::~PythonQtShell_QSlider() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) +void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1293,9 +1498,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1303,9 +1508,9 @@ if (_wrapper) { } } } - QScrollArea::actionEvent(event0); + QSlider::actionEvent(event0); } -void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) +void PythonQtShell_QSlider::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1315,9 +1520,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1325,9 +1552,9 @@ if (_wrapper) { } } } - QScrollArea::changeEvent(arg__1); + QSlider::childEvent(event0); } -void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1337,9 +1564,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1347,9 +1574,9 @@ if (_wrapper) { } } } - QScrollArea::closeEvent(event0); + QSlider::closeEvent(event0); } -void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1359,9 +1586,31 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1369,9 +1618,9 @@ if (_wrapper) { } } } - QScrollArea::contextMenuEvent(arg__1); + QSlider::customEvent(event0); } -int PythonQtShell_QScrollArea::devType() const +int PythonQtShell_QSlider::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1382,19 +1631,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1402,9 +1651,9 @@ if (_wrapper) { } } } - return QScrollArea::devType(); + return QSlider::devType(); } -void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1414,9 +1663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1424,9 +1673,9 @@ if (_wrapper) { } } } - QScrollArea::dragEnterEvent(arg__1); + QSlider::dragEnterEvent(event0); } -void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1436,9 +1685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1446,9 +1695,9 @@ if (_wrapper) { } } } - QScrollArea::dragLeaveEvent(arg__1); + QSlider::dragLeaveEvent(event0); } -void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1458,9 +1707,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1468,9 +1717,9 @@ if (_wrapper) { } } } - QScrollArea::dragMoveEvent(arg__1); + QSlider::dragMoveEvent(event0); } -void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) +void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1480,9 +1729,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1490,9 +1739,9 @@ if (_wrapper) { } } } - QScrollArea::dropEvent(arg__1); + QSlider::dropEvent(event0); } -void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) +void PythonQtShell_QSlider::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1502,9 +1751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1512,9 +1761,9 @@ if (_wrapper) { } } } - QScrollArea::enterEvent(event0); + QSlider::enterEvent(event0); } -bool PythonQtShell_QScrollArea::event(QEvent* arg__1) +bool PythonQtShell_QSlider::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1525,19 +1774,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1545,9 +1794,9 @@ if (_wrapper) { } } } - return QScrollArea::event(arg__1); + return QSlider::event(event0); } -bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QSlider::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1558,19 +1807,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1578,9 +1827,9 @@ if (_wrapper) { } } } - return QScrollArea::eventFilter(arg__1, arg__2); + return QSlider::eventFilter(watched0, event1); } -void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1590,9 +1839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1600,9 +1849,9 @@ if (_wrapper) { } } } - QScrollArea::focusInEvent(event0); + QSlider::focusInEvent(event0); } -bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) +bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1613,19 +1862,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1633,9 +1882,9 @@ if (_wrapper) { } } } - return QScrollArea::focusNextPrevChild(next0); + return QSlider::focusNextPrevChild(next0); } -void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1645,9 +1894,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1655,9 +1904,9 @@ if (_wrapper) { } } } - QScrollArea::focusOutEvent(event0); + QSlider::focusOutEvent(event0); } -bool PythonQtShell_QScrollArea::hasHeightForWidth() const +bool PythonQtShell_QSlider::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1668,19 +1917,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1688,9 +1937,9 @@ if (_wrapper) { } } } - return QScrollArea::hasHeightForWidth(); + return QSlider::hasHeightForWidth(); } -int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +int PythonQtShell_QSlider::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1701,19 +1950,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1721,9 +1970,9 @@ if (_wrapper) { } } } - return QScrollArea::heightForWidth(arg__1); + return QSlider::heightForWidth(arg__1); } -void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) +void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1733,9 +1982,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1743,9 +1992,9 @@ if (_wrapper) { } } } - QScrollArea::hideEvent(event0); + QSlider::hideEvent(event0); } -void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const +void PythonQtShell_QSlider::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1755,9 +2004,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1765,9 +2014,9 @@ if (_wrapper) { } } } - QScrollArea::initPainter(painter0); + QSlider::initPainter(painter0); } -void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1777,9 +2026,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1787,9 +2036,9 @@ if (_wrapper) { } } } - QScrollArea::inputMethodEvent(arg__1); + QSlider::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1800,19 +2049,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1820,9 +2069,9 @@ if (_wrapper) { } } } - return QScrollArea::inputMethodQuery(arg__1); + return QSlider::inputMethodQuery(arg__1); } -void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1832,9 +2081,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1842,9 +2091,9 @@ if (_wrapper) { } } } - QScrollArea::keyPressEvent(arg__1); + QSlider::keyPressEvent(ev0); } -void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1854,9 +2103,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1864,9 +2113,9 @@ if (_wrapper) { } } } - QScrollArea::keyReleaseEvent(event0); + QSlider::keyReleaseEvent(event0); } -void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) +void PythonQtShell_QSlider::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1876,9 +2125,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1886,9 +2135,9 @@ if (_wrapper) { } } } - QScrollArea::leaveEvent(event0); + QSlider::leaveEvent(event0); } -int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1899,19 +2148,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1919,9 +2168,9 @@ if (_wrapper) { } } } - return QScrollArea::metric(arg__1); + return QSlider::metric(arg__1); } -QSize PythonQtShell_QScrollArea::minimumSizeHint() const +QSize PythonQtShell_QSlider::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1932,19 +2181,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1952,9 +2201,9 @@ if (_wrapper) { } } } - return QScrollArea::minimumSizeHint(); + return QSlider::minimumSizeHint(); } -void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1964,9 +2213,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1974,9 +2223,9 @@ if (_wrapper) { } } } - QScrollArea::mouseDoubleClickEvent(arg__1); + QSlider::mouseDoubleClickEvent(event0); } -void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1986,9 +2235,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1996,9 +2245,9 @@ if (_wrapper) { } } } - QScrollArea::mouseMoveEvent(arg__1); + QSlider::mouseMoveEvent(ev0); } -void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2008,9 +2257,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2018,9 +2267,9 @@ if (_wrapper) { } } } - QScrollArea::mousePressEvent(arg__1); + QSlider::mousePressEvent(ev0); } -void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2030,9 +2279,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2040,9 +2289,9 @@ if (_wrapper) { } } } - QScrollArea::mouseReleaseEvent(arg__1); + QSlider::mouseReleaseEvent(ev0); } -void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) +void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2052,9 +2301,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2062,9 +2311,9 @@ if (_wrapper) { } } } - QScrollArea::moveEvent(event0); + QSlider::moveEvent(event0); } -bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2075,19 +2324,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2095,9 +2344,9 @@ if (_wrapper) { } } } - return QScrollArea::nativeEvent(eventType0, message1, result2); + return QSlider::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +QPaintEngine* PythonQtShell_QSlider::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2108,19 +2357,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2128,9 +2377,9 @@ if (_wrapper) { } } } - return QScrollArea::paintEngine(); + return QSlider::paintEngine(); } -void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2140,9 +2389,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2150,9 +2399,9 @@ if (_wrapper) { } } } - QScrollArea::paintEvent(arg__1); + QSlider::paintEvent(ev0); } -QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2163,19 +2412,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2183,9 +2432,9 @@ if (_wrapper) { } } } - return QScrollArea::redirected(offset0); + return QSlider::redirected(offset0); } -void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2195,9 +2444,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2205,21 +2454,21 @@ if (_wrapper) { } } } - QScrollArea::resizeEvent(arg__1); + QSlider::resizeEvent(event0); } -void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QSlider::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("scrollContentsBy"); + static PyObject* name = PyString_FromString("setVisible"); 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] = {NULL, (void*)&dx0, (void*)&dy1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2227,76 +2476,32 @@ if (_wrapper) { } } } - QScrollArea::scrollContentsBy(dx0, dy1); + QSlider::setVisible(visible0); } -void PythonQtShell_QScrollArea::setVisible(bool visible0) +QPainter* PythonQtShell_QSlider::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (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] = {NULL, (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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2304,9 +2509,9 @@ if (_wrapper) { } } } - return QScrollArea::sharedPainter(); + return QSlider::sharedPainter(); } -void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) +void PythonQtShell_QSlider::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2316,9 +2521,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2326,9 +2531,9 @@ if (_wrapper) { } } } - QScrollArea::showEvent(event0); + QSlider::showEvent(event0); } -QSize PythonQtShell_QScrollArea::sizeHint() const +QSize PythonQtShell_QSlider::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2339,19 +2544,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2359,21 +2564,21 @@ if (_wrapper) { } } } - return QScrollArea::sizeHint(); + return QSlider::sizeHint(); } -void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("sliderChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&change0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2381,75 +2586,53 @@ if (_wrapper) { } } } - QScrollArea::tabletEvent(event0); + QSlider::sliderChange(change0); } -bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::viewportEvent(arg__1); + QSlider::tabletEvent(event0); } -QSize PythonQtShell_QScrollArea::viewportSizeHint() const +void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewportSizeHint"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::viewportSizeHint(); + QSlider::timerEvent(arg__1); } -void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2459,9 +2642,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2469,155 +2652,182 @@ if (_wrapper) { } } } - QScrollArea::wheelEvent(arg__1); + QSlider::wheelEvent(e0); } -QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) +QSlider* PythonQtWrapper_QSlider::new_QSlider(QWidget* parent) { -return new PythonQtShell_QScrollArea(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_QScrollArea::metaObject() const { +const QMetaObject* PythonQtShell_QSlider::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollArea::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSlider::staticMetaObject); } else { - return &QScrollArea::staticMetaObject; + return &QSlider::staticMetaObject; } } -int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollArea::qt_metacall(call, id, args); +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; } -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) +void PythonQtWrapper_QSlider::initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const { - ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); + ( ((PythonQtPublicPromoter_QSlider*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) +QSize PythonQtWrapper_QSlider::minimumSizeHint(QSlider* theWrappedObject) const { - ( theWrappedObject->setAlignment(arg__1)); + return ( theWrappedObject->minimumSizeHint()); } -void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) +void PythonQtWrapper_QSlider::setTickInterval(QSlider* theWrappedObject, int ti) { - ( theWrappedObject->setWidget(widget)); + ( theWrappedObject->setTickInterval(ti)); } -void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) +void PythonQtWrapper_QSlider::setTickPosition(QSlider* theWrappedObject, QSlider::TickPosition position) { - ( theWrappedObject->setWidgetResizable(resizable)); + ( theWrappedObject->setTickPosition(position)); } -QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) +QSize PythonQtWrapper_QSlider::sizeHint(QSlider* theWrappedObject) const { - return ( theWrappedObject->takeWidget()); + return ( theWrappedObject->sizeHint()); } -QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const +int PythonQtWrapper_QSlider::tickInterval(QSlider* theWrappedObject) const { - return ( theWrappedObject->widget()); + return ( theWrappedObject->tickInterval()); } -bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const +QSlider::TickPosition PythonQtWrapper_QSlider::tickPosition(QSlider* theWrappedObject) const { - return ( theWrappedObject->widgetResizable()); + return ( theWrappedObject->tickPosition()); } -PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { +PythonQtShell_QSortFilterProxyModel::~PythonQtShell_QSortFilterProxyModel() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) +QModelIndex PythonQtShell_QSortFilterProxyModel::buddy(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("buddy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::actionEvent(event0); + return QSortFilterProxyModel::buddy(index0); } -void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) +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("changeEvent"); + static PyObject* name = PyString_FromString("canDropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::changeEvent(e0); + return QSortFilterProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("canFetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::closeEvent(event0); + return QSortFilterProxyModel::canFetchMore(parent0); } -void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QSortFilterProxyModel::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2625,32 +2835,32 @@ if (_wrapper) { } } } - QScrollBar::contextMenuEvent(arg__1); + QSortFilterProxyModel::childEvent(event0); } -int PythonQtShell_QScrollBar::devType() const +int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("columnCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2658,21 +2868,21 @@ if (_wrapper) { } } } - return QScrollBar::devType(); + return QSortFilterProxyModel::columnCount(parent0); } -void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QSortFilterProxyModel::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2680,175 +2890,219 @@ if (_wrapper) { } } } - QScrollBar::dragEnterEvent(event0); + QSortFilterProxyModel::customEvent(event0); } -void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* 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("dragLeaveEvent"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dragLeaveEvent(event0); + return QSortFilterProxyModel::data(index0, role1); } -void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) +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("dragMoveEvent"); + static PyObject* name = PyString_FromString("dropMimeData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dragMoveEvent(event0); + return QSortFilterProxyModel::dropMimeData(data0, action1, row2, column3, parent4); } -void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) +bool PythonQtShell_QSortFilterProxyModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dropEvent(event0); + return QSortFilterProxyModel::event(event0); } -void PythonQtShell_QScrollBar::enterEvent(QEvent* 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("enterEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::enterEvent(event0); + return QSortFilterProxyModel::eventFilter(watched0, event1); } -bool PythonQtShell_QScrollBar::event(QEvent* event0) +void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("fetchMore"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollBar::event(event0); + QSortFilterProxyModel::fetchMore(parent0); } -void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) +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("focusInEvent"); + static PyObject* name = PyString_FromString("filterAcceptsColumn"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsColumn", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::focusInEvent(event0); + return QSortFilterProxyModel::filterAcceptsColumn(source_column0, source_parent1); } -bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("filterAcceptsRow"); 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); + static const char* argumentList[] ={"bool" , "int" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[3] = {nullptr, (void*)&source_row0, (void*)&source_parent1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2856,54 +3110,65 @@ if (_wrapper) { } } } - return QScrollBar::focusNextPrevChild(next0); + return QSortFilterProxyModel::filterAcceptsRow(source_row0, source_parent1); } -void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) +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("focusOutEvent"); + static PyObject* name = PyString_FromString("flags"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + Qt::ItemFlags returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); + } else { + returnValue = *((Qt::ItemFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::focusOutEvent(event0); + return QSortFilterProxyModel::flags(index0); } -bool PythonQtShell_QScrollBar::hasHeightForWidth() const +bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("hasChildren"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2911,32 +3176,32 @@ if (_wrapper) { } } } - return QScrollBar::hasHeightForWidth(); + return QSortFilterProxyModel::hasChildren(parent0); } -int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("headerData"); 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] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2944,98 +3209,131 @@ if (_wrapper) { } } } - return QScrollBar::heightForWidth(arg__1); + return QSortFilterProxyModel::headerData(section0, orientation1, role2); } -void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +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("hideEvent"); + static PyObject* name = PyString_FromString("index"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::hideEvent(arg__1); + return QSortFilterProxyModel::index(row0, column1, parent2); } -void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const +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("initPainter"); + static PyObject* name = PyString_FromString("insertColumns"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::initPainter(painter0); + return QSortFilterProxyModel::insertColumns(column0, count1, parent2); } -void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("insertRows"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::inputMethodEvent(arg__1); + return QSortFilterProxyModel::insertRows(row0, count1, parent2); } -QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("itemData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QMap returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3043,98 +3341,131 @@ if (_wrapper) { } } } - return QScrollBar::inputMethodQuery(arg__1); + return QSortFilterProxyModel::itemData(index0); } -void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) +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("keyPressEvent"); + static PyObject* name = PyString_FromString("lessThan"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lessThan", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::keyPressEvent(ev0); + return QSortFilterProxyModel::lessThan(source_left0, source_right1); } -void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) +QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("mapFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&sourceIndex0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::keyReleaseEvent(event0); + return QSortFilterProxyModel::mapFromSource(sourceIndex0); } -void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) +QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("mapSelectionFromSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&sourceSelection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); + } else { + returnValue = *((QItemSelection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::leaveEvent(event0); + return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection0); } -int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("mapSelectionToSource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QItemSelection returnValue{}; + void* args[2] = {nullptr, (void*)&proxySelection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QItemSelection*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3142,32 +3473,32 @@ if (_wrapper) { } } } - return QScrollBar::metric(arg__1); + return QSortFilterProxyModel::mapSelectionToSource(proxySelection0); } -QSize PythonQtShell_QScrollBar::minimumSizeHint() const +QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("mapToSource"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3175,142 +3506,164 @@ if (_wrapper) { } } } - return QScrollBar::minimumSizeHint(); + return QSortFilterProxyModel::mapToSource(proxyIndex0); } -void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) +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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("match"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::mouseDoubleClickEvent(event0); + return QSortFilterProxyModel::match(start0, role1, value2, hits3, flags4); } -void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("mimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&indexes0}; 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::mousePressEvent(arg__1); + return QSortFilterProxyModel::mimeData(indexes0); } -void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("mimeTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::mouseReleaseEvent(arg__1); + return QSortFilterProxyModel::mimeTypes(); } -void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) +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("moveEvent"); + static PyObject* name = PyString_FromString("moveColumns"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::moveEvent(event0); + return QSortFilterProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); } -bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("moveRows"); 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); + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "int" , "int" , "const QModelIndex&" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3318,32 +3671,32 @@ if (_wrapper) { } } } - return QScrollBar::nativeEvent(eventType0, message1, result2); + return QSortFilterProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); } -QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const +QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("parent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3351,54 +3704,65 @@ if (_wrapper) { } } } - return QScrollBar::paintEngine(); + return QSortFilterProxyModel::parent(child0); } -void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +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("paintEvent"); + static PyObject* name = PyString_FromString("removeColumns"); 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] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::paintEvent(arg__1); + return QSortFilterProxyModel::removeColumns(column0, count1, parent2); } -QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const +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("redirected"); + static PyObject* name = PyString_FromString("removeRows"); 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] = {NULL, (void*)&offset0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3406,21 +3770,21 @@ if (_wrapper) { } } } - return QScrollBar::redirected(offset0); + return QSortFilterProxyModel::removeRows(row0, count1, parent2); } -void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QSortFilterProxyModel::revert() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("revert"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3428,54 +3792,65 @@ if (_wrapper) { } } } - QScrollBar::resizeEvent(event0); + QSortFilterProxyModel::revert(); } -void PythonQtShell_QScrollBar::setVisible(bool visible0) +QHash PythonQtShell_QSortFilterProxyModel::roleNames() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("roleNames"); 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] = {NULL, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + } else { + returnValue = *((QHash*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::setVisible(visible0); + return QSortFilterProxyModel::roleNames(); } -QPainter* PythonQtShell_QScrollBar::sharedPainter() const +int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("rowCount"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3483,54 +3858,65 @@ if (_wrapper) { } } } - return QScrollBar::sharedPainter(); + return QSortFilterProxyModel::rowCount(parent0); } -void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) +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("showEvent"); + static PyObject* name = PyString_FromString("setData"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::showEvent(event0); + return QSortFilterProxyModel::setData(index0, value1, role2); } -QSize PythonQtShell_QScrollBar::sizeHint() const +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("sizeHint"); + static PyObject* name = PyString_FromString("setHeaderData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3538,43 +3924,54 @@ if (_wrapper) { } } } - return QScrollBar::sizeHint(); + return QSortFilterProxyModel::setHeaderData(section0, orientation1, value2, role3); } -void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) +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("sliderChange"); + static PyObject* name = PyString_FromString("setItemData"); 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] = {NULL, (void*)&change0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::sliderChange(change0); + return QSortFilterProxyModel::setItemData(index0, roles1); } -void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("setSourceModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&sourceModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3582,43 +3979,54 @@ if (_wrapper) { } } } - QScrollBar::tabletEvent(event0); + QSortFilterProxyModel::setSourceModel(sourceModel0); } -void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +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("timerEvent"); + static PyObject* name = PyString_FromString("sibling"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::timerEvent(arg__1); + return QSortFilterProxyModel::sibling(row0, column1, idx2); } -void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) +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("wheelEvent"); + static PyObject* name = PyString_FromString("sort"); 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] = {NULL, (void*)&arg__1}; + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3626,262 +4034,329 @@ if (_wrapper) { } } } - QScrollBar::wheelEvent(arg__1); + QSortFilterProxyModel::sort(column0, order1); } -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; +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(); + } } } -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)); + return QSortFilterProxyModel::span(index0); } - -QSize PythonQtWrapper_QScrollBar::sizeHint(QScrollBar* theWrappedObject) const +bool PythonQtShell_QSortFilterProxyModel::submit() { - return ( theWrappedObject->sizeHint()); +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(); + } + } } - - - -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()); + return QSortFilterProxyModel::submit(); } - -QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const +Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const { - return ( theWrappedObject->overshootDistance()); +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(); + } + } } - -QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const -{ - return ( theWrappedObject->scrollState()); + return QSortFilterProxyModel::supportedDragActions(); } - - - -QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) -{ -return new QScrollPrepareEvent(startPos); } - -QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const +Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const { - return ( theWrappedObject->contentPos()); +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(); + } + } } - -QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const -{ - return ( theWrappedObject->contentPosRange()); + return QSortFilterProxyModel::supportedDropActions(); } - -void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) +void PythonQtShell_QSortFilterProxyModel::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setContentPos(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) -{ - ( theWrappedObject->setContentPosRange(rect)); + QSortFilterProxyModel::timerEvent(event0); } +QSortFilterProxyModel* PythonQtWrapper_QSortFilterProxyModel::new_QSortFilterProxyModel(QObject* parent) +{ +return new PythonQtShell_QSortFilterProxyModel(parent); } -void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setViewportSize(size)); +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; + } } - -QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const -{ - return ( theWrappedObject->startPos()); +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; } - -QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +bool PythonQtWrapper_QSortFilterProxyModel::dynamicSortFilter(QSortFilterProxyModel* theWrappedObject) const { - return ( theWrappedObject->viewportSize()); -} - - - -PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->dynamicSortFilter()); } -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 +bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsColumn(QSortFilterProxyModel* theWrappedObject, int source_column, const QModelIndex& source_parent) const { - return ( (*theWrappedObject)!= sp); + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsColumn(source_column, source_parent)); } -QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) +bool PythonQtWrapper_QSortFilterProxyModel::filterAcceptsRow(QSortFilterProxyModel* theWrappedObject, int source_row, const QModelIndex& source_parent) const { - return &( (*theWrappedObject)= sp); + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_filterAcceptsRow(source_row, source_parent)); } -bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::filterCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const { - return ( (*theWrappedObject)== sp); + return ( theWrappedObject->filterCaseSensitivity()); } -QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const +int PythonQtWrapper_QSortFilterProxyModel::filterKeyColumn(QSortFilterProxyModel* theWrappedObject) const { - return ( theWrappedObject->scrollMetric(metric)); + return ( theWrappedObject->filterKeyColumn()); } -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) +QRegExp PythonQtWrapper_QSortFilterProxyModel::filterRegExp(QSortFilterProxyModel* theWrappedObject) const { - (QScrollerProperties::setDefaultScrollerProperties(sp)); + return ( theWrappedObject->filterRegExp()); } -void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) +QRegularExpression PythonQtWrapper_QSortFilterProxyModel::filterRegularExpression(QSortFilterProxyModel* theWrappedObject) const { - ( theWrappedObject->setScrollMetric(metric, value)); + return ( theWrappedObject->filterRegularExpression()); } -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() +int PythonQtWrapper_QSortFilterProxyModel::filterRole(QSortFilterProxyModel* theWrappedObject) const { - (QScrollerProperties::unsetDefaultScrollerProperties()); + return ( theWrappedObject->filterRole()); } - - -bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) +void PythonQtWrapper_QSortFilterProxyModel::invalidateFilter(QSortFilterProxyModel* theWrappedObject) { - return ( theWrappedObject->allowsErrorInteraction()); + ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_invalidateFilter()); } -bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) +bool PythonQtWrapper_QSortFilterProxyModel::isRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject) const { - return ( theWrappedObject->allowsInteraction()); + return ( theWrappedObject->isRecursiveFilteringEnabled()); } -void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) +bool PythonQtWrapper_QSortFilterProxyModel::isSortLocaleAware(QSortFilterProxyModel* theWrappedObject) const { - ( theWrappedObject->cancel()); + return ( theWrappedObject->isSortLocaleAware()); } -QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const +bool PythonQtWrapper_QSortFilterProxyModel::lessThan(QSortFilterProxyModel* theWrappedObject, const QModelIndex& source_left, const QModelIndex& source_right) const { - return ( theWrappedObject->discardCommand()); + return ( ((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->promoted_lessThan(source_left, source_right)); } -bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const +void PythonQtWrapper_QSortFilterProxyModel::setDynamicSortFilter(QSortFilterProxyModel* theWrappedObject, bool enable) { - return ( theWrappedObject->isPhase2()); + ( theWrappedObject->setDynamicSortFilter(enable)); } -void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) +void PythonQtWrapper_QSortFilterProxyModel::setFilterCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) { - ( theWrappedObject->release()); + ( theWrappedObject->setFilterCaseSensitivity(cs)); } -void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) +void PythonQtWrapper_QSortFilterProxyModel::setFilterKeyColumn(QSortFilterProxyModel* theWrappedObject, int column) { - ( theWrappedObject->requestPhase2()); + ( theWrappedObject->setFilterKeyColumn(column)); } -QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const +void PythonQtWrapper_QSortFilterProxyModel::setFilterRole(QSortFilterProxyModel* theWrappedObject, int role) { - return ( theWrappedObject->restartCommand()); + ( theWrappedObject->setFilterRole(role)); } -QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const +void PythonQtWrapper_QSortFilterProxyModel::setRecursiveFilteringEnabled(QSortFilterProxyModel* theWrappedObject, bool recursive) { - return ( theWrappedObject->restartHint()); + ( theWrappedObject->setRecursiveFilteringEnabled(recursive)); } -QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const +void PythonQtWrapper_QSortFilterProxyModel::setSortCaseSensitivity(QSortFilterProxyModel* theWrappedObject, Qt::CaseSensitivity cs) { - return ( theWrappedObject->sessionId()); + ( theWrappedObject->setSortCaseSensitivity(cs)); } -QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const +void PythonQtWrapper_QSortFilterProxyModel::setSortLocaleAware(QSortFilterProxyModel* theWrappedObject, bool on) { - return ( theWrappedObject->sessionKey()); + ( theWrappedObject->setSortLocaleAware(on)); } -void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +void PythonQtWrapper_QSortFilterProxyModel::setSortRole(QSortFilterProxyModel* theWrappedObject, int role) { - ( theWrappedObject->setDiscardCommand(arg__1)); + ( theWrappedObject->setSortRole(role)); } -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) +Qt::CaseSensitivity PythonQtWrapper_QSortFilterProxyModel::sortCaseSensitivity(QSortFilterProxyModel* theWrappedObject) const { - ( theWrappedObject->setManagerProperty(name, value)); + return ( theWrappedObject->sortCaseSensitivity()); } -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) +int PythonQtWrapper_QSortFilterProxyModel::sortColumn(QSortFilterProxyModel* theWrappedObject) const { - ( theWrappedObject->setManagerProperty(name, value)); + return ( theWrappedObject->sortColumn()); } -void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +Qt::SortOrder PythonQtWrapper_QSortFilterProxyModel::sortOrder(QSortFilterProxyModel* theWrappedObject) const { - ( theWrappedObject->setRestartCommand(arg__1)); + return ( theWrappedObject->sortOrder()); } -void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) +int PythonQtWrapper_QSortFilterProxyModel::sortRole(QSortFilterProxyModel* theWrappedObject) const { - ( theWrappedObject->setRestartHint(arg__1)); + return ( theWrappedObject->sortRole()); } -PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { +PythonQtShell_QSpacerItem::~PythonQtShell_QSpacerItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QShortcut::event(QEvent* e0) +QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3889,210 +4364,153 @@ if (_wrapper) { } } } - return QShortcut::event(e0); -} -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; - } + return QSpacerItem::controlTypes(); } -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()); -} - -bool PythonQtWrapper_QShortcut::event(QShortcut* theWrappedObject, QEvent* e) -{ - return ( ((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->promoted_event(e)); -} - -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()); -} - - - -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 +Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const { - return ( theWrappedObject->shortcutId()); +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(); + } + } } - - - -QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() -{ -return new QShowEvent(); } - - - -PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QSpacerItem::expandingDirections(); } -void PythonQtShell_QSizeGrip::actionEvent(QActionEvent* event0) +QRect PythonQtShell_QSpacerItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("geometry"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::actionEvent(event0); + return QSpacerItem::geometry(); } -void PythonQtShell_QSizeGrip::changeEvent(QEvent* arg__1) +bool PythonQtShell_QSpacerItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::changeEvent(arg__1); + return QSpacerItem::hasHeightForWidth(); } -void PythonQtShell_QSizeGrip::closeEvent(QCloseEvent* event0) +int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::closeEvent(event0); + return QSpacerItem::heightForWidth(arg__1); } -void PythonQtShell_QSizeGrip::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSpacerItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("invalidate"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4100,32 +4518,32 @@ if (_wrapper) { } } } - QSizeGrip::contextMenuEvent(event0); + QSpacerItem::invalidate(); } -int PythonQtShell_QSizeGrip::devType() const +bool PythonQtShell_QSpacerItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4133,109 +4551,153 @@ if (_wrapper) { } } } - return QSizeGrip::devType(); + return QSpacerItem::isEmpty(); } -void PythonQtShell_QSizeGrip::dragEnterEvent(QDragEnterEvent* event0) +QLayout* PythonQtShell_QSpacerItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("layout"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::dragEnterEvent(event0); + return QSpacerItem::layout(); } -void PythonQtShell_QSizeGrip::dragLeaveEvent(QDragLeaveEvent* event0) +QSize PythonQtShell_QSpacerItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("maximumSize"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::dragLeaveEvent(event0); + return QSpacerItem::maximumSize(); } -void PythonQtShell_QSizeGrip::dragMoveEvent(QDragMoveEvent* event0) +int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; + if (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(); } } } - QSizeGrip::dragMoveEvent(event0); + return QSpacerItem::minimumHeightForWidth(arg__1); } -void PythonQtShell_QSizeGrip::dropEvent(QDropEvent* event0) +QSize PythonQtShell_QSpacerItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("minimumSize"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::dropEvent(event0); + return QSpacerItem::minimumSize(); } -void PythonQtShell_QSizeGrip::enterEvent(QEvent* event0) +void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4243,32 +4705,32 @@ if (_wrapper) { } } } - QSizeGrip::enterEvent(event0); + QSpacerItem::setGeometry(arg__1); } -bool PythonQtShell_QSizeGrip::event(QEvent* arg__1) +QSize PythonQtShell_QSpacerItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4276,32 +4738,32 @@ if (_wrapper) { } } } - return QSizeGrip::event(arg__1); + return QSpacerItem::sizeHint(); } -bool PythonQtShell_QSizeGrip::eventFilter(QObject* arg__1, QEvent* arg__2) +QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4309,76 +4771,96 @@ if (_wrapper) { } } } - return QSizeGrip::eventFilter(arg__1, arg__2); + return QSpacerItem::spacerItem(); } -void PythonQtShell_QSizeGrip::focusInEvent(QFocusEvent* event0) +QWidget* PythonQtShell_QSpacerItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::focusInEvent(event0); + return QSpacerItem::widget(); } -bool PythonQtShell_QSizeGrip::focusNextPrevChild(bool next0) +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("focusNextPrevChild"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::focusNextPrevChild(next0); + QSpinBox::actionEvent(event0); } -void PythonQtShell_QSizeGrip::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSpinBox::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4386,87 +4868,65 @@ if (_wrapper) { } } } - QSizeGrip::focusOutEvent(event0); + QSpinBox::changeEvent(event0); } -bool PythonQtShell_QSizeGrip::hasHeightForWidth() const +void PythonQtShell_QSpinBox::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::hasHeightForWidth(); + QSpinBox::childEvent(event0); } -int PythonQtShell_QSizeGrip::heightForWidth(int arg__1) const +void PythonQtShell_QSpinBox::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("clear"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::heightForWidth(arg__1); + QSpinBox::clear(); } -void PythonQtShell_QSizeGrip::hideEvent(QHideEvent* hideEvent0) +void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hideEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4474,21 +4934,21 @@ if (_wrapper) { } } } - QSizeGrip::hideEvent(hideEvent0); + QSpinBox::closeEvent(event0); } -void PythonQtShell_QSizeGrip::initPainter(QPainter* painter0) const +void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4496,21 +4956,21 @@ if (_wrapper) { } } } - QSizeGrip::initPainter(painter0); + QSpinBox::contextMenuEvent(event0); } -void PythonQtShell_QSizeGrip::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSpinBox::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4518,32 +4978,32 @@ if (_wrapper) { } } } - QSizeGrip::inputMethodEvent(arg__1); + QSpinBox::customEvent(event0); } -QVariant PythonQtShell_QSizeGrip::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QSpinBox::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("devType"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4551,21 +5011,21 @@ if (_wrapper) { } } } - return QSizeGrip::inputMethodQuery(arg__1); + return QSpinBox::devType(); } -void PythonQtShell_QSizeGrip::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSpinBox::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4573,21 +5033,21 @@ if (_wrapper) { } } } - QSizeGrip::keyPressEvent(event0); + QSpinBox::dragEnterEvent(event0); } -void PythonQtShell_QSizeGrip::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4595,21 +5055,21 @@ if (_wrapper) { } } } - QSizeGrip::keyReleaseEvent(event0); + QSpinBox::dragLeaveEvent(event0); } -void PythonQtShell_QSizeGrip::leaveEvent(QEvent* event0) +void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4617,65 +5077,76 @@ if (_wrapper) { } } } - QSizeGrip::leaveEvent(event0); + QSpinBox::dragMoveEvent(event0); } -int PythonQtShell_QSizeGrip::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::metric(arg__1); + QSpinBox::dropEvent(event0); } -QSize PythonQtShell_QSizeGrip::minimumSizeHint() const +void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("enterEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4683,43 +5154,54 @@ if (_wrapper) { } } } - return QSizeGrip::minimumSizeHint(); + return QSpinBox::event(event0); } -void PythonQtShell_QSizeGrip::mouseDoubleClickEvent(QMouseEvent* 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("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::mouseDoubleClickEvent(event0); + return QSpinBox::eventFilter(watched0, event1); } -void PythonQtShell_QSizeGrip::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSpinBox::fixup(QString& str0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&str0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4727,21 +5209,21 @@ if (_wrapper) { } } } - QSizeGrip::mouseMoveEvent(arg__1); + QSpinBox::fixup(str0); } -void PythonQtShell_QSizeGrip::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4749,43 +5231,54 @@ if (_wrapper) { } } } - QSizeGrip::mousePressEvent(arg__1); + QSpinBox::focusInEvent(event0); } -void PythonQtShell_QSizeGrip::mouseReleaseEvent(QMouseEvent* mouseEvent0) +bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mouseEvent0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::mouseReleaseEvent(mouseEvent0); + return QSpinBox::focusNextPrevChild(next0); } -void PythonQtShell_QSizeGrip::moveEvent(QMoveEvent* moveEvent0) +void PythonQtShell_QSpinBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&moveEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4793,32 +5286,32 @@ if (_wrapper) { } } } - QSizeGrip::moveEvent(moveEvent0); + QSpinBox::focusOutEvent(event0); } -bool PythonQtShell_QSizeGrip::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QSpinBox::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4826,32 +5319,32 @@ if (_wrapper) { } } } - return QSizeGrip::nativeEvent(eventType0, message1, result2); + return QSpinBox::hasHeightForWidth(); } -QPaintEngine* PythonQtShell_QSizeGrip::paintEngine() const +int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4859,21 +5352,21 @@ if (_wrapper) { } } } - return QSizeGrip::paintEngine(); + return QSpinBox::heightForWidth(arg__1); } -void PythonQtShell_QSizeGrip::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4881,54 +5374,21 @@ if (_wrapper) { } } } - 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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); + QSpinBox::hideEvent(event0); } -void PythonQtShell_QSizeGrip::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4936,21 +5396,21 @@ if (_wrapper) { } } } - QSizeGrip::resizeEvent(event0); + QSpinBox::initPainter(painter0); } -void PythonQtShell_QSizeGrip::setVisible(bool arg__1) +void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4958,32 +5418,32 @@ if (_wrapper) { } } } - QSizeGrip::setVisible(arg__1); + QSpinBox::inputMethodEvent(arg__1); } -QPainter* PythonQtShell_QSizeGrip::sharedPainter() const +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("sharedPainter"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4991,21 +5451,21 @@ if (_wrapper) { } } } - return QSizeGrip::sharedPainter(); + return QSpinBox::inputMethodQuery(arg__1); } -void PythonQtShell_QSizeGrip::showEvent(QShowEvent* showEvent0) +void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&showEvent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5013,54 +5473,43 @@ if (_wrapper) { } } } - QSizeGrip::showEvent(showEvent0); + QSpinBox::keyPressEvent(event0); } -QSize PythonQtShell_QSizeGrip::sizeHint() const +void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSizeGrip::sizeHint(); + QSpinBox::keyReleaseEvent(event0); } -void PythonQtShell_QSizeGrip::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5068,76 +5517,109 @@ if (_wrapper) { } } } - QSizeGrip::tabletEvent(event0); + QSpinBox::leaveEvent(event0); } -void PythonQtShell_QSizeGrip::wheelEvent(QWheelEvent* 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("wheelEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSizeGrip::wheelEvent(event0); + return QSpinBox::metric(arg__1); } -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; +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(); + } } } -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; -} -bool PythonQtWrapper_QSizeGrip::eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2) -{ - return ( ((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->promoted_eventFilter(arg__1, arg__2)); + return QSpinBox::minimumSizeHint(); } - -QSize PythonQtWrapper_QSizeGrip::sizeHint(QSizeGrip* theWrappedObject) const +void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->sizeHint()); +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(); + } + } } - - - -PythonQtShell_QSlider::~PythonQtShell_QSlider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QSpinBox::mouseDoubleClickEvent(event0); } -void PythonQtShell_QSlider::actionEvent(QActionEvent* event0) +void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5145,21 +5627,21 @@ if (_wrapper) { } } } - QSlider::actionEvent(event0); + QSpinBox::mouseMoveEvent(event0); } -void PythonQtShell_QSlider::changeEvent(QEvent* e0) +void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5167,21 +5649,21 @@ if (_wrapper) { } } } - QSlider::changeEvent(e0); + QSpinBox::mousePressEvent(event0); } -void PythonQtShell_QSlider::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5189,21 +5671,21 @@ if (_wrapper) { } } } - QSlider::closeEvent(event0); + QSpinBox::mouseReleaseEvent(event0); } -void PythonQtShell_QSlider::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5211,32 +5693,32 @@ if (_wrapper) { } } } - QSlider::contextMenuEvent(event0); + QSpinBox::moveEvent(event0); } -int PythonQtShell_QSlider::devType() const +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("devType"); + static PyObject* name = PyString_FromString("nativeEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5244,43 +5726,54 @@ if (_wrapper) { } } } - return QSlider::devType(); + return QSpinBox::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSlider::dragEnterEvent(QDragEnterEvent* event0) +QPaintEngine* PythonQtShell_QSpinBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::dragEnterEvent(event0); + return QSpinBox::paintEngine(); } -void PythonQtShell_QSlider::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSpinBox::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5288,43 +5781,54 @@ if (_wrapper) { } } } - QSlider::dragLeaveEvent(event0); + QSpinBox::paintEvent(event0); } -void PythonQtShell_QSlider::dragMoveEvent(QDragMoveEvent* event0) +QPaintDevice* PythonQtShell_QSpinBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::dragMoveEvent(event0); + return QSpinBox::redirected(offset0); } -void PythonQtShell_QSlider::dropEvent(QDropEvent* event0) +void PythonQtShell_QSpinBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5332,21 +5836,21 @@ if (_wrapper) { } } } - QSlider::dropEvent(event0); + QSpinBox::resizeEvent(event0); } -void PythonQtShell_QSlider::enterEvent(QEvent* event0) +void PythonQtShell_QSpinBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5354,32 +5858,32 @@ if (_wrapper) { } } } - QSlider::enterEvent(event0); + QSpinBox::setVisible(visible0); } -bool PythonQtShell_QSlider::event(QEvent* event0) +QPainter* PythonQtShell_QSpinBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5387,21 +5891,21 @@ if (_wrapper) { } } } - return QSlider::event(event0); + return QSpinBox::sharedPainter(); } -void PythonQtShell_QSlider::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5409,32 +5913,32 @@ if (_wrapper) { } } } - QSlider::focusInEvent(event0); + QSpinBox::showEvent(event0); } -bool PythonQtShell_QSlider::focusNextPrevChild(bool next0) +QSize PythonQtShell_QSpinBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("sizeHint"); 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] = {NULL, (void*)&next0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5442,21 +5946,21 @@ if (_wrapper) { } } } - return QSlider::focusNextPrevChild(next0); + return QSpinBox::sizeHint(); } -void PythonQtShell_QSlider::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSpinBox::stepBy(int steps0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("stepBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&steps0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5464,32 +5968,32 @@ if (_wrapper) { } } } - QSlider::focusOutEvent(event0); + QSpinBox::stepBy(steps0); } -bool PythonQtShell_QSlider::hasHeightForWidth() const +QAbstractSpinBox::StepEnabled PythonQtShell_QSpinBox::stepEnabled() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("stepEnabled"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5497,76 +6001,76 @@ if (_wrapper) { } } } - return QSlider::hasHeightForWidth(); + return QSpinBox::stepEnabled(); } -int PythonQtShell_QSlider::heightForWidth(int arg__1) const +void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::heightForWidth(arg__1); + QSpinBox::tabletEvent(event0); } -void PythonQtShell_QSlider::hideEvent(QHideEvent* event0) +QString PythonQtShell_QSpinBox::textFromValue(int val0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("textFromValue"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QString returnValue{}; + void* args[2] = {nullptr, (void*)&val0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::hideEvent(event0); + return QSpinBox::textFromValue(val0); } -void PythonQtShell_QSlider::initPainter(QPainter* painter0) const +void PythonQtShell_QSpinBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5574,54 +6078,65 @@ if (_wrapper) { } } } - QSlider::initPainter(painter0); + QSpinBox::timerEvent(event0); } -void PythonQtShell_QSlider::inputMethodEvent(QInputMethodEvent* arg__1) +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("inputMethodEvent"); + static PyObject* name = PyString_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::inputMethodEvent(arg__1); + return QSpinBox::validate(input0, pos1); } -QVariant PythonQtShell_QSlider::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QSpinBox::valueFromText(const QString& text0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("valueFromText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("valueFromText", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5629,21 +6144,21 @@ if (_wrapper) { } } } - return QSlider::inputMethodQuery(arg__1); + return QSpinBox::valueFromText(text0); } -void PythonQtShell_QSlider::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QSpinBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5651,21 +6166,139 @@ if (_wrapper) { } } } - QSlider::keyPressEvent(ev0); + QSpinBox::wheelEvent(event0); } -void PythonQtShell_QSlider::keyReleaseEvent(QKeyEvent* 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("keyReleaseEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5673,21 +6306,21 @@ if (_wrapper) { } } } - QSlider::keyReleaseEvent(event0); + QSplashScreen::actionEvent(event0); } -void PythonQtShell_QSlider::leaveEvent(QEvent* event0) +void PythonQtShell_QSplashScreen::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + 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] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5695,87 +6328,65 @@ if (_wrapper) { } } } - QSlider::leaveEvent(event0); + QSplashScreen::changeEvent(arg__1); } -int PythonQtShell_QSlider::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSplashScreen::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::metric(arg__1); + QSplashScreen::childEvent(event0); } -QSize PythonQtShell_QSlider::minimumSizeHint() const +void PythonQtShell_QSplashScreen::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("closeEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::minimumSizeHint(); + QSplashScreen::closeEvent(event0); } -void PythonQtShell_QSlider::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSplashScreen::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5783,21 +6394,21 @@ if (_wrapper) { } } } - QSlider::mouseDoubleClickEvent(event0); + QSplashScreen::contextMenuEvent(event0); } -void PythonQtShell_QSlider::mouseMoveEvent(QMouseEvent* ev0) +void PythonQtShell_QSplashScreen::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5805,21 +6416,54 @@ if (_wrapper) { } } } - QSlider::mouseMoveEvent(ev0); + QSplashScreen::customEvent(event0); } -void PythonQtShell_QSlider::mousePressEvent(QMouseEvent* ev0) +int PythonQtShell_QSplashScreen::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + 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] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5827,21 +6471,21 @@ if (_wrapper) { } } } - QSlider::mousePressEvent(ev0); + QSplashScreen::dragEnterEvent(event0); } -void PythonQtShell_QSlider::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QSplashScreen::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5849,21 +6493,21 @@ if (_wrapper) { } } } - QSlider::mouseReleaseEvent(ev0); + QSplashScreen::dragLeaveEvent(event0); } -void PythonQtShell_QSlider::moveEvent(QMoveEvent* event0) +void PythonQtShell_QSplashScreen::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5871,87 +6515,65 @@ if (_wrapper) { } } } - QSlider::moveEvent(event0); + QSplashScreen::dragMoveEvent(event0); } -bool PythonQtShell_QSlider::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QSplashScreen::drawContents(QPainter* painter0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("drawContents"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::nativeEvent(eventType0, message1, result2); + QSplashScreen::drawContents(painter0); } -QPaintEngine* PythonQtShell_QSlider::paintEngine() const +void PythonQtShell_QSplashScreen::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("dropEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSlider::paintEngine(); + QSplashScreen::dropEvent(event0); } -void PythonQtShell_QSlider::paintEvent(QPaintEvent* ev0) +void PythonQtShell_QSplashScreen::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5959,32 +6581,32 @@ if (_wrapper) { } } } - QSlider::paintEvent(ev0); + QSplashScreen::enterEvent(event0); } -QPaintDevice* PythonQtShell_QSlider::redirected(QPoint* offset0) const +bool PythonQtShell_QSplashScreen::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5992,43 +6614,54 @@ if (_wrapper) { } } } - return QSlider::redirected(offset0); + return QSplashScreen::event(e0); } -void PythonQtShell_QSlider::resizeEvent(QResizeEvent* event0) +bool PythonQtShell_QSplashScreen::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::resizeEvent(event0); + return QSplashScreen::eventFilter(watched0, event1); } -void PythonQtShell_QSlider::setVisible(bool visible0) +void PythonQtShell_QSplashScreen::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6036,32 +6669,32 @@ if (_wrapper) { } } } - QSlider::setVisible(visible0); + QSplashScreen::focusInEvent(event0); } -QPainter* PythonQtShell_QSlider::sharedPainter() const +bool PythonQtShell_QSplashScreen::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6069,21 +6702,21 @@ if (_wrapper) { } } } - return QSlider::sharedPainter(); + return QSplashScreen::focusNextPrevChild(next0); } -void PythonQtShell_QSlider::showEvent(QShowEvent* event0) +void PythonQtShell_QSplashScreen::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6091,32 +6724,32 @@ if (_wrapper) { } } } - QSlider::showEvent(event0); + QSplashScreen::focusOutEvent(event0); } -QSize PythonQtShell_QSlider::sizeHint() const +bool PythonQtShell_QSplashScreen::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6124,43 +6757,54 @@ if (_wrapper) { } } } - return QSlider::sizeHint(); + return QSplashScreen::hasHeightForWidth(); } -void PythonQtShell_QSlider::sliderChange(QAbstractSlider::SliderChange change0) +int PythonQtShell_QSplashScreen::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sliderChange"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&change0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSlider::sliderChange(change0); + return QSplashScreen::heightForWidth(arg__1); } -void PythonQtShell_QSlider::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSplashScreen::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6168,21 +6812,21 @@ if (_wrapper) { } } } - QSlider::tabletEvent(event0); + QSplashScreen::hideEvent(event0); } -void PythonQtShell_QSlider::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QSplashScreen::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6190,21 +6834,21 @@ if (_wrapper) { } } } - QSlider::timerEvent(arg__1); + QSplashScreen::initPainter(painter0); } -void PythonQtShell_QSlider::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QSplashScreen::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6212,94 +6856,32 @@ if (_wrapper) { } } } - 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()); + QSplashScreen::inputMethodEvent(arg__1); } - -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 +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("buddy"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6307,131 +6889,98 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::buddy(index0); + return QSplashScreen::inputMethodQuery(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +void PythonQtShell_QSplashScreen::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canDropMimeData"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::canDropMimeData(data0, action1, row2, column3, parent4); + QSplashScreen::keyPressEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::canFetchMore(const QModelIndex& parent0) const +void PythonQtShell_QSplashScreen::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canFetchMore"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::canFetchMore(parent0); + QSplashScreen::keyReleaseEvent(event0); } -int PythonQtShell_QSortFilterProxyModel::columnCount(const QModelIndex& parent0) const +void PythonQtShell_QSplashScreen::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("columnCount"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::columnCount(parent0); + QSplashScreen::leaveEvent(event0); } -QVariant PythonQtShell_QSortFilterProxyModel::data(const QModelIndex& index0, int role1) const +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("data"); + static PyObject* name = PyString_FromString("metric"); 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] = {NULL, (void*)&index0, (void*)&role1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6439,32 +6988,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::data(index0, role1); + return QSplashScreen::metric(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +QSize PythonQtShell_QSplashScreen::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6472,21 +7021,21 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::dropMimeData(data0, action1, row2, column3, parent4); + return QSplashScreen::minimumSizeHint(); } -void PythonQtShell_QSortFilterProxyModel::fetchMore(const QModelIndex& parent0) +void PythonQtShell_QSplashScreen::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fetchMore"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6494,164 +7043,120 @@ if (_wrapper) { } } } - QSortFilterProxyModel::fetchMore(parent0); + QSplashScreen::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::filterAcceptsColumn(int source_column0, const QModelIndex& source_parent1) const +void PythonQtShell_QSplashScreen::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("filterAcceptsColumn"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL, (void*)&source_column0, (void*)&source_parent1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsColumn", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::filterAcceptsColumn(source_column0, source_parent1); + QSplashScreen::mouseMoveEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::filterAcceptsRow(int source_row0, const QModelIndex& source_parent1) const +void PythonQtShell_QSplashScreen::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("filterAcceptsRow"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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] = {NULL, (void*)&source_row0, (void*)&source_parent1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("filterAcceptsRow", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::filterAcceptsRow(source_row0, source_parent1); + QSplashScreen::mousePressEvent(arg__1); } -Qt::ItemFlags PythonQtShell_QSortFilterProxyModel::flags(const QModelIndex& index0) const +void PythonQtShell_QSplashScreen::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("flags"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); - } else { - returnValue = *((Qt::ItemFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::flags(index0); + QSplashScreen::mouseReleaseEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::hasChildren(const QModelIndex& parent0) const +void PythonQtShell_QSplashScreen::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasChildren"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::hasChildren(parent0); + QSplashScreen::moveEvent(event0); } -QVariant PythonQtShell_QSortFilterProxyModel::headerData(int section0, Qt::Orientation orientation1, int role2) const +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("headerData"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6659,32 +7164,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::headerData(section0, orientation1, role2); + return QSplashScreen::nativeEvent(eventType0, message1, result2); } -QModelIndex PythonQtShell_QSortFilterProxyModel::index(int row0, int column1, const QModelIndex& parent2) const +QPaintEngine* PythonQtShell_QSplashScreen::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("index"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6692,65 +7197,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::index(row0, column1, parent2); + return QSplashScreen::paintEngine(); } -bool PythonQtShell_QSortFilterProxyModel::insertColumns(int column0, int count1, const QModelIndex& parent2) +void PythonQtShell_QSplashScreen::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertColumns"); + static PyObject* name = PyString_FromString("paintEvent"); 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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::insertColumns(column0, count1, parent2); + QSplashScreen::paintEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::insertRows(int row0, int count1, const QModelIndex& parent2) +QPaintDevice* PythonQtShell_QSplashScreen::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("insertRows"); + static PyObject* name = PyString_FromString("redirected"); 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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6758,98 +7252,76 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::insertRows(row0, count1, parent2); + return QSplashScreen::redirected(offset0); } -QMap PythonQtShell_QSortFilterProxyModel::itemData(const QModelIndex& index0) const +void PythonQtShell_QSplashScreen::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemData"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); - } else { - returnValue = *((QMap*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::itemData(index0); + QSplashScreen::resizeEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::lessThan(const QModelIndex& source_left0, const QModelIndex& source_right1) const +void PythonQtShell_QSplashScreen::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("lessThan"); + static PyObject* name = PyString_FromString("setVisible"); 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] = {NULL, (void*)&source_left0, (void*)&source_right1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lessThan", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::lessThan(source_left0, source_right1); + QSplashScreen::setVisible(visible0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::mapFromSource(const QModelIndex& sourceIndex0) const +QPainter* PythonQtShell_QSplashScreen::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapFromSource"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&sourceIndex0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapFromSource", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6857,65 +7329,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mapFromSource(sourceIndex0); + return QSplashScreen::sharedPainter(); } -QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection& sourceSelection0) const +void PythonQtShell_QSplashScreen::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionFromSource"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelection" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QItemSelection returnValue{}; - void* args[2] = {NULL, (void*)&sourceSelection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionFromSource", methodInfo, result); - } else { - returnValue = *((QItemSelection*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapSelectionFromSource(sourceSelection0); + QSplashScreen::showEvent(event0); } -QItemSelection PythonQtShell_QSortFilterProxyModel::mapSelectionToSource(const QItemSelection& proxySelection0) const +QSize PythonQtShell_QSplashScreen::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapSelectionToSource"); + static PyObject* name = PyString_FromString("getSizeHint"); 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] = {NULL, (void*)&proxySelection0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapSelectionToSource", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { - returnValue = *((QItemSelection*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6923,296 +7384,264 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::mapSelectionToSource(proxySelection0); + return QSplashScreen::sizeHint(); } -QModelIndex PythonQtShell_QSortFilterProxyModel::mapToSource(const QModelIndex& proxyIndex0) const +void PythonQtShell_QSplashScreen::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mapToSource"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&proxyIndex0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mapToSource", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mapToSource(proxyIndex0); + QSplashScreen::tabletEvent(event0); } -QList PythonQtShell_QSortFilterProxyModel::match(const QModelIndex& start0, int role1, const QVariant& value2, int hits3, Qt::MatchFlags flags4) const +void PythonQtShell_QSplashScreen::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("match"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::match(start0, role1, value2, hits3, flags4); + QSplashScreen::timerEvent(event0); } -QMimeData* PythonQtShell_QSortFilterProxyModel::mimeData(const QList& indexes0) const +void PythonQtShell_QSplashScreen::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mimeData"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList&"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mimeData(indexes0); + QSplashScreen::wheelEvent(event0); } -QStringList PythonQtShell_QSortFilterProxyModel::mimeTypes() const +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("mimeTypes"); + static PyObject* name = PyString_FromString("actionEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::mimeTypes(); + QSplitter::actionEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::moveColumns(const QModelIndex& sourceParent0, int sourceColumn1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QSplitter::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveColumns"); + static PyObject* name = PyString_FromString("changeEvent"); 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::moveColumns(sourceParent0, sourceColumn1, count2, destinationParent3, destinationChild4); + QSplitter::changeEvent(arg__1); } -bool PythonQtShell_QSortFilterProxyModel::moveRows(const QModelIndex& sourceParent0, int sourceRow1, int count2, const QModelIndex& destinationParent3, int destinationChild4) +void PythonQtShell_QSplitter::childEvent(QChildEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveRows"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::moveRows(sourceParent0, sourceRow1, count2, destinationParent3, destinationChild4); + QSplitter::childEvent(arg__1); } -QModelIndex PythonQtShell_QSortFilterProxyModel::parent(const QModelIndex& child0) const +void PythonQtShell_QSplitter::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("parent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::parent(child0); + QSplitter::closeEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::removeColumns(int column0, int count1, const QModelIndex& parent2) +void PythonQtShell_QSplitter::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeColumns"); + static PyObject* name = PyString_FromString("contextMenuEvent"); 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] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::removeColumns(column0, count1, parent2); + QSplitter::contextMenuEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::removeRows(int row0, int count1, const QModelIndex& parent2) +QSplitterHandle* PythonQtShell_QSplitter::createHandle() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("removeRows"); + static PyObject* name = PyString_FromString("createHandle"); 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] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSplitterHandle**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7220,21 +7649,21 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::removeRows(row0, count1, parent2); + return QSplitter::createHandle(); } -void PythonQtShell_QSortFilterProxyModel::revert() +void PythonQtShell_QSplitter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("revert"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7242,32 +7671,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::revert(); + QSplitter::customEvent(event0); } -QHash PythonQtShell_QSortFilterProxyModel::roleNames() const +int PythonQtShell_QSplitter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("roleNames"); + static PyObject* name = PyString_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QHash"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QHash returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QHash*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7275,153 +7704,109 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::roleNames(); + return QSplitter::devType(); } -int PythonQtShell_QSortFilterProxyModel::rowCount(const QModelIndex& parent0) const +void PythonQtShell_QSplitter::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("rowCount"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::rowCount(parent0); + QSplitter::dragEnterEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setData(const QModelIndex& index0, const QVariant& value1, int role2) +void PythonQtShell_QSplitter::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setData"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); 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] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::setData(index0, value1, role2); + QSplitter::dragLeaveEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setHeaderData(int section0, Qt::Orientation orientation1, const QVariant& value2, int role3) +void PythonQtShell_QSplitter::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setHeaderData"); + static PyObject* name = PyString_FromString("dragMoveEvent"); 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] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::setHeaderData(section0, orientation1, value2, role3); + QSplitter::dragMoveEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::setItemData(const QModelIndex& index0, const QMap& roles1) +void PythonQtShell_QSplitter::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setItemData"); + static PyObject* name = PyString_FromString("dropEvent"); 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] = {NULL, (void*)&index0, (void*)&roles1}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::setItemData(index0, roles1); + QSplitter::dropEvent(event0); } -void PythonQtShell_QSortFilterProxyModel::setSourceModel(QAbstractItemModel* sourceModel0) +void PythonQtShell_QSplitter::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSourceModel"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&sourceModel0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7429,32 +7814,32 @@ if (_wrapper) { } } } - QSortFilterProxyModel::setSourceModel(sourceModel0); + QSplitter::enterEvent(event0); } -QModelIndex PythonQtShell_QSortFilterProxyModel::sibling(int row0, int column1, const QModelIndex& idx2) const +bool PythonQtShell_QSplitter::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sibling"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7462,87 +7847,87 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::sibling(row0, column1, idx2); + return QSplitter::event(arg__1); } -void PythonQtShell_QSortFilterProxyModel::sort(int column0, Qt::SortOrder order1) +bool PythonQtShell_QSplitter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sort"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSortFilterProxyModel::sort(column0, order1); + return QSplitter::eventFilter(watched0, event1); } -QSize PythonQtShell_QSortFilterProxyModel::span(const QModelIndex& index0) const +void PythonQtShell_QSplitter::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("span"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::span(index0); + QSplitter::focusInEvent(event0); } -bool PythonQtShell_QSortFilterProxyModel::submit() +bool PythonQtShell_QSplitter::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("submit"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7550,65 +7935,54 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::submit(); + return QSplitter::focusNextPrevChild(next0); } -Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDragActions() const +void PythonQtShell_QSplitter::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDragActions"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); - } else { - returnValue = *((Qt::DropActions*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSortFilterProxyModel::supportedDragActions(); + QSplitter::focusOutEvent(event0); } -Qt::DropActions PythonQtShell_QSortFilterProxyModel::supportedDropActions() const +bool PythonQtShell_QSplitter::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedDropActions"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7616,175 +7990,32 @@ if (_wrapper) { } } } - return QSortFilterProxyModel::supportedDropActions(); -} -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); } + return QSplitter::hasHeightForWidth(); } -QSizePolicy::ControlTypes PythonQtShell_QSpacerItem::controlTypes() const +int PythonQtShell_QSplitter::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("controlTypes"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7792,131 +8023,98 @@ if (_wrapper) { } } } - return QSpacerItem::controlTypes(); + return QSplitter::heightForWidth(arg__1); } -Qt::Orientations PythonQtShell_QSpacerItem::expandingDirections() const +void PythonQtShell_QSplitter::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("expandingDirections"); + static PyObject* name = PyString_FromString("hideEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::expandingDirections(); + QSplitter::hideEvent(event0); } -QRect PythonQtShell_QSpacerItem::geometry() const +void PythonQtShell_QSplitter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("geometry"); + static PyObject* name = PyString_FromString("initPainter"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::geometry(); + QSplitter::initPainter(painter0); } -bool PythonQtShell_QSpacerItem::hasHeightForWidth() const +void PythonQtShell_QSplitter::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::hasHeightForWidth(); + QSplitter::inputMethodEvent(arg__1); } -int PythonQtShell_QSpacerItem::heightForWidth(int arg__1) const +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("heightForWidth"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7924,21 +8122,21 @@ if (_wrapper) { } } } - return QSpacerItem::heightForWidth(arg__1); + return QSplitter::inputMethodQuery(arg__1); } -void PythonQtShell_QSpacerItem::invalidate() +void PythonQtShell_QSplitter::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("invalidate"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7946,98 +8144,76 @@ if (_wrapper) { } } } - QSpacerItem::invalidate(); + QSplitter::keyPressEvent(event0); } -bool PythonQtShell_QSpacerItem::isEmpty() const +void PythonQtShell_QSplitter::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isEmpty"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::isEmpty(); + QSplitter::keyReleaseEvent(event0); } -QSize PythonQtShell_QSpacerItem::maximumSize() const +void PythonQtShell_QSplitter::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumSize"); + static PyObject* name = PyString_FromString("leaveEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::maximumSize(); + QSplitter::leaveEvent(event0); } -int PythonQtShell_QSpacerItem::minimumHeightForWidth(int arg__1) const +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("minimumHeightForWidth"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8045,32 +8221,32 @@ if (_wrapper) { } } } - return QSpacerItem::minimumHeightForWidth(arg__1); + return QSplitter::metric(arg__1); } -QSize PythonQtShell_QSpacerItem::minimumSize() const +QSize PythonQtShell_QSplitter::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSize"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8078,21 +8254,21 @@ if (_wrapper) { } } } - return QSpacerItem::minimumSize(); + return QSplitter::minimumSizeHint(); } -void PythonQtShell_QSpacerItem::setGeometry(const QRect& arg__1) +void PythonQtShell_QSplitter::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setGeometry"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8100,140 +8276,87 @@ if (_wrapper) { } } } - QSpacerItem::setGeometry(arg__1); + QSplitter::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QSpacerItem::sizeHint() const +void PythonQtShell_QSplitter::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::sizeHint(); + QSplitter::mouseMoveEvent(event0); } -QSpacerItem* PythonQtShell_QSpacerItem::spacerItem() +void PythonQtShell_QSplitter::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("spacerItem"); + static PyObject* name = PyString_FromString("mousePressEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpacerItem::spacerItem(); + QSplitter::mousePressEvent(event0); } -QWidget* PythonQtShell_QSpacerItem::widget() +void PythonQtShell_QSplitter::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("widget"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } 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); } + QSplitter::mouseReleaseEvent(event0); } -void PythonQtShell_QSpinBox::actionEvent(QActionEvent* event0) +void PythonQtShell_QSplitter::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8241,65 +8364,87 @@ if (_wrapper) { } } } - QSpinBox::actionEvent(event0); + QSplitter::moveEvent(event0); } -void PythonQtShell_QSpinBox::changeEvent(QEvent* 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("changeEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::changeEvent(event0); + return QSplitter::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSpinBox::clear() +QPaintEngine* PythonQtShell_QSplitter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("clear"); + static PyObject* name = PyString_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::clear(); + return QSplitter::paintEngine(); } -void PythonQtShell_QSpinBox::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSplitter::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8307,54 +8452,32 @@ if (_wrapper) { } } } - QSpinBox::closeEvent(event0); + QSplitter::paintEvent(arg__1); } -void PythonQtShell_QSpinBox::contextMenuEvent(QContextMenuEvent* event0) +QPaintDevice* PythonQtShell_QSplitter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSpinBox::contextMenuEvent(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] = {NULL}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8362,43 +8485,21 @@ if (_wrapper) { } } } - 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] = {NULL, (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); + return QSplitter::redirected(offset0); } -void PythonQtShell_QSpinBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSplitter::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8406,21 +8507,21 @@ if (_wrapper) { } } } - QSpinBox::dragLeaveEvent(event0); + QSplitter::resizeEvent(arg__1); } -void PythonQtShell_QSpinBox::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSplitter::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8428,43 +8529,54 @@ if (_wrapper) { } } } - QSpinBox::dragMoveEvent(event0); + QSplitter::setVisible(visible0); } -void PythonQtShell_QSpinBox::dropEvent(QDropEvent* event0) +QPainter* PythonQtShell_QSplitter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSpinBox::dropEvent(event0); + return QSplitter::sharedPainter(); } -void PythonQtShell_QSpinBox::enterEvent(QEvent* event0) +void PythonQtShell_QSplitter::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("enterEvent"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8472,32 +8584,32 @@ if (_wrapper) { } } } - QSpinBox::enterEvent(event0); + QSplitter::showEvent(event0); } -bool PythonQtShell_QSpinBox::event(QEvent* event0) +QSize PythonQtShell_QSplitter::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8505,21 +8617,21 @@ if (_wrapper) { } } } - return QSpinBox::event(event0); + return QSplitter::sizeHint(); } -void PythonQtShell_QSpinBox::fixup(QString& str0) const +void PythonQtShell_QSplitter::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("fixup"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&str0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8527,21 +8639,21 @@ if (_wrapper) { } } } - QSpinBox::fixup(str0); + QSplitter::tabletEvent(event0); } -void PythonQtShell_QSpinBox::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSplitter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8549,164 +8661,220 @@ if (_wrapper) { } } } - QSpinBox::focusInEvent(event0); + QSplitter::timerEvent(event0); } -bool PythonQtShell_QSpinBox::focusNextPrevChild(bool next0) +void PythonQtShell_QSplitter::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::focusNextPrevChild(next0); + QSplitter::wheelEvent(event0); } -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +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; } } - QSpinBox::focusOutEvent(event0); +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; } -bool PythonQtShell_QSpinBox::hasHeightForWidth() const +void PythonQtWrapper_QSplitter::addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addWidget(widget)); } - return QSpinBox::hasHeightForWidth(); + +bool PythonQtWrapper_QSplitter::childrenCollapsible(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->childrenCollapsible()); } -int PythonQtShell_QSpinBox::heightForWidth(int arg__1) const + +int PythonQtWrapper_QSplitter::closestLegalPosition(QSplitter* theWrappedObject, int arg__1, int arg__2) { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_closestLegalPosition(arg__1, arg__2)); } - return QSpinBox::heightForWidth(arg__1); + +int PythonQtWrapper_QSplitter::count(QSplitter* theWrappedObject) const +{ + return ( theWrappedObject->count()); } -void PythonQtShell_QSpinBox::hideEvent(QHideEvent* event0) + +QSplitterHandle* PythonQtWrapper_QSplitter::createHandle(QSplitter* theWrappedObject) { -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_createHandle()); } - QSpinBox::hideEvent(event0); + +QSplitterHandle* PythonQtWrapper_QSplitter::handle(QSplitter* theWrappedObject, int index) const +{ + return ( theWrappedObject->handle(index)); } -void PythonQtShell_QSpinBox::initPainter(QPainter* painter0) const + +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("initPainter"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8714,21 +8882,21 @@ if (_wrapper) { } } } - QSpinBox::initPainter(painter0); + QSplitterHandle::actionEvent(event0); } -void PythonQtShell_QSpinBox::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8736,54 +8904,43 @@ if (_wrapper) { } } } - QSpinBox::inputMethodEvent(arg__1); + QSplitterHandle::changeEvent(arg__1); } -QVariant PythonQtShell_QSpinBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QSplitterHandle::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::inputMethodQuery(arg__1); + QSplitterHandle::childEvent(event0); } -void PythonQtShell_QSpinBox::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8791,21 +8948,21 @@ if (_wrapper) { } } } - QSpinBox::keyPressEvent(event0); + QSplitterHandle::closeEvent(event0); } -void PythonQtShell_QSpinBox::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8813,21 +8970,21 @@ if (_wrapper) { } } } - QSpinBox::keyReleaseEvent(event0); + QSplitterHandle::contextMenuEvent(event0); } -void PythonQtShell_QSpinBox::leaveEvent(QEvent* event0) +void PythonQtShell_QSplitterHandle::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8835,32 +8992,32 @@ if (_wrapper) { } } } - QSpinBox::leaveEvent(event0); + QSplitterHandle::customEvent(event0); } -int PythonQtShell_QSpinBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QSplitterHandle::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -8868,54 +9025,43 @@ if (_wrapper) { } } } - return QSpinBox::metric(arg__1); + return QSplitterHandle::devType(); } -QSize PythonQtShell_QSpinBox::minimumSizeHint() const +void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("minimumSizeHint"); + static PyObject* name = PyString_FromString("dragEnterEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSpinBox::minimumSizeHint(); + QSplitterHandle::dragEnterEvent(event0); } -void PythonQtShell_QSpinBox::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8923,21 +9069,21 @@ if (_wrapper) { } } } - QSpinBox::mouseDoubleClickEvent(event0); + QSplitterHandle::dragLeaveEvent(event0); } -void PythonQtShell_QSpinBox::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8945,21 +9091,21 @@ if (_wrapper) { } } } - QSpinBox::mouseMoveEvent(event0); + QSplitterHandle::dragMoveEvent(event0); } -void PythonQtShell_QSpinBox::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8967,21 +9113,21 @@ if (_wrapper) { } } } - QSpinBox::mousePressEvent(event0); + QSplitterHandle::dropEvent(event0); } -void PythonQtShell_QSpinBox::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QSplitterHandle::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -8989,142 +9135,32 @@ if (_wrapper) { } } } - QSpinBox::mouseReleaseEvent(event0); + QSplitterHandle::enterEvent(event0); } -void PythonQtShell_QSpinBox::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::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::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9132,76 +9168,32 @@ if (_wrapper) { } } } - 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] = {NULL, (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] = {NULL, (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); + return QSplitterHandle::event(arg__1); } -QPainter* PythonQtShell_QSpinBox::sharedPainter() const +bool PythonQtShell_QSplitterHandle::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9209,21 +9201,21 @@ if (_wrapper) { } } } - return QSpinBox::sharedPainter(); + return QSplitterHandle::eventFilter(watched0, event1); } -void PythonQtShell_QSpinBox::showEvent(QShowEvent* event0) +void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9231,87 +9223,32 @@ if (_wrapper) { } } } - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSpinBox::sizeHint(); + QSplitterHandle::focusInEvent(event0); } -void PythonQtShell_QSpinBox::stepBy(int steps0) +bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("stepBy"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (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] = {NULL}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -9319,21 +9256,21 @@ if (_wrapper) { } } } - return QSpinBox::stepEnabled(); + return QSplitterHandle::focusNextPrevChild(next0); } -void PythonQtShell_QSpinBox::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -9341,2717 +9278,87 @@ if (_wrapper) { } } } - 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] = {NULL, (void*)&val0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&input0, (void*)&pos1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&text0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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::setSuffix(QSpinBox* theWrappedObject, const QString& suffix) -{ - ( theWrappedObject->setSuffix(suffix)); -} - -int PythonQtWrapper_QSpinBox::singleStep(QSpinBox* theWrappedObject) const -{ - return ( theWrappedObject->singleStep()); -} - -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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplashScreen::event(e0); -} -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] = {NULL, (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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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::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] = {NULL, (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(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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("createHandle", methodInfo, result); - } else { - returnValue = *((QSplitterHandle**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::createHandle(); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSplitter::event(arg__1); -} -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] = {NULL, (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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (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::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] = {NULL, (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)); -} - -void PythonQtWrapper_QSplitter::childEvent(QSplitter* theWrappedObject, QChildEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->promoted_childEvent(arg__1)); -} - -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); } + QSplitterHandle::focusOutEvent(event0); } -void PythonQtShell_QSplitterHandle::actionEvent(QActionEvent* event0) +bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::actionEvent(event0); + return QSplitterHandle::hasHeightForWidth(); } -void PythonQtShell_QSplitterHandle::changeEvent(QEvent* arg__1) +int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::changeEvent(arg__1); + return QSplitterHandle::heightForWidth(arg__1); } -void PythonQtShell_QSplitterHandle::closeEvent(QCloseEvent* event0) +void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12059,21 +9366,21 @@ if (_wrapper) { } } } - QSplitterHandle::closeEvent(event0); + QSplitterHandle::hideEvent(event0); } -void PythonQtShell_QSplitterHandle::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("contextMenuEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12081,76 +9388,76 @@ if (_wrapper) { } } } - QSplitterHandle::contextMenuEvent(event0); + QSplitterHandle::initPainter(painter0); } -int PythonQtShell_QSplitterHandle::devType() const +void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("devType"); + static PyObject* name = PyString_FromString("inputMethodEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::devType(); + QSplitterHandle::inputMethodEvent(arg__1); } -void PythonQtShell_QSplitterHandle::dragEnterEvent(QDragEnterEvent* event0) +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("dragEnterEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::dragEnterEvent(event0); + return QSplitterHandle::inputMethodQuery(arg__1); } -void PythonQtShell_QSplitterHandle::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12158,21 +9465,21 @@ if (_wrapper) { } } } - QSplitterHandle::dragLeaveEvent(event0); + QSplitterHandle::keyPressEvent(event0); } -void PythonQtShell_QSplitterHandle::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12180,21 +9487,21 @@ if (_wrapper) { } } } - QSplitterHandle::dragMoveEvent(event0); + QSplitterHandle::keyReleaseEvent(event0); } -void PythonQtShell_QSplitterHandle::dropEvent(QDropEvent* event0) +void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12202,54 +9509,65 @@ if (_wrapper) { } } } - QSplitterHandle::dropEvent(event0); + QSplitterHandle::leaveEvent(event0); } -void PythonQtShell_QSplitterHandle::enterEvent(QEvent* 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("enterEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::enterEvent(event0); + return QSplitterHandle::metric(arg__1); } -bool PythonQtShell_QSplitterHandle::event(QEvent* arg__1) +QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12257,21 +9575,21 @@ if (_wrapper) { } } } - return QSplitterHandle::event(arg__1); + return QSplitterHandle::minimumSizeHint(); } -void PythonQtShell_QSplitterHandle::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12279,54 +9597,43 @@ if (_wrapper) { } } } - QSplitterHandle::focusInEvent(event0); + QSplitterHandle::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QSplitterHandle::focusNextPrevChild(bool next0) +void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::focusNextPrevChild(next0); + QSplitterHandle::mouseMoveEvent(arg__1); } -void PythonQtShell_QSplitterHandle::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12334,131 +9641,131 @@ if (_wrapper) { } } } - QSplitterHandle::focusOutEvent(event0); + QSplitterHandle::mousePressEvent(arg__1); } -bool PythonQtShell_QSplitterHandle::hasHeightForWidth() const +void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::hasHeightForWidth(); + QSplitterHandle::mouseReleaseEvent(arg__1); } -int PythonQtShell_QSplitterHandle::heightForWidth(int arg__1) const +void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::heightForWidth(arg__1); + QSplitterHandle::moveEvent(event0); } -void PythonQtShell_QSplitterHandle::hideEvent(QHideEvent* 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("hideEvent"); + static PyObject* name = PyString_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::hideEvent(event0); + return QSplitterHandle::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QSplitterHandle::initPainter(QPainter* painter0) const +QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&painter0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::initPainter(painter0); + return QSplitterHandle::paintEngine(); } -void PythonQtShell_QSplitterHandle::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12466,32 +9773,32 @@ if (_wrapper) { } } } - QSplitterHandle::inputMethodEvent(arg__1); + QSplitterHandle::paintEvent(arg__1); } -QVariant PythonQtShell_QSplitterHandle::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12499,21 +9806,21 @@ if (_wrapper) { } } } - return QSplitterHandle::inputMethodQuery(arg__1); + return QSplitterHandle::redirected(offset0); } -void PythonQtShell_QSplitterHandle::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12521,21 +9828,21 @@ if (_wrapper) { } } } - QSplitterHandle::keyPressEvent(event0); + QSplitterHandle::resizeEvent(arg__1); } -void PythonQtShell_QSplitterHandle::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QSplitterHandle::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12543,87 +9850,87 @@ if (_wrapper) { } } } - QSplitterHandle::keyReleaseEvent(event0); + QSplitterHandle::setVisible(visible0); } -void PythonQtShell_QSplitterHandle::leaveEvent(QEvent* event0) +QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("leaveEvent"); + static PyObject* name = PyString_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::leaveEvent(event0); + return QSplitterHandle::sharedPainter(); } -int PythonQtShell_QSplitterHandle::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSplitterHandle::metric(arg__1); + QSplitterHandle::showEvent(event0); } -QSize PythonQtShell_QSplitterHandle::minimumSizeHint() const +QSize PythonQtShell_QSplitterHandle::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12631,21 +9938,21 @@ if (_wrapper) { } } } - return QSplitterHandle::minimumSizeHint(); + return QSplitterHandle::sizeHint(); } -void PythonQtShell_QSplitterHandle::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12653,21 +9960,21 @@ if (_wrapper) { } } } - QSplitterHandle::mouseDoubleClickEvent(event0); + QSplitterHandle::tabletEvent(event0); } -void PythonQtShell_QSplitterHandle::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QSplitterHandle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12675,21 +9982,21 @@ if (_wrapper) { } } } - QSplitterHandle::mouseMoveEvent(arg__1); + QSplitterHandle::timerEvent(event0); } -void PythonQtShell_QSplitterHandle::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12697,21 +10004,79 @@ if (_wrapper) { } } } - QSplitterHandle::mousePressEvent(arg__1); + QSplitterHandle::wheelEvent(event0); } -void PythonQtShell_QSplitterHandle::mouseReleaseEvent(QMouseEvent* arg__1) +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("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12719,21 +10084,21 @@ if (_wrapper) { } } } - QSplitterHandle::mouseReleaseEvent(arg__1); + QStackedLayout::addItem(item0); } -void PythonQtShell_QSplitterHandle::moveEvent(QMoveEvent* event0) +void PythonQtShell_QStackedLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12741,32 +10106,32 @@ if (_wrapper) { } } } - QSplitterHandle::moveEvent(event0); + QStackedLayout::childEvent(e0); } -bool PythonQtShell_QSplitterHandle::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSizePolicy::ControlTypes PythonQtShell_QStackedLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nativeEvent"); + static PyObject* name = PyString_FromString("controlTypes"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12774,32 +10139,32 @@ if (_wrapper) { } } } - return QSplitterHandle::nativeEvent(eventType0, message1, result2); + return QStackedLayout::controlTypes(); } -QPaintEngine* PythonQtShell_QSplitterHandle::paintEngine() const +int PythonQtShell_QStackedLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12807,21 +10172,21 @@ if (_wrapper) { } } } - return QSplitterHandle::paintEngine(); + return QStackedLayout::count(); } -void PythonQtShell_QSplitterHandle::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QStackedLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -12829,32 +10194,32 @@ if (_wrapper) { } } } - QSplitterHandle::paintEvent(arg__1); + QStackedLayout::customEvent(event0); } -QPaintDevice* PythonQtShell_QSplitterHandle::redirected(QPoint* offset0) const +bool PythonQtShell_QStackedLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12862,76 +10227,98 @@ if (_wrapper) { } } } - return QSplitterHandle::redirected(offset0); + return QStackedLayout::event(event0); } -void PythonQtShell_QSplitterHandle::resizeEvent(QResizeEvent* arg__1) +bool PythonQtShell_QStackedLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resizeEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::resizeEvent(arg__1); + return QStackedLayout::eventFilter(watched0, event1); } -void PythonQtShell_QSplitterHandle::setVisible(bool visible0) +Qt::Orientations PythonQtShell_QStackedLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("expandingDirections"); 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] = {NULL, (void*)&visible0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::setVisible(visible0); + return QStackedLayout::expandingDirections(); } -QPainter* PythonQtShell_QSplitterHandle::sharedPainter() const +QRect PythonQtShell_QStackedLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {NULL}; + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12939,54 +10326,65 @@ if (_wrapper) { } } } - return QSplitterHandle::sharedPainter(); + return QStackedLayout::geometry(); } -void PythonQtShell_QSplitterHandle::showEvent(QShowEvent* event0) +bool PythonQtShell_QStackedLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::showEvent(event0); + return QStackedLayout::hasHeightForWidth(); } -QSize PythonQtShell_QSplitterHandle::sizeHint() const +int PythonQtShell_QStackedLayout::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("heightForWidth"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -12994,43 +10392,54 @@ if (_wrapper) { } } } - return QSplitterHandle::sizeHint(); + return QStackedLayout::heightForWidth(width0); } -void PythonQtShell_QSplitterHandle::tabletEvent(QTabletEvent* event0) +int PythonQtShell_QStackedLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"int" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSplitterHandle::tabletEvent(event0); + return QStackedLayout::indexOf(arg__1); } -void PythonQtShell_QSplitterHandle::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QStackedLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("invalidate"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13038,112 +10447,65 @@ if (_wrapper) { } } } - 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()); + QStackedLayout::invalidate(); } - - - -PythonQtShell_QStackedLayout::~PythonQtShell_QStackedLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStackedLayout::addItem(QLayoutItem* item0) +bool PythonQtShell_QStackedLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("addItem"); + static PyObject* name = PyString_FromString("isEmpty"); 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] = {NULL, (void*)&item0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QStackedLayout::addItem(item0); + return QStackedLayout::isEmpty(); } -int PythonQtShell_QStackedLayout::count() const +QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("count"); + static PyObject* name = PyString_FromString("itemAt"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13151,32 +10513,32 @@ if (_wrapper) { } } } - return QStackedLayout::count(); + return QStackedLayout::itemAt(arg__1); } -bool PythonQtShell_QStackedLayout::hasHeightForWidth() const +QLayout* PythonQtShell_QStackedLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QLayout**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13184,32 +10546,32 @@ if (_wrapper) { } } } - return QStackedLayout::hasHeightForWidth(); + return QStackedLayout::layout(); } -int PythonQtShell_QStackedLayout::heightForWidth(int width0) const +QSize PythonQtShell_QStackedLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("maximumSize"); 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] = {NULL, (void*)&width0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13217,32 +10579,32 @@ if (_wrapper) { } } } - return QStackedLayout::heightForWidth(width0); + return QStackedLayout::maximumSize(); } -QLayoutItem* PythonQtShell_QStackedLayout::itemAt(int arg__1) const +int PythonQtShell_QStackedLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemAt"); + static PyObject* name = PyString_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); } else { - returnValue = *((QLayoutItem**)args[0]); + returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13250,7 +10612,7 @@ if (_wrapper) { } } } - return QStackedLayout::itemAt(arg__1); + return QStackedLayout::minimumHeightForWidth(arg__1); } QSize PythonQtShell_QStackedLayout::minimumSize() const { @@ -13263,19 +10625,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13295,9 +10657,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13305,32 +10667,65 @@ if (_wrapper) { } } } - QStackedLayout::setGeometry(rect0); + 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(); } -QSize PythonQtShell_QStackedLayout::sizeHint() const +QSpacerItem* PythonQtShell_QStackedLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {NULL}; + QSpacerItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13338,7 +10733,7 @@ if (_wrapper) { } } } - return QStackedLayout::sizeHint(); + return QStackedLayout::spacerItem(); } QLayoutItem* PythonQtShell_QStackedLayout::takeAt(int arg__1) { @@ -13351,19 +10746,19 @@ if (_wrapper) { static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QLayoutItem* returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); } else { returnValue = *((QLayoutItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13373,10 +10768,36 @@ if (_wrapper) { } 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); } @@ -13394,21 +10815,11 @@ int PythonQtShell_QStackedLayout::qt_metacall(QMetaObject::Call call, int id, vo int result = QStackedLayout::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QStackedLayout::addItem(QStackedLayout* theWrappedObject, QLayoutItem* item) -{ - ( theWrappedObject->addItem(item)); -} - int PythonQtWrapper_QStackedLayout::addWidget(QStackedLayout* theWrappedObject, QWidget* w) { return ( theWrappedObject->addWidget(w)); } -int PythonQtWrapper_QStackedLayout::count(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - int PythonQtWrapper_QStackedLayout::currentIndex(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->currentIndex()); @@ -13419,56 +10830,21 @@ QWidget* PythonQtWrapper_QStackedLayout::currentWidget(QStackedLayout* theWrapp return ( theWrappedObject->currentWidget()); } -bool PythonQtWrapper_QStackedLayout::hasHeightForWidth(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -int PythonQtWrapper_QStackedLayout::heightForWidth(QStackedLayout* theWrappedObject, int width) const -{ - return ( theWrappedObject->heightForWidth(width)); -} - int PythonQtWrapper_QStackedLayout::insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w) { return ( theWrappedObject->insertWidget(index, w)); } -QLayoutItem* PythonQtWrapper_QStackedLayout::itemAt(QStackedLayout* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->itemAt(arg__1)); -} - -QSize PythonQtWrapper_QStackedLayout::minimumSize(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -void PythonQtWrapper_QStackedLayout::setGeometry(QStackedLayout* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->setGeometry(rect)); -} - void PythonQtWrapper_QStackedLayout::setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode) { ( theWrappedObject->setStackingMode(stackingMode)); } -QSize PythonQtWrapper_QStackedLayout::sizeHint(QStackedLayout* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - QStackedLayout::StackingMode PythonQtWrapper_QStackedLayout::stackingMode(QStackedLayout* theWrappedObject) const { return ( theWrappedObject->stackingMode()); } -QLayoutItem* PythonQtWrapper_QStackedLayout::takeAt(QStackedLayout* theWrappedObject, int arg__1) -{ - return ( theWrappedObject->takeAt(arg__1)); -} - QWidget* PythonQtWrapper_QStackedLayout::widget(QStackedLayout* theWrappedObject, int arg__1) const { return ( theWrappedObject->widget(arg__1)); @@ -13490,9 +10866,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13512,9 +10888,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13524,6 +10900,28 @@ if (_wrapper) { } 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) { @@ -13534,9 +10932,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13556,9 +10954,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13568,6 +10966,28 @@ if (_wrapper) { } 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) { @@ -13579,19 +10999,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13611,9 +11031,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13633,9 +11053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13655,9 +11075,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13677,9 +11097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13699,9 +11119,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13722,19 +11142,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13744,6 +11164,39 @@ if (_wrapper) { } 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) { @@ -13754,9 +11207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13777,19 +11230,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13809,9 +11262,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13832,19 +11285,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13865,19 +11318,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13897,9 +11350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13919,9 +11372,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13941,9 +11394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -13964,19 +11417,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -13996,9 +11449,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14018,9 +11471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14040,9 +11493,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14063,19 +11516,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14096,19 +11549,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14128,9 +11581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14150,9 +11603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14172,9 +11625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14194,9 +11647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14216,9 +11669,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14239,19 +11692,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14272,19 +11725,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14304,9 +11757,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14327,19 +11780,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14359,9 +11812,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14381,9 +11834,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14404,19 +11857,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14436,9 +11889,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14459,19 +11912,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14491,9 +11944,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14503,6 +11956,28 @@ if (_wrapper) { } 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) { @@ -14513,9 +11988,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14599,19 +12074,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStandardItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStandardItem* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { returnValue = *((QStandardItem**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14632,19 +12107,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&role0}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14654,39 +12129,6 @@ if (_wrapper) { } return QStandardItem::data(role0); } -bool PythonQtShell_QStandardItem::__lt__(const QStandardItem& other0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("__lt__"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QStandardItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&other0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("__lt__", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStandardItem::operator<(other0); -} void PythonQtShell_QStandardItem::read(QDataStream& in0) { if (_wrapper) { @@ -14697,9 +12139,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&in0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14719,9 +12161,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&value0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&value0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -14742,19 +12184,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -14774,9 +12216,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&out0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15258,19 +12700,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15291,19 +12733,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15324,19 +12766,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15346,6 +12788,28 @@ if (_wrapper) { } 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) { @@ -15357,19 +12821,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15379,6 +12843,28 @@ if (_wrapper) { } 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) { @@ -15390,19 +12876,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15420,22 +12906,88 @@ if (_wrapper) { 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); + 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[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15443,7 +12995,7 @@ if (_wrapper) { } } } - return QStandardItemModel::dropMimeData(data0, action1, row2, column3, parent4); + return QStandardItemModel::eventFilter(watched0, event1); } void PythonQtShell_QStandardItemModel::fetchMore(const QModelIndex& parent0) { @@ -15455,9 +13007,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15478,19 +13030,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15511,19 +13063,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasChildren", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15544,19 +13096,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15577,19 +13129,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15610,19 +13162,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15643,19 +13195,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15676,19 +13228,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15709,19 +13261,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15742,19 +13294,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15775,19 +13327,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15808,19 +13360,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15841,19 +13393,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15874,19 +13426,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&child0}; + void* args[2] = {nullptr, (void*)&child0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parent", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15907,19 +13459,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15940,19 +13492,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -15972,9 +13524,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -15995,19 +13547,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16028,19 +13580,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16061,19 +13613,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16094,19 +13646,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16127,19 +13679,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16160,19 +13712,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16192,9 +13744,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16215,19 +13767,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16248,19 +13800,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16281,19 +13833,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16314,19 +13866,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16336,6 +13888,28 @@ if (_wrapper) { } 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); } @@ -16524,6 +14098,100 @@ QStandardItem* PythonQtWrapper_QStandardItemModel::verticalHeaderItem(QStandard +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); } @@ -16538,9 +14206,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16560,9 +14228,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16572,6 +14240,28 @@ if (_wrapper) { } 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) { @@ -16582,9 +14272,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16604,9 +14294,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16616,6 +14306,28 @@ if (_wrapper) { } 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) { @@ -16627,19 +14339,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16659,9 +14371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16681,9 +14393,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16703,9 +14415,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16725,9 +14437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16747,9 +14459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16770,19 +14482,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16792,6 +14504,39 @@ if (_wrapper) { } 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) { @@ -16802,9 +14547,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16825,19 +14570,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16857,9 +14602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16880,19 +14625,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16913,19 +14658,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -16945,9 +14690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16967,9 +14712,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -16989,9 +14734,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17012,19 +14757,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17044,9 +14789,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17066,9 +14811,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17088,9 +14833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17111,19 +14856,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17144,19 +14889,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17176,9 +14921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17198,9 +14943,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17220,9 +14965,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17242,9 +14987,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17264,9 +15009,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17287,19 +15032,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17320,19 +15065,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17352,9 +15097,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17375,19 +15120,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17407,9 +15152,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17429,9 +15174,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17452,19 +15197,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17484,9 +15229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17507,19 +15252,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17539,9 +15284,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17551,6 +15296,28 @@ if (_wrapper) { } 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) { @@ -17561,9 +15328,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17668,52 +15435,162 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + 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 returnValue; + return; } else { PyErr_Clear(); } } } - return QStringListModel::buddy(index0); + QStringListModel::customEvent(event0); } -bool PythonQtShell_QStringListModel::canDropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) const +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("canDropMimeData"); + static PyObject* name = PyString_FromString("data"); 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17721,32 +15598,32 @@ if (_wrapper) { } } } - return QStringListModel::canDropMimeData(data0, action1, row2, column3, parent4); + return QStringListModel::data(index0, role1); } -bool PythonQtShell_QStringListModel::canFetchMore(const QModelIndex& parent0) const +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("canFetchMore"); + static PyObject* name = PyString_FromString("dropMimeData"); 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); + 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[2] = {NULL, (void*)&parent0}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17754,32 +15631,32 @@ if (_wrapper) { } } } - return QStringListModel::canFetchMore(parent0); + return QStringListModel::dropMimeData(data0, action1, row2, column3, parent4); } -QVariant PythonQtShell_QStringListModel::data(const QModelIndex& index0, int role1) const +bool PythonQtShell_QStringListModel::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("data"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL, (void*)&index0, (void*)&role1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17787,32 +15664,32 @@ if (_wrapper) { } } } - return QStringListModel::data(index0, role1); + return QStringListModel::event(event0); } -bool PythonQtShell_QStringListModel::dropMimeData(const QMimeData* data0, Qt::DropAction action1, int row2, int column3, const QModelIndex& parent4) +bool PythonQtShell_QStringListModel::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropMimeData"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[6] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17820,7 +15697,7 @@ if (_wrapper) { } } } - return QStringListModel::dropMimeData(data0, action1, row2, column3, parent4); + return QStringListModel::eventFilter(watched0, event1); } void PythonQtShell_QStringListModel::fetchMore(const QModelIndex& parent0) { @@ -17832,9 +15709,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -17855,19 +15732,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17888,19 +15765,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17921,19 +15798,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17954,19 +15831,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -17987,19 +15864,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18020,19 +15897,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18053,19 +15930,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18086,19 +15963,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18119,19 +15996,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18152,19 +16029,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18185,19 +16062,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18218,19 +16095,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18251,19 +16128,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18283,9 +16160,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18306,19 +16183,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18339,19 +16216,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18372,19 +16249,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18405,19 +16282,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18438,19 +16315,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18471,19 +16348,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18503,9 +16380,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -18526,19 +16403,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18559,19 +16436,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18592,19 +16469,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18625,19 +16502,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -18647,6 +16524,28 @@ if (_wrapper) { } 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); } @@ -18861,3 +16760,300 @@ QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int ve 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(); } + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h index 1481bb4d..93a8cb55 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui7.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -9,29 +9,45 @@ #include #include #include +#include +#include +#include #include +#include #include #include +#include #include +#include #include #include +#include #include +#include +#include #include #include +#include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include #include +#include #include +#include #include #include #include @@ -40,489 +56,41 @@ #include #include #include +#include #include +#include #include #include #include +#include #include +#include #include +#include +#include +#include #include #include -class PythonQtWrapper_QRgba64 : public QObject -{ Q_OBJECT -public: -public slots: -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(NULL) {}; - - ~PythonQtShell_QRubberBand(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* arg__1); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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_QScreenOrientationChangeEvent : public QObject -{ Q_OBJECT -public: -public slots: -void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } - Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QScrollArea : public QScrollArea -{ -public: - PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 PythonQtShell_QScrollerProperties : public QScrollerProperties -{ -public: - PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(NULL) {}; - PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(NULL) {}; - - ~PythonQtShell_QScrollerProperties(); - - - 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 PythonQtWrapper_QSessionManager : public QObject -{ Q_OBJECT -public: -Q_ENUMS(RestartHint ) -enum RestartHint{ - RestartIfRunning = QSessionManager::RestartIfRunning, RestartAnyway = QSessionManager::RestartAnyway, RestartImmediately = QSessionManager::RestartImmediately, RestartNever = QSessionManager::RestartNever}; -public slots: - bool allowsErrorInteraction(QSessionManager* theWrappedObject); - bool allowsInteraction(QSessionManager* theWrappedObject); - void cancel(QSessionManager* theWrappedObject); - QStringList discardCommand(QSessionManager* theWrappedObject) const; - bool isPhase2(QSessionManager* theWrappedObject) const; - void release(QSessionManager* theWrappedObject); - void requestPhase2(QSessionManager* theWrappedObject); - QStringList restartCommand(QSessionManager* theWrappedObject) const; - QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; - QString sessionId(QSessionManager* theWrappedObject) const; - QString sessionKey(QSessionManager* theWrappedObject) const; - void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); - void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); -}; - - - - - class PythonQtShell_QShortcut : public QShortcut { public: - PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(NULL) {}; - PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, shortcutContext),_wrapper(NULL) {}; + PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(nullptr) {}; + PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, shortcutContext),_wrapper(nullptr) {}; - ~PythonQtShell_QShortcut(); + ~PythonQtShell_QShortcut() override; -virtual bool event(QEvent* e); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QShortcut : public QShortcut @@ -537,10 +105,9 @@ class PythonQtWrapper_QShortcut : public QObject public slots: QShortcut* new_QShortcut(QWidget* parent); QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext shortcutContext = Qt::WindowShortcut); -void delete_QShortcut(QShortcut* obj) { delete obj; } +void delete_QShortcut(QShortcut* obj) { delete obj; } bool autoRepeat(QShortcut* theWrappedObject) const; Qt::ShortcutContext context(QShortcut* theWrappedObject) const; - bool event(QShortcut* theWrappedObject, QEvent* e); 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; @@ -561,12 +128,12 @@ void delete_QShortcut(QShortcut* obj) { delete obj; } class PythonQtShell_QShortcutEvent : public QShortcutEvent { public: - PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(NULL) {}; + PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(nullptr) {}; - ~PythonQtShell_QShortcutEvent(); + ~PythonQtShell_QShortcutEvent() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QShortcutEvent : public QObject @@ -574,7 +141,7 @@ class PythonQtWrapper_QShortcutEvent : public QObject public: public slots: QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false); -void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } +void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } bool isAmbiguous(QShortcutEvent* theWrappedObject) const; const QKeySequence* key(QShortcutEvent* theWrappedObject) const; int shortcutId(QShortcutEvent* theWrappedObject) const; @@ -589,7 +156,7 @@ class PythonQtWrapper_QShowEvent : public QObject public: public slots: QShowEvent* new_QShowEvent(); -void delete_QShowEvent(QShowEvent* obj) { delete obj; } +void delete_QShowEvent(QShowEvent* obj) { delete obj; } }; @@ -599,56 +166,59 @@ void delete_QShowEvent(QShowEvent* obj) { delete obj; } class PythonQtShell_QSizeGrip : public QSizeGrip { public: - PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSizeGrip(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool arg__1); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSizeGrip(QWidget* parent):QSizeGrip(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSizeGrip() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* hideEvent) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* mouseEvent) override; +void moveEvent(QMoveEvent* moveEvent) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool arg__1) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSizeGrip : public QSizeGrip @@ -680,9 +250,8 @@ class PythonQtWrapper_QSizeGrip : public QObject public: public slots: QSizeGrip* new_QSizeGrip(QWidget* parent); -void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } +void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } bool py_q_event(QSizeGrip* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSizeGrip*)theWrappedObject)->py_q_event(arg__1));} - bool eventFilter(QSizeGrip* theWrappedObject, QObject* arg__1, QEvent* arg__2); 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));} @@ -703,58 +272,61 @@ void delete_QSizeGrip(QSizeGrip* obj) { delete obj; } class PythonQtShell_QSlider : public QSlider { public: - PythonQtShell_QSlider(QWidget* parent = nullptr):QSlider(parent),_wrapper(NULL) {}; - PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr):QSlider(orientation, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSlider(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* ev); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void sliderChange(QAbstractSlider::SliderChange change); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSlider(QWidget* parent = nullptr):QSlider(parent),_wrapper(nullptr) {}; + PythonQtShell_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr):QSlider(orientation, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSlider() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* ev) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSlider : public QSlider @@ -779,7 +351,7 @@ class PythonQtWrapper_QSlider : public QObject public slots: QSlider* new_QSlider(QWidget* parent = nullptr); QSlider* new_QSlider(Qt::Orientation orientation, QWidget* parent = nullptr); -void delete_QSlider(QSlider* obj) { delete obj; } +void delete_QSlider(QSlider* obj) { delete obj; } bool py_q_event(QSlider* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSlider*)theWrappedObject)->py_q_event(event));} void initStyleOption(QSlider* theWrappedObject, QStyleOptionSlider* option) const; QSize minimumSizeHint(QSlider* theWrappedObject) const; @@ -803,56 +375,61 @@ void delete_QSlider(QSlider* obj) { delete obj; } class PythonQtShell_QSortFilterProxyModel : public QSortFilterProxyModel { public: - PythonQtShell_QSortFilterProxyModel(QObject* parent = nullptr):QSortFilterProxyModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSortFilterProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const; -virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const; -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& sourceSelection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& proxySelection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSortFilterProxyModel(QObject* parent = nullptr):QSortFilterProxyModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSortFilterProxyModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const override; +bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const override; +QModelIndex mapFromSource(const QModelIndex& sourceIndex) const override; +QItemSelection mapSelectionFromSource(const QItemSelection& sourceSelection) const override; +QItemSelection mapSelectionToSource(const QItemSelection& proxySelection) const override; +QModelIndex mapToSource(const QModelIndex& proxyIndex) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSourceModel(QAbstractItemModel* sourceModel) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSortFilterProxyModel : public QSortFilterProxyModel @@ -901,7 +478,7 @@ class PythonQtWrapper_QSortFilterProxyModel : public QObject public: public slots: QSortFilterProxyModel* new_QSortFilterProxyModel(QObject* parent = nullptr); -void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } +void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } QModelIndex py_q_buddy(QSortFilterProxyModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_buddy(index));} bool py_q_canFetchMore(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_canFetchMore(parent));} int py_q_columnCount(QSortFilterProxyModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const{ return (((PythonQtPublicPromoter_QSortFilterProxyModel*)theWrappedObject)->py_q_columnCount(parent));} @@ -968,26 +545,27 @@ void delete_QSortFilterProxyModel(QSortFilterProxyModel* obj) { delete obj; } class PythonQtShell_QSpacerItem : public QSpacerItem { public: - PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(NULL) {}; + PythonQtShell_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum):QSpacerItem(w, h, hData, vData),_wrapper(nullptr) {}; - ~PythonQtShell_QSpacerItem(); + ~PythonQtShell_QSpacerItem() override; -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); +QSizePolicy::ControlTypes controlTypes() const override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& arg__1) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QWidget* widget() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSpacerItem : public QSpacerItem @@ -1007,7 +585,7 @@ class PythonQtWrapper_QSpacerItem : public QObject public: public slots: QSpacerItem* new_QSpacerItem(int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); -void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } +void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } void changeSize(QSpacerItem* theWrappedObject, int w, int h, QSizePolicy::Policy hData = QSizePolicy::Minimum, QSizePolicy::Policy vData = QSizePolicy::Minimum); Qt::Orientations py_q_expandingDirections(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_expandingDirections());} QRect py_q_geometry(QSpacerItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSpacerItem*)theWrappedObject)->py_q_geometry());} @@ -1028,63 +606,66 @@ void delete_QSpacerItem(QSpacerItem* obj) { delete obj; } class PythonQtShell_QSpinBox : public QSpinBox { public: - PythonQtShell_QSpinBox(QWidget* parent = nullptr):QSpinBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSpinBox(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void clear(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void fixup(QString& str) const; -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void stepBy(int steps); -virtual QAbstractSpinBox::StepEnabled stepEnabled() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString textFromValue(int val) const; -virtual void timerEvent(QTimerEvent* event); -virtual QValidator::State validate(QString& input, int& pos) const; -virtual int valueFromText(const QString& text) const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSpinBox(QWidget* parent = nullptr):QSpinBox(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSpinBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& str) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromValue(int val) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +int valueFromText(const QString& text) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSpinBox : public QSpinBox @@ -1106,7 +687,7 @@ class PythonQtWrapper_QSpinBox : public QObject public: public slots: QSpinBox* new_QSpinBox(QWidget* parent = nullptr); -void delete_QSpinBox(QSpinBox* obj) { delete obj; } +void delete_QSpinBox(QSpinBox* obj) { delete obj; } QString cleanText(QSpinBox* theWrappedObject) const; int displayIntegerBase(QSpinBox* theWrappedObject) const; bool py_q_event(QSpinBox* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QSpinBox*)theWrappedObject)->py_q_event(event));} @@ -1120,8 +701,10 @@ void delete_QSpinBox(QSpinBox* obj) { delete obj; } 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));} @@ -1138,57 +721,62 @@ void delete_QSpinBox(QSpinBox* obj) { delete obj; } class PythonQtShell_QSplashScreen : public QSplashScreen { public: - PythonQtShell_QSplashScreen(QWidget* parent, const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(parent, pixmap, f),_wrapper(NULL) {}; - PythonQtShell_QSplashScreen(const QPixmap& pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()):QSplashScreen(pixmap, f),_wrapper(NULL) {}; - - ~PythonQtShell_QSplashScreen(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void drawContents(QPainter* painter); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + 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 @@ -1205,9 +793,10 @@ 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 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));} @@ -1225,58 +814,61 @@ void delete_QSplashScreen(QSplashScreen* obj) { delete obj; } class PythonQtShell_QSplitter : public QSplitter { public: - PythonQtShell_QSplitter(QWidget* parent = nullptr):QSplitter(parent),_wrapper(NULL) {}; - PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr):QSplitter(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSplitter(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QSplitterHandle* createHandle(); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplitter(QWidget* parent = nullptr):QSplitter(parent),_wrapper(nullptr) {}; + PythonQtShell_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr):QSplitter(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplitter() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* arg__1) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +QSplitterHandle* createHandle() override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitter : public QSplitter @@ -1304,10 +896,9 @@ class PythonQtWrapper_QSplitter : public QObject public slots: QSplitter* new_QSplitter(QWidget* parent = nullptr); QSplitter* new_QSplitter(Qt::Orientation arg__1, QWidget* parent = nullptr); -void delete_QSplitter(QSplitter* obj) { delete obj; } +void delete_QSplitter(QSplitter* obj) { delete obj; } void addWidget(QSplitter* theWrappedObject, PythonQtPassOwnershipToCPP widget); void py_q_changeEvent(QSplitter* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QSplitter*)theWrappedObject)->py_q_changeEvent(arg__1));} - void childEvent(QSplitter* theWrappedObject, QChildEvent* 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); @@ -1352,55 +943,59 @@ void delete_QSplitter(QSplitter* obj) { delete obj; } class PythonQtShell_QSplitterHandle : public QSplitterHandle { public: - PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSplitterHandle(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSplitterHandle(Qt::Orientation o, QSplitter* parent):QSplitterHandle(o, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSplitterHandle() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSplitterHandle : public QSplitterHandle @@ -1427,7 +1022,7 @@ class PythonQtWrapper_QSplitterHandle : public QObject public: public slots: QSplitterHandle* new_QSplitterHandle(Qt::Orientation o, QSplitter* parent); -void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } +void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } int closestLegalPosition(QSplitterHandle* theWrappedObject, int p); bool py_q_event(QSplitterHandle* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_event(arg__1));} void py_q_mouseMoveEvent(QSplitterHandle* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QSplitterHandle*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} @@ -1451,24 +1046,40 @@ void delete_QSplitterHandle(QSplitterHandle* obj) { delete obj; } class PythonQtShell_QStackedLayout : public QStackedLayout { public: - PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(NULL) {}; - PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStackedLayout(); - -virtual void addItem(QLayoutItem* item); -virtual int count() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int width) const; -virtual QLayoutItem* itemAt(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& rect); -virtual QSize sizeHint() const; -virtual QLayoutItem* takeAt(int arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStackedLayout():QStackedLayout(),_wrapper(nullptr) {}; + PythonQtShell_QStackedLayout(QLayout* parentLayout):QStackedLayout(parentLayout),_wrapper(nullptr) {}; + PythonQtShell_QStackedLayout(QWidget* parent):QStackedLayout(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStackedLayout() override; + +void addItem(QLayoutItem* item) override; +void childEvent(QChildEvent* e) override; +QSizePolicy::ControlTypes controlTypes() const override; +int count() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +Qt::Orientations expandingDirections() const override; +QRect geometry() const override; +bool hasHeightForWidth() const override; +int heightForWidth(int width) const override; +int indexOf(QWidget* arg__1) const override; +void invalidate() override; +bool isEmpty() const override; +QLayoutItem* itemAt(int arg__1) const override; +QLayout* layout() override; +QSize maximumSize() const override; +int minimumHeightForWidth(int arg__1) const override; +QSize minimumSize() const override; +void setGeometry(const QRect& rect) override; +QSize sizeHint() const override; +QSpacerItem* spacerItem() override; +QLayoutItem* takeAt(int arg__1) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedLayout : public QStackedLayout @@ -1489,33 +1100,26 @@ class PythonQtWrapper_QStackedLayout : public QObject public: public slots: QStackedLayout* new_QStackedLayout(); +QStackedLayout* new_QStackedLayout(QLayout* parentLayout); QStackedLayout* new_QStackedLayout(QWidget* parent); -void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } - void addItem(QStackedLayout* theWrappedObject, QLayoutItem* item); +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 count(QStackedLayout* theWrappedObject) const; int py_q_count(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_count());} int currentIndex(QStackedLayout* theWrappedObject) const; QWidget* currentWidget(QStackedLayout* theWrappedObject) const; - bool hasHeightForWidth(QStackedLayout* theWrappedObject) const; bool py_q_hasHeightForWidth(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_hasHeightForWidth());} - int heightForWidth(QStackedLayout* theWrappedObject, int width) const; int py_q_heightForWidth(QStackedLayout* theWrappedObject, int width) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_heightForWidth(width));} int insertWidget(QStackedLayout* theWrappedObject, int index, PythonQtPassOwnershipToCPP w); - QLayoutItem* itemAt(QStackedLayout* theWrappedObject, int arg__1) const; QLayoutItem* py_q_itemAt(QStackedLayout* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_itemAt(arg__1));} - QSize minimumSize(QStackedLayout* theWrappedObject) const; QSize py_q_minimumSize(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_minimumSize());} - void setGeometry(QStackedLayout* theWrappedObject, const QRect& rect); void py_q_setGeometry(QStackedLayout* theWrappedObject, const QRect& rect){ (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_setGeometry(rect));} void setStackingMode(QStackedLayout* theWrappedObject, QStackedLayout::StackingMode stackingMode); - QSize sizeHint(QStackedLayout* theWrappedObject) const; QSize py_q_sizeHint(QStackedLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QStackedLayout*)theWrappedObject)->py_q_sizeHint());} QStackedLayout::StackingMode stackingMode(QStackedLayout* theWrappedObject) const; - QLayoutItem* takeAt(QStackedLayout* theWrappedObject, int arg__1); 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(); } }; @@ -1525,55 +1129,59 @@ void delete_QStackedLayout(QStackedLayout* obj) { delete obj; } class PythonQtShell_QStackedWidget : public QStackedWidget { public: - PythonQtShell_QStackedWidget(QWidget* parent = nullptr):QStackedWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStackedWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStackedWidget(QWidget* parent = nullptr):QStackedWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStackedWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStackedWidget : public QStackedWidget @@ -1587,7 +1195,7 @@ class PythonQtWrapper_QStackedWidget : public QObject public: public slots: QStackedWidget* new_QStackedWidget(QWidget* parent = nullptr); -void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } +void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } int addWidget(QStackedWidget* theWrappedObject, PythonQtPassOwnershipToCPP w); int count(QStackedWidget* theWrappedObject) const; int currentIndex(QStackedWidget* theWrappedObject) const; @@ -1606,23 +1214,22 @@ void delete_QStackedWidget(QStackedWidget* obj) { delete obj; } class PythonQtShell_QStandardItem : public QStandardItem { public: - PythonQtShell_QStandardItem():QStandardItem(),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(NULL) {}; - PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(NULL) {}; + PythonQtShell_QStandardItem():QStandardItem(),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QIcon& icon, const QString& text):QStandardItem(icon, text),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QStandardItem& other):QStandardItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(const QString& text):QStandardItem(text),_wrapper(nullptr) {}; + PythonQtShell_QStandardItem(int rows, int columns = 1):QStandardItem(rows, columns),_wrapper(nullptr) {}; - ~PythonQtShell_QStandardItem(); + ~PythonQtShell_QStandardItem() override; -virtual QStandardItem* clone() const; -virtual QVariant data(int role = Qt::UserRole + 1) const; -virtual bool __lt__(const QStandardItem& other) const; -virtual void read(QDataStream& in); -virtual void setData(const QVariant& value, int role = Qt::UserRole + 1); -virtual int type() const; -virtual void write(QDataStream& out) const; +QStandardItem* clone() const override; +QVariant data(int role = Qt::UserRole + 1) const override; +void read(QDataStream& in) override; +void setData(const QVariant& value, int role = Qt::UserRole + 1) override; +int type() const override; +void write(QDataStream& out) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItem : public QStandardItem @@ -1648,7 +1255,7 @@ QStandardItem* new_QStandardItem(const QIcon& icon, const QString& text); QStandardItem* new_QStandardItem(const QStandardItem& other); QStandardItem* new_QStandardItem(const QString& text); QStandardItem* new_QStandardItem(int rows, int columns = 1); -void delete_QStandardItem(QStandardItem* obj) { delete obj; } +void delete_QStandardItem(QStandardItem* obj) { delete obj; } QString accessibleDescription(QStandardItem* theWrappedObject) const; QString accessibleText(QStandardItem* theWrappedObject) const; void appendColumn(QStandardItem* theWrappedObject, PythonQtPassOwnershipToCPP > items); @@ -1751,49 +1358,54 @@ void delete_QStandardItem(QStandardItem* obj) { delete obj; } class PythonQtShell_QStandardItemModel : public QStandardItemModel { public: - PythonQtShell_QStandardItemModel(QObject* parent = nullptr):QStandardItemModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = nullptr):QStandardItemModel(rows, columns, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStandardItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStandardItemModel(QObject* parent = nullptr):QStandardItemModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QStandardItemModel(int rows, int columns, QObject* parent = nullptr):QStandardItemModel(rows, columns, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStandardItemModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +bool hasChildren(const QModelIndex& parent = QModelIndex()) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QModelIndex parent(const QModelIndex& child) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStandardItemModel : public QStandardItemModel @@ -1828,7 +1440,7 @@ class PythonQtWrapper_QStandardItemModel : public QObject public slots: QStandardItemModel* new_QStandardItemModel(QObject* parent = nullptr); QStandardItemModel* new_QStandardItemModel(int rows, int columns, QObject* parent = nullptr); -void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } +void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } void appendColumn(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP item); void appendRow(QStandardItemModel* theWrappedObject, PythonQtPassOwnershipToCPP > items); @@ -1890,58 +1502,95 @@ void delete_QStandardItemModel(QStandardItemModel* obj) { delete obj; } +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(NULL) {}; - - ~PythonQtShell_QStatusBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStatusBar(QWidget* parent = nullptr):QStatusBar(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStatusBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStatusBar : public QStatusBar @@ -1963,7 +1612,7 @@ class PythonQtWrapper_QStatusBar : public QObject public: public slots: QStatusBar* new_QStatusBar(QWidget* parent = nullptr); -void delete_QStatusBar(QStatusBar* obj) { delete obj; } +void delete_QStatusBar(QStatusBar* obj) { delete obj; } void addPermanentWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch = 0); void addWidget(QStatusBar* theWrappedObject, PythonQtPassOwnershipToCPP widget, int stretch = 0); QString currentMessage(QStatusBar* theWrappedObject) const; @@ -1989,7 +1638,7 @@ class PythonQtWrapper_QStatusTipEvent : public QObject public: public slots: QStatusTipEvent* new_QStatusTipEvent(const QString& tip); -void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } +void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } QString tip(QStatusTipEvent* theWrappedObject) const; }; @@ -2000,46 +1649,51 @@ void delete_QStatusTipEvent(QStatusTipEvent* obj) { delete obj; } class PythonQtShell_QStringListModel : public QStringListModel { public: - PythonQtShell_QStringListModel(QObject* parent = nullptr):QStringListModel(parent),_wrapper(NULL) {}; - PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = nullptr):QStringListModel(strings, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QStringListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QStringListModel(QObject* parent = nullptr):QStringListModel(parent),_wrapper(nullptr) {}; + PythonQtShell_QStringListModel(const QStringList& strings, QObject* parent = nullptr):QStringListModel(strings, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStringListModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QStringListModel : public QStringListModel @@ -2064,7 +1718,7 @@ class PythonQtWrapper_QStringListModel : public QObject public slots: QStringListModel* new_QStringListModel(QObject* parent = nullptr); QStringListModel* new_QStringListModel(const QStringList& strings, QObject* parent = nullptr); -void delete_QStringListModel(QStringListModel* obj) { delete obj; } +void delete_QStringListModel(QStringListModel* obj) { delete obj; } QVariant py_q_data(QStringListModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_data(index, role));} Qt::ItemFlags py_q_flags(QStringListModel* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_flags(index));} bool py_q_insertRows(QStringListModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex()){ return (((PythonQtPublicPromoter_QStringListModel*)theWrappedObject)->py_q_insertRows(row, count, parent));} @@ -2123,7 +1777,7 @@ enum SubControl{ Q_DECLARE_FLAGS(State, StateFlag) Q_DECLARE_FLAGS(SubControls, SubControl) public slots: -void delete_QStyle(QStyle* obj) { delete obj; } +void delete_QStyle(QStyle* obj) { delete obj; } QRect static_QStyle_alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize& size, const QRect& rectangle); int combinedLayoutSpacing(QStyle* theWrappedObject, QSizePolicy::ControlTypes controls1, QSizePolicy::ControlTypes controls2, Qt::Orientation orientation, QStyleOption* option = nullptr, QWidget* widget = nullptr) const; void drawComplexControl(QStyle* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QPainter* p, const QWidget* widget = nullptr) const; @@ -2185,12 +1839,12 @@ void delete_QStyle(QStyle* obj) { delete obj; } class PythonQtShell_QStyleFactory : public QStyleFactory { public: - PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(NULL) {}; + PythonQtShell_QStyleFactory():QStyleFactory(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleFactory(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleFactory : public QObject @@ -2198,7 +1852,7 @@ class PythonQtWrapper_QStyleFactory : public QObject public: public slots: QStyleFactory* new_QStyleFactory(); -void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } +void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } QStyle* static_QStyleFactory_create(const QString& arg__1); QStringList static_QStyleFactory_keys(); }; @@ -2210,12 +1864,12 @@ void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } class PythonQtShell_QStyleHintReturn : public QStyleHintReturn { public: - PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(NULL) {}; + PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(nullptr) {}; ~PythonQtShell_QStyleHintReturn(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleHintReturn : public QObject @@ -2230,7 +1884,7 @@ enum StyleOptionVersion{ Version = QStyleHintReturn::Version}; public slots: QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); -void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } +void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } void py_set_type(QStyleHintReturn* theWrappedObject, int type){ theWrappedObject->type = type; } int py_get_type(QStyleHintReturn* theWrappedObject){ return theWrappedObject->type; } void py_set_version(QStyleHintReturn* theWrappedObject, int version){ theWrappedObject->version = version; } @@ -2238,3 +1892,318 @@ int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject }; + + + +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; } +}; + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp similarity index 63% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index ce14bd93..afc13691 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -1,275 +1,12 @@ -#include "com_trolltech_qt_gui8.h" +#include "com_trolltech_qt_gui9.h" #include #include #include #include #include +#include #include -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); } - - - -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); } - - - -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); } @@ -286,6 +23,11 @@ QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFo { return new PythonQtShell_QStyleOptionFocusRect(version); } +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::operator_assign(QStyleOptionFocusRect* theWrappedObject, const QStyleOptionFocusRect& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionFrame::~PythonQtShell_QStyleOptionFrame() { @@ -304,6 +46,11 @@ QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(int { return new PythonQtShell_QStyleOptionFrame(version); } +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::operator_assign(QStyleOptionFrame* theWrappedObject, const QStyleOptionFrame& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionFrameV2::~PythonQtShell_QStyleOptionFrameV2() { @@ -347,6 +94,11 @@ qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); } +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::operator_assign(QStyleOptionGraphicsItem* theWrappedObject, const QStyleOptionGraphicsItem& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionGroupBox::~PythonQtShell_QStyleOptionGroupBox() { @@ -365,6 +117,11 @@ QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGrou { return new PythonQtShell_QStyleOptionGroupBox(version); } +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::operator_assign(QStyleOptionGroupBox* theWrappedObject, const QStyleOptionGroupBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionHeader::~PythonQtShell_QStyleOptionHeader() { @@ -383,6 +140,11 @@ QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(i { return new PythonQtShell_QStyleOptionHeader(version); } +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::operator_assign(QStyleOptionHeader* theWrappedObject, const QStyleOptionHeader& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionMenuItem::~PythonQtShell_QStyleOptionMenuItem() { @@ -401,6 +163,34 @@ QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenu { 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() { @@ -429,6 +219,11 @@ QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOption { return new PythonQtShell_QStyleOptionRubberBand(version); } +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::operator_assign(QStyleOptionRubberBand* theWrappedObject, const QStyleOptionRubberBand& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionSizeGrip::~PythonQtShell_QStyleOptionSizeGrip() { @@ -447,6 +242,11 @@ QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSize { return new PythonQtShell_QStyleOptionSizeGrip(version); } +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::operator_assign(QStyleOptionSizeGrip* theWrappedObject, const QStyleOptionSizeGrip& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionSlider::~PythonQtShell_QStyleOptionSlider() { @@ -465,6 +265,11 @@ QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(i { return new PythonQtShell_QStyleOptionSlider(version); } +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::operator_assign(QStyleOptionSlider* theWrappedObject, const QStyleOptionSlider& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionSpinBox::~PythonQtShell_QStyleOptionSpinBox() { @@ -483,6 +288,34 @@ QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBo { 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() { @@ -501,6 +334,11 @@ QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOption { return new PythonQtShell_QStyleOptionTabBarBase(version); } +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::operator_assign(QStyleOptionTabBarBase* theWrappedObject, const QStyleOptionTabBarBase& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionTabBarBaseV2::~PythonQtShell_QStyleOptionTabBarBaseV2() { @@ -549,6 +387,11 @@ QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QSty { return new PythonQtShell_QStyleOptionTabWidgetFrame(version); } +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::operator_assign(QStyleOptionTabWidgetFrame* theWrappedObject, const QStyleOptionTabWidgetFrame& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionTabWidgetFrameV2::~PythonQtShell_QStyleOptionTabWidgetFrameV2() { @@ -577,6 +420,11 @@ QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitl { return new PythonQtShell_QStyleOptionTitleBar(version); } +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::operator_assign(QStyleOptionTitleBar* theWrappedObject, const QStyleOptionTitleBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionToolBar::~PythonQtShell_QStyleOptionToolBar() { @@ -595,6 +443,11 @@ QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBa { return new PythonQtShell_QStyleOptionToolBar(version); } +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::operator_assign(QStyleOptionToolBar* theWrappedObject, const QStyleOptionToolBar& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionToolBox::~PythonQtShell_QStyleOptionToolBox() { @@ -613,6 +466,11 @@ QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBo { return new PythonQtShell_QStyleOptionToolBox(version); } +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::operator_assign(QStyleOptionToolBox* theWrappedObject, const QStyleOptionToolBox& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + PythonQtShell_QStyleOptionToolBoxV2::~PythonQtShell_QStyleOptionToolBoxV2() { @@ -624,3 +482,79 @@ QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionTo 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(); } + + diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h index df49ead9..184f164f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui8.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -1,291 +1,23 @@ #include #include #include -#include #include +#include #include -class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask -{ -public: - PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(NULL) {}; - - ~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(NULL) {}; - - ~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(NULL) {}; - PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(NULL) {}; - - ~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(NULL) {}; - PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(NULL) {}; - - ~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; } -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_QStyleOptionDockWidget : public QStyleOptionDockWidget -{ -public: - PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(NULL) {}; - - ~PythonQtShell_QStyleOptionDockWidget(); - - - 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; } -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(NULL) {}; - - ~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(NULL) {}; - PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFocusRect(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFocusRect : public QObject @@ -300,7 +32,8 @@ public slots: QStyleOptionFocusRect* new_QStyleOptionFocusRect(); QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); -void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } +void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } + 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; } }; @@ -312,14 +45,14 @@ QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame { public: - PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrame : public QObject @@ -338,7 +71,8 @@ public slots: QStyleOptionFrame* new_QStyleOptionFrame(); QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); QStyleOptionFrame* new_QStyleOptionFrame(int version); -void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } +void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } + 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; } @@ -356,12 +90,12 @@ int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrapped class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 { public: - PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrameV2 : public QObject @@ -373,7 +107,7 @@ QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); *((QStyleOptionFrameV2*)a) = other; return a; } -void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } +void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } }; @@ -383,12 +117,12 @@ void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } class PythonQtShell_QStyleOptionFrameV3 : public QStyleOptionFrameV3 { public: - PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionFrameV3():QStyleOptionFrameV3(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionFrameV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionFrameV3 : public QObject @@ -400,7 +134,7 @@ QStyleOptionFrameV3* new_QStyleOptionFrameV3(const QStyleOptionFrameV3& other) { PythonQtShell_QStyleOptionFrameV3* a = new PythonQtShell_QStyleOptionFrameV3(); *((QStyleOptionFrameV3*)a) = other; return a; } -void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } +void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } }; @@ -410,14 +144,14 @@ void delete_QStyleOptionFrameV3(QStyleOptionFrameV3* obj) { delete obj; } class PythonQtShell_QStyleOptionGraphicsItem : public QStyleOptionGraphicsItem { public: - PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGraphicsItem():QStyleOptionGraphicsItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other):QStyleOptionGraphicsItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGraphicsItem(int version):QStyleOptionGraphicsItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionGraphicsItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionGraphicsItem : public QObject @@ -432,8 +166,9 @@ public slots: QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(); QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other); QStyleOptionGraphicsItem* new_QStyleOptionGraphicsItem(int version); -void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } +void delete_QStyleOptionGraphicsItem(QStyleOptionGraphicsItem* obj) { delete obj; } qreal static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform); + 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; } @@ -449,14 +184,14 @@ QMatrix py_get_matrix(QStyleOptionGraphicsItem* theWrappedObject){ return theWr class PythonQtShell_QStyleOptionGroupBox : public QStyleOptionGroupBox { public: - PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionGroupBox():QStyleOptionGroupBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGroupBox(const QStyleOptionGroupBox& other):QStyleOptionGroupBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionGroupBox(int version):QStyleOptionGroupBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionGroupBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionGroupBox : public QObject @@ -471,7 +206,8 @@ public slots: QStyleOptionGroupBox* new_QStyleOptionGroupBox(); QStyleOptionGroupBox* new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other); QStyleOptionGroupBox* new_QStyleOptionGroupBox(int version); -void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } +void delete_QStyleOptionGroupBox(QStyleOptionGroupBox* obj) { delete obj; } + 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; } @@ -493,14 +229,14 @@ QColor py_get_textColor(QStyleOptionGroupBox* theWrappedObject){ return theWrap class PythonQtShell_QStyleOptionHeader : public QStyleOptionHeader { public: - PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionHeader():QStyleOptionHeader(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionHeader(const QStyleOptionHeader& other):QStyleOptionHeader(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionHeader(int version):QStyleOptionHeader(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionHeader(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionHeader : public QObject @@ -521,7 +257,8 @@ public slots: QStyleOptionHeader* new_QStyleOptionHeader(); QStyleOptionHeader* new_QStyleOptionHeader(const QStyleOptionHeader& other); QStyleOptionHeader* new_QStyleOptionHeader(int version); -void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } +void delete_QStyleOptionHeader(QStyleOptionHeader* obj) { delete obj; } + 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; } @@ -548,14 +285,14 @@ Qt::Alignment py_get_textAlignment(QStyleOptionHeader* theWrappedObject){ retur class PythonQtShell_QStyleOptionMenuItem : public QStyleOptionMenuItem { public: - PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionMenuItem():QStyleOptionMenuItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionMenuItem(const QStyleOptionMenuItem& other):QStyleOptionMenuItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionMenuItem(int version):QStyleOptionMenuItem(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionMenuItem(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionMenuItem : public QObject @@ -574,7 +311,8 @@ public slots: QStyleOptionMenuItem* new_QStyleOptionMenuItem(); QStyleOptionMenuItem* new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other); QStyleOptionMenuItem* new_QStyleOptionMenuItem(int version); -void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } +void delete_QStyleOptionMenuItem(QStyleOptionMenuItem* obj) { delete obj; } + 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; } @@ -601,15 +339,66 @@ QString py_get_text(QStyleOptionMenuItem* theWrappedObject){ return theWrappedO +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(NULL) {}; + PythonQtShell_QStyleOptionProgressBarV2():QStyleOptionProgressBarV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionProgressBarV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionProgressBarV2 : public QObject @@ -621,7 +410,7 @@ QStyleOptionProgressBarV2* new_QStyleOptionProgressBarV2(const QStyleOptionProgr PythonQtShell_QStyleOptionProgressBarV2* a = new PythonQtShell_QStyleOptionProgressBarV2(); *((QStyleOptionProgressBarV2*)a) = other; return a; } -void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } +void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete obj; } }; @@ -631,14 +420,14 @@ void delete_QStyleOptionProgressBarV2(QStyleOptionProgressBarV2* obj) { delete o class PythonQtShell_QStyleOptionRubberBand : public QStyleOptionRubberBand { public: - PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionRubberBand():QStyleOptionRubberBand(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionRubberBand(const QStyleOptionRubberBand& other):QStyleOptionRubberBand(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionRubberBand(int version):QStyleOptionRubberBand(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionRubberBand(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionRubberBand : public QObject @@ -653,7 +442,8 @@ public slots: QStyleOptionRubberBand* new_QStyleOptionRubberBand(); QStyleOptionRubberBand* new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other); QStyleOptionRubberBand* new_QStyleOptionRubberBand(int version); -void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } +void delete_QStyleOptionRubberBand(QStyleOptionRubberBand* obj) { delete obj; } + 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; } @@ -667,14 +457,14 @@ QRubberBand::Shape py_get_shape(QStyleOptionRubberBand* theWrappedObject){ retu class PythonQtShell_QStyleOptionSizeGrip : public QStyleOptionSizeGrip { public: - PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSizeGrip():QStyleOptionSizeGrip(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other):QStyleOptionSizeGrip(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSizeGrip(int version):QStyleOptionSizeGrip(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSizeGrip(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSizeGrip : public QObject @@ -689,7 +479,8 @@ public slots: QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(); QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other); QStyleOptionSizeGrip* new_QStyleOptionSizeGrip(int version); -void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } +void delete_QStyleOptionSizeGrip(QStyleOptionSizeGrip* obj) { delete obj; } + 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; } }; @@ -701,14 +492,14 @@ Qt::Corner py_get_corner(QStyleOptionSizeGrip* theWrappedObject){ return theWra class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider { public: - PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSlider(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSlider : public QObject @@ -723,7 +514,8 @@ public slots: QStyleOptionSlider* new_QStyleOptionSlider(); QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other); QStyleOptionSlider* new_QStyleOptionSlider(int version); -void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } +void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; } + 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; } @@ -757,14 +549,14 @@ bool py_get_upsideDown(QStyleOptionSlider* theWrappedObject){ return theWrapped class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox { public: - PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionSpinBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionSpinBox : public QObject @@ -779,7 +571,8 @@ public slots: QStyleOptionSpinBox* new_QStyleOptionSpinBox(); QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other); QStyleOptionSpinBox* new_QStyleOptionSpinBox(int version); -void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } +void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; } + 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; } @@ -792,17 +585,85 @@ QAbstractSpinBox::StepEnabled py_get_stepEnabled(QStyleOptionSpinBox* theWrappe +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(NULL) {}; - PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabBarBase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBase : public QObject @@ -817,7 +678,8 @@ public slots: QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(int version); -void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } +void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } + 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; } @@ -835,12 +697,12 @@ QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWr class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 { public: - PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabBarBaseV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject @@ -852,7 +714,7 @@ QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarB PythonQtShell_QStyleOptionTabBarBaseV2* a = new PythonQtShell_QStyleOptionTabBarBaseV2(); *((QStyleOptionTabBarBaseV2*)a) = other; return a; } -void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } +void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } }; @@ -862,12 +724,12 @@ void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 { public: - PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV2 : public QObject @@ -879,7 +741,7 @@ QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other) { PythonQtShell_QStyleOptionTabV2* a = new PythonQtShell_QStyleOptionTabV2(); *((QStyleOptionTabV2*)a) = other; return a; } -void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } +void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } }; @@ -889,12 +751,12 @@ void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 { public: - PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabV3(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabV3 : public QObject @@ -906,7 +768,7 @@ QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV3& other) { PythonQtShell_QStyleOptionTabV3* a = new PythonQtShell_QStyleOptionTabV3(); *((QStyleOptionTabV3*)a) = other; return a; } -void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } +void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } }; @@ -916,14 +778,14 @@ void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame { public: - PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabWidgetFrame(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject @@ -938,7 +800,8 @@ public slots: QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(int version); -void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } +void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } + 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; } @@ -964,12 +827,12 @@ QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return t class PythonQtShell_QStyleOptionTabWidgetFrameV2 : public QStyleOptionTabWidgetFrameV2 { public: - PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTabWidgetFrameV2():QStyleOptionTabWidgetFrameV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTabWidgetFrameV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTabWidgetFrameV2 : public QObject @@ -981,7 +844,7 @@ QStyleOptionTabWidgetFrameV2* new_QStyleOptionTabWidgetFrameV2(const QStyleOptio PythonQtShell_QStyleOptionTabWidgetFrameV2* a = new PythonQtShell_QStyleOptionTabWidgetFrameV2(); *((QStyleOptionTabWidgetFrameV2*)a) = other; return a; } -void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } +void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { delete obj; } }; @@ -991,14 +854,14 @@ void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { de class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar { public: - PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionTitleBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionTitleBar : public QObject @@ -1013,7 +876,8 @@ public slots: QStyleOptionTitleBar* new_QStyleOptionTitleBar(); QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); QStyleOptionTitleBar* new_QStyleOptionTitleBar(int version); -void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } +void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } + 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; } @@ -1031,14 +895,14 @@ int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWra class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar { public: - PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBar(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBar : public QObject @@ -1059,7 +923,8 @@ public slots: QStyleOptionToolBar* new_QStyleOptionToolBar(); QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); QStyleOptionToolBar* new_QStyleOptionToolBar(int version); -void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } +void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } + 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; } @@ -1081,14 +946,14 @@ Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ retu class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox { public: - PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(NULL) {}; - PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBox(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBox : public QObject @@ -1107,7 +972,8 @@ public slots: QStyleOptionToolBox* new_QStyleOptionToolBox(); QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); QStyleOptionToolBox* new_QStyleOptionToolBox(int version); -void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } +void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } + 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; } @@ -1125,12 +991,12 @@ QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedOb class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 { public: - PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(NULL) {}; + PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(nullptr) {}; ~PythonQtShell_QStyleOptionToolBoxV2(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject @@ -1142,7 +1008,213 @@ QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& ot PythonQtShell_QStyleOptionToolBoxV2* a = new PythonQtShell_QStyleOptionToolBoxV2(); *((QStyleOptionToolBoxV2*)a) = other; return a; } -void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +}; + + + + + +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; } }; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp similarity index 81% rename from generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp index 532d2cb2..8b95bd4d 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -12,10 +12,11 @@ #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 != 0); + Q_ASSERT(ptr != nullptr); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { *class_name = "QActionEvent"; @@ -181,6 +182,10 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *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; @@ -193,11 +198,11 @@ static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) *class_name = "QWindowStateChangeEvent"; return (QWindowStateChangeEvent*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QGradient(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QGradient *object = (QGradient *)ptr; if (object->type() == QGradient::ConicalGradient) { *class_name = "QConicalGradient"; @@ -215,11 +220,11 @@ static void* polymorphichandler_QGradient(const void *ptr, const char **class_na *class_name = "QRadialGradient"; return (QRadialGradient*)object; } - return NULL; + return nullptr; } static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **class_name) { - Q_ASSERT(ptr != 0); + Q_ASSERT(ptr != nullptr); QGraphicsItem *object = (QGraphicsItem *)ptr; if (object->type() == QGraphicsEllipseItem::Type) { *class_name = "QGraphicsEllipseItem"; @@ -253,11 +258,19 @@ static void* polymorphichandler_QGraphicsItem(const void *ptr, const char **clas *class_name = "QGraphicsSimpleTextItem"; return (QGraphicsSimpleTextItem*)object; } - return NULL; + 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 != 0); + Q_ASSERT(ptr != nullptr); QStyleOption *object = (QStyleOption *)ptr; if (object->type == QStyleOption::SO_Default) { *class_name = "QStyleOption"; @@ -267,6 +280,10 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *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; @@ -307,6 +324,14 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *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; @@ -323,6 +348,10 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *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; @@ -331,6 +360,14 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *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; @@ -375,7 +412,7 @@ static void* polymorphichandler_QStyleOption(const void *ptr, const char **class *class_name = "QStyleOptionViewItemV4"; return (QStyleOptionViewItemV4*)object; } - return NULL; + return nullptr; } @@ -396,22 +433,26 @@ PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::PaintContext", PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::Selection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAccessibleEvent", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QBackingStore", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QBoxLayout::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()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QColorDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->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()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +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); @@ -426,8 +467,8 @@ PythonQt::priv()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQ PythonQt::priv()->registerClass(&QDoubleSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDoubleValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QDrag::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QEnterEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -435,21 +476,25 @@ PythonQt::priv()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", Pytho PythonQt::priv()->registerCPPClass("QExposeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFileDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QFileIconProvider", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFileSystemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFontDatabase", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QFontDatabase", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QFormLayout::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, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGestureEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, 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("QGradient", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGlyphRun", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsAnchorLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsBlurEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsColorizeEffect::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -467,6 +512,8 @@ PythonQt::priv()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtC 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); @@ -477,60 +524,63 @@ PythonQt::priv()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeI PythonQt::priv()->registerClass(&QGraphicsRotation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsScale::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsScene::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGraphicsSimpleTextItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsTransform::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGridLayout::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, NULL, module, 0); -PythonQt::priv()->registerClass(&QHBoxLayout::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, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QHoverEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QImageIOHandler", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QImageIOPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QInputDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QInputEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QInputMethod::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QInputMethodEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QInputMethod::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QInputMethodEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QInputMethodEvent::Attribute", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QInputMethodQueryEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QInputMethodQueryEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QIntValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QItemEditorCreatorBase", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QItemEditorFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject, nullptr, module, 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, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QListView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QListWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMainWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide); -PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->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); @@ -542,44 +592,57 @@ PythonQt::priv()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCrea 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::priv()->registerCPPClass("QOpenGLBuffer", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +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, NULL, module, 0); +PythonQt::priv()->registerClass(&QOpenGLContextGroup::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObject", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QOpenGLPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QOpenGLPaintDevice", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerClass(&QOpenGLShader::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QOpenGLShader::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOpenGLShaderProgram::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QOpenGLTimeMonitor::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QOpenGLTimerQuery::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QOpenGLVertexArrayObject::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QOpenGLTimeMonitor::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QOpenGLTimerQuery::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, 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("QPagedPaintDevice", "", "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, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply); -PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_And|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceAnd|PythonQt::Type_InplaceOr|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_Or|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QPainterPath::Element", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QPainter::PixmapFragment", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QPanGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, 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, NULL, module, 0); -PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPixelFormat", "", "QtGui", PythonQtCreateObject, 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); @@ -587,30 +650,33 @@ PythonQt::priv()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQt::priv()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QPrinter", "QPagedPaintDevice",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QPrinterInfo", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QPrinterInfo", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QProgressBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QProgressDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QProxyStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QPushButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRasterWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QRawFont", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QRegularExpressionValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QRgba64", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QRgba64", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QScreenOrientationChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QScreen::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QScreenOrientationChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QScroller::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QScrollerProperties", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSortFilterProxyModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -620,21 +686,23 @@ PythonQt::priv()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCr 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, 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, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QStyleFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturn", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturnMask", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleHintReturnVariant", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QStyleHints::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerClass(&QStyleHints::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QStyleOption", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionButton", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QStyleOptionComboBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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); @@ -645,15 +713,17 @@ PythonQt::priv()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", " 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("QStyleOptionProgressBarV2", "", "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", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStyleOptionTabV3", "", "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); @@ -665,12 +735,12 @@ PythonQt::priv()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGu PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSurface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSurfaceFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QSwipeGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, 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); @@ -678,45 +748,51 @@ PythonQt::priv()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQt PythonQt::priv()->registerClass(&QTableView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTableWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTableWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QTapAndHoldGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerClass(&QTapGesture::staticMetaObject, "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +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, NULL, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextEdit::ExtraSelection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextImageFormat", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +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, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextLayout", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextLayout::FormatRange", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTextOption", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QTextOption", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QTextOption::Tab", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextTable", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextTableCellFormat", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); +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, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QToolBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QToolButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QTouchDevice", "", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTouchDevice", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QTouchEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QTouchEvent::TouchPoint", "", "QtGui", PythonQtCreateObject, 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); @@ -724,20 +800,22 @@ PythonQt::priv()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateOb 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, 0); +PythonQt::priv()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); -PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_Divide|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceMultiply|PythonQt::Type_InplaceSubtract|PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QWheelEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QWidget", "QPaintDevice",PythonQtUpcastingOffset()); 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::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject, NULL, 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); @@ -753,14 +831,18 @@ 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.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri rename to generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri diff --git a/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.15.2/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.2/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.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.15.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h new file mode 100644 index 00000000..2044a4d1 --- /dev/null +++ b/generated_cpp_5.15.2/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 = USHRT_MAX); + 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.2/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.15.2/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.2/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.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp index bbe8f820..77f25cb4 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp @@ -3,29 +3,33 @@ #include #include #include -#include #include +#include #include -#include #include #include -#include -#include -#include #include +#include #include #include #include #include #include #include -#include +#include #include #include +#include #include #include #include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -35,6 +39,50 @@ 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) { @@ -46,19 +94,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -68,6 +116,72 @@ if (_wrapper) { } 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) { @@ -79,19 +193,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -112,19 +226,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("preferredFormat", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -145,19 +259,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedByteOrders", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -178,19 +292,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedChannelCounts", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -211,19 +325,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -244,19 +358,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -277,19 +391,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleSizes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -310,19 +424,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleTypes", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -332,6 +446,28 @@ if (_wrapper) { } 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(); } @@ -411,19 +547,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -444,19 +580,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesReady", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -466,6 +602,50 @@ if (_wrapper) { } 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) { @@ -477,19 +657,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -510,19 +690,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QAudio::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -532,6 +712,72 @@ if (_wrapper) { } 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) { @@ -543,19 +789,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -576,19 +822,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -609,19 +855,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -642,19 +888,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -674,9 +920,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -696,9 +942,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -718,9 +964,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -740,9 +986,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fmt0}; + void* args[2] = {nullptr, (void*)&fmt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -762,9 +1008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&milliSeconds0}; + void* args[2] = {nullptr, (void*)&milliSeconds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -784,9 +1030,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -807,19 +1053,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -827,7 +1073,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QAbstractAudioInput::start(QIODevice* device0) { @@ -839,9 +1085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -862,19 +1108,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudio::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -894,9 +1140,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -916,9 +1162,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -927,6 +1173,28 @@ if (_wrapper) { } } +} +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 { @@ -939,19 +1207,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1095,19 +1363,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferSize", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1128,19 +1396,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesFree", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1161,19 +1429,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("category", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1183,6 +1451,50 @@ if (_wrapper) { } 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) { @@ -1194,19 +1506,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("elapsedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1227,19 +1539,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QAudio::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1249,30 +1561,30 @@ if (_wrapper) { } return QAudio::Error(); } -QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const +bool PythonQtShell_QAbstractAudioOutput::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("format"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QAudioFormat*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1280,32 +1592,32 @@ if (_wrapper) { } } } - return QAudioFormat(); + return QAbstractAudioOutput::event(event0); } -int PythonQtShell_QAbstractAudioOutput::notifyInterval() const +bool PythonQtShell_QAbstractAudioOutput::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("notifyInterval"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("notifyInterval", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1313,32 +1625,98 @@ if (_wrapper) { } } } - return int(); + return QAbstractAudioOutput::eventFilter(watched0, event1); } -int PythonQtShell_QAbstractAudioOutput::periodSize() const +QAudioFormat PythonQtShell_QAbstractAudioOutput::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("periodSize"); + static PyObject* name = PyString_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {NULL}; + QAudioFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("periodSize", methodInfo, result); + 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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1359,19 +1737,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processedUSecs", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1391,9 +1769,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1413,9 +1791,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1435,9 +1813,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&value0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1457,9 +1835,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1479,9 +1857,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fmt0}; + void* args[2] = {nullptr, (void*)&fmt0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1501,9 +1879,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&milliSeconds0}; + void* args[2] = {nullptr, (void*)&milliSeconds0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1523,9 +1901,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1546,19 +1924,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1566,7 +1944,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QAbstractAudioOutput::start(QIODevice* device0) { @@ -1578,9 +1956,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1601,19 +1979,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudio::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1633,9 +2011,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1655,9 +2033,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1666,6 +2044,28 @@ if (_wrapper) { } } +} +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 { @@ -1678,19 +2078,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1844,19 +2244,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1877,19 +2277,19 @@ if (_wrapper) { static const char* argumentList[] ={"uchar*" , "QAbstractVideoBuffer::MapMode" , "int*" , "int*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); uchar* returnValue{}; - void* args[4] = {NULL, (void*)&mode0, (void*)&numBytes1, (void*)&bytesPerLine2}; + void* args[4] = {nullptr, (void*)&mode0, (void*)&numBytes1, (void*)&bytesPerLine2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("map", methodInfo, result); } else { returnValue = *((uchar**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1897,7 +2297,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractVideoBuffer::MapMode PythonQtShell_QAbstractVideoBuffer::mapMode() const { @@ -1910,19 +2310,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractVideoBuffer::MapMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractVideoBuffer::MapMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mapMode", methodInfo, result); } else { returnValue = *((QAbstractVideoBuffer::MapMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1942,9 +2342,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1964,9 +2364,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2016,6 +2416,116 @@ 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) { @@ -2027,19 +2537,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFormatSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2060,19 +2570,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVideoSurfaceFormat" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVideoSurfaceFormat returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nearestFormat", methodInfo, result); } else { returnValue = *((QVideoSurfaceFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2093,19 +2603,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QVideoFrame&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&frame0}; + void* args[2] = {nullptr, (void*)&frame0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("present", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2126,19 +2636,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QVideoSurfaceFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("start", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2158,9 +2668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2181,19 +2691,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QAbstractVideoBuffer::HandleType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&type0}; + void* args[2] = {nullptr, (void*)&type0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedPixelFormats", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2203,6 +2713,28 @@ if (_wrapper) { } 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); } @@ -2377,19 +2909,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2410,19 +2942,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2432,6 +2964,116 @@ if (_wrapper) { } 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) { @@ -2443,19 +3085,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2476,19 +3118,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2498,19 +3140,19 @@ if (_wrapper) { } return QAudioDecoder::service(); } -void PythonQtShell_QAudioDecoder::unbind(QObject* arg__1) +void PythonQtShell_QAudioDecoder::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unbind"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2518,10 +3160,32 @@ if (_wrapper) { } } } - QAudioDecoder::unbind(arg__1); + QAudioDecoder::timerEvent(event0); } -QAudioDecoder* PythonQtWrapper_QAudioDecoder::new_QAudioDecoder(QObject* parent) -{ +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 { @@ -2624,19 +3288,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioFormat", methodInfo, result); } else { returnValue = *((QAudioFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2657,19 +3321,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2679,6 +3343,50 @@ if (_wrapper) { } 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) { @@ -2690,19 +3398,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2712,6 +3420,72 @@ if (_wrapper) { } 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) { @@ -2723,19 +3497,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2756,19 +3530,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioBuffer"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioBuffer returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("read", methodInfo, result); } else { returnValue = *((QAudioBuffer*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2788,9 +3562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2810,9 +3584,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2832,9 +3606,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fileName0}; + void* args[2] = {nullptr, (void*)&fileName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2855,19 +3629,19 @@ if (_wrapper) { static const char* argumentList[] ={"QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sourceDevice", methodInfo, result); } else { returnValue = *((QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2875,7 +3649,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QString PythonQtShell_QAudioDecoderControl::sourceFilename() const { @@ -2888,19 +3662,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sourceFilename", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2920,9 +3694,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2943,19 +3717,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioDecoder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioDecoder::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QAudioDecoder::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2975,9 +3749,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2986,6 +3760,28 @@ if (_wrapper) { } } +} +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) { @@ -3296,19 +4092,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudioEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudioEncoderSettings returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioSettings", methodInfo, result); } else { returnValue = *((QAudioEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3318,6 +4114,28 @@ if (_wrapper) { } 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) { @@ -3329,19 +4147,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&codecName0}; + void* args[2] = {nullptr, (void*)&codecName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("codecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3351,6 +4169,94 @@ if (_wrapper) { } 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) { @@ -3361,9 +4267,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QAudioEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3384,19 +4290,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3417,19 +4323,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QAudioEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedSampleRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3439,6 +4345,28 @@ if (_wrapper) { } 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); } @@ -3619,38 +4547,170 @@ PythonQtShell_QAudioInput::~PythonQtShell_QAudioInput() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -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 +void PythonQtShell_QAudioInput::childEvent(QChildEvent* event0) { - return ( theWrappedObject->bufferSize()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QAudioInput::bytesReady(QAudioInput* theWrappedObject) const -{ - return ( theWrappedObject->bytesReady()); + QAudioInput::childEvent(event0); } - -qint64 PythonQtWrapper_QAudioInput::elapsedUSecs(QAudioInput* theWrappedObject) const +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()); } @@ -3752,19 +4812,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("activeInput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3785,19 +4845,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableInputs", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3807,6 +4867,50 @@ if (_wrapper) { } 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) { @@ -3818,19 +4922,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultInput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3840,6 +4944,72 @@ if (_wrapper) { } 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) { @@ -3851,19 +5021,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3883,9 +5053,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3894,6 +5064,28 @@ if (_wrapper) { } } +} +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) { @@ -3931,12 +5123,144 @@ QString PythonQtWrapper_QAudioInputSelectorControl::inputDescription(QAudioInpu { return ( theWrappedObject->inputDescription(name)); } - - - -PythonQtShell_QAudioOutput::~PythonQtShell_QAudioOutput() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + + + +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) { @@ -4081,19 +5405,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("activeOutput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4114,19 +5438,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableOutputs", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4136,6 +5460,50 @@ if (_wrapper) { } 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) { @@ -4147,19 +5515,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultOutput", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4169,6 +5537,72 @@ if (_wrapper) { } 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) { @@ -4180,19 +5614,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("outputDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4212,9 +5646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4223,6 +5657,28 @@ if (_wrapper) { } } +} +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) { @@ -4267,6 +5723,138 @@ 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); } @@ -4284,26 +5872,136 @@ int PythonQtShell_QAudioProbe::qt_metacall(QMetaObject::Call call, int id, void* 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::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 PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaObject* source) +bool PythonQtShell_QAudioRecorder::event(QEvent* event0) { - return ( theWrappedObject->setSource(source)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QAudioProbe::setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source) + return QAudioRecorder::event(event0); +} +bool PythonQtShell_QAudioRecorder::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->setSource(source)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QAudioRecorder::~PythonQtShell_QAudioRecorder() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QAudioRecorder::eventFilter(watched0, event1); } QMediaObject* PythonQtShell_QAudioRecorder::mediaObject() const { @@ -4316,19 +6014,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4349,19 +6047,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4371,6 +6069,28 @@ if (_wrapper) { } 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); } @@ -4425,19 +6145,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAudio::Role"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAudio::Role returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("audioRole", methodInfo, result); } else { returnValue = *((QAudio::Role*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4447,6 +6167,116 @@ if (_wrapper) { } 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) { @@ -4457,9 +6287,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAudio::Role"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&role0}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4480,19 +6310,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedAudioRoles", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4502,6 +6332,28 @@ if (_wrapper) { } 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); } @@ -4551,19 +6403,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4584,19 +6436,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QAbstractAudioDeviceInfo* returnValue{}; - void* args[3] = {NULL, (void*)&device0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&device0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); } else { returnValue = *((QAbstractAudioDeviceInfo**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4604,7 +6456,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioInput* PythonQtShell_QAudioSystemFactoryInterface::createInput(const QByteArray& device0) { @@ -4617,19 +6469,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioInput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); } else { returnValue = *((QAbstractAudioInput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4637,7 +6489,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioOutput* PythonQtShell_QAudioSystemFactoryInterface::createOutput(const QByteArray& device0) { @@ -4650,19 +6502,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioOutput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); } else { returnValue = *((QAbstractAudioOutput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4670,7 +6522,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAudioSystemFactoryInterface* PythonQtWrapper_QAudioSystemFactoryInterface::new_QAudioSystemFactoryInterface() { @@ -4713,19 +6565,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableDevices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4746,19 +6598,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioDeviceInfo*" , "const QByteArray&" , "QAudio::Mode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QAbstractAudioDeviceInfo* returnValue{}; - void* args[3] = {NULL, (void*)&device0, (void*)&mode1}; + void* args[3] = {nullptr, (void*)&device0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createDeviceInfo", methodInfo, result); } else { returnValue = *((QAbstractAudioDeviceInfo**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4766,7 +6618,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioInput* PythonQtShell_QAudioSystemPlugin::createInput(const QByteArray& device0) { @@ -4779,19 +6631,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioInput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioInput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createInput", methodInfo, result); } else { returnValue = *((QAbstractAudioInput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4799,7 +6651,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAbstractAudioOutput* PythonQtShell_QAudioSystemPlugin::createOutput(const QByteArray& device0) { @@ -4812,19 +6664,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractAudioOutput*" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QAbstractAudioOutput* returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createOutput", methodInfo, result); } else { returnValue = *((QAbstractAudioOutput**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4832,7 +6684,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QAudioSystemPlugin* PythonQtWrapper_QAudioSystemPlugin::new_QAudioSystemPlugin(QObject* parent) { @@ -4888,19 +6740,129 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4908,32 +6870,32 @@ if (_wrapper) { } } } - return QCamera::availability(); + return QCamera::event(event0); } -bool PythonQtShell_QCamera::bind(QObject* arg__1) +bool PythonQtShell_QCamera::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bind"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4941,7 +6903,7 @@ if (_wrapper) { } } } - return QCamera::bind(arg__1); + return QCamera::eventFilter(watched0, event1); } bool PythonQtShell_QCamera::isAvailable() const { @@ -4954,19 +6916,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4987,19 +6949,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5009,6 +6971,28 @@ if (_wrapper) { } 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) { @@ -5019,9 +7003,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5197,19 +7181,277 @@ if (_wrapper) { static const char* argumentList[] ={"QVideoFrame::PixelFormat"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVideoFrame::PixelFormat returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferFormat", methodInfo, result); } else { returnValue = *((QVideoFrame::PixelFormat*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + 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 { @@ -5217,21 +7459,43 @@ if (_wrapper) { } } } - return QVideoFrame::PixelFormat(); + 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_QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFrame::PixelFormat format0) +void PythonQtShell_QCameraCaptureDestinationControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setBufferFormat"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QVideoFrame::PixelFormat"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5239,32 +7503,32 @@ if (_wrapper) { } } } - + QCameraCaptureDestinationControl::customEvent(event0); } -QList PythonQtShell_QCameraCaptureBufferFormatControl::supportedBufferFormats() const +bool PythonQtShell_QCameraCaptureDestinationControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedBufferFormats"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedBufferFormats", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5272,70 +7536,32 @@ if (_wrapper) { } } } - return QList(); -} -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); } + return QCameraCaptureDestinationControl::event(event0); } -QCameraImageCapture::CaptureDestinations PythonQtShell_QCameraCaptureDestinationControl::captureDestination() const +bool PythonQtShell_QCameraCaptureDestinationControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("captureDestination"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("captureDestination", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QCameraImageCapture::CaptureDestinations*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5343,7 +7569,7 @@ if (_wrapper) { } } } - return QCameraImageCapture::CaptureDestinations(); + return QCameraCaptureDestinationControl::eventFilter(watched0, event1); } bool PythonQtShell_QCameraCaptureDestinationControl::isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination0) const { @@ -5356,19 +7582,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&destination0}; + void* args[2] = {nullptr, (void*)&destination0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureDestinationSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5388,9 +7614,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageCapture::CaptureDestinations"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&destination0}; + void* args[2] = {nullptr, (void*)&destination0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5399,6 +7625,28 @@ if (_wrapper) { } } +} +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) { @@ -5449,19 +7697,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraControl::PropertyChangeType" , "QCamera::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&changeType0, (void*)&status1}; + void* args[3] = {nullptr, (void*)&changeType0, (void*)&status1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canChangeProperty", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5482,19 +7730,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCamera::CaptureModes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("captureMode", methodInfo, result); } else { returnValue = *((QCamera::CaptureModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5504,6 +7752,116 @@ if (_wrapper) { } 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) { @@ -5515,19 +7873,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCaptureModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5547,9 +7905,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::CaptureModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5569,9 +7927,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCamera::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5592,19 +7950,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCamera::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QCamera::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5625,19 +7983,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCamera::Status returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); } else { returnValue = *((QCamera::Status*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5647,6 +8005,28 @@ if (_wrapper) { } 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); } @@ -5699,6 +8079,8 @@ QCamera::Status PythonQtWrapper_QCameraControl::status(QCameraControl* theWrapp return ( theWrappedObject->status()); } + + qreal PythonQtWrapper_QCameraExposure::aperture(QCameraExposure* theWrappedObject) const { return ( theWrappedObject->aperture()); @@ -5788,47 +8170,157 @@ QList PythonQtWrapper_QCameraExposure::supportedApertures(QCameraExposu { return ( theWrappedObject->supportedApertures(continuous)); } - -QList PythonQtWrapper_QCameraExposure::supportedIsoSensitivities(QCameraExposure* theWrappedObject, bool* continuous) const -{ - return ( theWrappedObject->supportedIsoSensitivities(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); } - -QList PythonQtWrapper_QCameraExposure::supportedShutterSpeeds(QCameraExposure* theWrappedObject, bool* continuous) const +bool PythonQtShell_QCameraExposureControl::event(QEvent* event0) { - return ( theWrappedObject->supportedShutterSpeeds(continuous)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QCameraExposureControl::~PythonQtShell_QCameraExposureControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QCameraExposureControl::event(event0); } -QVariant PythonQtShell_QCameraExposureControl::actualValue(QCameraExposureControl::ExposureParameter parameter0) const +bool PythonQtShell_QCameraExposureControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actualValue"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)¶meter0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("actualValue", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5836,7 +8328,7 @@ if (_wrapper) { } } } - return QVariant(); + return QCameraExposureControl::eventFilter(watched0, event1); } bool PythonQtShell_QCameraExposureControl::isParameterSupported(QCameraExposureControl::ExposureParameter parameter0) const { @@ -5849,19 +8341,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5882,19 +8374,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QCameraExposureControl::ExposureParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedValue", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5915,19 +8407,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraExposureControl::ExposureParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setValue", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5948,19 +8440,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "QCameraExposureControl::ExposureParameter" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)¶meter0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedParameterRange", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5970,6 +8462,28 @@ if (_wrapper) { } 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); } @@ -6012,10 +8526,122 @@ QList PythonQtWrapper_QCameraExposureControl::supportedParameterRang 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) { @@ -6027,19 +8653,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6060,19 +8686,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isEventFeedbackLocked", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6092,9 +8718,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFeedbackControl::EventType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6115,19 +8741,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6148,19 +8774,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFeedbackControl::EventType" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&arg__1, (void*)&filePath1}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&filePath1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setEventFeedbackSound", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6170,6 +8796,28 @@ if (_wrapper) { } 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); } @@ -6218,6 +8866,116 @@ 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) { @@ -6229,19 +8987,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraExposure::FlashModes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flashMode", methodInfo, result); } else { returnValue = *((QCameraExposure::FlashModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6262,19 +9020,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFlashModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6295,19 +9053,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFlashReady", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6327,9 +9085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraExposure::FlashModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6338,6 +9096,28 @@ if (_wrapper) { } } +} +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) { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h similarity index 80% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h index 244693fe..3ca22c55 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -31,13 +32,20 @@ #include #include #include -#include +#include #include #include +#include #include #include #include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -48,23 +56,28 @@ class PythonQtShell_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo { public: - PythonQtShell_QAbstractAudioDeviceInfo():QAbstractAudioDeviceInfo(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioDeviceInfo(); - -virtual QString deviceName() const; -virtual bool isFormatSupported(const QAudioFormat& format) const; -virtual QAudioFormat preferredFormat() const; -virtual QList supportedByteOrders(); -virtual QList supportedChannelCounts(); -virtual QStringList supportedCodecs(); -virtual QList supportedSampleRates(); -virtual QList supportedSampleSizes(); -virtual QList supportedSampleTypes(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioDeviceInfo():QAbstractAudioDeviceInfo(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioDeviceInfo() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString deviceName() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isFormatSupported(const QAudioFormat& format) const override; +QAudioFormat preferredFormat() const override; +QList supportedByteOrders() override; +QList supportedChannelCounts() override; +QStringList supportedCodecs() override; +QList supportedSampleRates() override; +QList supportedSampleSizes() override; +QList supportedSampleTypes() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioDeviceInfo : public QAbstractAudioDeviceInfo @@ -85,7 +98,7 @@ class PythonQtWrapper_QAbstractAudioDeviceInfo : public QObject public: public slots: QAbstractAudioDeviceInfo* new_QAbstractAudioDeviceInfo(); -void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj; } +void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj; } QString deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const; QString py_q_deviceName(QAbstractAudioDeviceInfo* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioDeviceInfo*)theWrappedObject)->py_q_deviceName());} bool isFormatSupported(QAbstractAudioDeviceInfo* theWrappedObject, const QAudioFormat& format) const; @@ -113,34 +126,39 @@ void delete_QAbstractAudioDeviceInfo(QAbstractAudioDeviceInfo* obj) { delete obj class PythonQtShell_QAbstractAudioInput : public QAbstractAudioInput { public: - PythonQtShell_QAbstractAudioInput():QAbstractAudioInput(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioInput(); - -virtual int bufferSize() const; -virtual int bytesReady() const; -virtual qint64 elapsedUSecs() const; -virtual QAudio::Error error() const; -virtual QAudioFormat format() const; -virtual int notifyInterval() const; -virtual int periodSize() const; -virtual qint64 processedUSecs() const; -virtual void reset(); -virtual void resume(); -virtual void setBufferSize(int value); -virtual void setFormat(const QAudioFormat& fmt); -virtual void setNotifyInterval(int milliSeconds); -virtual void setVolume(qreal arg__1); -virtual QIODevice* start(); -virtual void start(QIODevice* device); -virtual QAudio::State state() const; -virtual void stop(); -virtual void suspend(); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioInput():QAbstractAudioInput(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioInput() override; + +int bufferSize() const override; +int bytesReady() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 elapsedUSecs() const override; +QAudio::Error error() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QAudioFormat format() const override; +int notifyInterval() const override; +int periodSize() const override; +qint64 processedUSecs() const override; +void reset() override; +void resume() override; +void setBufferSize(int value) override; +void setFormat(const QAudioFormat& fmt) override; +void setNotifyInterval(int milliSeconds) override; +void setVolume(qreal arg__1) override; +QIODevice* start() override; +void start(QIODevice* device) override; +QAudio::State state() const override; +void stop() override; +void suspend() override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioInput : public QAbstractAudioInput @@ -172,7 +190,7 @@ class PythonQtWrapper_QAbstractAudioInput : public QObject public: public slots: QAbstractAudioInput* new_QAbstractAudioInput(); -void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } +void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } int bufferSize(QAbstractAudioInput* theWrappedObject) const; int py_q_bufferSize(QAbstractAudioInput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioInput*)theWrappedObject)->py_q_bufferSize());} int bytesReady(QAbstractAudioInput* theWrappedObject) const; @@ -222,36 +240,41 @@ void delete_QAbstractAudioInput(QAbstractAudioInput* obj) { delete obj; } class PythonQtShell_QAbstractAudioOutput : public QAbstractAudioOutput { public: - PythonQtShell_QAbstractAudioOutput():QAbstractAudioOutput(),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractAudioOutput(); - -virtual int bufferSize() const; -virtual int bytesFree() const; -virtual QString category() const; -virtual qint64 elapsedUSecs() const; -virtual QAudio::Error error() const; -virtual QAudioFormat format() const; -virtual int notifyInterval() const; -virtual int periodSize() const; -virtual qint64 processedUSecs() const; -virtual void reset(); -virtual void resume(); -virtual void setBufferSize(int value); -virtual void setCategory(const QString& arg__1); -virtual void setFormat(const QAudioFormat& fmt); -virtual void setNotifyInterval(int milliSeconds); -virtual void setVolume(qreal arg__1); -virtual QIODevice* start(); -virtual void start(QIODevice* device); -virtual QAudio::State state() const; -virtual void stop(); -virtual void suspend(); -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractAudioOutput():QAbstractAudioOutput(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractAudioOutput() override; + +int bufferSize() const override; +int bytesFree() const override; +QString category() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 elapsedUSecs() const override; +QAudio::Error error() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QAudioFormat format() const override; +int notifyInterval() const override; +int periodSize() const override; +qint64 processedUSecs() const override; +void reset() override; +void resume() override; +void setBufferSize(int value) override; +void setCategory(const QString& arg__1) override; +void setFormat(const QAudioFormat& fmt) override; +void setNotifyInterval(int milliSeconds) override; +void setVolume(qreal arg__1) override; +QIODevice* start() override; +void start(QIODevice* device) override; +QAudio::State state() const override; +void stop() override; +void suspend() override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractAudioOutput : public QAbstractAudioOutput @@ -285,7 +308,7 @@ class PythonQtWrapper_QAbstractAudioOutput : public QObject public: public slots: QAbstractAudioOutput* new_QAbstractAudioOutput(); -void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } +void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } int bufferSize(QAbstractAudioOutput* theWrappedObject) const; int py_q_bufferSize(QAbstractAudioOutput* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractAudioOutput*)theWrappedObject)->py_q_bufferSize());} int bytesFree(QAbstractAudioOutput* theWrappedObject) const; @@ -339,17 +362,17 @@ void delete_QAbstractAudioOutput(QAbstractAudioOutput* obj) { delete obj; } class PythonQtShell_QAbstractVideoBuffer : public QAbstractVideoBuffer { public: - PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(NULL) {}; + PythonQtShell_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type):QAbstractVideoBuffer(type),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractVideoBuffer(); + ~PythonQtShell_QAbstractVideoBuffer() override; -virtual QVariant handle() const; -virtual uchar* map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine); -virtual QAbstractVideoBuffer::MapMode mapMode() const; -virtual void release(); -virtual void unmap(); +QVariant handle() const override; +uchar* map(QAbstractVideoBuffer::MapMode mode, int* numBytes, int* bytesPerLine) override; +QAbstractVideoBuffer::MapMode mapMode() const override; +void release() override; +void unmap() override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoBuffer : public QAbstractVideoBuffer @@ -371,7 +394,7 @@ enum MapMode{ NotMapped = QAbstractVideoBuffer::NotMapped, ReadOnly = QAbstractVideoBuffer::ReadOnly, WriteOnly = QAbstractVideoBuffer::WriteOnly, ReadWrite = QAbstractVideoBuffer::ReadWrite}; public slots: QAbstractVideoBuffer* new_QAbstractVideoBuffer(QAbstractVideoBuffer::HandleType type); -void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } +void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } QVariant handle(QAbstractVideoBuffer* theWrappedObject) const; QVariant py_q_handle(QAbstractVideoBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractVideoBuffer*)theWrappedObject)->py_q_handle());} QAbstractVideoBuffer::HandleType handleType(QAbstractVideoBuffer* theWrappedObject) const; @@ -392,20 +415,25 @@ void delete_QAbstractVideoBuffer(QAbstractVideoBuffer* obj) { delete obj; } class PythonQtShell_QAbstractVideoSurface : public QAbstractVideoSurface { public: - PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(NULL) {}; + PythonQtShell_QAbstractVideoSurface(QObject* parent = nullptr):QAbstractVideoSurface(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAbstractVideoSurface(); + ~PythonQtShell_QAbstractVideoSurface() override; -virtual bool isFormatSupported(const QVideoSurfaceFormat& format) const; -virtual QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat& format) const; -virtual bool present(const QVideoFrame& frame); -virtual bool start(const QVideoSurfaceFormat& format); -virtual void stop(); -virtual QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isFormatSupported(const QVideoSurfaceFormat& format) const override; +QVideoSurfaceFormat nearestFormat(const QVideoSurfaceFormat& format) const override; +bool present(const QVideoFrame& frame) override; +bool start(const QVideoSurfaceFormat& format) override; +void stop() override; +QList supportedPixelFormats(QAbstractVideoBuffer::HandleType type = QAbstractVideoBuffer::NoHandle) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractVideoSurface : public QAbstractVideoSurface @@ -428,7 +456,7 @@ enum Error{ NoError = QAbstractVideoSurface::NoError, UnsupportedFormatError = QAbstractVideoSurface::UnsupportedFormatError, IncorrectFormatError = QAbstractVideoSurface::IncorrectFormatError, StoppedError = QAbstractVideoSurface::StoppedError, ResourceError = QAbstractVideoSurface::ResourceError}; public slots: QAbstractVideoSurface* new_QAbstractVideoSurface(QObject* parent = nullptr); -void delete_QAbstractVideoSurface(QAbstractVideoSurface* obj) { delete obj; } +void delete_QAbstractVideoSurface(QAbstractVideoSurface* obj) { delete obj; } QAbstractVideoSurface::Error error(QAbstractVideoSurface* theWrappedObject) const; bool isActive(QAbstractVideoSurface* theWrappedObject) const; bool isFormatSupported(QAbstractVideoSurface* theWrappedObject, const QVideoSurfaceFormat& format) const; @@ -483,7 +511,7 @@ QAudioBuffer* new_QAudioBuffer(); QAudioBuffer* new_QAudioBuffer(const QAudioBuffer& other); QAudioBuffer* new_QAudioBuffer(const QByteArray& data, const QAudioFormat& format, qint64 startTime = -1); QAudioBuffer* new_QAudioBuffer(int numFrames, const QAudioFormat& format, qint64 startTime = -1); -void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } +void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } int byteCount(QAudioBuffer* theWrappedObject) const; const void* constData(QAudioBuffer* theWrappedObject) const; void* data(QAudioBuffer* theWrappedObject); @@ -505,19 +533,24 @@ void delete_QAudioBuffer(QAudioBuffer* obj) { delete obj; } class PythonQtShell_QAudioDecoder : public QAudioDecoder { public: - PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioDecoder(QObject* parent = nullptr):QAudioDecoder(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioDecoder(); + ~PythonQtShell_QAudioDecoder() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoder : public QAudioDecoder @@ -531,7 +564,7 @@ class PythonQtWrapper_QAudioDecoder : public QObject public: public slots: QAudioDecoder* new_QAudioDecoder(QObject* parent = nullptr); -void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } +void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } QAudioFormat audioFormat(QAudioDecoder* theWrappedObject) const; bool py_q_bind(QAudioDecoder* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QAudioDecoder*)theWrappedObject)->py_q_bind(arg__1));} bool bufferAvailable(QAudioDecoder* theWrappedObject) const; @@ -557,27 +590,32 @@ void delete_QAudioDecoder(QAudioDecoder* obj) { delete obj; } class PythonQtShell_QAudioDecoderControl : public QAudioDecoderControl { public: - PythonQtShell_QAudioDecoderControl(QObject* parent = nullptr):QAudioDecoderControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAudioDecoderControl(); - -virtual QAudioFormat audioFormat() const; -virtual bool bufferAvailable() const; -virtual qint64 duration() const; -virtual qint64 position() const; -virtual QAudioBuffer read(); -virtual void setAudioFormat(const QAudioFormat& format); -virtual void setSourceDevice(QIODevice* device); -virtual void setSourceFilename(const QString& fileName); -virtual QIODevice* sourceDevice() const; -virtual QString sourceFilename() const; -virtual void start(); -virtual QAudioDecoder::State state() const; -virtual void stop(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAudioDecoderControl(QObject* parent = nullptr):QAudioDecoderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAudioDecoderControl() override; + +QAudioFormat audioFormat() const override; +bool bufferAvailable() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qint64 position() const override; +QAudioBuffer read() override; +void setAudioFormat(const QAudioFormat& format) override; +void setSourceDevice(QIODevice* device) override; +void setSourceFilename(const QString& fileName) override; +QIODevice* sourceDevice() const override; +QString sourceFilename() const override; +void start() override; +QAudioDecoder::State state() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioDecoderControl : public QAudioDecoderControl @@ -602,7 +640,7 @@ class PythonQtWrapper_QAudioDecoderControl : public QObject public: public slots: QAudioDecoderControl* new_QAudioDecoderControl(QObject* parent = nullptr); -void delete_QAudioDecoderControl(QAudioDecoderControl* obj) { delete obj; } +void delete_QAudioDecoderControl(QAudioDecoderControl* obj) { delete obj; } QAudioFormat audioFormat(QAudioDecoderControl* theWrappedObject) const; QAudioFormat py_q_audioFormat(QAudioDecoderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioDecoderControl*)theWrappedObject)->py_q_audioFormat());} bool bufferAvailable(QAudioDecoderControl* theWrappedObject) const; @@ -641,7 +679,7 @@ class PythonQtWrapper_QAudioDeviceInfo : public QObject public slots: QAudioDeviceInfo* new_QAudioDeviceInfo(); QAudioDeviceInfo* new_QAudioDeviceInfo(const QAudioDeviceInfo& other); -void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } +void delete_QAudioDeviceInfo(QAudioDeviceInfo* obj) { delete obj; } QList static_QAudioDeviceInfo_availableDevices(QAudio::Mode mode); QAudioDeviceInfo static_QAudioDeviceInfo_defaultInputDevice(); QAudioDeviceInfo static_QAudioDeviceInfo_defaultOutputDevice(); @@ -673,7 +711,7 @@ class PythonQtWrapper_QAudioEncoderSettings : public QObject public slots: QAudioEncoderSettings* new_QAudioEncoderSettings(); QAudioEncoderSettings* new_QAudioEncoderSettings(const QAudioEncoderSettings& other); -void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } +void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } int bitRate(QAudioEncoderSettings* theWrappedObject) const; int channelCount(QAudioEncoderSettings* theWrappedObject) const; QString codec(QAudioEncoderSettings* theWrappedObject) const; @@ -704,19 +742,24 @@ void delete_QAudioEncoderSettings(QAudioEncoderSettings* obj) { delete obj; } class PythonQtShell_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl { public: - PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioEncoderSettingsControl(QObject* parent = nullptr):QAudioEncoderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioEncoderSettingsControl(); + ~PythonQtShell_QAudioEncoderSettingsControl() override; -virtual QAudioEncoderSettings audioSettings() const; -virtual QString codecDescription(const QString& codecName) const; -virtual void setAudioSettings(const QAudioEncoderSettings& settings); -virtual QStringList supportedAudioCodecs() const; -virtual QList supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const; +QAudioEncoderSettings audioSettings() const override; +void childEvent(QChildEvent* event) override; +QString codecDescription(const QString& codecName) const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setAudioSettings(const QAudioEncoderSettings& settings) override; +QStringList supportedAudioCodecs() const override; +QList supportedSampleRates(const QAudioEncoderSettings& settings, bool* continuous = nullptr) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioEncoderSettingsControl : public QAudioEncoderSettingsControl @@ -733,7 +776,7 @@ class PythonQtWrapper_QAudioEncoderSettingsControl : public QObject public: public slots: QAudioEncoderSettingsControl* new_QAudioEncoderSettingsControl(QObject* parent = nullptr); -void delete_QAudioEncoderSettingsControl(QAudioEncoderSettingsControl* obj) { delete obj; } +void delete_QAudioEncoderSettingsControl(QAudioEncoderSettingsControl* obj) { delete obj; } QAudioEncoderSettings audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const; QAudioEncoderSettings py_q_audioSettings(QAudioEncoderSettingsControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioEncoderSettingsControl*)theWrappedObject)->py_q_audioSettings());} QString codecDescription(QAudioEncoderSettingsControl* theWrappedObject, const QString& codecName) const; @@ -761,7 +804,7 @@ enum SampleType{ public slots: QAudioFormat* new_QAudioFormat(); QAudioFormat* new_QAudioFormat(const QAudioFormat& other); -void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } +void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } QAudioFormat::Endian byteOrder(QAudioFormat* theWrappedObject) const; int bytesForDuration(QAudioFormat* theWrappedObject, qint64 duration) const; int bytesForFrames(QAudioFormat* theWrappedObject, int frameCount) const; @@ -796,15 +839,20 @@ void delete_QAudioFormat(QAudioFormat* obj) { delete obj; } class PythonQtShell_QAudioInput : public QAudioInput { public: - PythonQtShell_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(audioDeviceInfo, format, parent),_wrapper(NULL) {}; - PythonQtShell_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(format, parent),_wrapper(NULL) {}; + PythonQtShell_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(audioDeviceInfo, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioInput(format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioInput(); + ~PythonQtShell_QAudioInput() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioInput : public QObject @@ -813,7 +861,7 @@ class PythonQtWrapper_QAudioInput : public QObject public slots: QAudioInput* new_QAudioInput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); QAudioInput* new_QAudioInput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); -void delete_QAudioInput(QAudioInput* obj) { delete obj; } +void delete_QAudioInput(QAudioInput* obj) { delete obj; } int bufferSize(QAudioInput* theWrappedObject) const; int bytesReady(QAudioInput* theWrappedObject) const; qint64 elapsedUSecs(QAudioInput* theWrappedObject) const; @@ -842,19 +890,24 @@ void delete_QAudioInput(QAudioInput* obj) { delete obj; } class PythonQtShell_QAudioInputSelectorControl : public QAudioInputSelectorControl { public: - PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioInputSelectorControl(QObject* parent = nullptr):QAudioInputSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioInputSelectorControl(); + ~PythonQtShell_QAudioInputSelectorControl() override; -virtual QString activeInput() const; -virtual QList availableInputs() const; -virtual QString defaultInput() const; -virtual QString inputDescription(const QString& name) const; -virtual void setActiveInput(const QString& name); +QString activeInput() const override; +QList availableInputs() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString defaultInput() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString inputDescription(const QString& name) const override; +void setActiveInput(const QString& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioInputSelectorControl : public QAudioInputSelectorControl @@ -871,7 +924,7 @@ class PythonQtWrapper_QAudioInputSelectorControl : public QObject public: public slots: QAudioInputSelectorControl* new_QAudioInputSelectorControl(QObject* parent = nullptr); -void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete obj; } +void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete obj; } QString activeInput(QAudioInputSelectorControl* theWrappedObject) const; QString py_q_activeInput(QAudioInputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioInputSelectorControl*)theWrappedObject)->py_q_activeInput());} QList availableInputs(QAudioInputSelectorControl* theWrappedObject) const; @@ -890,15 +943,20 @@ void delete_QAudioInputSelectorControl(QAudioInputSelectorControl* obj) { delete class PythonQtShell_QAudioOutput : public QAudioOutput { public: - PythonQtShell_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(audioDeviceInfo, format, parent),_wrapper(NULL) {}; - PythonQtShell_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(format, parent),_wrapper(NULL) {}; + PythonQtShell_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(audioDeviceInfo, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr):QAudioOutput(format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioOutput(); + ~PythonQtShell_QAudioOutput() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioOutput : public QObject @@ -907,7 +965,7 @@ class PythonQtWrapper_QAudioOutput : public QObject public slots: QAudioOutput* new_QAudioOutput(const QAudioDeviceInfo& audioDeviceInfo, const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); QAudioOutput* new_QAudioOutput(const QAudioFormat& format = QAudioFormat(), QObject* parent = nullptr); -void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } +void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } int bufferSize(QAudioOutput* theWrappedObject) const; int bytesFree(QAudioOutput* theWrappedObject) const; QString category(QAudioOutput* theWrappedObject) const; @@ -938,19 +996,24 @@ void delete_QAudioOutput(QAudioOutput* obj) { delete obj; } class PythonQtShell_QAudioOutputSelectorControl : public QAudioOutputSelectorControl { public: - PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioOutputSelectorControl(QObject* parent = nullptr):QAudioOutputSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioOutputSelectorControl(); + ~PythonQtShell_QAudioOutputSelectorControl() override; -virtual QString activeOutput() const; -virtual QList availableOutputs() const; -virtual QString defaultOutput() const; -virtual QString outputDescription(const QString& name) const; -virtual void setActiveOutput(const QString& name); +QString activeOutput() const override; +QList availableOutputs() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QString defaultOutput() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString outputDescription(const QString& name) const override; +void setActiveOutput(const QString& name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioOutputSelectorControl : public QAudioOutputSelectorControl @@ -967,7 +1030,7 @@ class PythonQtWrapper_QAudioOutputSelectorControl : public QObject public: public slots: QAudioOutputSelectorControl* new_QAudioOutputSelectorControl(QObject* parent = nullptr); -void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { delete obj; } +void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { delete obj; } QString activeOutput(QAudioOutputSelectorControl* theWrappedObject) const; QString py_q_activeOutput(QAudioOutputSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioOutputSelectorControl*)theWrappedObject)->py_q_activeOutput());} QList availableOutputs(QAudioOutputSelectorControl* theWrappedObject) const; @@ -986,14 +1049,19 @@ void delete_QAudioOutputSelectorControl(QAudioOutputSelectorControl* obj) { dele class PythonQtShell_QAudioProbe : public QAudioProbe { public: - PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioProbe(QObject* parent = nullptr):QAudioProbe(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioProbe(); + ~PythonQtShell_QAudioProbe() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioProbe : public QObject @@ -1001,7 +1069,7 @@ class PythonQtWrapper_QAudioProbe : public QObject public: public slots: QAudioProbe* new_QAudioProbe(QObject* parent = nullptr); -void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } +void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } bool isActive(QAudioProbe* theWrappedObject) const; bool setSource(QAudioProbe* theWrappedObject, QMediaObject* source); bool setSource(QAudioProbe* theWrappedObject, QMediaRecorder* source); @@ -1014,16 +1082,21 @@ void delete_QAudioProbe(QAudioProbe* obj) { delete obj; } class PythonQtShell_QAudioRecorder : public QAudioRecorder { public: - PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioRecorder(QObject* parent = nullptr):QAudioRecorder(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioRecorder(); + ~PythonQtShell_QAudioRecorder() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QAudioRecorder : public QObject @@ -1031,7 +1104,7 @@ class PythonQtWrapper_QAudioRecorder : public QObject public: public slots: QAudioRecorder* new_QAudioRecorder(QObject* parent = nullptr); -void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } +void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } QString audioInput(QAudioRecorder* theWrappedObject) const; QString audioInputDescription(QAudioRecorder* theWrappedObject, const QString& name) const; QStringList audioInputs(QAudioRecorder* theWrappedObject) const; @@ -1045,17 +1118,22 @@ void delete_QAudioRecorder(QAudioRecorder* obj) { delete obj; } class PythonQtShell_QAudioRoleControl : public QAudioRoleControl { public: - PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioRoleControl(QObject* parent = nullptr):QAudioRoleControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioRoleControl(); + ~PythonQtShell_QAudioRoleControl() override; -virtual QAudio::Role audioRole() const; -virtual void setAudioRole(QAudio::Role role); -virtual QList supportedAudioRoles() const; +QAudio::Role audioRole() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setAudioRole(QAudio::Role role) override; +QList supportedAudioRoles() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioRoleControl : public QAudioRoleControl @@ -1070,7 +1148,7 @@ class PythonQtWrapper_QAudioRoleControl : public QObject public: public slots: QAudioRoleControl* new_QAudioRoleControl(QObject* parent = nullptr); -void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } +void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } QAudio::Role audioRole(QAudioRoleControl* theWrappedObject) const; QAudio::Role py_q_audioRole(QAudioRoleControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAudioRoleControl*)theWrappedObject)->py_q_audioRole());} void setAudioRole(QAudioRoleControl* theWrappedObject, QAudio::Role role); @@ -1086,16 +1164,16 @@ void delete_QAudioRoleControl(QAudioRoleControl* obj) { delete obj; } class PythonQtShell_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface { public: - PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QAudioSystemFactoryInterface():QAudioSystemFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QAudioSystemFactoryInterface(); + ~PythonQtShell_QAudioSystemFactoryInterface() override; -virtual QList availableDevices(QAudio::Mode arg__1) const; -virtual QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode); -virtual QAbstractAudioInput* createInput(const QByteArray& device); -virtual QAbstractAudioOutput* createOutput(const QByteArray& device); +QList availableDevices(QAudio::Mode arg__1) const override; +QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode) override; +QAbstractAudioInput* createInput(const QByteArray& device) override; +QAbstractAudioOutput* createOutput(const QByteArray& device) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemFactoryInterface : public QAudioSystemFactoryInterface @@ -1111,7 +1189,7 @@ class PythonQtWrapper_QAudioSystemFactoryInterface : public QObject public: public slots: QAudioSystemFactoryInterface* new_QAudioSystemFactoryInterface(); -void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { delete obj; } +void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { delete obj; } QList availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const; QList py_q_availableDevices(QAudioSystemFactoryInterface* theWrappedObject, QAudio::Mode arg__1) const{ return (((PythonQtPublicPromoter_QAudioSystemFactoryInterface*)theWrappedObject)->py_q_availableDevices(arg__1));} QAbstractAudioDeviceInfo* createDeviceInfo(QAudioSystemFactoryInterface* theWrappedObject, const QByteArray& device, QAudio::Mode mode); @@ -1129,18 +1207,18 @@ void delete_QAudioSystemFactoryInterface(QAudioSystemFactoryInterface* obj) { de class PythonQtShell_QAudioSystemPlugin : public QAudioSystemPlugin { public: - PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(NULL) {}; + PythonQtShell_QAudioSystemPlugin(QObject* parent = nullptr):QAudioSystemPlugin(parent),_wrapper(nullptr) {}; ~PythonQtShell_QAudioSystemPlugin(); -virtual QList availableDevices(QAudio::Mode arg__1) const; -virtual QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode); -virtual QAbstractAudioInput* createInput(const QByteArray& device); -virtual QAbstractAudioOutput* createOutput(const QByteArray& device); +QList availableDevices(QAudio::Mode arg__1) const override; +QAbstractAudioDeviceInfo* createDeviceInfo(const QByteArray& device, QAudio::Mode mode) override; +QAbstractAudioInput* createInput(const QByteArray& device) override; +QAbstractAudioOutput* createOutput(const QByteArray& device) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAudioSystemPlugin : public QAudioSystemPlugin @@ -1156,7 +1234,7 @@ class PythonQtWrapper_QAudioSystemPlugin : public QObject public: public slots: QAudioSystemPlugin* new_QAudioSystemPlugin(QObject* parent = nullptr); -void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } +void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } QList availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const; QList py_q_availableDevices(QAudioSystemPlugin* theWrappedObject, QAudio::Mode arg__1) const{ return (((PythonQtPublicPromoter_QAudioSystemPlugin*)theWrappedObject)->py_q_availableDevices(arg__1));} QAbstractAudioDeviceInfo* createDeviceInfo(QAudioSystemPlugin* theWrappedObject, const QByteArray& device, QAudio::Mode mode); @@ -1174,22 +1252,27 @@ void delete_QAudioSystemPlugin(QAudioSystemPlugin* obj) { delete obj; } class PythonQtShell_QCamera : public QCamera { public: - PythonQtShell_QCamera(QCamera::Position position, QObject* parent = nullptr):QCamera(position, parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(QObject* parent = nullptr):QCamera(parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(const QByteArray& deviceName, QObject* parent = nullptr):QCamera(deviceName, parent),_wrapper(NULL) {}; - PythonQtShell_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr):QCamera(cameraInfo, parent),_wrapper(NULL) {}; + PythonQtShell_QCamera(QCamera::Position position, QObject* parent = nullptr):QCamera(position, parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(QObject* parent = nullptr):QCamera(parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(const QByteArray& deviceName, QObject* parent = nullptr):QCamera(deviceName, parent),_wrapper(nullptr) {}; + PythonQtShell_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr):QCamera(cameraInfo, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCamera(); + ~PythonQtShell_QCamera() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCamera : public QCamera @@ -1213,7 +1296,7 @@ QCamera* new_QCamera(QCamera::Position position, QObject* parent = nullptr); QCamera* new_QCamera(QObject* parent = nullptr); QCamera* new_QCamera(const QByteArray& deviceName, QObject* parent = nullptr); QCamera* new_QCamera(const QCameraInfo& cameraInfo, QObject* parent = nullptr); -void delete_QCamera(QCamera* obj) { delete obj; } +void delete_QCamera(QCamera* obj) { delete obj; } QMultimedia::AvailabilityStatus py_q_availability(QCamera* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCamera*)theWrappedObject)->py_q_availability());} QList static_QCamera_availableDevices(); QCamera::CaptureModes captureMode(QCamera* theWrappedObject) const; @@ -1248,17 +1331,22 @@ void delete_QCamera(QCamera* obj) { delete obj; } class PythonQtShell_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl { public: - PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraCaptureBufferFormatControl(QObject* parent = nullptr):QCameraCaptureBufferFormatControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraCaptureBufferFormatControl(); + ~PythonQtShell_QCameraCaptureBufferFormatControl() override; -virtual QVideoFrame::PixelFormat bufferFormat() const; -virtual void setBufferFormat(QVideoFrame::PixelFormat format); -virtual QList supportedBufferFormats() const; +QVideoFrame::PixelFormat bufferFormat() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setBufferFormat(QVideoFrame::PixelFormat format) override; +QList supportedBufferFormats() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureBufferFormatControl : public QCameraCaptureBufferFormatControl @@ -1273,7 +1361,7 @@ class PythonQtWrapper_QCameraCaptureBufferFormatControl : public QObject public: public slots: QCameraCaptureBufferFormatControl* new_QCameraCaptureBufferFormatControl(QObject* parent = nullptr); -void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* obj) { delete obj; } +void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* obj) { delete obj; } QVideoFrame::PixelFormat bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const; QVideoFrame::PixelFormat py_q_bufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureBufferFormatControl*)theWrappedObject)->py_q_bufferFormat());} void setBufferFormat(QCameraCaptureBufferFormatControl* theWrappedObject, QVideoFrame::PixelFormat format); @@ -1289,17 +1377,22 @@ void delete_QCameraCaptureBufferFormatControl(QCameraCaptureBufferFormatControl* class PythonQtShell_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl { public: - PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraCaptureDestinationControl(QObject* parent = nullptr):QCameraCaptureDestinationControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraCaptureDestinationControl(); + ~PythonQtShell_QCameraCaptureDestinationControl() override; -virtual QCameraImageCapture::CaptureDestinations captureDestination() const; -virtual bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const; -virtual void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination); +QCameraImageCapture::CaptureDestinations captureDestination() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const override; +void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraCaptureDestinationControl : public QCameraCaptureDestinationControl @@ -1314,7 +1407,7 @@ class PythonQtWrapper_QCameraCaptureDestinationControl : public QObject public: public slots: QCameraCaptureDestinationControl* new_QCameraCaptureDestinationControl(QObject* parent = nullptr); -void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* obj) { delete obj; } +void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* obj) { delete obj; } QCameraImageCapture::CaptureDestinations captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const; QCameraImageCapture::CaptureDestinations py_q_captureDestination(QCameraCaptureDestinationControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraCaptureDestinationControl*)theWrappedObject)->py_q_captureDestination());} bool isCaptureDestinationSupported(QCameraCaptureDestinationControl* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const; @@ -1330,21 +1423,26 @@ void delete_QCameraCaptureDestinationControl(QCameraCaptureDestinationControl* o class PythonQtShell_QCameraControl : public QCameraControl { public: - PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraControl(QObject* parent = nullptr):QCameraControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraControl(); + ~PythonQtShell_QCameraControl() override; -virtual bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const; -virtual QCamera::CaptureModes captureMode() const; -virtual bool isCaptureModeSupported(QCamera::CaptureModes mode) const; -virtual void setCaptureMode(QCamera::CaptureModes arg__1); -virtual void setState(QCamera::State state); -virtual QCamera::State state() const; -virtual QCamera::Status status() const; +bool canChangeProperty(QCameraControl::PropertyChangeType changeType, QCamera::Status status) const override; +QCamera::CaptureModes captureMode() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCaptureModeSupported(QCamera::CaptureModes mode) const override; +void setCaptureMode(QCamera::CaptureModes arg__1) override; +void setState(QCamera::State state) override; +QCamera::State state() const override; +QCamera::Status status() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraControl : public QCameraControl @@ -1366,7 +1464,7 @@ enum PropertyChangeType{ CaptureMode = QCameraControl::CaptureMode, ImageEncodingSettings = QCameraControl::ImageEncodingSettings, VideoEncodingSettings = QCameraControl::VideoEncodingSettings, Viewfinder = QCameraControl::Viewfinder, ViewfinderSettings = QCameraControl::ViewfinderSettings}; public slots: QCameraControl* new_QCameraControl(QObject* parent = nullptr); -void delete_QCameraControl(QCameraControl* obj) { delete obj; } +void delete_QCameraControl(QCameraControl* obj) { delete obj; } bool canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const; bool py_q_canChangeProperty(QCameraControl* theWrappedObject, QCameraControl::PropertyChangeType changeType, QCamera::Status status) const{ return (((PythonQtPublicPromoter_QCameraControl*)theWrappedObject)->py_q_canChangeProperty(changeType, status));} QCamera::CaptureModes captureMode(QCameraControl* theWrappedObject) const; @@ -1384,6 +1482,9 @@ void delete_QCameraControl(QCameraControl* obj) { delete obj; } }; + + + class PythonQtWrapper_QCameraExposure : public QObject { Q_OBJECT public: @@ -1422,19 +1523,24 @@ public slots: class PythonQtShell_QCameraExposureControl : public QCameraExposureControl { public: - PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraExposureControl(QObject* parent = nullptr):QCameraExposureControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraExposureControl(); + ~PythonQtShell_QCameraExposureControl() override; -virtual QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const; -virtual bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const; -virtual QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const; -virtual bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value); -virtual QList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const; +QVariant actualValue(QCameraExposureControl::ExposureParameter parameter) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isParameterSupported(QCameraExposureControl::ExposureParameter parameter) const override; +QVariant requestedValue(QCameraExposureControl::ExposureParameter parameter) const override; +bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant& value) override; +QList supportedParameterRange(QCameraExposureControl::ExposureParameter parameter, bool* continuous) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraExposureControl : public QCameraExposureControl @@ -1451,7 +1557,7 @@ class PythonQtWrapper_QCameraExposureControl : public QObject public: public slots: QCameraExposureControl* new_QCameraExposureControl(QObject* parent = nullptr); -void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } +void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } QVariant actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; QVariant py_q_actualValue(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraExposureControl*)theWrappedObject)->py_q_actualValue(parameter));} bool isParameterSupported(QCameraExposureControl* theWrappedObject, QCameraExposureControl::ExposureParameter parameter) const; @@ -1464,22 +1570,31 @@ void delete_QCameraExposureControl(QCameraExposureControl* obj) { delete obj; } 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(NULL) {}; + PythonQtShell_QCameraFeedbackControl(QObject* parent = nullptr):QCameraFeedbackControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraFeedbackControl(); + ~PythonQtShell_QCameraFeedbackControl() override; -virtual bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const; -virtual bool isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const; -virtual void resetEventFeedback(QCameraFeedbackControl::EventType arg__1); -virtual bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2); -virtual bool setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1) const override; +bool isEventFeedbackLocked(QCameraFeedbackControl::EventType arg__1) const override; +void resetEventFeedback(QCameraFeedbackControl::EventType arg__1) override; +bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType arg__1, bool arg__2) override; +bool setEventFeedbackSound(QCameraFeedbackControl::EventType arg__1, const QString& filePath) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFeedbackControl : public QCameraFeedbackControl @@ -1499,7 +1614,7 @@ enum EventType{ ViewfinderStarted = QCameraFeedbackControl::ViewfinderStarted, ViewfinderStopped = QCameraFeedbackControl::ViewfinderStopped, ImageCaptured = QCameraFeedbackControl::ImageCaptured, ImageSaved = QCameraFeedbackControl::ImageSaved, ImageError = QCameraFeedbackControl::ImageError, RecordingStarted = QCameraFeedbackControl::RecordingStarted, RecordingInProgress = QCameraFeedbackControl::RecordingInProgress, RecordingStopped = QCameraFeedbackControl::RecordingStopped, AutoFocusInProgress = QCameraFeedbackControl::AutoFocusInProgress, AutoFocusLocked = QCameraFeedbackControl::AutoFocusLocked, AutoFocusFailed = QCameraFeedbackControl::AutoFocusFailed}; public slots: QCameraFeedbackControl* new_QCameraFeedbackControl(QObject* parent = nullptr); -void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } +void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } bool isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const; bool py_q_isEventFeedbackEnabled(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const{ return (((PythonQtPublicPromoter_QCameraFeedbackControl*)theWrappedObject)->py_q_isEventFeedbackEnabled(arg__1));} bool isEventFeedbackLocked(QCameraFeedbackControl* theWrappedObject, QCameraFeedbackControl::EventType arg__1) const; @@ -1519,18 +1634,23 @@ void delete_QCameraFeedbackControl(QCameraFeedbackControl* obj) { delete obj; } class PythonQtShell_QCameraFlashControl : public QCameraFlashControl { public: - PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraFlashControl(QObject* parent = nullptr):QCameraFlashControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraFlashControl(); + ~PythonQtShell_QCameraFlashControl() override; -virtual QCameraExposure::FlashModes flashMode() const; -virtual bool isFlashModeSupported(QCameraExposure::FlashModes mode) const; -virtual bool isFlashReady() const; -virtual void setFlashMode(QCameraExposure::FlashModes mode); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCameraExposure::FlashModes flashMode() const override; +bool isFlashModeSupported(QCameraExposure::FlashModes mode) const override; +bool isFlashReady() const override; +void setFlashMode(QCameraExposure::FlashModes mode) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraFlashControl : public QCameraFlashControl @@ -1546,7 +1666,7 @@ class PythonQtWrapper_QCameraFlashControl : public QObject public: public slots: QCameraFlashControl* new_QCameraFlashControl(QObject* parent = nullptr); -void delete_QCameraFlashControl(QCameraFlashControl* obj) { delete obj; } +void delete_QCameraFlashControl(QCameraFlashControl* obj) { delete obj; } QCameraExposure::FlashModes flashMode(QCameraFlashControl* theWrappedObject) const; QCameraExposure::FlashModes py_q_flashMode(QCameraFlashControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFlashControl*)theWrappedObject)->py_q_flashMode());} bool isFlashModeSupported(QCameraFlashControl* theWrappedObject, QCameraExposure::FlashModes mode) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp similarity index 55% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp index 6e7331e1..887c863e 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp @@ -8,44 +8,69 @@ #include #include #include +#include #include #include -#include -#include #include -#include #include #include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include +#include +#include #include #include +#include +#include +#include +#include #include #include #include #include -#include #include #include #include #include +#include +#include +#include +#include #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()); @@ -122,10 +147,55 @@ void PythonQtWrapper_QCameraFocus::zoomTo(QCameraFocus* theWrappedObject, qreal } + 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) { @@ -137,19 +207,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPointF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPointF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("customFocusPoint", methodInfo, result); } else { returnValue = *((QPointF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -159,6 +229,72 @@ if (_wrapper) { } 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) { @@ -170,19 +306,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraFocus::FocusModes returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusMode", methodInfo, result); } else { returnValue = *((QCameraFocus::FocusModes*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -203,19 +339,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraFocus::FocusPointMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusPointMode", methodInfo, result); } else { returnValue = *((QCameraFocus::FocusPointMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -236,19 +372,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusZones", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -269,19 +405,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFocusModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -302,19 +438,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFocusPointModeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -334,9 +470,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&point0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -356,9 +492,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFocus::FocusModes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -378,9 +514,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraFocus::FocusPointMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -389,6 +525,28 @@ if (_wrapper) { } } +} +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) { @@ -507,6 +665,116 @@ 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) { @@ -518,19 +786,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -551,19 +819,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -573,6 +841,28 @@ if (_wrapper) { } 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); } @@ -640,11 +930,6 @@ bool PythonQtWrapper_QCameraImageCapture::isReadyForCapture(QCameraImageCapture return ( theWrappedObject->isReadyForCapture()); } -QMediaObject* PythonQtWrapper_QCameraImageCapture::mediaObject(QCameraImageCapture* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - void PythonQtWrapper_QCameraImageCapture::setBufferFormat(QCameraImageCapture* theWrappedObject, const QVideoFrame::PixelFormat format) { ( theWrappedObject->setBufferFormat(format)); @@ -660,11 +945,6 @@ void PythonQtWrapper_QCameraImageCapture::setEncodingSettings(QCameraImageCaptur ( theWrappedObject->setEncodingSettings(settings)); } -bool PythonQtWrapper_QCameraImageCapture::setMediaObject(QCameraImageCapture* theWrappedObject, QMediaObject* arg__1) -{ - return ( ((PythonQtPublicPromoter_QCameraImageCapture*)theWrappedObject)->promoted_setMediaObject(arg__1)); -} - QList PythonQtWrapper_QCameraImageCapture::supportedBufferFormats(QCameraImageCapture* theWrappedObject) const { return ( theWrappedObject->supportedBufferFormats()); @@ -696,9 +976,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -719,19 +999,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&fileName0}; + void* args[2] = {nullptr, (void*)&fileName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("capture", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -741,6 +1021,50 @@ if (_wrapper) { } 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) { @@ -752,19 +1076,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraImageCapture::DriveMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraImageCapture::DriveMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("driveMode", methodInfo, result); } else { returnValue = *((QCameraImageCapture::DriveMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -774,30 +1098,30 @@ if (_wrapper) { } return QCameraImageCapture::DriveMode(); } -bool PythonQtShell_QCameraImageCaptureControl::isReadyForCapture() const +bool PythonQtShell_QCameraImageCaptureControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isReadyForCapture"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isReadyForCapture", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -805,7 +1129,73 @@ if (_wrapper) { } } } - return bool(); + 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) { @@ -817,9 +1207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageCapture::DriveMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -828,6 +1218,28 @@ if (_wrapper) { } } +} +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) { @@ -872,6 +1284,7 @@ void PythonQtWrapper_QCameraImageCaptureControl::setDriveMode(QCameraImageCaptur } + qreal PythonQtWrapper_QCameraImageProcessing::brightness(QCameraImageProcessing* theWrappedObject) const { return ( theWrappedObject->brightness()); @@ -968,10 +1381,121 @@ QCameraImageProcessing::WhiteBalanceMode PythonQtWrapper_QCameraImageProcessing } + 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) { @@ -983,19 +1507,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1016,19 +1540,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isParameterValueSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1049,19 +1573,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QCameraImageProcessingControl::ProcessingParameter"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("parameter", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1081,9 +1605,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCameraImageProcessingControl::ProcessingParameter" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)¶meter0, (void*)&value1}; + void* args[3] = {nullptr, (void*)¶meter0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1092,6 +1616,28 @@ if (_wrapper) { } } +} +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) { @@ -1218,19 +1764,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&deviceName0}; + void* args[2] = {nullptr, (void*)&deviceName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1251,19 +1797,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::Position" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QCamera::Position returnValue{}; - void* args[2] = {NULL, (void*)&deviceName0}; + void* args[2] = {nullptr, (void*)&deviceName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); } else { returnValue = *((QCamera::Position*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1273,85 +1819,41 @@ if (_wrapper) { } return QCamera::Position(); } -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); } -} -QCamera::LockStatus PythonQtShell_QCameraLocksControl::lockStatus(QCamera::LockType lock0) const +void PythonQtShell_QCameraInfoControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("lockStatus"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QCamera::LockStatus" , "QCamera::LockType"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QCamera::LockStatus returnValue{}; - void* args[2] = {NULL, (void*)&lock0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("lockStatus", methodInfo, result); - } else { - returnValue = *((QCamera::LockStatus*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCamera::LockStatus(); + QCameraInfoControl::childEvent(event0); } -void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0) +void PythonQtShell_QCameraInfoControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("searchAndLock"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCamera::LockTypes"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locks0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1359,32 +1861,32 @@ if (_wrapper) { } } } - + QCameraInfoControl::customEvent(event0); } -QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const +bool PythonQtShell_QCameraInfoControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedLocks"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedLocks", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QCamera::LockTypes*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1392,86 +1894,109 @@ if (_wrapper) { } } } - return QCamera::LockTypes(); + return QCameraInfoControl::event(event0); } -void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) +bool PythonQtShell_QCameraInfoControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("unlock"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&locks0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - + return QCameraInfoControl::eventFilter(watched0, event1); } -QCameraLocksControl* PythonQtWrapper_QCameraLocksControl::new_QCameraLocksControl(QObject* parent) +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_QCameraLocksControl(parent); } +return new PythonQtShell_QCameraInfoControl(parent); } -const QMetaObject* PythonQtShell_QCameraLocksControl::metaObject() const { +const QMetaObject* PythonQtShell_QCameraInfoControl::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraLocksControl::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCameraInfoControl::staticMetaObject); } else { - return &QCameraLocksControl::staticMetaObject; + return &QCameraInfoControl::staticMetaObject; } } -int PythonQtShell_QCameraLocksControl::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCameraLocksControl::qt_metacall(call, id, args); +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; } -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 +int PythonQtWrapper_QCameraInfoControl::cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const { - return ( theWrappedObject->supportedLocks()); + return ( theWrappedObject->cameraOrientation(deviceName)); } -void PythonQtWrapper_QCameraLocksControl::unlock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks) +QCamera::Position PythonQtWrapper_QCameraInfoControl::cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const { - ( theWrappedObject->unlock(locks)); + return ( theWrappedObject->cameraPosition(deviceName)); } -PythonQtShell_QCameraViewfinder::~PythonQtShell_QCameraViewfinder() { +PythonQtShell_QCameraLocksControl::~PythonQtShell_QCameraLocksControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QCameraViewfinder::actionEvent(QActionEvent* event0) +void PythonQtShell_QCameraLocksControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("actionEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1479,21 +2004,21 @@ if (_wrapper) { } } } - QCameraViewfinder::actionEvent(event0); + QCameraLocksControl::childEvent(event0); } -void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) +void PythonQtShell_QCameraLocksControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("changeEvent"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1501,76 +2026,98 @@ if (_wrapper) { } } } - QCameraViewfinder::changeEvent(arg__1); + QCameraLocksControl::customEvent(event0); } -void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QCameraLocksControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("closeEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::closeEvent(event0); + return QCameraLocksControl::event(event0); } -void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* 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("contextMenuEvent"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::contextMenuEvent(event0); + return QCameraLocksControl::eventFilter(watched0, event1); } -int PythonQtShell_QCameraViewfinder::devType() const +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("devType"); + static PyObject* name = PyString_FromString("lockStatus"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("lockStatus", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QCamera::LockStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1578,21 +2125,21 @@ if (_wrapper) { } } } - return QCameraViewfinder::devType(); + return QCamera::LockStatus(); } -void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QCameraLocksControl::searchAndLock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragEnterEvent"); + static PyObject* name = PyString_FromString("searchAndLock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&locks0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1600,43 +2147,54 @@ if (_wrapper) { } } } - QCameraViewfinder::dragEnterEvent(event0); + } -void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) +QCamera::LockTypes PythonQtShell_QCameraLocksControl::supportedLocks() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragLeaveEvent"); + static PyObject* name = PyString_FromString("supportedLocks"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedLocks", methodInfo, result); + } else { + returnValue = *((QCamera::LockTypes*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::dragLeaveEvent(event0); + return QCamera::LockTypes(); } -void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QCameraLocksControl::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dragMoveEvent"); + static PyObject* name = PyString_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1644,21 +2202,21 @@ if (_wrapper) { } } } - QCameraViewfinder::dragMoveEvent(event0); + QCameraLocksControl::timerEvent(event0); } -void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) +void PythonQtShell_QCameraLocksControl::unlock(QCamera::LockTypes locks0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("dropEvent"); + static PyObject* name = PyString_FromString("unlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QCamera::LockTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&locks0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1666,21 +2224,64 @@ if (_wrapper) { } } } - QCameraViewfinder::dropEvent(event0); + } -void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) +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("enterEvent"); + static PyObject* name = PyString_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1688,54 +2289,43 @@ if (_wrapper) { } } } - QCameraViewfinder::enterEvent(event0); + QCameraViewfinder::actionEvent(event0); } -bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) +void PythonQtShell_QCameraViewfinder::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); + static PyObject* name = PyString_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::event(event0); + QCameraViewfinder::changeEvent(arg__1); } -void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QCameraViewfinder::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusInEvent"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1743,54 +2333,43 @@ if (_wrapper) { } } } - QCameraViewfinder::focusInEvent(event0); + QCameraViewfinder::childEvent(event0); } -bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) +void PythonQtShell_QCameraViewfinder::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusNextPrevChild"); + static PyObject* name = PyString_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::focusNextPrevChild(next0); + QCameraViewfinder::closeEvent(event0); } -void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QCameraViewfinder::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("focusOutEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1798,65 +2377,54 @@ if (_wrapper) { } } } - QCameraViewfinder::focusOutEvent(event0); + QCameraViewfinder::contextMenuEvent(event0); } -bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const +void PythonQtShell_QCameraViewfinder::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hasHeightForWidth"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::hasHeightForWidth(); + QCameraViewfinder::customEvent(event0); } -int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const +int PythonQtShell_QCameraViewfinder::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("heightForWidth"); + static PyObject* name = PyString_FromString("devType"); 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); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1864,21 +2432,21 @@ if (_wrapper) { } } } - return QCameraViewfinder::heightForWidth(arg__1); + return QCameraViewfinder::devType(); } -void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) +void PythonQtShell_QCameraViewfinder::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("hideEvent"); + static PyObject* name = PyString_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1886,21 +2454,21 @@ if (_wrapper) { } } } - QCameraViewfinder::hideEvent(event0); + QCameraViewfinder::dragEnterEvent(event0); } -void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const +void PythonQtShell_QCameraViewfinder::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("initPainter"); + static PyObject* name = PyString_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1908,21 +2476,21 @@ if (_wrapper) { } } } - QCameraViewfinder::initPainter(painter0); + QCameraViewfinder::dragLeaveEvent(event0); } -void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QCameraViewfinder::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodEvent"); + static PyObject* name = PyString_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1930,54 +2498,43 @@ if (_wrapper) { } } } - QCameraViewfinder::inputMethodEvent(arg__1); + QCameraViewfinder::dragMoveEvent(event0); } -QVariant PythonQtShell_QCameraViewfinder::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QCameraViewfinder::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("inputMethodQuery"); + static PyObject* name = PyString_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::inputMethodQuery(arg__1); + QCameraViewfinder::dropEvent(event0); } -void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QCameraViewfinder::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyPressEvent"); + static PyObject* name = PyString_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1985,109 +2542,120 @@ if (_wrapper) { } } } - QCameraViewfinder::keyPressEvent(event0); + QCameraViewfinder::enterEvent(event0); } -void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QCameraViewfinder::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("keyReleaseEvent"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::keyReleaseEvent(event0); + return QCameraViewfinder::event(event0); } -void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* 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("leaveEvent"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::leaveEvent(event0); + return QCameraViewfinder::eventFilter(watched0, event1); } -QMediaObject* PythonQtShell_QCameraViewfinder::mediaObject() const +void PythonQtShell_QCameraViewfinder::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mediaObject"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMediaObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); - } else { - returnValue = *((QMediaObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::mediaObject(); + QCameraViewfinder::focusInEvent(event0); } -int PythonQtShell_QCameraViewfinder::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QCameraViewfinder::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("metric"); + static PyObject* name = PyString_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2095,98 +2663,109 @@ if (_wrapper) { } } } - return QCameraViewfinder::metric(arg__1); + return QCameraViewfinder::focusNextPrevChild(next0); } -QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const +void PythonQtShell_QCameraViewfinder::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("getMinimumSizeHint"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::minimumSizeHint(); + QCameraViewfinder::focusOutEvent(event0); } -void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0) +bool PythonQtShell_QCameraViewfinder::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyString_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::mouseDoubleClickEvent(event0); + return QCameraViewfinder::hasHeightForWidth(); } -void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) +int PythonQtShell_QCameraViewfinder::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseMoveEvent"); + static PyObject* name = PyString_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::mouseMoveEvent(event0); + return QCameraViewfinder::heightForWidth(arg__1); } -void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QCameraViewfinder::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mousePressEvent"); + static PyObject* name = PyString_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2194,21 +2773,21 @@ if (_wrapper) { } } } - QCameraViewfinder::mousePressEvent(event0); + QCameraViewfinder::hideEvent(event0); } -void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QCameraViewfinder::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("mouseReleaseEvent"); + static PyObject* name = PyString_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2216,21 +2795,21 @@ if (_wrapper) { } } } - QCameraViewfinder::mouseReleaseEvent(event0); + QCameraViewfinder::initPainter(painter0); } -void PythonQtShell_QCameraViewfinder::moveEvent(QMoveEvent* event0) +void PythonQtShell_QCameraViewfinder::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("moveEvent"); + static PyObject* name = PyString_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2238,32 +2817,32 @@ if (_wrapper) { } } } - QCameraViewfinder::moveEvent(event0); + QCameraViewfinder::inputMethodEvent(arg__1); } -bool PythonQtShell_QCameraViewfinder::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +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("nativeEvent"); + static PyObject* name = PyString_FromString("inputMethodQuery"); 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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2271,54 +2850,43 @@ if (_wrapper) { } } } - return QCameraViewfinder::nativeEvent(eventType0, message1, result2); + return QCameraViewfinder::inputMethodQuery(arg__1); } -QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const +void PythonQtShell_QCameraViewfinder::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEngine"); + static PyObject* name = PyString_FromString("keyPressEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::paintEngine(); + QCameraViewfinder::keyPressEvent(event0); } -void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) +void PythonQtShell_QCameraViewfinder::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paintEvent"); + static PyObject* name = PyString_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2326,32 +2894,54 @@ if (_wrapper) { } } } - QCameraViewfinder::paintEvent(event0); + QCameraViewfinder::keyReleaseEvent(event0); } -QPaintDevice* PythonQtShell_QCameraViewfinder::redirected(QPoint* offset0) const +void PythonQtShell_QCameraViewfinder::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("redirected"); + static PyObject* name = PyString_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2359,54 +2949,65 @@ if (_wrapper) { } } } - return QCameraViewfinder::redirected(offset0); + return QCameraViewfinder::mediaObject(); } -void PythonQtShell_QCameraViewfinder::resizeEvent(QResizeEvent* event0) +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("resizeEvent"); + static PyObject* name = PyString_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::resizeEvent(event0); + return QCameraViewfinder::metric(arg__1); } -bool PythonQtShell_QCameraViewfinder::setMediaObject(QMediaObject* object0) +QSize PythonQtShell_QCameraViewfinder::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("getMinimumSizeHint"); 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] = {NULL, (void*)&object0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2414,21 +3015,21 @@ if (_wrapper) { } } } - return QCameraViewfinder::setMediaObject(object0); + return QCameraViewfinder::minimumSizeHint(); } -void PythonQtShell_QCameraViewfinder::setVisible(bool visible0) +void PythonQtShell_QCameraViewfinder::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setVisible"); + static PyObject* name = PyString_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2436,54 +3037,43 @@ if (_wrapper) { } } } - QCameraViewfinder::setVisible(visible0); + QCameraViewfinder::mouseDoubleClickEvent(event0); } -QPainter* PythonQtShell_QCameraViewfinder::sharedPainter() const +void PythonQtShell_QCameraViewfinder::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sharedPainter"); + static PyObject* name = PyString_FromString("mouseMoveEvent"); 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] = {NULL}; + 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) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QCameraViewfinder::sharedPainter(); + QCameraViewfinder::mouseMoveEvent(event0); } -void PythonQtShell_QCameraViewfinder::showEvent(QShowEvent* event0) +void PythonQtShell_QCameraViewfinder::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("showEvent"); + static PyObject* name = PyString_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2491,32 +3081,76 @@ if (_wrapper) { } } } - QCameraViewfinder::showEvent(event0); + QCameraViewfinder::mousePressEvent(event0); } -QSize PythonQtShell_QCameraViewfinder::sizeHint() const +void PythonQtShell_QCameraViewfinder::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("sizeHint"); + static PyObject* name = PyString_FromString("mouseReleaseEvent"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2524,43 +3158,54 @@ if (_wrapper) { } } } - return QCameraViewfinder::sizeHint(); + return QCameraViewfinder::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QCameraViewfinder::tabletEvent(QTabletEvent* event0) +QPaintEngine* PythonQtShell_QCameraViewfinder::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("tabletEvent"); + static PyObject* name = PyString_FromString("paintEngine"); 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] = {NULL, (void*)&event0}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QCameraViewfinder::tabletEvent(event0); + return QCameraViewfinder::paintEngine(); } -void PythonQtShell_QCameraViewfinder::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QCameraViewfinder::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("wheelEvent"); + static PyObject* name = PyString_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2568,27 +3213,291 @@ if (_wrapper) { } } } - QCameraViewfinder::wheelEvent(event0); + QCameraViewfinder::paintEvent(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; +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(); + } } } -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; + 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(); } @@ -2612,11 +3521,21 @@ qreal PythonQtWrapper_QCameraViewfinderSettings::minimumFrameRate(QCameraViewfi return ( theWrappedObject->minimumFrameRate()); } +bool PythonQtWrapper_QCameraViewfinderSettings::__ne__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs) +{ + return ( (*theWrappedObject)!= rhs); +} + QCameraViewfinderSettings* PythonQtWrapper_QCameraViewfinderSettings::operator_assign(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& other) { return &( (*theWrappedObject)= other); } +bool PythonQtWrapper_QCameraViewfinderSettings::__eq__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs) +{ + return ( (*theWrappedObject)== rhs); +} + QSize PythonQtWrapper_QCameraViewfinderSettings::pixelAspectRatio(QCameraViewfinderSettings* theWrappedObject) const { return ( theWrappedObject->pixelAspectRatio()); @@ -2678,52 +3597,41 @@ PythonQtShell_QCameraViewfinderSettingsControl::~PythonQtShell_QCameraViewfinder PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QCameraViewfinderSettingsControl::isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +void PythonQtShell_QCameraViewfinderSettingsControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isViewfinderParameterSupported"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isViewfinderParameterSupported", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QCameraViewfinderSettingsControl::childEvent(event0); } -void PythonQtShell_QCameraViewfinderSettingsControl::setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0, const QVariant& value1) +void PythonQtShell_QCameraViewfinderSettingsControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setViewfinderParameter"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL, (void*)¶meter0, (void*)&value1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2731,32 +3639,175 @@ if (_wrapper) { } } } - + QCameraViewfinderSettingsControl::customEvent(event0); } -QVariant PythonQtShell_QCameraViewfinderSettingsControl::viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter0) const +bool PythonQtShell_QCameraViewfinderSettingsControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("viewfinderParameter"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QCameraViewfinderSettingsControl::ViewfinderParameter"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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] = {NULL, (void*)¶meter0}; + void* args[2] = {nullptr, (void*)¶meter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderParameter", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2804,6 +3855,116 @@ PythonQtShell_QCameraViewfinderSettingsControl2::~PythonQtShell_QCameraViewfinde 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) { @@ -2814,9 +3975,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QCameraViewfinderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2837,19 +3998,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedViewfinderSettings", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2859,6 +4020,28 @@ if (_wrapper) { } 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) { @@ -2870,19 +4053,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCameraViewfinderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QCameraViewfinderSettings returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("viewfinderSettings", methodInfo, result); } else { returnValue = *((QCameraViewfinderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2930,63 +4113,52 @@ PythonQtShell_QCameraZoomControl::~PythonQtShell_QCameraZoomControl() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const +void PythonQtShell_QCameraZoomControl::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentDigitalZoom"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentDigitalZoom", methodInfo, result); - } else { - returnValue = *((qreal*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return qreal(); + QCameraZoomControl::childEvent(event0); } -qreal PythonQtShell_QCameraZoomControl::currentOpticalZoom() const +qreal PythonQtShell_QCameraZoomControl::currentDigitalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("currentOpticalZoom"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("currentOpticalZoom", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2996,30 +4168,30 @@ if (_wrapper) { } return qreal(); } -qreal PythonQtShell_QCameraZoomControl::maximumDigitalZoom() const +qreal PythonQtShell_QCameraZoomControl::currentOpticalZoom() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumDigitalZoom"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumDigitalZoom", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("currentOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3029,30 +4201,151 @@ if (_wrapper) { } return qreal(); } -qreal PythonQtShell_QCameraZoomControl::maximumOpticalZoom() const +void PythonQtShell_QCameraZoomControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("maximumOpticalZoom"); + static PyObject* name = PyString_FromString("customEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("maximumOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3073,19 +4366,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedDigitalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3106,19 +4399,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestedOpticalZoom", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3128,6 +4421,28 @@ if (_wrapper) { } 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) { @@ -3138,9 +4453,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&optical0, (void*)&digital1}; + void* args[3] = {nullptr, (void*)&optical0, (void*)&digital1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3216,6 +4531,11 @@ QCamera::FrameRateRange* PythonQtWrapper_QCamera__FrameRateRange::new_QCamera__F { return new PythonQtShell_QCamera__FrameRateRange(minimum, maximum); } +bool PythonQtWrapper_QCamera__FrameRateRange::__ne__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2) +{ + return ( (*theWrappedObject)!= r2); +} + bool PythonQtWrapper_QCamera__FrameRateRange::__eq__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2) { return ( (*theWrappedObject)== r2); @@ -3227,6 +4547,28 @@ PythonQtShell_QGraphicsVideoItem::~PythonQtShell_QGraphicsVideoItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsVideoItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsVideoItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsVideoItem::boundingRect() const { if (_wrapper) { @@ -3238,19 +4580,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRectF"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRectF returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); } else { returnValue = *((QRectF*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3260,66 +4602,52 @@ if (_wrapper) { } return QGraphicsVideoItem::boundingRect(); } -QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +void PythonQtShell_QGraphicsVideoItem::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("itemChange"); + static PyObject* name = PyString_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {NULL, (void*)&change0, (void*)&value1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; + return; } else { PyErr_Clear(); } } } - return QGraphicsVideoItem::itemChange(change0, value1); + QGraphicsVideoItem::childEvent(event0); } -QMediaObject* PythonQtShell_QGraphicsVideoItem::mediaObject() const +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("mediaObject"); + static PyObject* name = PyString_FromString("collidesWithItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMediaObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue{}; - void* args[1] = {NULL}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); } else { - returnValue = *((QMediaObject**)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3327,54 +4655,65 @@ if (_wrapper) { } } } - return QGraphicsVideoItem::mediaObject(); + return QGraphicsVideoItem::collidesWithItem(other0, mode1); } -void PythonQtShell_QGraphicsVideoItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +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("paint"); + static PyObject* name = PyString_FromString("collidesWithPath"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QGraphicsVideoItem::paint(painter0, option1, widget2); + return QGraphicsVideoItem::collidesWithPath(path0, mode1); } -bool PythonQtShell_QGraphicsVideoItem::setMediaObject(QMediaObject* object0) +bool PythonQtShell_QGraphicsVideoItem::contains(const QPointF& point0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("contains"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const char* argumentList[] ={"bool" , "const QPointF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&point0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3382,21 +4721,21 @@ if (_wrapper) { } } } - return QGraphicsVideoItem::setMediaObject(object0); + return QGraphicsVideoItem::contains(point0); } -void PythonQtShell_QGraphicsVideoItem::timerEvent(QTimerEvent* event0) +void PythonQtShell_QGraphicsVideoItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); + static PyObject* name = PyString_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3404,125 +4743,175 @@ if (_wrapper) { } } } - QGraphicsVideoItem::timerEvent(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; + QGraphicsVideoItem::contextMenuEvent(event0); } -Qt::AspectRatioMode PythonQtWrapper_QGraphicsVideoItem::aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::customEvent(QEvent* event0) { - return ( theWrappedObject->aspectRatioMode()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRectF PythonQtWrapper_QGraphicsVideoItem::boundingRect(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); + QGraphicsVideoItem::customEvent(event0); } - -QVariant PythonQtWrapper_QGraphicsVideoItem::itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value) +void PythonQtShell_QGraphicsVideoItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) { - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_itemChange(change, value)); +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(); + } + } } - -QMediaObject* PythonQtWrapper_QGraphicsVideoItem::mediaObject(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); + QGraphicsVideoItem::dragEnterEvent(event0); } - -QSizeF PythonQtWrapper_QGraphicsVideoItem::nativeSize(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->nativeSize()); -} - -QPointF PythonQtWrapper_QGraphicsVideoItem::offset(QGraphicsVideoItem* theWrappedObject) const -{ - return ( theWrappedObject->offset()); -} - -void PythonQtWrapper_QGraphicsVideoItem::paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - -void PythonQtWrapper_QGraphicsVideoItem::setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode) -{ - ( theWrappedObject->setAspectRatioMode(mode)); +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(); + } + } } - -bool PythonQtWrapper_QGraphicsVideoItem::setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_setMediaObject(object)); + QGraphicsVideoItem::dragLeaveEvent(event0); } - -void PythonQtWrapper_QGraphicsVideoItem::setOffset(QGraphicsVideoItem* theWrappedObject, const QPointF& offset) +void PythonQtShell_QGraphicsVideoItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) { - ( theWrappedObject->setOffset(offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::setSize(QGraphicsVideoItem* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setSize(size)); + QGraphicsVideoItem::dragMoveEvent(event0); } - -QSizeF PythonQtWrapper_QGraphicsVideoItem::size(QGraphicsVideoItem* theWrappedObject) const +void PythonQtShell_QGraphicsVideoItem::dropEvent(QGraphicsSceneDragDropEvent* event0) { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QGraphicsVideoItem::timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->promoted_timerEvent(event)); + QGraphicsVideoItem::dropEvent(event0); } - -QAbstractVideoSurface* PythonQtWrapper_QGraphicsVideoItem::videoSurface(QGraphicsVideoItem* theWrappedObject) const +bool PythonQtShell_QGraphicsVideoItem::event(QEvent* ev0) { - return ( theWrappedObject->videoSurface()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, 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(); + } + } } - - - -PythonQtShell_QImageEncoderControl::~PythonQtShell_QImageEncoderControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QGraphicsVideoItem::event(ev0); } -QString PythonQtShell_QImageEncoderControl::imageCodecDescription(const QString& codec0) const +bool PythonQtShell_QGraphicsVideoItem::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("imageCodecDescription"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&codec0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageCodecDescription", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3530,32 +4919,32 @@ if (_wrapper) { } } } - return QString(); + return QGraphicsVideoItem::eventFilter(watched0, event1); } -QImageEncoderSettings PythonQtShell_QImageEncoderControl::imageSettings() const +QVariant PythonQtShell_QGraphicsVideoItem::extension(const QVariant& variant0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("imageSettings"); + static PyObject* name = PyString_FromString("extension"); 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] = {NULL}; + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("imageSettings", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); } else { - returnValue = *((QImageEncoderSettings*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3563,21 +4952,21 @@ if (_wrapper) { } } } - return QImageEncoderSettings(); + return QGraphicsVideoItem::extension(variant0); } -void PythonQtShell_QImageEncoderControl::setImageSettings(const QImageEncoderSettings& settings0) +void PythonQtShell_QGraphicsVideoItem::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setImageSettings"); + static PyObject* name = PyString_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QImageEncoderSettings&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3585,32 +4974,142 @@ if (_wrapper) { } } } - + QGraphicsVideoItem::focusInEvent(event0); } -QStringList PythonQtShell_QImageEncoderControl::supportedImageCodecs() const +void PythonQtShell_QGraphicsVideoItem::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedImageCodecs"); + static PyObject* name = PyString_FromString("focusOutEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedImageCodecs", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QStringList*)args[0]); + returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3618,32 +5117,32 @@ if (_wrapper) { } } } - return QStringList(); + return QGraphicsVideoItem::inputMethodQuery(query0); } -QList PythonQtShell_QImageEncoderControl::supportedResolutions(const QImageEncoderSettings& settings0, bool* continuous1) const +bool PythonQtShell_QGraphicsVideoItem::isObscuredBy(const QGraphicsItem* item0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("supportedResolutions"); + static PyObject* name = PyString_FromString("isObscuredBy"); 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] = {NULL, (void*)&settings0, (void*)&continuous1}; + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3651,28 +5150,897 @@ if (_wrapper) { } } } - return QList(); -} -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; + return QGraphicsVideoItem::isObscuredBy(item0); } -QString PythonQtWrapper_QImageEncoderControl::imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const +QVariant PythonQtShell_QGraphicsVideoItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) { - return ( theWrappedObject->imageCodecDescription(codec)); +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 @@ -3769,22 +6137,154 @@ void PythonQtWrapper_QImageEncoderSettings::setQuality(QImageEncoderSettings* th { ( theWrappedObject->setQuality(quality)); } - -void PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setResolution(arg__1)); + +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 PythonQtWrapper_QImageEncoderSettings::setResolution(QImageEncoderSettings* theWrappedObject, int width, int height) +void PythonQtShell_QMediaAudioProbeControl::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->setResolution(width, height)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QMediaAudioProbeControl::~PythonQtShell_QMediaAudioProbeControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QMediaAudioProbeControl::timerEvent(event0); } QMediaAudioProbeControl* PythonQtWrapper_QMediaAudioProbeControl::new_QMediaAudioProbeControl(QObject* parent) { @@ -3820,19 +6320,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3842,6 +6342,138 @@ if (_wrapper) { } 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); } @@ -3880,20 +6512,161 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMediaObject* returnValue{}; - void* args[1] = {NULL}; + QMediaObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("containerFormat", methodInfo, result); } else { - returnValue = *((QMediaObject**)args[0]); + returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3901,85 +6674,54 @@ if (_wrapper) { } } } - return 0; + return QString(); } -bool PythonQtShell_QMediaBindableInterface::setMediaObject(QMediaObject* object0) +void PythonQtShell_QMediaContainerControl::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setMediaObject"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QMediaObject*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return 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); } + QMediaContainerControl::customEvent(event0); } -QString PythonQtShell_QMediaContainerControl::containerDescription(const QString& formatMimeType0) const +bool PythonQtShell_QMediaContainerControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("containerDescription"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QString&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {NULL, (void*)&formatMimeType0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("containerDescription", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3987,32 +6729,32 @@ if (_wrapper) { } } } - return QString(); + return QMediaContainerControl::event(event0); } -QString PythonQtShell_QMediaContainerControl::containerFormat() const +bool PythonQtShell_QMediaContainerControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("containerFormat"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("containerFormat", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4020,7 +6762,7 @@ if (_wrapper) { } } } - return QString(); + return QMediaContainerControl::eventFilter(watched0, event1); } void PythonQtShell_QMediaContainerControl::setContainerFormat(const QString& format0) { @@ -4032,9 +6774,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&format0}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4055,19 +6797,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedContainers", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4077,6 +6819,28 @@ if (_wrapper) { } 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); } @@ -4200,6 +6964,138 @@ 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); } @@ -4213,40 +7109,150 @@ const QMetaObject* PythonQtShell_QMediaControl::metaObject() const { 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; +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); } - - -PythonQtShell_QMediaGaplessPlaybackControl::~PythonQtShell_QMediaGaplessPlaybackControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -qreal PythonQtShell_QMediaGaplessPlaybackControl::crossfadeTime() const + 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("crossfadeTime"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("crossfadeTime", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((qreal*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4254,7 +7260,7 @@ if (_wrapper) { } } } - return qreal(); + return QMediaGaplessPlaybackControl::eventFilter(watched0, event1); } bool PythonQtShell_QMediaGaplessPlaybackControl::isCrossfadeSupported() const { @@ -4267,19 +7273,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isCrossfadeSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4300,19 +7306,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaContent"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaContent returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextMedia", methodInfo, result); } else { returnValue = *((QMediaContent*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4332,9 +7338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&crossfadeTime0}; + void* args[2] = {nullptr, (void*)&crossfadeTime0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4354,9 +7360,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMediaContent&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&media0}; + void* args[2] = {nullptr, (void*)&media0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4365,6 +7371,28 @@ if (_wrapper) { } } +} +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) { @@ -4414,6 +7442,28 @@ PythonQtShell_QMediaNetworkAccessControl::~PythonQtShell_QMediaNetworkAccessCont 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) { @@ -4425,19 +7475,19 @@ if (_wrapper) { static const char* argumentList[] ={"QNetworkConfiguration"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QNetworkConfiguration returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("currentConfiguration", methodInfo, result); } else { returnValue = *((QNetworkConfiguration*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4447,6 +7497,94 @@ if (_wrapper) { } 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) { @@ -4457,9 +7595,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&configuration0}; + void* args[2] = {nullptr, (void*)&configuration0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4468,6 +7606,28 @@ if (_wrapper) { } } +} +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) { @@ -4495,37 +7655,147 @@ void PythonQtWrapper_QMediaNetworkAccessControl::setConfigurations(QMediaNetwork { ( theWrappedObject->setConfigurations(configuration)); } - - - -PythonQtShell_QMediaObject::~PythonQtShell_QMediaObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + + + +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); } -QMultimedia::AvailabilityStatus PythonQtShell_QMediaObject::availability() const +bool PythonQtShell_QMediaObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("availability"); + static PyObject* name = PyString_FromString("event"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4533,32 +7803,32 @@ if (_wrapper) { } } } - return QMediaObject::availability(); + return QMediaObject::event(event0); } -bool PythonQtShell_QMediaObject::bind(QObject* arg__1) +bool PythonQtShell_QMediaObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("bind"); + static PyObject* name = PyString_FromString("eventFilter"); 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); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4566,7 +7836,7 @@ if (_wrapper) { } } } - return QMediaObject::bind(arg__1); + return QMediaObject::eventFilter(watched0, event1); } bool PythonQtShell_QMediaObject::isAvailable() const { @@ -4579,19 +7849,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4612,19 +7882,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4634,6 +7904,28 @@ if (_wrapper) { } 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) { @@ -4644,9 +7936,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4750,19 +8042,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4783,19 +8075,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4805,6 +8097,116 @@ if (_wrapper) { } 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) { @@ -4816,19 +8218,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4849,19 +8251,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4871,6 +8273,28 @@ if (_wrapper) { } 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) { @@ -4881,9 +8305,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5077,19 +8501,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaTimeRange"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaTimeRange returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availablePlaybackRanges", methodInfo, result); } else { returnValue = *((QMediaTimeRange*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5110,19 +8534,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bufferStatus", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5132,6 +8556,50 @@ if (_wrapper) { } 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) { @@ -5143,19 +8611,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5165,6 +8633,72 @@ if (_wrapper) { } 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) { @@ -5176,19 +8710,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAudioAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5209,19 +8743,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5242,19 +8776,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSeekable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5275,19 +8809,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isVideoAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5308,19 +8842,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaContent"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaContent returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("media", methodInfo, result); } else { returnValue = *((QMediaContent*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5341,19 +8875,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaPlayer::MediaStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaPlayer::MediaStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaStatus", methodInfo, result); } else { returnValue = *((QMediaPlayer::MediaStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5374,19 +8908,19 @@ if (_wrapper) { static const char* argumentList[] ={"const QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); const QIODevice* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaStream", methodInfo, result); } else { returnValue = *((const QIODevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5394,7 +8928,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaPlayerControl::pause() { @@ -5406,9 +8940,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5428,9 +8962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5451,19 +8985,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("playbackRate", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5484,19 +9018,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("position", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5516,9 +9050,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QMediaContent&" , "QIODevice*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&media0, (void*)&stream1}; + void* args[3] = {nullptr, (void*)&media0, (void*)&stream1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5538,9 +9072,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mute0}; + void* args[2] = {nullptr, (void*)&mute0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5560,9 +9094,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rate0}; + void* args[2] = {nullptr, (void*)&rate0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5582,9 +9116,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&position0}; + void* args[2] = {nullptr, (void*)&position0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5604,9 +9138,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5627,19 +9161,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaPlayer::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaPlayer::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QMediaPlayer::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5659,9 +9193,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5670,6 +9204,28 @@ if (_wrapper) { } } +} +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 { @@ -5682,19 +9238,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h similarity index 75% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h index ebd7b18d..6ec122f9 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -21,15 +22,27 @@ #include #include #include +#include #include +#include #include +#include #include #include #include +#include +#include +#include #include +#include +#include #include #include #include +#include +#include +#include +#include #include #include #include @@ -47,18 +60,37 @@ #include #include #include +#include +#include +#include +#include #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: @@ -68,7 +100,6 @@ 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; @@ -86,26 +117,35 @@ public slots: void zoomTo(QCameraFocus* theWrappedObject, qreal opticalZoom, qreal digitalZoom); }; -class PythonQtShell_QCameraFocusControl : public QCameraFocusControl -{ -public: - PythonQtShell_QCameraFocusControl(QObject* parent = nullptr):QCameraFocusControl(parent),_wrapper(NULL) {}; - ~PythonQtShell_QCameraFocusControl(); -virtual QPointF customFocusPoint() const; -virtual QCameraFocus::FocusModes focusMode() const; -virtual QCameraFocus::FocusPointMode focusPointMode() const; -virtual QList focusZones() const; -virtual bool isFocusModeSupported(QCameraFocus::FocusModes mode) const; -virtual bool isFocusPointModeSupported(QCameraFocus::FocusPointMode mode) const; -virtual void setCustomFocusPoint(const QPointF& point); -virtual void setFocusMode(QCameraFocus::FocusModes mode); -virtual void setFocusPointMode(QCameraFocus::FocusPointMode mode); - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + +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 @@ -126,7 +166,7 @@ class PythonQtWrapper_QCameraFocusControl : public QObject public: public slots: QCameraFocusControl* new_QCameraFocusControl(QObject* parent = nullptr); -void delete_QCameraFocusControl(QCameraFocusControl* obj) { delete obj; } +void delete_QCameraFocusControl(QCameraFocusControl* obj) { delete obj; } QPointF customFocusPoint(QCameraFocusControl* theWrappedObject) const; QPointF py_q_customFocusPoint(QCameraFocusControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraFocusControl*)theWrappedObject)->py_q_customFocusPoint());} QCameraFocus::FocusModes focusMode(QCameraFocusControl* theWrappedObject) const; @@ -161,7 +201,7 @@ public slots: QCameraFocusZone* new_QCameraFocusZone(); QCameraFocusZone* new_QCameraFocusZone(const QCameraFocusZone& other); QCameraFocusZone* new_QCameraFocusZone(const QRectF& area, QCameraFocusZone::FocusZoneStatus status = QCameraFocusZone::Selected); -void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } +void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } QRectF area(QCameraFocusZone* theWrappedObject) const; bool isValid(QCameraFocusZone* theWrappedObject) const; bool __ne__(QCameraFocusZone* theWrappedObject, const QCameraFocusZone& other) const; @@ -179,16 +219,21 @@ void delete_QCameraFocusZone(QCameraFocusZone* obj) { delete obj; } class PythonQtShell_QCameraImageCapture : public QCameraImageCapture { public: - PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr):QCameraImageCapture(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageCapture(); + ~PythonQtShell_QCameraImageCapture() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* arg__1) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCapture : public QCameraImageCapture @@ -210,7 +255,7 @@ enum DriveMode{ Q_DECLARE_FLAGS(CaptureDestinations, CaptureDestination) public slots: QCameraImageCapture* new_QCameraImageCapture(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } +void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QCameraImageCapture* theWrappedObject) const; QVideoFrame::PixelFormat bufferFormat(QCameraImageCapture* theWrappedObject) const; QCameraImageCapture::CaptureDestinations captureDestination(QCameraImageCapture* theWrappedObject) const; @@ -221,12 +266,10 @@ void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } bool isAvailable(QCameraImageCapture* theWrappedObject) const; bool isCaptureDestinationSupported(QCameraImageCapture* theWrappedObject, QCameraImageCapture::CaptureDestinations destination) const; bool isReadyForCapture(QCameraImageCapture* theWrappedObject) const; - QMediaObject* mediaObject(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 setMediaObject(QCameraImageCapture* theWrappedObject, QMediaObject* arg__1); 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; @@ -240,19 +283,24 @@ void delete_QCameraImageCapture(QCameraImageCapture* obj) { delete obj; } class PythonQtShell_QCameraImageCaptureControl : public QCameraImageCaptureControl { public: - PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageCaptureControl(QObject* parent = nullptr):QCameraImageCaptureControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageCaptureControl(); + ~PythonQtShell_QCameraImageCaptureControl() override; -virtual void cancelCapture(); -virtual int capture(const QString& fileName); -virtual QCameraImageCapture::DriveMode driveMode() const; -virtual bool isReadyForCapture() const; -virtual void setDriveMode(QCameraImageCapture::DriveMode mode); +void cancelCapture() override; +int capture(const QString& fileName) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QCameraImageCapture::DriveMode driveMode() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isReadyForCapture() const override; +void setDriveMode(QCameraImageCapture::DriveMode mode) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageCaptureControl : public QCameraImageCaptureControl @@ -269,7 +317,7 @@ class PythonQtWrapper_QCameraImageCaptureControl : public QObject public: public slots: QCameraImageCaptureControl* new_QCameraImageCaptureControl(QObject* parent = nullptr); -void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete obj; } +void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete obj; } void cancelCapture(QCameraImageCaptureControl* theWrappedObject); void py_q_cancelCapture(QCameraImageCaptureControl* theWrappedObject){ (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_cancelCapture());} int capture(QCameraImageCaptureControl* theWrappedObject, const QString& fileName); @@ -282,6 +330,10 @@ void delete_QCameraImageCaptureControl(QCameraImageCaptureControl* obj) { delete void py_q_setDriveMode(QCameraImageCaptureControl* theWrappedObject, QCameraImageCapture::DriveMode mode){ (((PythonQtPublicPromoter_QCameraImageCaptureControl*)theWrappedObject)->py_q_setDriveMode(mode));} }; + + + + class PythonQtWrapper_QCameraImageProcessing : public QObject { Q_OBJECT public: @@ -307,21 +359,30 @@ public slots: QCameraImageProcessing::WhiteBalanceMode whiteBalanceMode(QCameraImageProcessing* theWrappedObject) const; }; + + + + class PythonQtShell_QCameraImageProcessingControl : public QCameraImageProcessingControl { public: - PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraImageProcessingControl(QObject* parent = nullptr):QCameraImageProcessingControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraImageProcessingControl(); + ~PythonQtShell_QCameraImageProcessingControl() override; -virtual bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const; -virtual bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const; -virtual QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const; -virtual void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter arg__1) const override; +bool isParameterValueSupported(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const override; +QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const override; +void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraImageProcessingControl : public QCameraImageProcessingControl @@ -337,7 +398,7 @@ class PythonQtWrapper_QCameraImageProcessingControl : public QObject public: public slots: QCameraImageProcessingControl* new_QCameraImageProcessingControl(QObject* parent = nullptr); -void delete_QCameraImageProcessingControl(QCameraImageProcessingControl* obj) { delete obj; } +void delete_QCameraImageProcessingControl(QCameraImageProcessingControl* obj) { delete obj; } bool isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const; bool py_q_isParameterSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter arg__1) const{ return (((PythonQtPublicPromoter_QCameraImageProcessingControl*)theWrappedObject)->py_q_isParameterSupported(arg__1));} bool isParameterValueSupported(QCameraImageProcessingControl* theWrappedObject, QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant& value) const; @@ -359,7 +420,7 @@ public slots: QCameraInfo* new_QCameraInfo(const QByteArray& name = QByteArray()); QCameraInfo* new_QCameraInfo(const QCamera& camera); QCameraInfo* new_QCameraInfo(const QCameraInfo& other); -void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } +void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } QList static_QCameraInfo_availableCameras(QCamera::Position position = QCamera::UnspecifiedPosition); QCameraInfo static_QCameraInfo_defaultCamera(); QString description(QCameraInfo* theWrappedObject) const; @@ -381,16 +442,21 @@ void delete_QCameraInfo(QCameraInfo* obj) { delete obj; } class PythonQtShell_QCameraInfoControl : public QCameraInfoControl { public: - PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraInfoControl(QObject* parent = nullptr):QCameraInfoControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraInfoControl(); + ~PythonQtShell_QCameraInfoControl() override; -virtual int cameraOrientation(const QString& deviceName) const; -virtual QCamera::Position cameraPosition(const QString& deviceName) const; +int cameraOrientation(const QString& deviceName) const override; +QCamera::Position cameraPosition(const QString& deviceName) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraInfoControl : public QCameraInfoControl @@ -404,7 +470,7 @@ class PythonQtWrapper_QCameraInfoControl : public QObject public: public slots: QCameraInfoControl* new_QCameraInfoControl(QObject* parent = nullptr); -void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } +void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } int cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const; int py_q_cameraOrientation(QCameraInfoControl* theWrappedObject, const QString& deviceName) const{ return (((PythonQtPublicPromoter_QCameraInfoControl*)theWrappedObject)->py_q_cameraOrientation(deviceName));} QCamera::Position cameraPosition(QCameraInfoControl* theWrappedObject, const QString& deviceName) const; @@ -418,18 +484,23 @@ void delete_QCameraInfoControl(QCameraInfoControl* obj) { delete obj; } class PythonQtShell_QCameraLocksControl : public QCameraLocksControl { public: - PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraLocksControl(QObject* parent = nullptr):QCameraLocksControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraLocksControl(); + ~PythonQtShell_QCameraLocksControl() override; -virtual QCamera::LockStatus lockStatus(QCamera::LockType lock) const; -virtual void searchAndLock(QCamera::LockTypes locks); -virtual QCamera::LockTypes supportedLocks() const; -virtual void unlock(QCamera::LockTypes locks); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QCamera::LockStatus lockStatus(QCamera::LockType lock) const override; +void searchAndLock(QCamera::LockTypes locks) override; +QCamera::LockTypes supportedLocks() const override; +void timerEvent(QTimerEvent* event) override; +void unlock(QCamera::LockTypes locks) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraLocksControl : public QCameraLocksControl @@ -445,7 +516,7 @@ class PythonQtWrapper_QCameraLocksControl : public QObject public: public slots: QCameraLocksControl* new_QCameraLocksControl(QObject* parent = nullptr); -void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } +void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } QCamera::LockStatus lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const; QCamera::LockStatus py_q_lockStatus(QCameraLocksControl* theWrappedObject, QCamera::LockType lock) const{ return (((PythonQtPublicPromoter_QCameraLocksControl*)theWrappedObject)->py_q_lockStatus(lock));} void searchAndLock(QCameraLocksControl* theWrappedObject, QCamera::LockTypes locks); @@ -463,57 +534,61 @@ void delete_QCameraLocksControl(QCameraLocksControl* obj) { delete obj; } class PythonQtShell_QCameraViewfinder : public QCameraViewfinder { public: - PythonQtShell_QCameraViewfinder(QWidget* parent = nullptr):QCameraViewfinder(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QCameraViewfinder(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual bool setMediaObject(QMediaObject* object); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QCameraViewfinder(QWidget* parent = nullptr):QCameraViewfinder(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCameraViewfinder() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +QMediaObject* mediaObject() const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +bool setMediaObject(QMediaObject* object) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinder : public QCameraViewfinder @@ -528,7 +603,7 @@ class PythonQtWrapper_QCameraViewfinder : public QObject public: public slots: QCameraViewfinder* new_QCameraViewfinder(QWidget* parent = nullptr); -void delete_QCameraViewfinder(QCameraViewfinder* obj) { delete obj; } +void delete_QCameraViewfinder(QCameraViewfinder* obj) { delete obj; } QMediaObject* py_q_mediaObject(QCameraViewfinder* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraViewfinder*)theWrappedObject)->py_q_mediaObject());} bool py_q_setMediaObject(QCameraViewfinder* theWrappedObject, QMediaObject* object){ return (((PythonQtPublicPromoter_QCameraViewfinder*)theWrappedObject)->py_q_setMediaObject(object));} }; @@ -543,11 +618,13 @@ class PythonQtWrapper_QCameraViewfinderSettings : public QObject public slots: QCameraViewfinderSettings* new_QCameraViewfinderSettings(); QCameraViewfinderSettings* new_QCameraViewfinderSettings(const QCameraViewfinderSettings& other); -void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete obj; } +void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete obj; } bool isNull(QCameraViewfinderSettings* theWrappedObject) const; qreal maximumFrameRate(QCameraViewfinderSettings* theWrappedObject) const; qreal minimumFrameRate(QCameraViewfinderSettings* theWrappedObject) const; + bool __ne__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs); QCameraViewfinderSettings* operator_assign(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& other); + bool __eq__(QCameraViewfinderSettings* theWrappedObject, const QCameraViewfinderSettings& rhs); QSize pixelAspectRatio(QCameraViewfinderSettings* theWrappedObject) const; QVideoFrame::PixelFormat pixelFormat(QCameraViewfinderSettings* theWrappedObject) const; QSize resolution(QCameraViewfinderSettings* theWrappedObject) const; @@ -569,17 +646,22 @@ void delete_QCameraViewfinderSettings(QCameraViewfinderSettings* obj) { delete o class PythonQtShell_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl { public: - PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraViewfinderSettingsControl(QObject* parent = nullptr):QCameraViewfinderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraViewfinderSettingsControl(); + ~PythonQtShell_QCameraViewfinderSettingsControl() override; -virtual bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; -virtual void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value); -virtual QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const override; +void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; +QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl : public QCameraViewfinderSettingsControl @@ -597,7 +679,7 @@ enum ViewfinderParameter{ Resolution = QCameraViewfinderSettingsControl::Resolution, PixelAspectRatio = QCameraViewfinderSettingsControl::PixelAspectRatio, MinimumFrameRate = QCameraViewfinderSettingsControl::MinimumFrameRate, MaximumFrameRate = QCameraViewfinderSettingsControl::MaximumFrameRate, PixelFormat = QCameraViewfinderSettingsControl::PixelFormat, UserParameter = QCameraViewfinderSettingsControl::UserParameter}; public slots: QCameraViewfinderSettingsControl* new_QCameraViewfinderSettingsControl(QObject* parent = nullptr); -void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* obj) { delete obj; } +void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* obj) { delete obj; } bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const; bool py_q_isViewfinderParameterSupported(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const{ return (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl*)theWrappedObject)->py_q_isViewfinderParameterSupported(parameter));} void setViewfinderParameter(QCameraViewfinderSettingsControl* theWrappedObject, QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant& value); @@ -613,17 +695,22 @@ void delete_QCameraViewfinderSettingsControl(QCameraViewfinderSettingsControl* o class PythonQtShell_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 { public: - PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraViewfinderSettingsControl2(QObject* parent = nullptr):QCameraViewfinderSettingsControl2(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraViewfinderSettingsControl2(); + ~PythonQtShell_QCameraViewfinderSettingsControl2() override; -virtual void setViewfinderSettings(const QCameraViewfinderSettings& settings); -virtual QList supportedViewfinderSettings() const; -virtual QCameraViewfinderSettings viewfinderSettings() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setViewfinderSettings(const QCameraViewfinderSettings& settings) override; +QList supportedViewfinderSettings() const override; +void timerEvent(QTimerEvent* event) override; +QCameraViewfinderSettings viewfinderSettings() const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraViewfinderSettingsControl2 : public QCameraViewfinderSettingsControl2 @@ -638,7 +725,7 @@ class PythonQtWrapper_QCameraViewfinderSettingsControl2 : public QObject public: public slots: QCameraViewfinderSettingsControl2* new_QCameraViewfinderSettingsControl2(QObject* parent = nullptr); -void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* obj) { delete obj; } +void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* obj) { delete obj; } void setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings); void py_q_setViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject, const QCameraViewfinderSettings& settings){ (((PythonQtPublicPromoter_QCameraViewfinderSettingsControl2*)theWrappedObject)->py_q_setViewfinderSettings(settings));} QList supportedViewfinderSettings(QCameraViewfinderSettingsControl2* theWrappedObject) const; @@ -654,21 +741,26 @@ void delete_QCameraViewfinderSettingsControl2(QCameraViewfinderSettingsControl2* class PythonQtShell_QCameraZoomControl : public QCameraZoomControl { public: - PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(NULL) {}; + PythonQtShell_QCameraZoomControl(QObject* parent = nullptr):QCameraZoomControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QCameraZoomControl(); + ~PythonQtShell_QCameraZoomControl() override; -virtual qreal currentDigitalZoom() const; -virtual qreal currentOpticalZoom() const; -virtual qreal maximumDigitalZoom() const; -virtual qreal maximumOpticalZoom() const; -virtual qreal requestedDigitalZoom() const; -virtual qreal requestedOpticalZoom() const; -virtual void zoomTo(qreal optical, qreal digital); +void childEvent(QChildEvent* event) override; +qreal currentDigitalZoom() const override; +qreal currentOpticalZoom() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qreal maximumDigitalZoom() const override; +qreal maximumOpticalZoom() const override; +qreal requestedDigitalZoom() const override; +qreal requestedOpticalZoom() const override; +void timerEvent(QTimerEvent* event) override; +void zoomTo(qreal optical, qreal digital) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QCameraZoomControl : public QCameraZoomControl @@ -687,7 +779,7 @@ class PythonQtWrapper_QCameraZoomControl : public QObject public: public slots: QCameraZoomControl* new_QCameraZoomControl(QObject* parent = nullptr); -void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } +void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } qreal currentDigitalZoom(QCameraZoomControl* theWrappedObject) const; qreal py_q_currentDigitalZoom(QCameraZoomControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QCameraZoomControl*)theWrappedObject)->py_q_currentDigitalZoom());} qreal currentOpticalZoom(QCameraZoomControl* theWrappedObject) const; @@ -711,13 +803,13 @@ void delete_QCameraZoomControl(QCameraZoomControl* obj) { delete obj; } class PythonQtShell_QCamera__FrameRateRange : public QCamera::FrameRateRange { public: - PythonQtShell_QCamera__FrameRateRange():QCamera::FrameRateRange(),_wrapper(NULL) {}; - PythonQtShell_QCamera__FrameRateRange(qreal minimum, qreal maximum):QCamera::FrameRateRange(minimum, maximum),_wrapper(NULL) {}; + PythonQtShell_QCamera__FrameRateRange():QCamera::FrameRateRange(),_wrapper(nullptr) {}; + PythonQtShell_QCamera__FrameRateRange(qreal minimum, qreal maximum):QCamera::FrameRateRange(minimum, maximum),_wrapper(nullptr) {}; ~PythonQtShell_QCamera__FrameRateRange(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QCamera__FrameRateRange : public QObject @@ -726,7 +818,8 @@ class PythonQtWrapper_QCamera__FrameRateRange : public QObject public slots: QCamera::FrameRateRange* new_QCamera__FrameRateRange(); QCamera::FrameRateRange* new_QCamera__FrameRateRange(qreal minimum, qreal maximum); -void delete_QCamera__FrameRateRange(QCamera::FrameRateRange* obj) { delete obj; } +void delete_QCamera__FrameRateRange(QCamera::FrameRateRange* obj) { delete obj; } + bool __ne__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2); bool __eq__(QCamera::FrameRateRange* theWrappedObject, const QCamera::FrameRateRange& r2); void py_set_maximumFrameRate(QCamera::FrameRateRange* theWrappedObject, qreal maximumFrameRate){ theWrappedObject->maximumFrameRate = maximumFrameRate; } qreal py_get_maximumFrameRate(QCamera::FrameRateRange* theWrappedObject){ return theWrappedObject->maximumFrameRate; } @@ -741,20 +834,56 @@ qreal py_get_minimumFrameRate(QCamera::FrameRateRange* theWrappedObject){ retur class PythonQtShell_QGraphicsVideoItem : public QGraphicsVideoItem { public: - PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsVideoItem(); - -virtual QRectF boundingRect() const; -virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value); -virtual QMediaObject* mediaObject() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual bool setMediaObject(QMediaObject* object); -virtual void timerEvent(QTimerEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsVideoItem(QGraphicsItem* parent = nullptr):QGraphicsVideoItem(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsVideoItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +QMediaObject* mediaObject() const override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +bool setMediaObject(QMediaObject* object) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsVideoItem : public QGraphicsVideoItem @@ -775,25 +904,19 @@ class PythonQtWrapper_QGraphicsVideoItem : public QObject public: public slots: QGraphicsVideoItem* new_QGraphicsVideoItem(QGraphicsItem* parent = nullptr); -void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } +void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QGraphicsVideoItem* theWrappedObject) const; - QRectF boundingRect(QGraphicsVideoItem* theWrappedObject) const; QRectF py_q_boundingRect(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_boundingRect());} - QVariant itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value); QVariant py_q_itemChange(QGraphicsVideoItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_itemChange(change, value));} - QMediaObject* mediaObject(QGraphicsVideoItem* theWrappedObject) const; QMediaObject* py_q_mediaObject(QGraphicsVideoItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_mediaObject());} QSizeF nativeSize(QGraphicsVideoItem* theWrappedObject) const; QPointF offset(QGraphicsVideoItem* theWrappedObject) const; - void paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsVideoItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_paint(painter, option, widget));} void setAspectRatioMode(QGraphicsVideoItem* theWrappedObject, Qt::AspectRatioMode mode); - bool setMediaObject(QGraphicsVideoItem* theWrappedObject, QMediaObject* object); 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 timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event); void py_q_timerEvent(QGraphicsVideoItem* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QGraphicsVideoItem*)theWrappedObject)->py_q_timerEvent(event));} QAbstractVideoSurface* videoSurface(QGraphicsVideoItem* theWrappedObject) const; }; @@ -805,19 +928,24 @@ void delete_QGraphicsVideoItem(QGraphicsVideoItem* obj) { delete obj; } class PythonQtShell_QImageEncoderControl : public QImageEncoderControl { public: - PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QImageEncoderControl(QObject* parent = nullptr):QImageEncoderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QImageEncoderControl(); + ~PythonQtShell_QImageEncoderControl() override; -virtual QString imageCodecDescription(const QString& codec) const; -virtual QImageEncoderSettings imageSettings() const; -virtual void setImageSettings(const QImageEncoderSettings& settings); -virtual QStringList supportedImageCodecs() const; -virtual QList supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString imageCodecDescription(const QString& codec) const override; +QImageEncoderSettings imageSettings() const override; +void setImageSettings(const QImageEncoderSettings& settings) override; +QStringList supportedImageCodecs() const override; +QList supportedResolutions(const QImageEncoderSettings& settings, bool* continuous = nullptr) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QImageEncoderControl : public QImageEncoderControl @@ -834,7 +962,7 @@ class PythonQtWrapper_QImageEncoderControl : public QObject public: public slots: QImageEncoderControl* new_QImageEncoderControl(QObject* parent = nullptr); -void delete_QImageEncoderControl(QImageEncoderControl* obj) { delete obj; } +void delete_QImageEncoderControl(QImageEncoderControl* obj) { delete obj; } QString imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const; QString py_q_imageCodecDescription(QImageEncoderControl* theWrappedObject, const QString& codec) const{ return (((PythonQtPublicPromoter_QImageEncoderControl*)theWrappedObject)->py_q_imageCodecDescription(codec));} QImageEncoderSettings imageSettings(QImageEncoderControl* theWrappedObject) const; @@ -857,7 +985,7 @@ class PythonQtWrapper_QImageEncoderSettings : public QObject public slots: QImageEncoderSettings* new_QImageEncoderSettings(); QImageEncoderSettings* new_QImageEncoderSettings(const QImageEncoderSettings& other); -void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } +void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } QString codec(QImageEncoderSettings* theWrappedObject) const; QVariant encodingOption(QImageEncoderSettings* theWrappedObject, const QString& option) const; QMap encodingOptions(QImageEncoderSettings* theWrappedObject) const; @@ -883,14 +1011,19 @@ void delete_QImageEncoderSettings(QImageEncoderSettings* obj) { delete obj; } class PythonQtShell_QMediaAudioProbeControl : public QMediaAudioProbeControl { public: - PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaAudioProbeControl(QObject* parent = nullptr):QMediaAudioProbeControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaAudioProbeControl(); + ~PythonQtShell_QMediaAudioProbeControl() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaAudioProbeControl : public QObject @@ -898,7 +1031,7 @@ class PythonQtWrapper_QMediaAudioProbeControl : public QObject public: public slots: QMediaAudioProbeControl* new_QMediaAudioProbeControl(QObject* parent = nullptr); -void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } +void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; } }; @@ -908,15 +1041,20 @@ void delete_QMediaAudioProbeControl(QMediaAudioProbeControl* obj) { delete obj; class PythonQtShell_QMediaAvailabilityControl : public QMediaAvailabilityControl { public: - PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaAvailabilityControl(QObject* parent = nullptr):QMediaAvailabilityControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaAvailabilityControl(); + ~PythonQtShell_QMediaAvailabilityControl() override; -virtual QMultimedia::AvailabilityStatus availability() const; +QMultimedia::AvailabilityStatus availability() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaAvailabilityControl : public QMediaAvailabilityControl @@ -929,7 +1067,7 @@ class PythonQtWrapper_QMediaAvailabilityControl : public QObject public: public slots: QMediaAvailabilityControl* new_QMediaAvailabilityControl(QObject* parent = nullptr); -void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete obj; } +void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QMediaAvailabilityControl* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaAvailabilityControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaAvailabilityControl*)theWrappedObject)->py_q_availability());} }; @@ -941,14 +1079,14 @@ void delete_QMediaAvailabilityControl(QMediaAvailabilityControl* obj) { delete o class PythonQtShell_QMediaBindableInterface : public QMediaBindableInterface { public: - PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaBindableInterface():QMediaBindableInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaBindableInterface(); + ~PythonQtShell_QMediaBindableInterface() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaBindableInterface : public QMediaBindableInterface @@ -963,7 +1101,7 @@ class PythonQtWrapper_QMediaBindableInterface : public QObject public: public slots: QMediaBindableInterface* new_QMediaBindableInterface(); -void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; } +void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; } QMediaObject* mediaObject(QMediaBindableInterface* theWrappedObject) const; QMediaObject* py_q_mediaObject(QMediaBindableInterface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaBindableInterface*)theWrappedObject)->py_q_mediaObject());} bool setMediaObject(QMediaBindableInterface* theWrappedObject, QMediaObject* object); @@ -977,18 +1115,23 @@ void delete_QMediaBindableInterface(QMediaBindableInterface* obj) { delete obj; class PythonQtShell_QMediaContainerControl : public QMediaContainerControl { public: - PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaContainerControl(QObject* parent = nullptr):QMediaContainerControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaContainerControl(); + ~PythonQtShell_QMediaContainerControl() override; -virtual QString containerDescription(const QString& formatMimeType) const; -virtual QString containerFormat() const; -virtual void setContainerFormat(const QString& format); -virtual QStringList supportedContainers() const; +void childEvent(QChildEvent* event) override; +QString containerDescription(const QString& formatMimeType) const override; +QString containerFormat() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setContainerFormat(const QString& format) override; +QStringList supportedContainers() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaContainerControl : public QMediaContainerControl @@ -1004,7 +1147,7 @@ class PythonQtWrapper_QMediaContainerControl : public QObject public: public slots: QMediaContainerControl* new_QMediaContainerControl(QObject* parent = nullptr); -void delete_QMediaContainerControl(QMediaContainerControl* obj) { delete obj; } +void delete_QMediaContainerControl(QMediaContainerControl* obj) { delete obj; } QString containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const; QString py_q_containerDescription(QMediaContainerControl* theWrappedObject, const QString& formatMimeType) const{ return (((PythonQtPublicPromoter_QMediaContainerControl*)theWrappedObject)->py_q_containerDescription(formatMimeType));} QString containerFormat(QMediaContainerControl* theWrappedObject) const; @@ -1030,7 +1173,7 @@ QMediaContent* new_QMediaContent(const QMediaContent& other); QMediaContent* new_QMediaContent(const QMediaResource& contentResource); QMediaContent* new_QMediaContent(const QNetworkRequest& contentRequest); QMediaContent* new_QMediaContent(const QUrl& contentUrl); -void delete_QMediaContent(QMediaContent* obj) { delete obj; } +void delete_QMediaContent(QMediaContent* obj) { delete obj; } QNetworkRequest canonicalRequest(QMediaContent* theWrappedObject) const; QMediaResource canonicalResource(QMediaContent* theWrappedObject) const; QUrl canonicalUrl(QMediaContent* theWrappedObject) const; @@ -1051,14 +1194,19 @@ void delete_QMediaContent(QMediaContent* obj) { delete obj; } class PythonQtShell_QMediaControl : public QMediaControl { public: - PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaControl(QObject* parent = nullptr):QMediaControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaControl(); + ~PythonQtShell_QMediaControl() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaControl : public QObject @@ -1066,7 +1214,7 @@ class PythonQtWrapper_QMediaControl : public QObject public: public slots: QMediaControl* new_QMediaControl(QObject* parent = nullptr); -void delete_QMediaControl(QMediaControl* obj) { delete obj; } +void delete_QMediaControl(QMediaControl* obj) { delete obj; } }; @@ -1076,19 +1224,24 @@ void delete_QMediaControl(QMediaControl* obj) { delete obj; } class PythonQtShell_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl { public: - PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaGaplessPlaybackControl(QObject* parent = nullptr):QMediaGaplessPlaybackControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaGaplessPlaybackControl(); + ~PythonQtShell_QMediaGaplessPlaybackControl() override; -virtual qreal crossfadeTime() const; -virtual bool isCrossfadeSupported() const; -virtual QMediaContent nextMedia() const; -virtual void setCrossfadeTime(qreal crossfadeTime); -virtual void setNextMedia(const QMediaContent& media); +void childEvent(QChildEvent* event) override; +qreal crossfadeTime() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isCrossfadeSupported() const override; +QMediaContent nextMedia() const override; +void setCrossfadeTime(qreal crossfadeTime) override; +void setNextMedia(const QMediaContent& media) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaGaplessPlaybackControl : public QMediaGaplessPlaybackControl @@ -1105,7 +1258,7 @@ class PythonQtWrapper_QMediaGaplessPlaybackControl : public QObject public: public slots: QMediaGaplessPlaybackControl* new_QMediaGaplessPlaybackControl(QObject* parent = nullptr); -void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { delete obj; } +void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { delete obj; } qreal crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const; qreal py_q_crossfadeTime(QMediaGaplessPlaybackControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaGaplessPlaybackControl*)theWrappedObject)->py_q_crossfadeTime());} bool isCrossfadeSupported(QMediaGaplessPlaybackControl* theWrappedObject) const; @@ -1125,16 +1278,21 @@ void delete_QMediaGaplessPlaybackControl(QMediaGaplessPlaybackControl* obj) { de class PythonQtShell_QMediaNetworkAccessControl : public QMediaNetworkAccessControl { public: - PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaNetworkAccessControl(QObject* parent = nullptr):QMediaNetworkAccessControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaNetworkAccessControl(); + ~PythonQtShell_QMediaNetworkAccessControl() override; -virtual QNetworkConfiguration currentConfiguration() const; -virtual void setConfigurations(const QList& configuration); +void childEvent(QChildEvent* event) override; +QNetworkConfiguration currentConfiguration() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setConfigurations(const QList& configuration) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaNetworkAccessControl : public QMediaNetworkAccessControl @@ -1148,7 +1306,7 @@ class PythonQtWrapper_QMediaNetworkAccessControl : public QObject public: public slots: QMediaNetworkAccessControl* new_QMediaNetworkAccessControl(QObject* parent = nullptr); -void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete obj; } +void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete obj; } QNetworkConfiguration currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const; QNetworkConfiguration py_q_currentConfiguration(QMediaNetworkAccessControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaNetworkAccessControl*)theWrappedObject)->py_q_currentConfiguration());} void setConfigurations(QMediaNetworkAccessControl* theWrappedObject, const QList& configuration); @@ -1162,19 +1320,24 @@ void delete_QMediaNetworkAccessControl(QMediaNetworkAccessControl* obj) { delete class PythonQtShell_QMediaObject : public QMediaObject { public: - PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(NULL) {}; + PythonQtShell_QMediaObject(QObject* parent, QMediaService* service):QMediaObject(parent, service),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaObject(); + ~PythonQtShell_QMediaObject() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaObject : public QMediaObject @@ -1193,7 +1356,7 @@ class PythonQtWrapper_QMediaObject : public QObject public: public slots: QMediaObject* new_QMediaObject(QObject* parent, QMediaService* service); -void delete_QMediaObject(QMediaObject* obj) { delete obj; } +void delete_QMediaObject(QMediaObject* obj) { delete obj; } void addPropertyWatch(QMediaObject* theWrappedObject, const QByteArray& name); QMultimedia::AvailabilityStatus availability(QMediaObject* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaObject*)theWrappedObject)->py_q_availability());} @@ -1220,19 +1383,24 @@ void delete_QMediaObject(QMediaObject* obj) { delete obj; } class PythonQtShell_QMediaPlayer : public QMediaPlayer { public: - PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(NULL) {}; + PythonQtShell_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()):QMediaPlayer(parent, flags),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaPlayer(); + ~PythonQtShell_QMediaPlayer() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayer : public QMediaPlayer @@ -1252,7 +1420,7 @@ enum Flag{ Q_DECLARE_FLAGS(Flags, Flag) public slots: QMediaPlayer* new_QMediaPlayer(QObject* parent = nullptr, QMediaPlayer::Flags flags = QMediaPlayer::Flags()); -void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } +void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } QAudio::Role audioRole(QMediaPlayer* theWrappedObject) const; QMultimedia::AvailabilityStatus py_q_availability(QMediaPlayer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_availability());} bool py_q_bind(QMediaPlayer* theWrappedObject, QObject* arg__1){ return (((PythonQtPublicPromoter_QMediaPlayer*)theWrappedObject)->py_q_bind(arg__1));} @@ -1295,36 +1463,41 @@ void delete_QMediaPlayer(QMediaPlayer* obj) { delete obj; } class PythonQtShell_QMediaPlayerControl : public QMediaPlayerControl { public: - PythonQtShell_QMediaPlayerControl(QObject* parent = nullptr):QMediaPlayerControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMediaPlayerControl(); - -virtual QMediaTimeRange availablePlaybackRanges() const; -virtual int bufferStatus() const; -virtual qint64 duration() const; -virtual bool isAudioAvailable() const; -virtual bool isMuted() const; -virtual bool isSeekable() const; -virtual bool isVideoAvailable() const; -virtual QMediaContent media() const; -virtual QMediaPlayer::MediaStatus mediaStatus() const; -virtual const QIODevice* mediaStream() const; -virtual void pause(); -virtual void play(); -virtual qreal playbackRate() const; -virtual qint64 position() const; -virtual void setMedia(const QMediaContent& media, QIODevice* stream); -virtual void setMuted(bool mute); -virtual void setPlaybackRate(qreal rate); -virtual void setPosition(qint64 position); -virtual void setVolume(int volume); -virtual QMediaPlayer::State state() const; -virtual void stop(); -virtual int volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMediaPlayerControl(QObject* parent = nullptr):QMediaPlayerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaPlayerControl() override; + +QMediaTimeRange availablePlaybackRanges() const override; +int bufferStatus() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAudioAvailable() const override; +bool isMuted() const override; +bool isSeekable() const override; +bool isVideoAvailable() const override; +QMediaContent media() const override; +QMediaPlayer::MediaStatus mediaStatus() const override; +const QIODevice* mediaStream() const override; +void pause() override; +void play() override; +qreal playbackRate() const override; +qint64 position() const override; +void setMedia(const QMediaContent& media, QIODevice* stream) override; +void setMuted(bool mute) override; +void setPlaybackRate(qreal rate) override; +void setPosition(qint64 position) override; +void setVolume(int volume) override; +QMediaPlayer::State state() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; +int volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlayerControl : public QMediaPlayerControl @@ -1358,7 +1531,7 @@ class PythonQtWrapper_QMediaPlayerControl : public QObject public: public slots: QMediaPlayerControl* new_QMediaPlayerControl(QObject* parent = nullptr); -void delete_QMediaPlayerControl(QMediaPlayerControl* obj) { delete obj; } +void delete_QMediaPlayerControl(QMediaPlayerControl* obj) { delete obj; } QMediaTimeRange availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const; QMediaTimeRange py_q_availablePlaybackRanges(QMediaPlayerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMediaPlayerControl*)theWrappedObject)->py_q_availablePlaybackRanges());} int bufferStatus(QMediaPlayerControl* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp similarity index 62% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp index 7364e5e1..eb14251a 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp @@ -5,9 +5,11 @@ #include #include #include -#include +#include +#include #include #include +#include #include #include #include @@ -17,10 +19,15 @@ #include #include #include +#include +#include +#include +#include #include #include -#include -#include +#include +#include +#include #include #include @@ -28,6 +35,116 @@ 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) { @@ -39,19 +156,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -72,19 +189,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -94,6 +211,28 @@ if (_wrapper) { } 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); } @@ -191,11 +330,6 @@ int PythonQtWrapper_QMediaPlaylist::mediaCount(QMediaPlaylist* theWrappedObject return ( theWrappedObject->mediaCount()); } -QMediaObject* PythonQtWrapper_QMediaPlaylist::mediaObject(QMediaPlaylist* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - bool PythonQtWrapper_QMediaPlaylist::moveMedia(QMediaPlaylist* theWrappedObject, int from, int to) { return ( theWrappedObject->moveMedia(from, to)); @@ -236,11 +370,6 @@ bool PythonQtWrapper_QMediaPlaylist::save(QMediaPlaylist* theWrappedObject, con return ( theWrappedObject->save(location, format)); } -bool PythonQtWrapper_QMediaPlaylist::setMediaObject(QMediaPlaylist* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QMediaPlaylist*)theWrappedObject)->promoted_setMediaObject(object)); -} - void PythonQtWrapper_QMediaPlaylist::setPlaybackMode(QMediaPlaylist* theWrappedObject, QMediaPlaylist::PlaybackMode mode) { ( theWrappedObject->setPlaybackMode(mode)); @@ -252,6 +381,116 @@ 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) { @@ -263,19 +502,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -296,19 +535,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -318,6 +557,28 @@ if (_wrapper) { } 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); } @@ -405,11 +666,6 @@ bool PythonQtWrapper_QMediaRecorder::isMuted(QMediaRecorder* theWrappedObject) return ( theWrappedObject->isMuted()); } -QMediaObject* PythonQtWrapper_QMediaRecorder::mediaObject(QMediaRecorder* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - QVariant PythonQtWrapper_QMediaRecorder::metaData(QMediaRecorder* theWrappedObject, const QString& key) const { return ( theWrappedObject->metaData(key)); @@ -435,11 +691,6 @@ void PythonQtWrapper_QMediaRecorder::setEncodingSettings(QMediaRecorder* theWrap ( theWrappedObject->setEncodingSettings(audioSettings, videoSettings, containerMimeType)); } -bool PythonQtWrapper_QMediaRecorder::setMediaObject(QMediaRecorder* theWrappedObject, QMediaObject* object) -{ - return ( ((PythonQtPublicPromoter_QMediaRecorder*)theWrappedObject)->promoted_setMediaObject(object)); -} - void PythonQtWrapper_QMediaRecorder::setMetaData(QMediaRecorder* theWrappedObject, const QString& key, const QVariant& value) { ( theWrappedObject->setMetaData(key, value)); @@ -526,9 +777,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -537,6 +788,50 @@ if (_wrapper) { } } +} +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 { @@ -549,19 +844,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("duration", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -571,30 +866,30 @@ if (_wrapper) { } return qint64(); } -bool PythonQtShell_QMediaRecorderControl::isMuted() const +bool PythonQtShell_QMediaRecorderControl::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isMuted"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -602,32 +897,32 @@ if (_wrapper) { } } } - return bool(); + return QMediaRecorderControl::event(event0); } -QUrl PythonQtShell_QMediaRecorderControl::outputLocation() const +bool PythonQtShell_QMediaRecorderControl::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("outputLocation"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("outputLocation", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QUrl*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -635,9 +930,75 @@ if (_wrapper) { } } } - return QUrl(); + return QMediaRecorderControl::eventFilter(watched0, event1); } -void PythonQtShell_QMediaRecorderControl::setMuted(bool muted0) +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 @@ -647,9 +1008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&muted0}; + void* args[2] = {nullptr, (void*)&muted0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -670,19 +1031,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&location0}; + void* args[2] = {nullptr, (void*)&location0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setOutputLocation", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -702,9 +1063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaRecorder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&state0}; + void* args[2] = {nullptr, (void*)&state0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -724,9 +1085,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -747,19 +1108,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaRecorder::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaRecorder::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QMediaRecorder::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -780,19 +1141,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaRecorder::Status"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaRecorder::Status returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("status", methodInfo, result); } else { returnValue = *((QMediaRecorder::Status*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -802,6 +1163,28 @@ if (_wrapper) { } 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) { @@ -813,19 +1196,19 @@ if (_wrapper) { static const char* argumentList[] ={"qreal"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qreal returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((qreal*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1046,6 +1429,116 @@ 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) { @@ -1056,9 +1549,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaControl*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&control0}; + void* args[2] = {nullptr, (void*)&control0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1079,19 +1572,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaControl*" , "const char*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaControl* returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("requestControl", methodInfo, result); } else { returnValue = *((QMediaControl**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1099,7 +1592,29 @@ if (_wrapper) { } } } - return 0; + 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) { @@ -1145,19 +1660,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraOrientation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1178,19 +1693,19 @@ if (_wrapper) { static const char* argumentList[] ={"QCamera::Position" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QCamera::Position returnValue{}; - void* args[2] = {NULL, (void*)&device0}; + void* args[2] = {nullptr, (void*)&device0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cameraPosition", methodInfo, result); } else { returnValue = *((QCamera::Position*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1231,19 +1746,19 @@ if (_wrapper) { static const char* argumentList[] ={"QByteArray" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QByteArray returnValue{}; - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); } else { returnValue = *((QByteArray*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1279,19 +1794,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaService* returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1299,7 +1814,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaServiceProviderFactoryInterface::release(QMediaService* service0) { @@ -1311,9 +1826,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1421,19 +1936,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaService* returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1441,7 +1956,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } void PythonQtShell_QMediaServiceProviderPlugin::release(QMediaService* service0) { @@ -1453,9 +1968,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1509,19 +2024,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QByteArray&" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&service0, (void*)&device1}; + void* args[3] = {nullptr, (void*)&service0, (void*)&device1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1542,19 +2057,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QList returnValue{}; - void* args[2] = {NULL, (void*)&service0}; + void* args[2] = {nullptr, (void*)&service0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devices", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1595,19 +2110,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::SupportEstimate" , "const QString&" , "const QStringList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QMultimedia::SupportEstimate returnValue{}; - void* args[3] = {NULL, (void*)&mimeType0, (void*)&codecs1}; + void* args[3] = {nullptr, (void*)&mimeType0, (void*)&codecs1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasSupport", methodInfo, result); } else { returnValue = *((QMultimedia::SupportEstimate*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1628,19 +2143,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedMimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1670,6 +2185,116 @@ 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) { @@ -1681,19 +2306,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&streamNumber0}; + void* args[2] = {nullptr, (void*)&streamNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isActive", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1714,19 +2339,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&streamNumber0, (void*)&key1}; + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&key1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1746,9 +2371,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&streamNumber0, (void*)&state1}; + void* args[3] = {nullptr, (void*)&streamNumber0, (void*)&state1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1769,19 +2394,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("streamCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1802,19 +2427,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaStreamsControl::StreamType" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMediaStreamsControl::StreamType returnValue{}; - void* args[2] = {NULL, (void*)&streamNumber0}; + void* args[2] = {nullptr, (void*)&streamNumber0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("streamType", methodInfo, result); } else { returnValue = *((QMediaStreamsControl::StreamType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1824,12 +2449,34 @@ if (_wrapper) { } return QMediaStreamsControl::StreamType(); } -QMediaStreamsControl* PythonQtWrapper_QMediaStreamsControl::new_QMediaStreamsControl(QObject* parent) -{ -return new PythonQtShell_QMediaStreamsControl(parent); } - -const QMetaObject* PythonQtShell_QMediaStreamsControl::metaObject() const { - if (QObject::d_ptr->metaObject) { +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); @@ -1900,6 +2547,16 @@ QMediaTimeInterval PythonQtWrapper_QMediaTimeInterval::normalized(QMediaTimeInt 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); @@ -1983,6 +2640,11 @@ qint64 PythonQtWrapper_QMediaTimeRange::latestTime(QMediaTimeRange* theWrappedO return ( theWrappedObject->latestTime()); } +bool PythonQtWrapper_QMediaTimeRange::__ne__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + QMediaTimeRange PythonQtWrapper_QMediaTimeRange::__add__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2) { return ( (*theWrappedObject)+ arg__2); @@ -2056,6 +2718,138 @@ 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); } @@ -2090,19 +2884,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2112,6 +2906,116 @@ if (_wrapper) { } 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) { @@ -2123,19 +3027,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2156,19 +3060,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2178,6 +3082,28 @@ if (_wrapper) { } 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); } @@ -2227,19 +3153,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availableMetaData", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2249,6 +3175,116 @@ if (_wrapper) { } 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) { @@ -2260,19 +3296,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMetaDataAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2293,19 +3329,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isWritable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2326,19 +3362,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&key0}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2358,9 +3394,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&key0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2369,6 +3405,28 @@ if (_wrapper) { } } +} +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) { @@ -2420,6 +3478,116 @@ 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) { @@ -2431,19 +3599,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2464,19 +3632,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2486,6 +3654,28 @@ if (_wrapper) { } 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); } @@ -2523,11 +3713,6 @@ bool PythonQtWrapper_QRadioData::isAlternativeFrequenciesEnabled(QRadioData* th return ( theWrappedObject->isAlternativeFrequenciesEnabled()); } -QMediaObject* PythonQtWrapper_QRadioData::mediaObject(QRadioData* theWrappedObject) const -{ - return ( theWrappedObject->mediaObject()); -} - QRadioData::ProgramType PythonQtWrapper_QRadioData::programType(QRadioData* theWrappedObject) const { return ( theWrappedObject->programType()); @@ -2543,11 +3728,6 @@ QString PythonQtWrapper_QRadioData::radioText(QRadioData* theWrappedObject) con return ( theWrappedObject->radioText()); } -bool PythonQtWrapper_QRadioData::setMediaObject(QRadioData* theWrappedObject, QMediaObject* arg__1) -{ - return ( ((PythonQtPublicPromoter_QRadioData*)theWrappedObject)->promoted_setMediaObject(arg__1)); -} - QString PythonQtWrapper_QRadioData::stationId(QRadioData* theWrappedObject) const { return ( theWrappedObject->stationId()); @@ -2557,12 +3737,56 @@ QString PythonQtWrapper_QRadioData::stationName(QRadioData* theWrappedObject) c { return ( theWrappedObject->stationName()); } - - - -PythonQtShell_QRadioDataControl::~PythonQtShell_QRadioDataControl() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + + + +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 { @@ -2575,19 +3799,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioData::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioData::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QRadioData::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2608,19 +3832,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2630,6 +3854,72 @@ if (_wrapper) { } 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) { @@ -2641,19 +3931,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAlternativeFrequenciesEnabled", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2674,19 +3964,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioData::ProgramType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioData::ProgramType returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("programType", methodInfo, result); } else { returnValue = *((QRadioData::ProgramType*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2707,19 +3997,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("programTypeName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2740,19 +4030,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("radioText", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2772,9 +4062,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&enabled0}; + void* args[2] = {nullptr, (void*)&enabled0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2795,19 +4085,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stationId", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2828,19 +4118,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stationName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2850,6 +4140,28 @@ if (_wrapper) { } 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); } @@ -2929,19 +4241,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMultimedia::AvailabilityStatus"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMultimedia::AvailabilityStatus returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("availability", methodInfo, result); } else { returnValue = *((QMultimedia::AvailabilityStatus*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2962,19 +4274,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bind", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2984,6 +4296,116 @@ if (_wrapper) { } 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) { @@ -2995,19 +4417,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAvailable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3028,19 +4450,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaService*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaService* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("service", methodInfo, result); } else { returnValue = *((QMediaService**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3050,6 +4472,28 @@ if (_wrapper) { } 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) { @@ -3060,9 +4504,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3191,19 +4635,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::Band returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("band", methodInfo, result); } else { returnValue = *((QRadioTuner::Band*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3223,9 +4667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3234,6 +4678,50 @@ if (_wrapper) { } } +} +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 { @@ -3246,19 +4734,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::Error"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::Error returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((QRadioTuner::Error*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3279,19 +4767,85 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3299,7 +4853,7 @@ if (_wrapper) { } } } - return QString(); + return QRadioTunerControl::eventFilter(watched0, event1); } int PythonQtShell_QRadioTunerControl::frequency() const { @@ -3312,19 +4866,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequency", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3345,19 +4899,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPair" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPair returnValue{}; - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequencyRange", methodInfo, result); } else { returnValue = *((QPair*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3378,19 +4932,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("frequencyStep", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3411,19 +4965,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isAntennaConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3444,19 +4998,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isBandSupported", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3477,19 +5031,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isMuted", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3510,19 +5064,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSearching", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3543,19 +5097,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isStereo", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3575,9 +5129,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::SearchMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&searchMode0}; + void* args[2] = {nullptr, (void*)&searchMode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3597,9 +5151,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3619,9 +5173,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3641,9 +5195,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::Band"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&b0}; + void* args[2] = {nullptr, (void*)&b0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3663,9 +5217,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&frequency0}; + void* args[2] = {nullptr, (void*)&frequency0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3685,9 +5239,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&muted0}; + void* args[2] = {nullptr, (void*)&muted0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3707,9 +5261,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QRadioTuner::StereoMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3729,9 +5283,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&volume0}; + void* args[2] = {nullptr, (void*)&volume0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3752,19 +5306,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("signalStrength", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3784,9 +5338,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3807,19 +5361,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::State"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::State returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("state", methodInfo, result); } else { returnValue = *((QRadioTuner::State*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3840,19 +5394,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRadioTuner::StereoMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRadioTuner::StereoMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stereoMode", methodInfo, result); } else { returnValue = *((QRadioTuner::StereoMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3872,9 +5426,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3883,6 +5437,28 @@ if (_wrapper) { } } +} +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 { @@ -3895,19 +5471,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("volume", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4066,10 +5642,159 @@ int PythonQtWrapper_QRadioTunerControl::volume(QRadioTunerControl* theWrappedOb +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 QSound(filename, 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()); @@ -4106,6 +5831,138 @@ 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); } @@ -4208,6 +6065,50 @@ PythonQtShell_QVideoDeviceSelectorControl::~PythonQtShell_QVideoDeviceSelectorCo 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) { @@ -4219,19 +6120,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("defaultDevice", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4252,19 +6153,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4285,19 +6186,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4318,19 +6219,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deviceName", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4340,6 +6241,72 @@ if (_wrapper) { } 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) { @@ -4351,19 +6318,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectedDevice", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4383,9 +6350,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4394,6 +6361,28 @@ if (_wrapper) { } } +} +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) { @@ -4558,6 +6547,116 @@ PythonQtShell_QVideoEncoderSettingsControl::~PythonQtShell_QVideoEncoderSettings 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) { @@ -4568,9 +6667,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QVideoEncoderSettings&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&settings0}; + void* args[2] = {nullptr, (void*)&settings0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4591,19 +6690,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedFrameRates", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4624,19 +6723,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QVideoEncoderSettings&" , "bool*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QList returnValue{}; - void* args[3] = {NULL, (void*)&settings0, (void*)&continuous1}; + void* args[3] = {nullptr, (void*)&settings0, (void*)&continuous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedResolutions", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4657,19 +6756,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedVideoCodecs", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4679,6 +6778,28 @@ if (_wrapper) { } 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) { @@ -4690,19 +6811,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QString returnValue{}; - void* args[2] = {NULL, (void*)&codec0}; + void* args[2] = {nullptr, (void*)&codec0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoCodecDescription", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4723,19 +6844,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVideoEncoderSettings"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVideoEncoderSettings returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoSettings", methodInfo, result); } else { returnValue = *((QVideoEncoderSettings*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5012,6 +7133,138 @@ 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); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h similarity index 81% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h index bb93cff1..ad2bfba6 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h @@ -3,9 +3,11 @@ #include #include #include -#include +#include +#include #include #include +#include #include #include #include @@ -21,14 +23,20 @@ #include #include #include +#include #include +#include +#include #include #include #include #include #include +#include #include #include +#include +#include #include #include #include @@ -40,16 +48,21 @@ class PythonQtShell_QMediaPlaylist : public QMediaPlaylist { public: - PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaPlaylist(QObject* parent = nullptr):QMediaPlaylist(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaPlaylist(); + ~PythonQtShell_QMediaPlaylist() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaPlaylist : public QMediaPlaylist @@ -64,7 +77,7 @@ class PythonQtWrapper_QMediaPlaylist : public QObject public: public slots: QMediaPlaylist* new_QMediaPlaylist(QObject* parent = nullptr); -void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } +void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } bool addMedia(QMediaPlaylist* theWrappedObject, const QList& items); bool addMedia(QMediaPlaylist* theWrappedObject, const QMediaContent& content); bool clear(QMediaPlaylist* theWrappedObject); @@ -81,7 +94,6 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } void load(QMediaPlaylist* theWrappedObject, const QUrl& location, const char* format = nullptr); QMediaContent media(QMediaPlaylist* theWrappedObject, int index) const; int mediaCount(QMediaPlaylist* theWrappedObject) const; - QMediaObject* mediaObject(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; @@ -91,7 +103,6 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } 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 setMediaObject(QMediaPlaylist* theWrappedObject, QMediaObject* object); 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(); } @@ -104,16 +115,21 @@ void delete_QMediaPlaylist(QMediaPlaylist* obj) { delete obj; } class PythonQtShell_QMediaRecorder : public QMediaRecorder { public: - PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr):QMediaRecorder(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaRecorder(); + ~PythonQtShell_QMediaRecorder() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* object); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* object) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorder : public QMediaRecorder @@ -128,7 +144,7 @@ class PythonQtWrapper_QMediaRecorder : public QObject public: public slots: QMediaRecorder* new_QMediaRecorder(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } +void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } QUrl actualLocation(QMediaRecorder* theWrappedObject) const; QString audioCodecDescription(QMediaRecorder* theWrappedObject, const QString& codecName) const; QAudioEncoderSettings audioSettings(QMediaRecorder* theWrappedObject) const; @@ -143,14 +159,12 @@ void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } bool isMetaDataAvailable(QMediaRecorder* theWrappedObject) const; bool isMetaDataWritable(QMediaRecorder* theWrappedObject) const; bool isMuted(QMediaRecorder* theWrappedObject) const; - QMediaObject* mediaObject(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 setMediaObject(QMediaRecorder* theWrappedObject, QMediaObject* object); 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); @@ -175,25 +189,30 @@ void delete_QMediaRecorder(QMediaRecorder* obj) { delete obj; } class PythonQtShell_QMediaRecorderControl : public QMediaRecorderControl { public: - PythonQtShell_QMediaRecorderControl(QObject* parent = nullptr):QMediaRecorderControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMediaRecorderControl(); - -virtual void applySettings(); -virtual qint64 duration() const; -virtual bool isMuted() const; -virtual QUrl outputLocation() const; -virtual void setMuted(bool muted); -virtual bool setOutputLocation(const QUrl& location); -virtual void setState(QMediaRecorder::State state); -virtual void setVolume(qreal volume); -virtual QMediaRecorder::State state() const; -virtual QMediaRecorder::Status status() const; -virtual qreal volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QMediaRecorderControl(QObject* parent = nullptr):QMediaRecorderControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QMediaRecorderControl() override; + +void applySettings() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +qint64 duration() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMuted() const override; +QUrl outputLocation() const override; +void setMuted(bool muted) override; +bool setOutputLocation(const QUrl& location) override; +void setState(QMediaRecorder::State state) override; +void setVolume(qreal volume) override; +QMediaRecorder::State state() const override; +QMediaRecorder::Status status() const override; +void timerEvent(QTimerEvent* event) override; +qreal volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaRecorderControl : public QMediaRecorderControl @@ -216,7 +235,7 @@ class PythonQtWrapper_QMediaRecorderControl : public QObject public: public slots: QMediaRecorderControl* new_QMediaRecorderControl(QObject* parent = nullptr); -void delete_QMediaRecorderControl(QMediaRecorderControl* obj) { delete obj; } +void delete_QMediaRecorderControl(QMediaRecorderControl* obj) { delete obj; } void applySettings(QMediaRecorderControl* theWrappedObject); void py_q_applySettings(QMediaRecorderControl* theWrappedObject){ (((PythonQtPublicPromoter_QMediaRecorderControl*)theWrappedObject)->py_q_applySettings());} qint64 duration(QMediaRecorderControl* theWrappedObject) const; @@ -250,7 +269,7 @@ QMediaResource* new_QMediaResource(); QMediaResource* new_QMediaResource(const QMediaResource& other); QMediaResource* new_QMediaResource(const QNetworkRequest& request, const QString& mimeType = QString()); QMediaResource* new_QMediaResource(const QUrl& url, const QString& mimeType = QString()); -void delete_QMediaResource(QMediaResource* obj) { delete obj; } +void delete_QMediaResource(QMediaResource* obj) { delete obj; } int audioBitRate(QMediaResource* theWrappedObject) const; QString audioCodec(QMediaResource* theWrappedObject) const; int channelCount(QMediaResource* theWrappedObject) const; @@ -287,16 +306,21 @@ void delete_QMediaResource(QMediaResource* obj) { delete obj; } class PythonQtShell_QMediaService : public QMediaService { public: - PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaService(QObject* parent):QMediaService(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaService(); + ~PythonQtShell_QMediaService() override; -virtual void releaseControl(QMediaControl* control); -virtual QMediaControl* requestControl(const char* name); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void releaseControl(QMediaControl* control) override; +QMediaControl* requestControl(const char* name) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaService : public QMediaService @@ -310,7 +334,7 @@ class PythonQtWrapper_QMediaService : public QObject public: public slots: QMediaService* new_QMediaService(QObject* parent); -void delete_QMediaService(QMediaService* obj) { delete obj; } +void delete_QMediaService(QMediaService* obj) { delete obj; } void releaseControl(QMediaService* theWrappedObject, QMediaControl* control); void py_q_releaseControl(QMediaService* theWrappedObject, QMediaControl* control){ (((PythonQtPublicPromoter_QMediaService*)theWrappedObject)->py_q_releaseControl(control));} QMediaControl* requestControl(QMediaService* theWrappedObject, const char* name); @@ -324,14 +348,14 @@ void delete_QMediaService(QMediaService* obj) { delete obj; } class PythonQtShell_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface { public: - PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceCameraInfoInterface():QMediaServiceCameraInfoInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceCameraInfoInterface(); + ~PythonQtShell_QMediaServiceCameraInfoInterface() override; -virtual int cameraOrientation(const QByteArray& device) const; -virtual QCamera::Position cameraPosition(const QByteArray& device) const; +int cameraOrientation(const QByteArray& device) const override; +QCamera::Position cameraPosition(const QByteArray& device) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceCameraInfoInterface : public QMediaServiceCameraInfoInterface @@ -345,7 +369,7 @@ class PythonQtWrapper_QMediaServiceCameraInfoInterface : public QObject public: public slots: QMediaServiceCameraInfoInterface* new_QMediaServiceCameraInfoInterface(); -void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* obj) { delete obj; } +void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* obj) { delete obj; } int cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const; int py_q_cameraOrientation(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const{ return (((PythonQtPublicPromoter_QMediaServiceCameraInfoInterface*)theWrappedObject)->py_q_cameraOrientation(device));} QCamera::Position cameraPosition(QMediaServiceCameraInfoInterface* theWrappedObject, const QByteArray& device) const; @@ -359,13 +383,13 @@ void delete_QMediaServiceCameraInfoInterface(QMediaServiceCameraInfoInterface* o class PythonQtShell_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface { public: - PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceDefaultDeviceInterface():QMediaServiceDefaultDeviceInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceDefaultDeviceInterface(); + ~PythonQtShell_QMediaServiceDefaultDeviceInterface() override; -virtual QByteArray defaultDevice(const QByteArray& service) const; +QByteArray defaultDevice(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface : public QMediaServiceDefaultDeviceInterface @@ -378,7 +402,7 @@ class PythonQtWrapper_QMediaServiceDefaultDeviceInterface : public QObject public: public slots: QMediaServiceDefaultDeviceInterface* new_QMediaServiceDefaultDeviceInterface(); -void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterface* obj) { delete obj; } +void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterface* obj) { delete obj; } QByteArray defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const; QByteArray py_q_defaultDevice(QMediaServiceDefaultDeviceInterface* theWrappedObject, const QByteArray& service) const{ return (((PythonQtPublicPromoter_QMediaServiceDefaultDeviceInterface*)theWrappedObject)->py_q_defaultDevice(service));} }; @@ -390,14 +414,14 @@ void delete_QMediaServiceDefaultDeviceInterface(QMediaServiceDefaultDeviceInterf class PythonQtShell_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface { public: - PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceProviderFactoryInterface():QMediaServiceProviderFactoryInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceProviderFactoryInterface(); + ~PythonQtShell_QMediaServiceProviderFactoryInterface() override; -virtual QMediaService* create(const QString& key); -virtual void release(QMediaService* service); +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface : public QMediaServiceProviderFactoryInterface @@ -411,7 +435,7 @@ class PythonQtWrapper_QMediaServiceProviderFactoryInterface : public QObject public: public slots: QMediaServiceProviderFactoryInterface* new_QMediaServiceProviderFactoryInterface(); -void delete_QMediaServiceProviderFactoryInterface(QMediaServiceProviderFactoryInterface* obj) { delete obj; } +void delete_QMediaServiceProviderFactoryInterface(QMediaServiceProviderFactoryInterface* obj) { delete obj; } QMediaService* create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key); QMediaService* py_q_create(QMediaServiceProviderFactoryInterface* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QMediaServiceProviderFactoryInterface*)theWrappedObject)->py_q_create(key));} void release(QMediaServiceProviderFactoryInterface* theWrappedObject, QMediaService* service); @@ -436,7 +460,7 @@ QMediaServiceProviderHint* new_QMediaServiceProviderHint(QCamera::Position posi QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QByteArray& device); QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QMediaServiceProviderHint& other); QMediaServiceProviderHint* new_QMediaServiceProviderHint(const QString& mimeType, const QStringList& codecs); -void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete obj; } +void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete obj; } QCamera::Position cameraPosition(QMediaServiceProviderHint* theWrappedObject) const; QStringList codecs(QMediaServiceProviderHint* theWrappedObject) const; QByteArray device(QMediaServiceProviderHint* theWrappedObject) const; @@ -456,16 +480,16 @@ void delete_QMediaServiceProviderHint(QMediaServiceProviderHint* obj) { delete o class PythonQtShell_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin { public: - PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceProviderPlugin():QMediaServiceProviderPlugin(),_wrapper(nullptr) {}; ~PythonQtShell_QMediaServiceProviderPlugin(); -virtual QMediaService* create(const QString& key); -virtual void release(QMediaService* service); +QMediaService* create(const QString& key) override; +void release(QMediaService* service) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceProviderPlugin : public QMediaServiceProviderPlugin @@ -479,7 +503,7 @@ class PythonQtWrapper_QMediaServiceProviderPlugin : public QObject public: public slots: QMediaServiceProviderPlugin* new_QMediaServiceProviderPlugin(); -void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { delete obj; } +void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { delete obj; } QMediaService* create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key); QMediaService* py_q_create(QMediaServiceProviderPlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QMediaServiceProviderPlugin*)theWrappedObject)->py_q_create(key));} void release(QMediaServiceProviderPlugin* theWrappedObject, QMediaService* service); @@ -493,14 +517,14 @@ void delete_QMediaServiceProviderPlugin(QMediaServiceProviderPlugin* obj) { dele class PythonQtShell_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface { public: - PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceSupportedDevicesInterface():QMediaServiceSupportedDevicesInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceSupportedDevicesInterface(); + ~PythonQtShell_QMediaServiceSupportedDevicesInterface() override; -virtual QString deviceDescription(const QByteArray& service, const QByteArray& device); -virtual QList devices(const QByteArray& service) const; +QString deviceDescription(const QByteArray& service, const QByteArray& device) override; +QList devices(const QByteArray& service) const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface : public QMediaServiceSupportedDevicesInterface @@ -514,7 +538,7 @@ class PythonQtWrapper_QMediaServiceSupportedDevicesInterface : public QObject public: public slots: QMediaServiceSupportedDevicesInterface* new_QMediaServiceSupportedDevicesInterface(); -void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevicesInterface* obj) { delete obj; } +void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevicesInterface* obj) { delete obj; } QString deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device); QString py_q_deviceDescription(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service, const QByteArray& device){ return (((PythonQtPublicPromoter_QMediaServiceSupportedDevicesInterface*)theWrappedObject)->py_q_deviceDescription(service, device));} QList devices(QMediaServiceSupportedDevicesInterface* theWrappedObject, const QByteArray& service) const; @@ -528,14 +552,14 @@ void delete_QMediaServiceSupportedDevicesInterface(QMediaServiceSupportedDevices class PythonQtShell_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface { public: - PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(NULL) {}; + PythonQtShell_QMediaServiceSupportedFormatsInterface():QMediaServiceSupportedFormatsInterface(),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaServiceSupportedFormatsInterface(); + ~PythonQtShell_QMediaServiceSupportedFormatsInterface() override; -virtual QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const; -virtual QStringList supportedMimeTypes() const; +QMultimedia::SupportEstimate hasSupport(const QString& mimeType, const QStringList& codecs) const override; +QStringList supportedMimeTypes() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface : public QMediaServiceSupportedFormatsInterface @@ -549,7 +573,7 @@ class PythonQtWrapper_QMediaServiceSupportedFormatsInterface : public QObject public: public slots: QMediaServiceSupportedFormatsInterface* new_QMediaServiceSupportedFormatsInterface(); -void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormatsInterface* obj) { delete obj; } +void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormatsInterface* obj) { delete obj; } QMultimedia::SupportEstimate hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const; QMultimedia::SupportEstimate py_q_hasSupport(QMediaServiceSupportedFormatsInterface* theWrappedObject, const QString& mimeType, const QStringList& codecs) const{ return (((PythonQtPublicPromoter_QMediaServiceSupportedFormatsInterface*)theWrappedObject)->py_q_hasSupport(mimeType, codecs));} QStringList supportedMimeTypes(QMediaServiceSupportedFormatsInterface* theWrappedObject) const; @@ -563,19 +587,24 @@ void delete_QMediaServiceSupportedFormatsInterface(QMediaServiceSupportedFormats class PythonQtShell_QMediaStreamsControl : public QMediaStreamsControl { public: - PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaStreamsControl(QObject* parent = nullptr):QMediaStreamsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaStreamsControl(); + ~PythonQtShell_QMediaStreamsControl() override; -virtual bool isActive(int streamNumber); -virtual QVariant metaData(int streamNumber, const QString& key); -virtual void setActive(int streamNumber, bool state); -virtual int streamCount(); -virtual QMediaStreamsControl::StreamType streamType(int streamNumber); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isActive(int streamNumber) override; +QVariant metaData(int streamNumber, const QString& key) override; +void setActive(int streamNumber, bool state) override; +int streamCount() override; +QMediaStreamsControl::StreamType streamType(int streamNumber) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMediaStreamsControl : public QMediaStreamsControl @@ -595,7 +624,7 @@ enum StreamType{ UnknownStream = QMediaStreamsControl::UnknownStream, VideoStream = QMediaStreamsControl::VideoStream, AudioStream = QMediaStreamsControl::AudioStream, SubPictureStream = QMediaStreamsControl::SubPictureStream, DataStream = QMediaStreamsControl::DataStream}; public slots: QMediaStreamsControl* new_QMediaStreamsControl(QObject* parent = nullptr); -void delete_QMediaStreamsControl(QMediaStreamsControl* obj) { delete obj; } +void delete_QMediaStreamsControl(QMediaStreamsControl* obj) { delete obj; } bool isActive(QMediaStreamsControl* theWrappedObject, int streamNumber); bool py_q_isActive(QMediaStreamsControl* theWrappedObject, int streamNumber){ return (((PythonQtPublicPromoter_QMediaStreamsControl*)theWrappedObject)->py_q_isActive(streamNumber));} QVariant metaData(QMediaStreamsControl* theWrappedObject, int streamNumber, const QString& key); @@ -619,11 +648,13 @@ public slots: QMediaTimeInterval* new_QMediaTimeInterval(); QMediaTimeInterval* new_QMediaTimeInterval(const QMediaTimeInterval& arg__1); QMediaTimeInterval* new_QMediaTimeInterval(qint64 start, qint64 end); -void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } +void delete_QMediaTimeInterval(QMediaTimeInterval* obj) { delete obj; } bool contains(QMediaTimeInterval* theWrappedObject, qint64 time) const; qint64 end(QMediaTimeInterval* theWrappedObject) const; bool isNormal(QMediaTimeInterval* theWrappedObject) const; QMediaTimeInterval normalized(QMediaTimeInterval* theWrappedObject) const; + bool __ne__(QMediaTimeInterval* theWrappedObject, const QMediaTimeInterval& arg__2); + 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; @@ -641,7 +672,7 @@ QMediaTimeRange* new_QMediaTimeRange(); QMediaTimeRange* new_QMediaTimeRange(const QMediaTimeInterval& arg__1); QMediaTimeRange* new_QMediaTimeRange(const QMediaTimeRange& range); QMediaTimeRange* new_QMediaTimeRange(qint64 start, qint64 end); -void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } +void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } void addInterval(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& interval); void addInterval(QMediaTimeRange* theWrappedObject, qint64 start, qint64 end); void addTimeRange(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); @@ -652,6 +683,7 @@ void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } bool isContinuous(QMediaTimeRange* theWrappedObject) const; bool isEmpty(QMediaTimeRange* theWrappedObject) const; qint64 latestTime(QMediaTimeRange* theWrappedObject) const; + bool __ne__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); QMediaTimeRange __add__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__2); QMediaTimeRange* __iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeInterval& arg__1); QMediaTimeRange* __iadd__(QMediaTimeRange* theWrappedObject, const QMediaTimeRange& arg__1); @@ -675,14 +707,19 @@ void delete_QMediaTimeRange(QMediaTimeRange* obj) { delete obj; } class PythonQtShell_QMediaVideoProbeControl : public QMediaVideoProbeControl { public: - PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMediaVideoProbeControl(QObject* parent = nullptr):QMediaVideoProbeControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMediaVideoProbeControl(); + ~PythonQtShell_QMediaVideoProbeControl() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QMediaVideoProbeControl : public QObject @@ -690,7 +727,7 @@ class PythonQtWrapper_QMediaVideoProbeControl : public QObject public: public slots: QMediaVideoProbeControl* new_QMediaVideoProbeControl(QObject* parent = nullptr); -void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } +void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; } }; @@ -700,17 +737,22 @@ void delete_QMediaVideoProbeControl(QMediaVideoProbeControl* obj) { delete obj; class PythonQtShell_QMetaDataReaderControl : public QMetaDataReaderControl { public: - PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMetaDataReaderControl(QObject* parent = nullptr):QMetaDataReaderControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMetaDataReaderControl(); + ~PythonQtShell_QMetaDataReaderControl() override; -virtual QStringList availableMetaData() const; -virtual bool isMetaDataAvailable() const; -virtual QVariant metaData(const QString& key) const; +QStringList availableMetaData() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMetaDataAvailable() const override; +QVariant metaData(const QString& key) const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataReaderControl : public QMetaDataReaderControl @@ -725,7 +767,7 @@ class PythonQtWrapper_QMetaDataReaderControl : public QObject public: public slots: QMetaDataReaderControl* new_QMetaDataReaderControl(QObject* parent = nullptr); -void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } +void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } QStringList availableMetaData(QMetaDataReaderControl* theWrappedObject) const; QStringList py_q_availableMetaData(QMetaDataReaderControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataReaderControl*)theWrappedObject)->py_q_availableMetaData());} bool isMetaDataAvailable(QMetaDataReaderControl* theWrappedObject) const; @@ -741,19 +783,24 @@ void delete_QMetaDataReaderControl(QMetaDataReaderControl* obj) { delete obj; } class PythonQtShell_QMetaDataWriterControl : public QMetaDataWriterControl { public: - PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(NULL) {}; + PythonQtShell_QMetaDataWriterControl(QObject* parent = nullptr):QMetaDataWriterControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QMetaDataWriterControl(); + ~PythonQtShell_QMetaDataWriterControl() override; -virtual QStringList availableMetaData() const; -virtual bool isMetaDataAvailable() const; -virtual bool isWritable() const; -virtual QVariant metaData(const QString& key) const; -virtual void setMetaData(const QString& key, const QVariant& value); +QStringList availableMetaData() const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isMetaDataAvailable() const override; +bool isWritable() const override; +QVariant metaData(const QString& key) const override; +void setMetaData(const QString& key, const QVariant& value) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QMetaDataWriterControl : public QMetaDataWriterControl @@ -770,7 +817,7 @@ class PythonQtWrapper_QMetaDataWriterControl : public QObject public: public slots: QMetaDataWriterControl* new_QMetaDataWriterControl(QObject* parent = nullptr); -void delete_QMetaDataWriterControl(QMetaDataWriterControl* obj) { delete obj; } +void delete_QMetaDataWriterControl(QMetaDataWriterControl* obj) { delete obj; } QStringList availableMetaData(QMetaDataWriterControl* theWrappedObject) const; QStringList py_q_availableMetaData(QMetaDataWriterControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMetaDataWriterControl*)theWrappedObject)->py_q_availableMetaData());} bool isMetaDataAvailable(QMetaDataWriterControl* theWrappedObject) const; @@ -809,16 +856,21 @@ public slots: class PythonQtShell_QRadioData : public QRadioData { public: - PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(NULL) {}; + PythonQtShell_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr):QRadioData(mediaObject, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRadioData(); + ~PythonQtShell_QRadioData() override; -virtual QMediaObject* mediaObject() const; -virtual bool setMediaObject(QMediaObject* arg__1); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QMediaObject* mediaObject() const override; +bool setMediaObject(QMediaObject* arg__1) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioData : public QRadioData @@ -833,17 +885,15 @@ class PythonQtWrapper_QRadioData : public QObject public: public slots: QRadioData* new_QRadioData(QMediaObject* mediaObject, QObject* parent = nullptr); -void delete_QRadioData(QRadioData* obj) { delete obj; } +void delete_QRadioData(QRadioData* obj) { delete obj; } QMultimedia::AvailabilityStatus availability(QRadioData* theWrappedObject) const; QRadioData::Error error(QRadioData* theWrappedObject) const; QString errorString(QRadioData* theWrappedObject) const; bool isAlternativeFrequenciesEnabled(QRadioData* theWrappedObject) const; - QMediaObject* mediaObject(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 setMediaObject(QRadioData* theWrappedObject, QMediaObject* arg__1); 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; @@ -856,23 +906,28 @@ void delete_QRadioData(QRadioData* obj) { delete obj; } class PythonQtShell_QRadioDataControl : public QRadioDataControl { public: - PythonQtShell_QRadioDataControl(QObject* parent = nullptr):QRadioDataControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioDataControl(); - -virtual QRadioData::Error error() const; -virtual QString errorString() const; -virtual bool isAlternativeFrequenciesEnabled() const; -virtual QRadioData::ProgramType programType() const; -virtual QString programTypeName() const; -virtual QString radioText() const; -virtual void setAlternativeFrequenciesEnabled(bool enabled); -virtual QString stationId() const; -virtual QString stationName() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioDataControl(QObject* parent = nullptr):QRadioDataControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioDataControl() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QRadioData::Error error() const override; +QString errorString() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAlternativeFrequenciesEnabled() const override; +QRadioData::ProgramType programType() const override; +QString programTypeName() const override; +QString radioText() const override; +void setAlternativeFrequenciesEnabled(bool enabled) override; +QString stationId() const override; +QString stationName() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioDataControl : public QRadioDataControl @@ -893,7 +948,7 @@ class PythonQtWrapper_QRadioDataControl : public QObject public: public slots: QRadioDataControl* new_QRadioDataControl(QObject* parent = nullptr); -void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } +void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } QRadioData::Error error(QRadioDataControl* theWrappedObject) const; QRadioData::Error py_q_error(QRadioDataControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioDataControl*)theWrappedObject)->py_q_error());} QString errorString(QRadioDataControl* theWrappedObject) const; @@ -921,19 +976,24 @@ void delete_QRadioDataControl(QRadioDataControl* obj) { delete obj; } class PythonQtShell_QRadioTuner : public QRadioTuner { public: - PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(NULL) {}; + PythonQtShell_QRadioTuner(QObject* parent = nullptr):QRadioTuner(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QRadioTuner(); + ~PythonQtShell_QRadioTuner() override; -virtual QMultimedia::AvailabilityStatus availability() const; -virtual bool bind(QObject* arg__1); -virtual bool isAvailable() const; -virtual QMediaService* service() const; -virtual void unbind(QObject* arg__1); +QMultimedia::AvailabilityStatus availability() const override; +bool bind(QObject* arg__1) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isAvailable() const override; +QMediaService* service() const override; +void timerEvent(QTimerEvent* event) override; +void unbind(QObject* arg__1) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTuner : public QRadioTuner @@ -946,7 +1006,7 @@ class PythonQtWrapper_QRadioTuner : public QObject public: public slots: QRadioTuner* new_QRadioTuner(QObject* parent = nullptr); -void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } +void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } QMultimedia::AvailabilityStatus py_q_availability(QRadioTuner* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTuner*)theWrappedObject)->py_q_availability());} QRadioTuner::Band band(QRadioTuner* theWrappedObject) const; QRadioTuner::Error error(QRadioTuner* theWrappedObject) const; @@ -974,40 +1034,45 @@ void delete_QRadioTuner(QRadioTuner* obj) { delete obj; } class PythonQtShell_QRadioTunerControl : public QRadioTunerControl { public: - PythonQtShell_QRadioTunerControl(QObject* parent = nullptr):QRadioTunerControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioTunerControl(); - -virtual QRadioTuner::Band band() const; -virtual void cancelSearch(); -virtual QRadioTuner::Error error() const; -virtual QString errorString() const; -virtual int frequency() const; -virtual QPair frequencyRange(QRadioTuner::Band b) const; -virtual int frequencyStep(QRadioTuner::Band b) const; -virtual bool isAntennaConnected() const; -virtual bool isBandSupported(QRadioTuner::Band b) const; -virtual bool isMuted() const; -virtual bool isSearching() const; -virtual bool isStereo() const; -virtual void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast); -virtual void searchBackward(); -virtual void searchForward(); -virtual void setBand(QRadioTuner::Band b); -virtual void setFrequency(int frequency); -virtual void setMuted(bool muted); -virtual void setStereoMode(QRadioTuner::StereoMode mode); -virtual void setVolume(int volume); -virtual int signalStrength() const; -virtual void start(); -virtual QRadioTuner::State state() const; -virtual QRadioTuner::StereoMode stereoMode() const; -virtual void stop(); -virtual int volume() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QRadioTunerControl(QObject* parent = nullptr):QRadioTunerControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QRadioTunerControl() override; + +QRadioTuner::Band band() const override; +void cancelSearch() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +QRadioTuner::Error error() const override; +QString errorString() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int frequency() const override; +QPair frequencyRange(QRadioTuner::Band b) const override; +int frequencyStep(QRadioTuner::Band b) const override; +bool isAntennaConnected() const override; +bool isBandSupported(QRadioTuner::Band b) const override; +bool isMuted() const override; +bool isSearching() const override; +bool isStereo() const override; +void searchAllStations(QRadioTuner::SearchMode searchMode = QRadioTuner::SearchFast) override; +void searchBackward() override; +void searchForward() override; +void setBand(QRadioTuner::Band b) override; +void setFrequency(int frequency) override; +void setMuted(bool muted) override; +void setStereoMode(QRadioTuner::StereoMode mode) override; +void setVolume(int volume) override; +int signalStrength() const override; +void start() override; +QRadioTuner::State state() const override; +QRadioTuner::StereoMode stereoMode() const override; +void stop() override; +void timerEvent(QTimerEvent* event) override; +int volume() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRadioTunerControl : public QRadioTunerControl @@ -1045,7 +1110,7 @@ class PythonQtWrapper_QRadioTunerControl : public QObject public: public slots: QRadioTunerControl* new_QRadioTunerControl(QObject* parent = nullptr); -void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } +void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } QRadioTuner::Band band(QRadioTunerControl* theWrappedObject) const; QRadioTuner::Band py_q_band(QRadioTunerControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioTunerControl*)theWrappedObject)->py_q_band());} void cancelSearch(QRadioTunerControl* theWrappedObject); @@ -1104,6 +1169,24 @@ void delete_QRadioTunerControl(QRadioTunerControl* obj) { delete obj; } +class PythonQtShell_QSound : public QSound +{ +public: + PythonQtShell_QSound(const QString& filename, QObject* parent = nullptr):QSound(filename, parent),_wrapper(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: @@ -1112,7 +1195,7 @@ enum Loop{ Infinite = QSound::Infinite}; public slots: QSound* new_QSound(const QString& filename, QObject* parent = nullptr); -void delete_QSound(QSound* obj) { delete obj; } +void delete_QSound(QSound* obj) { delete obj; } QString fileName(QSound* theWrappedObject) const; bool isFinished(QSound* theWrappedObject) const; int loops(QSound* theWrappedObject) const; @@ -1128,29 +1211,29 @@ void delete_QSound(QSound* obj) { delete obj; } class PythonQtShell_QSoundEffect : public QSoundEffect { public: - PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(NULL) {}; - PythonQtShell_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr):QSoundEffect(audioDevice, parent),_wrapper(NULL) {}; + PythonQtShell_QSoundEffect(QObject* parent = nullptr):QSoundEffect(parent),_wrapper(nullptr) {}; + PythonQtShell_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr):QSoundEffect(audioDevice, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QSoundEffect(); + ~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; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSoundEffect : public QObject { Q_OBJECT public: -Q_ENUMS(Loop Status ) -enum Loop{ - Infinite = QSoundEffect::Infinite}; -enum Status{ - Null = QSoundEffect::Null, Loading = QSoundEffect::Loading, Ready = QSoundEffect::Ready, Error = QSoundEffect::Error}; public slots: QSoundEffect* new_QSoundEffect(QObject* parent = nullptr); QSoundEffect* new_QSoundEffect(const QAudioDeviceInfo& audioDevice, QObject* parent = nullptr); -void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } +void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } QString category(QSoundEffect* theWrappedObject) const; bool isLoaded(QSoundEffect* theWrappedObject) const; bool isMuted(QSoundEffect* theWrappedObject) const; @@ -1175,20 +1258,25 @@ void delete_QSoundEffect(QSoundEffect* obj) { delete obj; } class PythonQtShell_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl { public: - PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoDeviceSelectorControl(QObject* parent = nullptr):QVideoDeviceSelectorControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoDeviceSelectorControl(); + ~PythonQtShell_QVideoDeviceSelectorControl() override; -virtual int defaultDevice() const; -virtual int deviceCount() const; -virtual QString deviceDescription(int index) const; -virtual QString deviceName(int index) const; -virtual int selectedDevice() const; -virtual void setSelectedDevice(int index); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int defaultDevice() const override; +int deviceCount() const override; +QString deviceDescription(int index) const override; +QString deviceName(int index) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int selectedDevice() const override; +void setSelectedDevice(int index) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoDeviceSelectorControl : public QVideoDeviceSelectorControl @@ -1206,7 +1294,7 @@ class PythonQtWrapper_QVideoDeviceSelectorControl : public QObject public: public slots: QVideoDeviceSelectorControl* new_QVideoDeviceSelectorControl(QObject* parent = nullptr); -void delete_QVideoDeviceSelectorControl(QVideoDeviceSelectorControl* obj) { delete obj; } +void delete_QVideoDeviceSelectorControl(QVideoDeviceSelectorControl* obj) { delete obj; } int defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const; int py_q_defaultDevice(QVideoDeviceSelectorControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoDeviceSelectorControl*)theWrappedObject)->py_q_defaultDevice());} int deviceCount(QVideoDeviceSelectorControl* theWrappedObject) const; @@ -1230,7 +1318,7 @@ class PythonQtWrapper_QVideoEncoderSettings : public QObject public slots: QVideoEncoderSettings* new_QVideoEncoderSettings(); QVideoEncoderSettings* new_QVideoEncoderSettings(const QVideoEncoderSettings& other); -void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } +void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } int bitRate(QVideoEncoderSettings* theWrappedObject) const; QString codec(QVideoEncoderSettings* theWrappedObject) const; QMultimedia::EncodingMode encodingMode(QVideoEncoderSettings* theWrappedObject) const; @@ -1262,20 +1350,25 @@ void delete_QVideoEncoderSettings(QVideoEncoderSettings* obj) { delete obj; } class PythonQtShell_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl { public: - PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoEncoderSettingsControl(QObject* parent = nullptr):QVideoEncoderSettingsControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoEncoderSettingsControl(); + ~PythonQtShell_QVideoEncoderSettingsControl() override; -virtual void setVideoSettings(const QVideoEncoderSettings& settings); -virtual QList supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; -virtual QList supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; -virtual QStringList supportedVideoCodecs() const; -virtual QString videoCodecDescription(const QString& codec) const; -virtual QVideoEncoderSettings videoSettings() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setVideoSettings(const QVideoEncoderSettings& settings) override; +QList supportedFrameRates(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const override; +QList supportedResolutions(const QVideoEncoderSettings& settings, bool* continuous = nullptr) const override; +QStringList supportedVideoCodecs() const override; +void timerEvent(QTimerEvent* event) override; +QString videoCodecDescription(const QString& codec) const override; +QVideoEncoderSettings videoSettings() const override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoEncoderSettingsControl : public QVideoEncoderSettingsControl @@ -1293,7 +1386,7 @@ class PythonQtWrapper_QVideoEncoderSettingsControl : public QObject public: public slots: QVideoEncoderSettingsControl* new_QVideoEncoderSettingsControl(QObject* parent = nullptr); -void delete_QVideoEncoderSettingsControl(QVideoEncoderSettingsControl* obj) { delete obj; } +void delete_QVideoEncoderSettingsControl(QVideoEncoderSettingsControl* obj) { delete obj; } void setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings); void py_q_setVideoSettings(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings){ (((PythonQtPublicPromoter_QVideoEncoderSettingsControl*)theWrappedObject)->py_q_setVideoSettings(settings));} QList supportedFrameRates(QVideoEncoderSettingsControl* theWrappedObject, const QVideoEncoderSettings& settings, bool* continuous = nullptr) const; @@ -1326,7 +1419,7 @@ QVideoFrame* new_QVideoFrame(QAbstractVideoBuffer* buffer, const QSize& size, QVideoFrame* new_QVideoFrame(const QImage& image); QVideoFrame* new_QVideoFrame(const QVideoFrame& other); QVideoFrame* new_QVideoFrame(int bytes, const QSize& size, int bytesPerLine, QVideoFrame::PixelFormat format); -void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } +void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } QMap availableMetaData(QVideoFrame* theWrappedObject) const; uchar* bits(QVideoFrame* theWrappedObject); const uchar* bits(QVideoFrame* theWrappedObject) const; @@ -1375,14 +1468,19 @@ void delete_QVideoFrame(QVideoFrame* obj) { delete obj; } class PythonQtShell_QVideoProbe : public QVideoProbe { public: - PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoProbe(QObject* parent = nullptr):QVideoProbe(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoProbe(); + ~PythonQtShell_QVideoProbe() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QVideoProbe : public QObject @@ -1390,7 +1488,7 @@ class PythonQtWrapper_QVideoProbe : public QObject public: public slots: QVideoProbe* new_QVideoProbe(QObject* parent = nullptr); -void delete_QVideoProbe(QVideoProbe* obj) { delete obj; } +void delete_QVideoProbe(QVideoProbe* obj) { delete obj; } bool isActive(QVideoProbe* theWrappedObject) const; bool setSource(QVideoProbe* theWrappedObject, QMediaObject* source); bool setSource(QVideoProbe* theWrappedObject, QMediaRecorder* source); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp similarity index 73% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp index 314fba3a..ec9fd76f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp @@ -7,18 +7,37 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include #include +#include #include #include #include @@ -27,6 +46,116 @@ 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) { @@ -37,9 +166,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractVideoSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&surface0}; + void* args[2] = {nullptr, (void*)&surface0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -60,19 +189,19 @@ if (_wrapper) { static const char* argumentList[] ={"QAbstractVideoSurface*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QAbstractVideoSurface* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("surface", methodInfo, result); } else { returnValue = *((QAbstractVideoSurface**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -80,7 +209,29 @@ if (_wrapper) { } } } - return 0; + 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) { @@ -286,9 +437,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -308,9 +459,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -320,6 +471,28 @@ if (_wrapper) { } 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) { @@ -330,9 +503,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -352,9 +525,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -364,6 +537,28 @@ if (_wrapper) { } 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) { @@ -375,19 +570,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -407,9 +602,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -429,9 +624,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -451,9 +646,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -473,9 +668,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -495,9 +690,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -518,19 +713,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -540,6 +735,39 @@ if (_wrapper) { } 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) { @@ -550,9 +778,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -573,19 +801,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -605,9 +833,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -628,19 +856,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -661,19 +889,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -693,9 +921,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -715,9 +943,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -737,9 +965,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -760,19 +988,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -792,9 +1020,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -814,9 +1042,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -836,9 +1064,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -859,19 +1087,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QMediaObject* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mediaObject", methodInfo, result); } else { returnValue = *((QMediaObject**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -892,19 +1120,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -925,19 +1153,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -957,9 +1185,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -979,9 +1207,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1001,9 +1229,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1023,9 +1251,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1045,9 +1273,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1068,19 +1296,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1101,19 +1329,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1133,9 +1361,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1156,19 +1384,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1188,9 +1416,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1211,19 +1439,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QMediaObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&object0}; + void* args[2] = {nullptr, (void*)&object0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setMediaObject", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1243,9 +1471,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1266,19 +1494,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1298,9 +1526,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1321,19 +1549,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1353,9 +1581,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1365,6 +1593,28 @@ if (_wrapper) { } 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) { @@ -1375,9 +1625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1456,19 +1706,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::AspectRatioMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); } else { returnValue = *((Qt::AspectRatioMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1489,19 +1739,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("brightness", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1511,6 +1761,28 @@ if (_wrapper) { } 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) { @@ -1522,19 +1794,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contrast", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1544,6 +1816,94 @@ if (_wrapper) { } 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) { @@ -1555,19 +1915,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1588,19 +1948,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1621,19 +1981,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("saturation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1653,9 +2013,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1675,9 +2035,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&brightness0}; + void* args[2] = {nullptr, (void*)&brightness0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1697,9 +2057,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contrast0}; + void* args[2] = {nullptr, (void*)&contrast0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1719,9 +2079,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fullScreen0}; + void* args[2] = {nullptr, (void*)&fullScreen0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1741,9 +2101,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hue0}; + void* args[2] = {nullptr, (void*)&hue0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1763,9 +2123,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&saturation0}; + void* args[2] = {nullptr, (void*)&saturation0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1774,6 +2134,28 @@ if (_wrapper) { } } +} +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() { @@ -1786,19 +2168,19 @@ if (_wrapper) { static const char* argumentList[] ={"QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QWidget* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("videoWidget", methodInfo, result); } else { returnValue = *((QWidget**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1806,7 +2188,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QVideoWidgetControl* PythonQtWrapper_QVideoWidgetControl::new_QVideoWidgetControl(QObject* parent) { @@ -1907,19 +2289,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::AspectRatioMode returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("aspectRatioMode", methodInfo, result); } else { returnValue = *((Qt::AspectRatioMode*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1940,19 +2322,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("brightness", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1962,6 +2344,28 @@ if (_wrapper) { } 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) { @@ -1973,19 +2377,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("contrast", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1995,6 +2399,28 @@ if (_wrapper) { } 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) { @@ -2006,19 +2432,19 @@ if (_wrapper) { static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QRect returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("displayRect", methodInfo, result); } else { returnValue = *((QRect*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2028,6 +2454,72 @@ if (_wrapper) { } 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) { @@ -2039,19 +2531,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hue", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2072,19 +2564,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isFullScreen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2105,19 +2597,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeSize", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2137,9 +2629,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2160,19 +2652,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("saturation", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2192,9 +2684,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "Qt::AspectRatioMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2214,9 +2706,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&brightness0}; + void* args[2] = {nullptr, (void*)&brightness0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2236,9 +2728,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&contrast0}; + void* args[2] = {nullptr, (void*)&contrast0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2258,9 +2750,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&rect0}; + void* args[2] = {nullptr, (void*)&rect0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2280,9 +2772,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&fullScreen0}; + void* args[2] = {nullptr, (void*)&fullScreen0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2302,9 +2794,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&hue0}; + void* args[2] = {nullptr, (void*)&hue0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2324,9 +2816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&saturation0}; + void* args[2] = {nullptr, (void*)&saturation0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2346,9 +2838,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "WId"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&id0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2357,6 +2849,28 @@ if (_wrapper) { } } +} +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 { @@ -2369,19 +2883,19 @@ if (_wrapper) { static const char* argumentList[] ={"WId"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); WId returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("winId", methodInfo, result); } else { returnValue = *((WId*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h similarity index 76% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h index 1e5ea785..972bcc16 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h @@ -5,18 +5,37 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include +#include +#include +#include +#include +#include #include #include +#include +#include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include #include +#include #include #include #include @@ -30,16 +49,21 @@ class PythonQtShell_QVideoRendererControl : public QVideoRendererControl { public: - PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(NULL) {}; + PythonQtShell_QVideoRendererControl(QObject* parent = nullptr):QVideoRendererControl(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QVideoRendererControl(); + ~PythonQtShell_QVideoRendererControl() override; -virtual void setSurface(QAbstractVideoSurface* surface); -virtual QAbstractVideoSurface* surface() const; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void setSurface(QAbstractVideoSurface* surface) override; +QAbstractVideoSurface* surface() const override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoRendererControl : public QVideoRendererControl @@ -53,7 +77,7 @@ class PythonQtWrapper_QVideoRendererControl : public QObject public: public slots: QVideoRendererControl* new_QVideoRendererControl(QObject* parent = nullptr); -void delete_QVideoRendererControl(QVideoRendererControl* obj) { delete obj; } +void delete_QVideoRendererControl(QVideoRendererControl* obj) { delete obj; } void setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface); void py_q_setSurface(QVideoRendererControl* theWrappedObject, QAbstractVideoSurface* surface){ (((PythonQtPublicPromoter_QVideoRendererControl*)theWrappedObject)->py_q_setSurface(surface));} QAbstractVideoSurface* surface(QVideoRendererControl* theWrappedObject) const; @@ -76,7 +100,7 @@ public slots: QVideoSurfaceFormat* new_QVideoSurfaceFormat(); QVideoSurfaceFormat* new_QVideoSurfaceFormat(const QSize& size, QVideoFrame::PixelFormat pixelFormat, QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle); QVideoSurfaceFormat* new_QVideoSurfaceFormat(const QVideoSurfaceFormat& format); -void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } +void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } int frameHeight(QVideoSurfaceFormat* theWrappedObject) const; qreal frameRate(QVideoSurfaceFormat* theWrappedObject) const; QSize frameSize(QVideoSurfaceFormat* theWrappedObject) const; @@ -116,57 +140,61 @@ void delete_QVideoSurfaceFormat(QVideoSurfaceFormat* obj) { delete obj; } class PythonQtShell_QVideoWidget : public QVideoWidget { public: - PythonQtShell_QVideoWidget(QWidget* parent = nullptr):QVideoWidget(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual QMediaObject* mediaObject() const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual bool setMediaObject(QMediaObject* object); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWidget(QWidget* parent = nullptr):QVideoWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +QMediaObject* mediaObject() const override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +bool setMediaObject(QMediaObject* object) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidget : public QVideoWidget @@ -194,7 +222,7 @@ class PythonQtWrapper_QVideoWidget : public QObject public: public slots: QVideoWidget* new_QVideoWidget(QWidget* parent = nullptr); -void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } +void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWidget* theWrappedObject) const; int brightness(QVideoWidget* theWrappedObject) const; int contrast(QVideoWidget* theWrappedObject) const; @@ -220,27 +248,32 @@ void delete_QVideoWidget(QVideoWidget* obj) { delete obj; } class PythonQtShell_QVideoWidgetControl : public QVideoWidgetControl { public: - PythonQtShell_QVideoWidgetControl(QObject* parent = nullptr):QVideoWidgetControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWidgetControl(); - -virtual Qt::AspectRatioMode aspectRatioMode() const; -virtual int brightness() const; -virtual int contrast() const; -virtual int hue() const; -virtual bool isFullScreen() const; -virtual int saturation() const; -virtual void setAspectRatioMode(Qt::AspectRatioMode mode); -virtual void setBrightness(int brightness); -virtual void setContrast(int contrast); -virtual void setFullScreen(bool fullScreen); -virtual void setHue(int hue); -virtual void setSaturation(int saturation); -virtual QWidget* videoWidget(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWidgetControl(QObject* parent = nullptr):QVideoWidgetControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWidgetControl() override; + +Qt::AspectRatioMode aspectRatioMode() const override; +int brightness() const override; +void childEvent(QChildEvent* event) override; +int contrast() const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int hue() const override; +bool isFullScreen() const override; +int saturation() const override; +void setAspectRatioMode(Qt::AspectRatioMode mode) override; +void setBrightness(int brightness) override; +void setContrast(int contrast) override; +void setFullScreen(bool fullScreen) override; +void setHue(int hue) override; +void setSaturation(int saturation) override; +void timerEvent(QTimerEvent* event) override; +QWidget* videoWidget() override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWidgetControl : public QVideoWidgetControl @@ -265,7 +298,7 @@ class PythonQtWrapper_QVideoWidgetControl : public QObject public: public slots: QVideoWidgetControl* new_QVideoWidgetControl(QObject* parent = nullptr); -void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } +void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWidgetControl* theWrappedObject) const; Qt::AspectRatioMode py_q_aspectRatioMode(QVideoWidgetControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWidgetControl*)theWrappedObject)->py_q_aspectRatioMode());} int brightness(QVideoWidgetControl* theWrappedObject) const; @@ -301,32 +334,37 @@ void delete_QVideoWidgetControl(QVideoWidgetControl* obj) { delete obj; } class PythonQtShell_QVideoWindowControl : public QVideoWindowControl { public: - PythonQtShell_QVideoWindowControl(QObject* parent = nullptr):QVideoWindowControl(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QVideoWindowControl(); - -virtual Qt::AspectRatioMode aspectRatioMode() const; -virtual int brightness() const; -virtual int contrast() const; -virtual QRect displayRect() const; -virtual int hue() const; -virtual bool isFullScreen() const; -virtual QSize nativeSize() const; -virtual void repaint(); -virtual int saturation() const; -virtual void setAspectRatioMode(Qt::AspectRatioMode mode); -virtual void setBrightness(int brightness); -virtual void setContrast(int contrast); -virtual void setDisplayRect(const QRect& rect); -virtual void setFullScreen(bool fullScreen); -virtual void setHue(int hue); -virtual void setSaturation(int saturation); -virtual void setWinId(WId id); -virtual WId winId() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QVideoWindowControl(QObject* parent = nullptr):QVideoWindowControl(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QVideoWindowControl() override; + +Qt::AspectRatioMode aspectRatioMode() const override; +int brightness() const override; +void childEvent(QChildEvent* event) override; +int contrast() const override; +void customEvent(QEvent* event) override; +QRect displayRect() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +int hue() const override; +bool isFullScreen() const override; +QSize nativeSize() const override; +void repaint() override; +int saturation() const override; +void setAspectRatioMode(Qt::AspectRatioMode mode) override; +void setBrightness(int brightness) override; +void setContrast(int contrast) override; +void setDisplayRect(const QRect& rect) override; +void setFullScreen(bool fullScreen) override; +void setHue(int hue) override; +void setSaturation(int saturation) override; +void setWinId(WId id) override; +void timerEvent(QTimerEvent* event) override; +WId winId() const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QVideoWindowControl : public QVideoWindowControl @@ -356,7 +394,7 @@ class PythonQtWrapper_QVideoWindowControl : public QObject public: public slots: QVideoWindowControl* new_QVideoWindowControl(QObject* parent = nullptr); -void delete_QVideoWindowControl(QVideoWindowControl* obj) { delete obj; } +void delete_QVideoWindowControl(QVideoWindowControl* obj) { delete obj; } Qt::AspectRatioMode aspectRatioMode(QVideoWindowControl* theWrappedObject) const; Qt::AspectRatioMode py_q_aspectRatioMode(QVideoWindowControl* theWrappedObject) const{ return (((PythonQtPublicPromoter_QVideoWindowControl*)theWrappedObject)->py_q_aspectRatioMode());} int brightness(QVideoWindowControl* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp similarity index 86% rename from generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp index 8ccc8def..1a9ca308 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp @@ -13,14 +13,14 @@ PythonQt::priv()->registerClass(&QAbstractAudioInput::staticMetaObject, "QtMulti PythonQt::priv()->registerClass(&QAbstractAudioOutput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractVideoBuffer", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractVideoSurface::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudio", "", "QtMultimedia", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QAudioBuffer", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QAudio", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QAudioBuffer", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QAudioDecoder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioDecoderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudioDeviceInfo", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QAudioEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioDeviceInfo", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QAudioEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAudioFormat", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QAudioFormat", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QAudioInput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioInputSelectorControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAudioOutput::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -34,31 +34,36 @@ PythonQt::priv()->registerClass(&QCamera::staticMetaObject, "QtMultimedia", Pyth PythonQt::priv()->registerClass(&QCameraCaptureBufferFormatControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraCaptureDestinationControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCameraExposure::staticMetaObject, "QtMultimedia", PythonQtCreateObject, 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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCameraFocusZone", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraImageCapture::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QCameraImageCapture", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QCameraImageCaptureControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QCameraImageProcessing::staticMetaObject, "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QCameraImageProcessingControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraInfo", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QCameraInfo", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraInfoControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraLocksControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraViewfinder::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QCameraViewfinderSettings", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QCameraViewfinderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraViewfinderSettingsControl2::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QCameraZoomControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QImageEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaAudioProbeControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaAvailabilityControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaBindableInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaContainerControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaContent", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaContent", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaGaplessPlaybackControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaNetworkAccessControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -66,37 +71,40 @@ PythonQt::priv()->registerClass(&QMediaObject::staticMetaObject, "QtMultimedia", 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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaResource", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaService::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceCameraInfoInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceDefaultDeviceInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceProviderFactoryInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaServiceProviderHint", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaServiceProviderHint", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QMediaServiceProviderPlugin::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceSupportedDevicesInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QMediaServiceSupportedFormatsInterface", "", "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMediaStreamsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMediaTimeInterval", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QMediaTimeRange", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); +PythonQt::priv()->registerCPPClass("QMediaTimeInterval", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QMediaTimeRange", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceSubtract|PythonQt::Type_NonZero|PythonQt::Type_RichCompare|PythonQt::Type_Subtract); PythonQt::priv()->registerClass(&QMediaVideoProbeControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMetaDataReaderControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QMetaDataWriterControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QMultimedia", "", "QtMultimedia", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QMultimedia", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QRadioData::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::self()->addParentClass("QRadioData", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QRadioDataControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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, NULL, 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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoEncoderSettings", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoEncoderSettingsControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoFrame", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoFrame", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoProbe::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QVideoRendererControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QVideoSurfaceFormat", "", "QtMultimedia", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QVideoSurfaceFormat", "", "QtMultimedia", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QVideoWidget::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QVideoWidget", "QMediaBindableInterface",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QVideoWidgetControl::staticMetaObject, "QtMultimedia", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network.pri b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network.pri similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network.pri rename to generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network.pri index 71768c91..7d5a6009 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network.pri @@ -1,6 +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.2/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.cpp new file mode 100644 index 00000000..1a8e9077 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.h similarity index 51% rename from generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.h rename to generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.h index 13077900..0ad581f9 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network0.h @@ -1,65 +1,76 @@ #include -#include -#include -#include +#include #include -#include -#include #include #include #include #include +#include +#include +#include +#include +#include #include -#include +#include #include #include #include +#include #include #include +#include #include #include #include #include #include -#include +#include #include -#include -#include +#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(NULL) {}; - - ~PythonQtShell_QAbstractNetworkCache(); - -virtual qint64 cacheSize() const; -virtual void clear(); -virtual QIODevice* data(const QUrl& url); -virtual void insert(QIODevice* device); -virtual QNetworkCacheMetaData metaData(const QUrl& url); -virtual QIODevice* prepare(const QNetworkCacheMetaData& metaData); -virtual bool remove(const QUrl& url); -virtual void updateMetaData(const QNetworkCacheMetaData& metaData); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractNetworkCache(QObject* parent = nullptr):QAbstractNetworkCache(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractNetworkCache() override; + +qint64 cacheSize() const override; +void childEvent(QChildEvent* event) override; +void clear() override; +void customEvent(QEvent* event) override; +QIODevice* data(const QUrl& url) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void insert(QIODevice* device) override; +QNetworkCacheMetaData metaData(const QUrl& url) override; +QIODevice* prepare(const QNetworkCacheMetaData& metaData) override; +bool remove(const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +void updateMetaData(const QNetworkCacheMetaData& metaData) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractNetworkCache : public QAbstractNetworkCache @@ -79,7 +90,7 @@ class PythonQtWrapper_QAbstractNetworkCache : public QObject public: public slots: QAbstractNetworkCache* new_QAbstractNetworkCache(QObject* parent = nullptr); -void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } +void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } qint64 cacheSize(QAbstractNetworkCache* theWrappedObject) const; qint64 py_q_cacheSize(QAbstractNetworkCache* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_cacheSize());} void py_q_clear(QAbstractNetworkCache* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractNetworkCache*)theWrappedObject)->py_q_clear());} @@ -104,41 +115,46 @@ void delete_QAbstractNetworkCache(QAbstractNetworkCache* obj) { delete obj; } class PythonQtShell_QAbstractSocket : public QAbstractSocket { public: - PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QAbstractSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent):QAbstractSocket(socketType, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite) override; +void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) override; +void customEvent(QEvent* event) override; +void disconnectFromHost() override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode mode) override; +qint64 pos() const override; +qint64 readData(char* data, qint64 maxlen) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +void resume() override; +bool seek(qint64 pos) override; +void setReadBufferSize(qint64 size) override; +bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value) override; +qint64 size() const override; +qintptr socketDescriptor() const override; +QVariant socketOption(QAbstractSocket::SocketOption option) override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForConnected(int msecs = 30000) override; +bool waitForDisconnected(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* data, qint64 len) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QAbstractSocket : public QAbstractSocket @@ -190,7 +206,7 @@ Q_DECLARE_FLAGS(BindMode, BindFlag) Q_DECLARE_FLAGS(PauseModes, PauseMode) public slots: QAbstractSocket* new_QAbstractSocket(QAbstractSocket::SocketType socketType, QObject* parent); -void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } +void delete_QAbstractSocket(QAbstractSocket* obj) { delete obj; } void abort(QAbstractSocket* theWrappedObject); bool py_q_atEnd(QAbstractSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->py_q_atEnd());} bool bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform); @@ -264,7 +280,7 @@ class PythonQtWrapper_QAuthenticator : public QObject public slots: QAuthenticator* new_QAuthenticator(); QAuthenticator* new_QAuthenticator(const QAuthenticator& other); -void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } +void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } bool isNull(QAuthenticator* theWrappedObject) const; bool __ne__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; bool __eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const; @@ -284,19 +300,60 @@ void delete_QAuthenticator(QAuthenticator* obj) { delete obj; } +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(NULL) {}; - PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr):QDnsLookup(type, name, nameserver, parent),_wrapper(NULL) {}; - PythonQtShell_QDnsLookup(QObject* parent = nullptr):QDnsLookup(parent),_wrapper(NULL) {}; + PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr):QDnsLookup(type, name, parent),_wrapper(nullptr) {}; + PythonQtShell_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr):QDnsLookup(type, name, nameserver, parent),_wrapper(nullptr) {}; + PythonQtShell_QDnsLookup(QObject* parent = nullptr):QDnsLookup(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QDnsLookup(); + ~PythonQtShell_QDnsLookup() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QDnsLookup : public QObject @@ -306,7 +363,7 @@ public slots: QDnsLookup* new_QDnsLookup(QDnsLookup::Type type, const QString& name, QObject* parent = nullptr); QDnsLookup* new_QDnsLookup(QDnsLookup::Type type, const QString& name, const QHostAddress& nameserver, QObject* parent = nullptr); QDnsLookup* new_QDnsLookup(QObject* parent = nullptr); -void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } +void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } QList canonicalNameRecords(QDnsLookup* theWrappedObject) const; QDnsLookup::Error error(QDnsLookup* theWrappedObject) const; QString errorString(QDnsLookup* theWrappedObject) const; @@ -329,6 +386,250 @@ void delete_QDnsLookup(QDnsLookup* obj) { delete obj; } +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: @@ -338,7 +639,23 @@ enum HostInfoError{ public slots: QHostInfo* new_QHostInfo(const QHostInfo& d); QHostInfo* new_QHostInfo(int lookupId = -1); -void delete_QHostInfo(QHostInfo* obj) { delete obj; } +void delete_QHostInfo(QHostInfo* obj) { delete obj; } + void static_QHostInfo_abortHostLookup(int lookupId); + QList addresses(QHostInfo* theWrappedObject) const; + QHostInfo::HostInfoError error(QHostInfo* theWrappedObject) const; + 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); }; @@ -354,15 +671,64 @@ enum PolicyFlag{ public slots: QHstsPolicy* new_QHstsPolicy(); QHstsPolicy* new_QHstsPolicy(const QHstsPolicy& rhs); -void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } +void delete_QHstsPolicy(QHstsPolicy* obj) { delete obj; } + QDateTime expiry(QHstsPolicy* theWrappedObject) const; + QString host(QHstsPolicy* theWrappedObject, QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const; + bool includesSubDomains(QHstsPolicy* theWrappedObject) const; + bool isExpired(QHstsPolicy* theWrappedObject) const; + bool __ne__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); QHstsPolicy* operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); bool __eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs); + void setExpiry(QHstsPolicy* theWrappedObject, const QDateTime& expiry); + 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: @@ -370,7 +736,9 @@ Q_ENUMS(ContentType ) enum ContentType{ MixedType = QHttpMultiPart::MixedType, RelatedType = QHttpMultiPart::RelatedType, FormDataType = QHttpMultiPart::FormDataType, AlternativeType = QHttpMultiPart::AlternativeType}; public slots: -void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } +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); @@ -381,15 +749,36 @@ void delete_QHttpMultiPart(QHttpMultiPart* obj) { delete obj; } +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(NULL) {}; + PythonQtShell_QIPv6Address():QIPv6Address(),_wrapper(nullptr) {}; ~PythonQtShell_QIPv6Address(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QIPv6Address : public QObject @@ -401,7 +790,7 @@ QIPv6Address* new_QIPv6Address(const QIPv6Address& other) { PythonQtShell_QIPv6Address* a = new PythonQtShell_QIPv6Address(); *((QIPv6Address*)a) = other; return a; } -void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } +void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } }; @@ -411,17 +800,22 @@ void delete_QIPv6Address(QIPv6Address* obj) { delete obj; } class PythonQtShell_QLocalServer : public QLocalServer { public: - PythonQtShell_QLocalServer(QObject* parent = nullptr):QLocalServer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLocalServer(); - -virtual bool hasPendingConnections() const; -virtual void incomingConnection(quintptr socketDescriptor); -virtual QLocalSocket* nextPendingConnection(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLocalServer(QObject* parent = nullptr):QLocalServer(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLocalServer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool hasPendingConnections() const override; +void incomingConnection(quintptr socketDescriptor) override; +QLocalSocket* nextPendingConnection() override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalServer : public QLocalServer @@ -442,7 +836,7 @@ enum SocketOption{ Q_DECLARE_FLAGS(SocketOptions, SocketOption) public slots: QLocalServer* new_QLocalServer(QObject* parent = nullptr); -void delete_QLocalServer(QLocalServer* obj) { delete obj; } +void delete_QLocalServer(QLocalServer* obj) { delete obj; } void close(QLocalServer* theWrappedObject); QString errorString(QLocalServer* theWrappedObject) const; QString fullServerName(QLocalServer* theWrappedObject) const; @@ -473,30 +867,35 @@ void delete_QLocalServer(QLocalServer* obj) { delete obj; } class PythonQtShell_QLocalSocket : public QLocalSocket { public: - PythonQtShell_QLocalSocket(QObject* parent = nullptr):QLocalSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLocalSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual qint64 pos() const; -virtual qint64 readData(char* arg__1, qint64 arg__2); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* arg__1, qint64 arg__2); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QLocalSocket(QObject* parent = nullptr):QLocalSocket(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QLocalSocket() override; + +bool atEnd() const override; +qint64 bytesAvailable() const override; +qint64 bytesToWrite() const override; +bool canReadLine() const override; +void childEvent(QChildEvent* event) override; +void close() override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool isSequential() const override; +bool open(QIODevice::OpenMode openMode = QIODevice::ReadWrite) override; +qint64 pos() const override; +qint64 readData(char* arg__1, qint64 arg__2) override; +qint64 readLineData(char* data, qint64 maxlen) override; +bool reset() override; +bool seek(qint64 pos) override; +qint64 size() const override; +void timerEvent(QTimerEvent* event) override; +bool waitForBytesWritten(int msecs = 30000) override; +bool waitForReadyRead(int msecs = 30000) override; +qint64 writeData(const char* arg__1, qint64 arg__2) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket @@ -525,7 +924,7 @@ enum LocalSocketState{ UnconnectedState = QLocalSocket::UnconnectedState, ConnectingState = QLocalSocket::ConnectingState, ConnectedState = QLocalSocket::ConnectedState, ClosingState = QLocalSocket::ClosingState}; public slots: QLocalSocket* new_QLocalSocket(QObject* parent = nullptr); -void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } +void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } void abort(QLocalSocket* theWrappedObject); qint64 py_q_bytesAvailable(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_bytesAvailable());} qint64 py_q_bytesToWrite(QLocalSocket* theWrappedObject) const{ return (((PythonQtPublicPromoter_QLocalSocket*)theWrappedObject)->py_q_bytesToWrite());} @@ -563,15 +962,20 @@ void delete_QLocalSocket(QLocalSocket* obj) { delete obj; } class PythonQtShell_QNetworkAccessManager : public QNetworkAccessManager { public: - PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(NULL) {}; + PythonQtShell_QNetworkAccessManager(QObject* parent = nullptr):QNetworkAccessManager(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkAccessManager(); + ~PythonQtShell_QNetworkAccessManager() override; -virtual QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr); +void childEvent(QChildEvent* event) override; +QNetworkReply* createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData = nullptr) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkAccessManager : public QNetworkAccessManager @@ -589,7 +993,7 @@ enum Operation{ HeadOperation = QNetworkAccessManager::HeadOperation, GetOperation = QNetworkAccessManager::GetOperation, PutOperation = QNetworkAccessManager::PutOperation, PostOperation = QNetworkAccessManager::PostOperation, DeleteOperation = QNetworkAccessManager::DeleteOperation, CustomOperation = QNetworkAccessManager::CustomOperation, UnknownOperation = QNetworkAccessManager::UnknownOperation}; public slots: QNetworkAccessManager* new_QNetworkAccessManager(QObject* parent = nullptr); -void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } +void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } QNetworkConfiguration activeConfiguration(QNetworkAccessManager* theWrappedObject) const; void addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts); bool autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const; @@ -641,17 +1045,132 @@ void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; } +class PythonQtWrapper_QNetworkAddressEntry : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DnsEligibilityStatus ) +enum DnsEligibilityStatus{ + DnsEligibilityUnknown = QNetworkAddressEntry::DnsEligibilityUnknown, DnsIneligible = QNetworkAddressEntry::DnsIneligible, DnsEligible = QNetworkAddressEntry::DnsEligible}; +public slots: +QNetworkAddressEntry* new_QNetworkAddressEntry(); +QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); +void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } + QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; + void clearAddressLifetime(QNetworkAddressEntry* theWrappedObject); + QNetworkAddressEntry::DnsEligibilityStatus dnsEligibility(QNetworkAddressEntry* theWrappedObject) const; + QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; + bool isLifetimeKnown(QNetworkAddressEntry* theWrappedObject) const; + bool isPermanent(QNetworkAddressEntry* theWrappedObject) const; + 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(NULL) {}; + PythonQtShell_QNetworkConfigurationManager(QObject* parent = nullptr):QNetworkConfigurationManager(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QNetworkConfigurationManager(); + ~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; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QNetworkConfigurationManager : public QObject @@ -664,7 +1183,7 @@ enum Capability{ Q_DECLARE_FLAGS(Capabilities, Capability) public slots: QNetworkConfigurationManager* new_QNetworkConfigurationManager(QObject* parent = nullptr); -void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { delete obj; } +void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { delete obj; } QList allConfigurations(QNetworkConfigurationManager* theWrappedObject, QNetworkConfiguration::StateFlags flags = QNetworkConfiguration::StateFlags()) const; QNetworkConfigurationManager::Capabilities capabilities(QNetworkConfigurationManager* theWrappedObject) const; QNetworkConfiguration configurationFromIdentifier(QNetworkConfigurationManager* theWrappedObject, const QString& identifier) const; @@ -676,23 +1195,67 @@ void delete_QNetworkConfigurationManager(QNetworkConfigurationManager* obj) { de -class PythonQtShell_QNetworkCookieJar : public QNetworkCookieJar -{ +class PythonQtWrapper_QNetworkCookie : public QObject +{ Q_OBJECT public: - PythonQtShell_QNetworkCookieJar(QObject* parent = nullptr):QNetworkCookieJar(parent),_wrapper(NULL) {}; +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*); +}; + + - ~PythonQtShell_QNetworkCookieJar(); -virtual QList cookiesForUrl(const QUrl& url) const; -virtual bool deleteCookie(const QNetworkCookie& cookie); -virtual bool insertCookie(const QNetworkCookie& cookie); -virtual bool setCookiesFromUrl(const QList& cookieList, const QUrl& url); -virtual bool updateCookie(const QNetworkCookie& cookie); -virtual bool validateCookie(const QNetworkCookie& cookie, const QUrl& url) const; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; +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 @@ -713,7 +1276,7 @@ class PythonQtWrapper_QNetworkCookieJar : public QObject public: public slots: QNetworkCookieJar* new_QNetworkCookieJar(QObject* parent = nullptr); -void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } +void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } QList allCookies(QNetworkCookieJar* theWrappedObject) const; QList cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const; QList py_q_cookiesForUrl(QNetworkCookieJar* theWrappedObject, const QUrl& url) const{ return (((PythonQtPublicPromoter_QNetworkCookieJar*)theWrappedObject)->py_q_cookiesForUrl(url));} @@ -734,26 +1297,64 @@ void delete_QNetworkCookieJar(QNetworkCookieJar* obj) { delete obj; } +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(NULL) {}; - - ~PythonQtShell_QNetworkDiskCache(); - -virtual qint64 cacheSize() const; -virtual void clear(); -virtual QIODevice* data(const QUrl& url); -virtual qint64 expire(); -virtual void insert(QIODevice* device); -virtual QNetworkCacheMetaData metaData(const QUrl& url); -virtual QIODevice* prepare(const QNetworkCacheMetaData& metaData); -virtual bool remove(const QUrl& url); -virtual void updateMetaData(const QNetworkCacheMetaData& metaData); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QNetworkDiskCache(QObject* parent = nullptr):QNetworkDiskCache(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QNetworkDiskCache() override; + +qint64 cacheSize() const override; +void childEvent(QChildEvent* event) override; +void clear() override; +void customEvent(QEvent* event) override; +QIODevice* data(const QUrl& url) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +qint64 expire() override; +void insert(QIODevice* device) override; +QNetworkCacheMetaData metaData(const QUrl& url) override; +QIODevice* prepare(const QNetworkCacheMetaData& metaData) override; +bool remove(const QUrl& url) override; +void timerEvent(QTimerEvent* event) override; +void updateMetaData(const QNetworkCacheMetaData& metaData) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QNetworkDiskCache : public QNetworkDiskCache @@ -775,7 +1376,7 @@ class PythonQtWrapper_QNetworkDiskCache : public QObject public: public slots: QNetworkDiskCache* new_QNetworkDiskCache(QObject* parent = nullptr); -void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } +void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } QString cacheDirectory(QNetworkDiskCache* theWrappedObject) const; qint64 py_q_cacheSize(QNetworkDiskCache* theWrappedObject) const{ return (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_cacheSize());} void py_q_clear(QNetworkDiskCache* theWrappedObject){ (((PythonQtPublicPromoter_QNetworkDiskCache*)theWrappedObject)->py_q_clear());} @@ -794,557 +1395,3 @@ void delete_QNetworkDiskCache(QNetworkDiskCache* obj) { delete obj; } }; - - - -class PythonQtShell_QNetworkReply : public QNetworkReply -{ -public: - PythonQtShell_QNetworkReply(QObject* parent = nullptr):QNetworkReply(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkReply(); - -virtual void abort(); -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void ignoreSslErrors(); -virtual void ignoreSslErrorsImplementation(const QList& arg__1); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual void setSslConfigurationImplementation(const QSslConfiguration& arg__1); -virtual qint64 size() const; -virtual void sslConfigurationImplementation(QSslConfiguration& arg__1) const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 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); - 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 PythonQtShell_QNetworkSession : public QNetworkSession -{ -public: - PythonQtShell_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent = nullptr):QNetworkSession(connConfig, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QNetworkSession(); - -virtual void connectNotify(const QMetaMethod& signal); -virtual void disconnectNotify(const QMetaMethod& signal); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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); -}; - - - - - -#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_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; } - QString py_toString(QSslError*); -}; - -#endif - - - - - -#ifndef QT_NO_SSL -class PythonQtShell_QSslSocket : public QSslSocket -{ -public: - PythonQtShell_QSslSocket(QObject* parent = nullptr):QSslSocket(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSslSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode openMode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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; - 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(NULL) {}; - - ~PythonQtShell_QTcpServer(); - -virtual bool hasPendingConnections() const; -virtual void incomingConnection(qintptr handle); -virtual QTcpSocket* nextPendingConnection(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QTcpSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~PythonQtShell_QUdpSocket(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectToHost(const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite); -virtual void connectToHost(const QString& hostName, unsigned short port, QIODevice::OpenMode mode = QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); -virtual void disconnectFromHost(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual void resume(); -virtual bool seek(qint64 pos); -virtual void setReadBufferSize(qint64 size); -virtual bool setSocketDescriptor(qintptr socketDescriptor, QAbstractSocket::SocketState state = QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite); -virtual void setSocketOption(QAbstractSocket::SocketOption option, const QVariant& value); -virtual qint64 size() const; -virtual qintptr socketDescriptor() const; -virtual QVariant socketOption(QAbstractSocket::SocketOption option); -virtual bool waitForBytesWritten(int msecs = 30000); -virtual bool waitForConnected(int msecs = 30000); -virtual bool waitForDisconnected(int msecs = 30000); -virtual bool waitForReadyRead(int msecs = 30000); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(); } -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp similarity index 56% rename from generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp index 0faa94d4..7ebb8f39 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.cpp @@ -1,452 +1,315 @@ -#include "com_trolltech_qt_network0.h" +#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 #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); } +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()); } -qint64 PythonQtShell_QAbstractNetworkCache::cacheSize() const + +QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses() { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("cacheSize", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QNetworkInterface::allAddresses()); } - return qint64(); + +QList PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces() +{ + return (QNetworkInterface::allInterfaces()); } -void PythonQtShell_QAbstractNetworkCache::clear() + +QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->flags()); } - + +QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->hardwareAddress()); } -QIODevice* PythonQtShell_QAbstractNetworkCache::data(const QUrl& url0) + +QString PythonQtWrapper_QNetworkInterface::humanReadableName(QNetworkInterface* theWrappedObject) 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[] ={"QIODevice*" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QIODevice* returnValue{}; - void* args[2] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QIODevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->humanReadableName()); } - return 0; + +int PythonQtWrapper_QNetworkInterface::index(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->index()); } -void PythonQtShell_QAbstractNetworkCache::insert(QIODevice* device0) + +QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index) { -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] = {NULL, (void*)&device0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QNetworkInterface::interfaceFromIndex(index)); } - + +QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name) +{ + return (QNetworkInterface::interfaceFromName(name)); } -QNetworkCacheMetaData PythonQtShell_QAbstractNetworkCache::metaData(const QUrl& url0) + +int PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceIndexFromName(const QString& name) { -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] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metaData", methodInfo, result); - } else { - returnValue = *((QNetworkCacheMetaData*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QNetworkInterface::interfaceIndexFromName(name)); } - return QNetworkCacheMetaData(); + +QString PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceNameFromIndex(int index) +{ + return (QNetworkInterface::interfaceNameFromIndex(index)); } -QIODevice* PythonQtShell_QAbstractNetworkCache::prepare(const QNetworkCacheMetaData& metaData0) + +bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const { -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] = {NULL, (void*)&metaData0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); - } else { - returnValue = *((QIODevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - return 0; + +int PythonQtWrapper_QNetworkInterface::maximumTransmissionUnit(QNetworkInterface* theWrappedObject) const +{ + return ( theWrappedObject->maximumTransmissionUnit()); } -bool PythonQtShell_QAbstractNetworkCache::remove(const QUrl& url0) + +QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const { -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] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("remove", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->name()); } - return bool(); + +void PythonQtWrapper_QNetworkInterface::swap(QNetworkInterface* theWrappedObject, QNetworkInterface& other) +{ + ( theWrappedObject->swap(other)); } -void PythonQtShell_QAbstractNetworkCache::updateMetaData(const QNetworkCacheMetaData& metaData0) + +QNetworkInterface::InterfaceType PythonQtWrapper_QNetworkInterface::type(QNetworkInterface* theWrappedObject) const { -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] = {NULL, (void*)&metaData0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->type()); } - + +QString PythonQtWrapper_QNetworkInterface::py_toString(QNetworkInterface* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QAbstractNetworkCache* PythonQtWrapper_QAbstractNetworkCache::new_QAbstractNetworkCache(QObject* parent) + + + +QNetworkProxy* PythonQtWrapper_QNetworkProxy::new_QNetworkProxy() { -return new PythonQtShell_QAbstractNetworkCache(parent); } +return new QNetworkProxy(); } -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; - } +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()); } -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; + +QNetworkProxy::Capabilities PythonQtWrapper_QNetworkProxy::capabilities(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); } -qint64 PythonQtWrapper_QAbstractNetworkCache::cacheSize(QAbstractNetworkCache* theWrappedObject) const + +bool PythonQtWrapper_QNetworkProxy::hasRawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const { - return ( theWrappedObject->cacheSize()); + return ( theWrappedObject->hasRawHeader(headerName)); } -QIODevice* PythonQtWrapper_QAbstractNetworkCache::data(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +QVariant PythonQtWrapper_QNetworkProxy::header(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header) const { - return ( theWrappedObject->data(url)); + return ( theWrappedObject->header(header)); } -void PythonQtWrapper_QAbstractNetworkCache::insert(QAbstractNetworkCache* theWrappedObject, QIODevice* device) +QString PythonQtWrapper_QNetworkProxy::hostName(QNetworkProxy* theWrappedObject) const { - ( theWrappedObject->insert(device)); + return ( theWrappedObject->hostName()); } -QNetworkCacheMetaData PythonQtWrapper_QAbstractNetworkCache::metaData(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +bool PythonQtWrapper_QNetworkProxy::isCachingProxy(QNetworkProxy* theWrappedObject) const { - return ( theWrappedObject->metaData(url)); + return ( theWrappedObject->isCachingProxy()); } -QIODevice* PythonQtWrapper_QAbstractNetworkCache::prepare(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +bool PythonQtWrapper_QNetworkProxy::isTransparentProxy(QNetworkProxy* theWrappedObject) const { - return ( theWrappedObject->prepare(metaData)); + return ( theWrappedObject->isTransparentProxy()); } -bool PythonQtWrapper_QAbstractNetworkCache::remove(QAbstractNetworkCache* theWrappedObject, const QUrl& url) +bool PythonQtWrapper_QNetworkProxy::__ne__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const { - return ( theWrappedObject->remove(url)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QAbstractNetworkCache::updateMetaData(QAbstractNetworkCache* theWrappedObject, const QNetworkCacheMetaData& metaData) +bool PythonQtWrapper_QNetworkProxy::__eq__(QNetworkProxy* theWrappedObject, const QNetworkProxy& other) const { - ( theWrappedObject->updateMetaData(metaData)); + return ( (*theWrappedObject)== other); } +QString PythonQtWrapper_QNetworkProxy::password(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->password()); +} +unsigned short PythonQtWrapper_QNetworkProxy::port(QNetworkProxy* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} -PythonQtShell_QAbstractSocket::~PythonQtShell_QAbstractSocket() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QByteArray PythonQtWrapper_QNetworkProxy::rawHeader(QNetworkProxy* theWrappedObject, const QByteArray& headerName) const +{ + return ( theWrappedObject->rawHeader(headerName)); } -bool PythonQtShell_QAbstractSocket::atEnd() const + +QList PythonQtWrapper_QNetworkProxy::rawHeaderList(QNetworkProxy* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rawHeaderList()); } - return QAbstractSocket::atEnd(); + +void PythonQtWrapper_QNetworkProxy::static_QNetworkProxy_setApplicationProxy(const QNetworkProxy& proxy) +{ + (QNetworkProxy::setApplicationProxy(proxy)); } -qint64 PythonQtShell_QAbstractSocket::bytesAvailable() const + +void PythonQtWrapper_QNetworkProxy::setCapabilities(QNetworkProxy* theWrappedObject, QNetworkProxy::Capabilities capab) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCapabilities(capab)); } - return QAbstractSocket::bytesAvailable(); + +void PythonQtWrapper_QNetworkProxy::setHeader(QNetworkProxy* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +{ + ( theWrappedObject->setHeader(header, value)); } -qint64 PythonQtShell_QAbstractSocket::bytesToWrite() const + +void PythonQtWrapper_QNetworkProxy::setHostName(QNetworkProxy* theWrappedObject, const QString& hostName) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( 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; } - return QAbstractSocket::bytesToWrite(); + + + +PythonQtShell_QNetworkProxyFactory::~PythonQtShell_QNetworkProxyFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QAbstractSocket::canReadLine() const +QList PythonQtShell_QNetworkProxyFactory::queryProxy(const QNetworkProxyQuery& query0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("canReadLine"); + static PyObject* name = PyString_FromString("queryProxy"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("queryProxy", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -454,87 +317,187 @@ if (_wrapper) { } } } - return QAbstractSocket::canReadLine(); + return QList(); } -void PythonQtShell_QAbstractSocket::close() +QNetworkProxyFactory* PythonQtWrapper_QNetworkProxyFactory::new_QNetworkProxyFactory() +{ +return new PythonQtShell_QNetworkProxyFactory(); } + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_proxyForQuery(const QNetworkProxyQuery& query) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QNetworkProxyFactory::proxyForQuery(query)); } - QAbstractSocket::close(); + +QList PythonQtWrapper_QNetworkProxyFactory::queryProxy(QNetworkProxyFactory* theWrappedObject, const QNetworkProxyQuery& query) +{ + return ( theWrappedObject->queryProxy(query)); } -void PythonQtShell_QAbstractSocket::connectToHost(const QHostAddress& address0, unsigned short port1, QIODevice::OpenMode mode2) + +void PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactory* factory) { -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] = {NULL, (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(); - } - } + (QNetworkProxyFactory::setApplicationProxyFactory(factory)); } - QAbstractSocket::connectToHost(address0, port1, mode2); + +void PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_setUseSystemConfiguration(bool enable) +{ + (QNetworkProxyFactory::setUseSystemConfiguration(enable)); } -void PythonQtShell_QAbstractSocket::connectToHost(const QString& hostName0, unsigned short port1, QIODevice::OpenMode mode2, QAbstractSocket::NetworkLayerProtocol protocol3) + +QList PythonQtWrapper_QNetworkProxyFactory::static_QNetworkProxyFactory_systemProxyForQuery(const QNetworkProxyQuery& query) { -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] = {NULL, (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(); - } - } + 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)); } - QAbstractSocket::connectToHost(hostName0, port1, mode2, protocol3); + +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_QAbstractSocket::disconnectFromHost() +void PythonQtShell_QNetworkReply::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("disconnectFromHost"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -542,32 +505,32 @@ if (_wrapper) { } } } - QAbstractSocket::disconnectFromHost(); + } -bool PythonQtShell_QAbstractSocket::isSequential() const +bool PythonQtShell_QNetworkReply::atEnd() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("isSequential"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -575,32 +538,32 @@ if (_wrapper) { } } } - return QAbstractSocket::isSequential(); + return QNetworkReply::atEnd(); } -bool PythonQtShell_QAbstractSocket::open(QIODevice::OpenMode mode0) +qint64 PythonQtShell_QNetworkReply::bytesAvailable() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("open"); + static PyObject* name = PyString_FromString("bytesAvailable"); 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] = {NULL, (void*)&mode0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -608,32 +571,32 @@ if (_wrapper) { } } } - return QAbstractSocket::open(mode0); + return QNetworkReply::bytesAvailable(); } -qint64 PythonQtShell_QAbstractSocket::pos() const +qint64 PythonQtShell_QNetworkReply::bytesToWrite() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("pos"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -641,32 +604,32 @@ if (_wrapper) { } } } - return QAbstractSocket::pos(); + return QNetworkReply::bytesToWrite(); } -qint64 PythonQtShell_QAbstractSocket::readData(char* data0, qint64 maxlen1) +bool PythonQtShell_QNetworkReply::canReadLine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readData"); + static PyObject* name = PyString_FromString("canReadLine"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { - returnValue = *((qint64*)args[0]); + returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -674,87 +637,65 @@ if (_wrapper) { } } } - return QAbstractSocket::readData(data0, maxlen1); + return QNetworkReply::canReadLine(); } -qint64 PythonQtShell_QAbstractSocket::readLineData(char* data0, qint64 maxlen1) +void PythonQtShell_QNetworkReply::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("readLineData"); + static PyObject* name = PyString_FromString("childEvent"); 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] = {NULL, (void*)&data0, (void*)&maxlen1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::readLineData(data0, maxlen1); + QNetworkReply::childEvent(event0); } -bool PythonQtShell_QAbstractSocket::reset() +void PythonQtShell_QNetworkReply::close() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("reset"); + static PyObject* name = PyString_FromString("close"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::reset(); + QNetworkReply::close(); } -void PythonQtShell_QAbstractSocket::resume() +void PythonQtShell_QNetworkReply::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("resume"); + static PyObject* name = PyString_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -762,32 +703,32 @@ if (_wrapper) { } } } - QAbstractSocket::resume(); + QNetworkReply::customEvent(event0); } -bool PythonQtShell_QAbstractSocket::seek(qint64 pos0) +bool PythonQtShell_QNetworkReply::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("seek"); + static PyObject* name = PyString_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "qint64"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -795,21 +736,76 @@ if (_wrapper) { } } } - return QAbstractSocket::seek(pos0); + return QNetworkReply::event(event0); } -void PythonQtShell_QAbstractSocket::setReadBufferSize(qint64 size0) +bool PythonQtShell_QNetworkReply::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setReadBufferSize"); + static PyObject* name = PyString_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "qint64"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::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] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -817,32 +813,32 @@ if (_wrapper) { } } } - QAbstractSocket::setReadBufferSize(size0); + QNetworkReply::ignoreSslErrorsImplementation(arg__1); } -bool PythonQtShell_QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor0, QAbstractSocket::SocketState state1, QIODevice::OpenMode openMode2) +bool PythonQtShell_QNetworkReply::isSequential() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSocketDescriptor"); + static PyObject* name = PyString_FromString("isSequential"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -850,54 +846,65 @@ if (_wrapper) { } } } - return QAbstractSocket::setSocketDescriptor(socketDescriptor0, state1, openMode2); + return QNetworkReply::isSequential(); } -void PythonQtShell_QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option0, const QVariant& value1) +bool PythonQtShell_QNetworkReply::open(QIODevice::OpenMode mode0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("setSocketOption"); + static PyObject* name = PyString_FromString("open"); 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] = {NULL, (void*)&option0, (void*)&value1}; + 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) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QAbstractSocket::setSocketOption(option0, value1); + return QNetworkReply::open(mode0); } -qint64 PythonQtShell_QAbstractSocket::size() const +qint64 PythonQtShell_QNetworkReply::pos() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("size"); + 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] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -905,32 +912,32 @@ if (_wrapper) { } } } - return QAbstractSocket::size(); + return QNetworkReply::pos(); } -qintptr PythonQtShell_QAbstractSocket::socketDescriptor() const +qint64 PythonQtShell_QNetworkReply::readData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("socketDescriptor"); + static PyObject* name = PyString_FromString("readData"); 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] = {NULL}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { - returnValue = *((qintptr*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -938,32 +945,32 @@ if (_wrapper) { } } } - return QAbstractSocket::socketDescriptor(); + return qint64(); } -QVariant PythonQtShell_QAbstractSocket::socketOption(QAbstractSocket::SocketOption option0) +qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("socketOption"); + static PyObject* name = PyString_FromString("readLineData"); 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] = {NULL, (void*)&option0}; + 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, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -971,32 +978,32 @@ if (_wrapper) { } } } - return QAbstractSocket::socketOption(option0); + return QNetworkReply::readLineData(data0, maxlen1); } -bool PythonQtShell_QAbstractSocket::waitForBytesWritten(int msecs0) +bool PythonQtShell_QNetworkReply::reset() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForBytesWritten"); + static PyObject* name = PyString_FromString("reset"); 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); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1004,32 +1011,32 @@ if (_wrapper) { } } } - return QAbstractSocket::waitForBytesWritten(msecs0); + return QNetworkReply::reset(); } -bool PythonQtShell_QAbstractSocket::waitForConnected(int msecs0) +bool PythonQtShell_QNetworkReply::seek(qint64 pos0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForConnected"); + static PyObject* name = PyString_FromString("seek"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1037,98 +1044,76 @@ if (_wrapper) { } } } - return QAbstractSocket::waitForConnected(msecs0); + return QNetworkReply::seek(pos0); } -bool PythonQtShell_QAbstractSocket::waitForDisconnected(int msecs0) +void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForDisconnected"); + static PyObject* name = PyString_FromString("setReadBufferSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::waitForDisconnected(msecs0); + QNetworkReply::setReadBufferSize(size0); } -bool PythonQtShell_QAbstractSocket::waitForReadyRead(int msecs0) +void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("waitForReadyRead"); + static PyObject* name = PyString_FromString("setSslConfigurationImplementation"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "int"}; + static const char* argumentList[] ={"" , "const QSslConfiguration&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QAbstractSocket::waitForReadyRead(msecs0); + QNetworkReply::setSslConfigurationImplementation(arg__1); } -qint64 PythonQtShell_QAbstractSocket::writeData(const char* data0, qint64 len1) +qint64 PythonQtShell_QNetworkReply::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("writeData"); + static PyObject* name = PyString_FromString("size"); 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); + static const char* argumentList[] ={"qint64"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1136,488 +1121,575 @@ if (_wrapper) { } } } - return QAbstractSocket::writeData(data0, len1); + return QNetworkReply::size(); } -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; +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(); + } } } -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()); + QNetworkReply::sslConfigurationImplementation(arg__1); } - -bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QAbstractSocket::BindMode mode) +void PythonQtShell_QNetworkReply::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->bind(address, port, mode)); -} - -bool PythonQtWrapper_QAbstractSocket::bind(QAbstractSocket* theWrappedObject, unsigned short port, QAbstractSocket::BindMode mode) -{ - return ( theWrappedObject->bind(port, mode)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QIODevice::OpenMode mode) -{ - ( theWrappedObject->connectToHost(address, port, mode)); + QNetworkReply::timerEvent(event0); } - -void PythonQtWrapper_QAbstractSocket::connectToHost(QAbstractSocket* theWrappedObject, const QString& hostName, unsigned short port, QIODevice::OpenMode mode, QAbstractSocket::NetworkLayerProtocol protocol) +bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) { - ( theWrappedObject->connectToHost(hostName, port, mode, protocol)); +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(); + } + } } - -void PythonQtWrapper_QAbstractSocket::disconnectFromHost(QAbstractSocket* theWrappedObject) -{ - ( theWrappedObject->disconnectFromHost()); + return QNetworkReply::waitForBytesWritten(msecs0); } - -QAbstractSocket::SocketError PythonQtWrapper_QAbstractSocket::error(QAbstractSocket* theWrappedObject) const +bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) { - return ( theWrappedObject->error()); +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(); + } + } } - -bool PythonQtWrapper_QAbstractSocket::flush(QAbstractSocket* theWrappedObject) -{ - return ( theWrappedObject->flush()); + return QNetworkReply::waitForReadyRead(msecs0); } - -bool PythonQtWrapper_QAbstractSocket::isValid(QAbstractSocket* theWrappedObject) const +qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) { - return ( theWrappedObject->isValid()); +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(); + } + } } - -QHostAddress PythonQtWrapper_QAbstractSocket::localAddress(QAbstractSocket* theWrappedObject) const -{ - return ( theWrappedObject->localAddress()); + return QNetworkReply::writeData(data0, len1); } +QNetworkReply* PythonQtWrapper_QNetworkReply::new_QNetworkReply(QObject* parent) +{ +return new PythonQtShell_QNetworkReply(parent); } -unsigned short PythonQtWrapper_QAbstractSocket::localPort(QAbstractSocket* theWrappedObject) const +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->localPort()); + return ( theWrappedObject->attribute(code)); } -QAbstractSocket::PauseModes PythonQtWrapper_QAbstractSocket::pauseMode(QAbstractSocket* theWrappedObject) const +QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->pauseMode()); + return ( theWrappedObject->error()); } -QHostAddress PythonQtWrapper_QAbstractSocket::peerAddress(QAbstractSocket* theWrappedObject) const +bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const { - return ( theWrappedObject->peerAddress()); + return ( theWrappedObject->hasRawHeader(headerName)); } -QString PythonQtWrapper_QAbstractSocket::peerName(QAbstractSocket* theWrappedObject) const +QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const { - return ( theWrappedObject->peerName()); + return ( theWrappedObject->header(header)); } -unsigned short PythonQtWrapper_QAbstractSocket::peerPort(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1) { - return ( theWrappedObject->peerPort()); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_ignoreSslErrorsImplementation(arg__1)); } -QString PythonQtWrapper_QAbstractSocket::protocolTag(QAbstractSocket* theWrappedObject) const +bool PythonQtWrapper_QNetworkReply::isFinished(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->protocolTag()); + return ( theWrappedObject->isFinished()); } -QNetworkProxy PythonQtWrapper_QAbstractSocket::proxy(QAbstractSocket* theWrappedObject) const +bool PythonQtWrapper_QNetworkReply::isRunning(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->proxy()); + return ( theWrappedObject->isRunning()); } -qint64 PythonQtWrapper_QAbstractSocket::readBufferSize(QAbstractSocket* theWrappedObject) const +QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->readBufferSize()); + return ( theWrappedObject->manager()); } -void PythonQtWrapper_QAbstractSocket::resume(QAbstractSocket* theWrappedObject) +QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const { - ( theWrappedObject->resume()); + return ( theWrappedObject->operation()); } -void PythonQtWrapper_QAbstractSocket::setLocalAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalAddress(address)); + return ( theWrappedObject->rawHeader(headerName)); } -void PythonQtWrapper_QAbstractSocket::setLocalPort(QAbstractSocket* theWrappedObject, unsigned short port) +QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setLocalPort(port)); + return ( theWrappedObject->rawHeaderList()); } -void PythonQtWrapper_QAbstractSocket::setPauseMode(QAbstractSocket* theWrappedObject, QAbstractSocket::PauseModes pauseMode) +const QList >* PythonQtWrapper_QNetworkReply::rawHeaderPairs(QNetworkReply* theWrappedObject) const { - ( theWrappedObject->setPauseMode(pauseMode)); + return &( theWrappedObject->rawHeaderPairs()); } -void PythonQtWrapper_QAbstractSocket::setPeerAddress(QAbstractSocket* theWrappedObject, const QHostAddress& address) +qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerAddress(address)); + return ( theWrappedObject->readBufferSize()); } -void PythonQtWrapper_QAbstractSocket::setPeerName(QAbstractSocket* theWrappedObject, const QString& name) +QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerName(name)); + return ( theWrappedObject->request()); } -void PythonQtWrapper_QAbstractSocket::setPeerPort(QAbstractSocket* theWrappedObject, unsigned short port) +void PythonQtWrapper_QNetworkReply::setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setPeerPort(port)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setAttribute(code, value)); } -void PythonQtWrapper_QAbstractSocket::setProtocolTag(QAbstractSocket* theWrappedObject, const QString& tag) +void PythonQtWrapper_QNetworkReply::setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString) { - ( theWrappedObject->setProtocolTag(tag)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setError(errorCode, errorString)); } -void PythonQtWrapper_QAbstractSocket::setProxy(QAbstractSocket* theWrappedObject, const QNetworkProxy& networkProxy) +void PythonQtWrapper_QNetworkReply::setFinished(QNetworkReply* theWrappedObject, bool arg__1) { - ( theWrappedObject->setProxy(networkProxy)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setFinished(arg__1)); } -void PythonQtWrapper_QAbstractSocket::setReadBufferSize(QAbstractSocket* theWrappedObject, qint64 size) +void PythonQtWrapper_QNetworkReply::setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) { - ( theWrappedObject->setReadBufferSize(size)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setHeader(header, value)); } -bool PythonQtWrapper_QAbstractSocket::setSocketDescriptor(QAbstractSocket* theWrappedObject, qintptr socketDescriptor, QAbstractSocket::SocketState state, QIODevice::OpenMode openMode) +void PythonQtWrapper_QNetworkReply::setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation) { - return ( theWrappedObject->setSocketDescriptor(socketDescriptor, state, openMode)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setOperation(operation)); } -void PythonQtWrapper_QAbstractSocket::setSocketError(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketError socketError) +void PythonQtWrapper_QNetworkReply::setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value) { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketError(socketError)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRawHeader(headerName, value)); } -void PythonQtWrapper_QAbstractSocket::setSocketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option, const QVariant& value) +void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) { - ( theWrappedObject->setSocketOption(option, value)); + ( theWrappedObject->setReadBufferSize(size)); } -void PythonQtWrapper_QAbstractSocket::setSocketState(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketState state) +void PythonQtWrapper_QNetworkReply::setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request) { - ( ((PythonQtPublicPromoter_QAbstractSocket*)theWrappedObject)->promoted_setSocketState(state)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRequest(request)); } -qintptr PythonQtWrapper_QAbstractSocket::socketDescriptor(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::setSslConfiguration(QNetworkReply* theWrappedObject, const QSslConfiguration& configuration) { - return ( theWrappedObject->socketDescriptor()); + ( theWrappedObject->setSslConfiguration(configuration)); } -QVariant PythonQtWrapper_QAbstractSocket::socketOption(QAbstractSocket* theWrappedObject, QAbstractSocket::SocketOption option) +void PythonQtWrapper_QNetworkReply::setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1) { - return ( theWrappedObject->socketOption(option)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setSslConfigurationImplementation(arg__1)); } -QAbstractSocket::SocketType PythonQtWrapper_QAbstractSocket::socketType(QAbstractSocket* theWrappedObject) const +void PythonQtWrapper_QNetworkReply::setUrl(QNetworkReply* theWrappedObject, const QUrl& url) { - return ( theWrappedObject->socketType()); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setUrl(url)); } -QAbstractSocket::SocketState PythonQtWrapper_QAbstractSocket::state(QAbstractSocket* theWrappedObject) const +QSslConfiguration PythonQtWrapper_QNetworkReply::sslConfiguration(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->state()); + return ( theWrappedObject->sslConfiguration()); } -bool PythonQtWrapper_QAbstractSocket::waitForConnected(QAbstractSocket* theWrappedObject, int msecs) +void PythonQtWrapper_QNetworkReply::sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const { - return ( theWrappedObject->waitForConnected(msecs)); + ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_sslConfigurationImplementation(arg__1)); } -bool PythonQtWrapper_QAbstractSocket::waitForDisconnected(QAbstractSocket* theWrappedObject, int msecs) +QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const { - return ( theWrappedObject->waitForDisconnected(msecs)); + return ( theWrappedObject->url()); } -QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator() +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest() { -return new QAuthenticator(); } +return new QNetworkRequest(); } -QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator(const QAuthenticator& other) +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QNetworkRequest& 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); -} +return new QNetworkRequest(other); } -bool PythonQtWrapper_QAuthenticator::__eq__(QAuthenticator* theWrappedObject, const QAuthenticator& other) const -{ - return ( (*theWrappedObject)== other); -} +QNetworkRequest* PythonQtWrapper_QNetworkRequest::new_QNetworkRequest(const QUrl& url) +{ +return new QNetworkRequest(url); } -QVariant PythonQtWrapper_QAuthenticator::option(QAuthenticator* theWrappedObject, const QString& opt) const +QVariant PythonQtWrapper_QNetworkRequest::attribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& defaultValue) const { - return ( theWrappedObject->option(opt)); + return ( theWrappedObject->attribute(code, defaultValue)); } -QHash PythonQtWrapper_QAuthenticator::options(QAuthenticator* theWrappedObject) const +bool PythonQtWrapper_QNetworkRequest::hasRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const { - return ( theWrappedObject->options()); + return ( theWrappedObject->hasRawHeader(headerName)); } -QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const +QVariant PythonQtWrapper_QNetworkRequest::header(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header) const { - return ( theWrappedObject->password()); + return ( theWrappedObject->header(header)); } -QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const +QHttp2Configuration PythonQtWrapper_QNetworkRequest::http2Configuration(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->realm()); + return ( theWrappedObject->http2Configuration()); } -void PythonQtWrapper_QAuthenticator::setOption(QAuthenticator* theWrappedObject, const QString& opt, const QVariant& value) +int PythonQtWrapper_QNetworkRequest::maximumRedirectsAllowed(QNetworkRequest* theWrappedObject) const { - ( theWrappedObject->setOption(opt, value)); + return ( theWrappedObject->maximumRedirectsAllowed()); } -void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) +bool PythonQtWrapper_QNetworkRequest::__ne__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const { - ( theWrappedObject->setPassword(password)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QAuthenticator::setRealm(QAuthenticator* theWrappedObject, const QString& realm) +bool PythonQtWrapper_QNetworkRequest::__eq__(QNetworkRequest* theWrappedObject, const QNetworkRequest& other) const { - ( theWrappedObject->setRealm(realm)); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) +QObject* PythonQtWrapper_QNetworkRequest::originatingObject(QNetworkRequest* theWrappedObject) const { - ( theWrappedObject->setUser(user)); + return ( theWrappedObject->originatingObject()); } -QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const +QString PythonQtWrapper_QNetworkRequest::peerVerifyName(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->user()); -} - - - -PythonQtShell_QDnsLookup::~PythonQtShell_QDnsLookup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->peerVerifyName()); } -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 +QNetworkRequest::Priority PythonQtWrapper_QNetworkRequest::priority(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->canonicalNameRecords()); + return ( theWrappedObject->priority()); } -QDnsLookup::Error PythonQtWrapper_QDnsLookup::error(QDnsLookup* theWrappedObject) const +QByteArray PythonQtWrapper_QNetworkRequest::rawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName) const { - return ( theWrappedObject->error()); + return ( theWrappedObject->rawHeader(headerName)); } -QString PythonQtWrapper_QDnsLookup::errorString(QDnsLookup* theWrappedObject) const +QList PythonQtWrapper_QNetworkRequest::rawHeaderList(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->errorString()); + return ( theWrappedObject->rawHeaderList()); } -QList PythonQtWrapper_QDnsLookup::hostAddressRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setAttribute(QNetworkRequest* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) { - return ( theWrappedObject->hostAddressRecords()); + ( theWrappedObject->setAttribute(code, value)); } -bool PythonQtWrapper_QDnsLookup::isFinished(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setHeader(QNetworkRequest* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) { - return ( theWrappedObject->isFinished()); + ( theWrappedObject->setHeader(header, value)); } -QList PythonQtWrapper_QDnsLookup::mailExchangeRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setHttp2Configuration(QNetworkRequest* theWrappedObject, const QHttp2Configuration& configuration) { - return ( theWrappedObject->mailExchangeRecords()); + ( theWrappedObject->setHttp2Configuration(configuration)); } -QString PythonQtWrapper_QDnsLookup::name(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setMaximumRedirectsAllowed(QNetworkRequest* theWrappedObject, int maximumRedirectsAllowed) { - return ( theWrappedObject->name()); + ( theWrappedObject->setMaximumRedirectsAllowed(maximumRedirectsAllowed)); } -QList PythonQtWrapper_QDnsLookup::nameServerRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setOriginatingObject(QNetworkRequest* theWrappedObject, QObject* object) { - return ( theWrappedObject->nameServerRecords()); + ( theWrappedObject->setOriginatingObject(object)); } -QHostAddress PythonQtWrapper_QDnsLookup::nameserver(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setPeerVerifyName(QNetworkRequest* theWrappedObject, const QString& peerName) { - return ( theWrappedObject->nameserver()); + ( theWrappedObject->setPeerVerifyName(peerName)); } -QList PythonQtWrapper_QDnsLookup::pointerRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setPriority(QNetworkRequest* theWrappedObject, QNetworkRequest::Priority priority) { - return ( theWrappedObject->pointerRecords()); + ( theWrappedObject->setPriority(priority)); } -QList PythonQtWrapper_QDnsLookup::serviceRecords(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::setRawHeader(QNetworkRequest* theWrappedObject, const QByteArray& headerName, const QByteArray& value) { - return ( theWrappedObject->serviceRecords()); + ( theWrappedObject->setRawHeader(headerName, value)); } -void PythonQtWrapper_QDnsLookup::setName(QDnsLookup* theWrappedObject, const QString& name) +void PythonQtWrapper_QNetworkRequest::setSslConfiguration(QNetworkRequest* theWrappedObject, const QSslConfiguration& configuration) { - ( theWrappedObject->setName(name)); + ( theWrappedObject->setSslConfiguration(configuration)); } -void PythonQtWrapper_QDnsLookup::setNameserver(QDnsLookup* theWrappedObject, const QHostAddress& nameserver) +void PythonQtWrapper_QNetworkRequest::setTransferTimeout(QNetworkRequest* theWrappedObject, int timeout) { - ( theWrappedObject->setNameserver(nameserver)); + ( theWrappedObject->setTransferTimeout(timeout)); } -void PythonQtWrapper_QDnsLookup::setType(QDnsLookup* theWrappedObject, QDnsLookup::Type arg__1) +void PythonQtWrapper_QNetworkRequest::setUrl(QNetworkRequest* theWrappedObject, const QUrl& url) { - ( theWrappedObject->setType(arg__1)); + ( theWrappedObject->setUrl(url)); } -QList PythonQtWrapper_QDnsLookup::textRecords(QDnsLookup* theWrappedObject) const +QSslConfiguration PythonQtWrapper_QNetworkRequest::sslConfiguration(QNetworkRequest* theWrappedObject) const { - return ( theWrappedObject->textRecords()); + return ( theWrappedObject->sslConfiguration()); } -QDnsLookup::Type PythonQtWrapper_QDnsLookup::type(QDnsLookup* theWrappedObject) const +void PythonQtWrapper_QNetworkRequest::swap(QNetworkRequest* theWrappedObject, QNetworkRequest& other) { - return ( theWrappedObject->type()); + ( theWrappedObject->swap(other)); } - - -QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(const QHostInfo& d) -{ -return new QHostInfo(d); } - -QHostInfo* PythonQtWrapper_QHostInfo::new_QHostInfo(int lookupId) -{ -return new QHostInfo(lookupId); } - - - -QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy() -{ -return new QHstsPolicy(); } - -QHstsPolicy* PythonQtWrapper_QHstsPolicy::new_QHstsPolicy(const QHstsPolicy& rhs) -{ -return new QHstsPolicy(rhs); } - -QHstsPolicy* PythonQtWrapper_QHstsPolicy::operator_assign(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +int PythonQtWrapper_QNetworkRequest::transferTimeout(QNetworkRequest* theWrappedObject) const { - return &( (*theWrappedObject)= rhs); + return ( theWrappedObject->transferTimeout()); } -bool PythonQtWrapper_QHstsPolicy::__eq__(QHstsPolicy* theWrappedObject, const QHstsPolicy& rhs) +QUrl PythonQtWrapper_QNetworkRequest::url(QNetworkRequest* theWrappedObject) const { - return ( (*theWrappedObject)== rhs); + return ( theWrappedObject->url()); } -void PythonQtWrapper_QHttpMultiPart::append(QHttpMultiPart* theWrappedObject, const QHttpPart& httpPart) -{ - ( theWrappedObject->append(httpPart)); -} - -QByteArray PythonQtWrapper_QHttpMultiPart::boundary(QHttpMultiPart* theWrappedObject) const -{ - return ( theWrappedObject->boundary()); +PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QHttpMultiPart::setBoundary(QHttpMultiPart* theWrappedObject, const QByteArray& boundary) +void PythonQtShell_QNetworkSession::childEvent(QChildEvent* event0) { - ( theWrappedObject->setBoundary(boundary)); -} - -void PythonQtWrapper_QHttpMultiPart::setContentType(QHttpMultiPart* theWrappedObject, QHttpMultiPart::ContentType contentType) +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[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) { - ( theWrappedObject->setContentType(contentType)); +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(); + } + } } - - - -PythonQtShell_QIPv6Address::~PythonQtShell_QIPv6Address() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QNetworkSession::connectNotify(signal0); } -QIPv6Address* PythonQtWrapper_QIPv6Address::new_QIPv6Address() -{ -return new PythonQtShell_QIPv6Address(); } - - - -PythonQtShell_QLocalServer::~PythonQtShell_QLocalServer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +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(); + } + } } -bool PythonQtShell_QLocalServer::hasPendingConnections() const + 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("hasPendingConnections"); + static PyObject* name = PyString_FromString("disconnectNotify"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + 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[1] = {NULL}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1625,2669 +1697,1193 @@ if (_wrapper) { } } } - return QLocalServer::hasPendingConnections(); + return QNetworkSession::event(event0); } -void PythonQtShell_QLocalServer::incomingConnection(quintptr socketDescriptor0) +bool PythonQtShell_QNetworkSession::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("incomingConnection"); + static PyObject* name = PyString_FromString("eventFilter"); 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] = {NULL, (void*)&socketDescriptor0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QLocalServer::incomingConnection(socketDescriptor0); + return QNetworkSession::eventFilter(watched0, event1); } -QLocalSocket* PythonQtShell_QLocalServer::nextPendingConnection() +void PythonQtShell_QNetworkSession::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("nextPendingConnection"); + static PyObject* name = PyString_FromString("timerEvent"); 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] = {NULL}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); - } else { - returnValue = *((QLocalSocket**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QLocalServer::nextPendingConnection(); + QNetworkSession::timerEvent(event0); } -QLocalServer* PythonQtWrapper_QLocalServer::new_QLocalServer(QObject* parent) +QNetworkSession* PythonQtWrapper_QNetworkSession::new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent) { -return new PythonQtShell_QLocalServer(parent); } +return new PythonQtShell_QNetworkSession(connConfig, parent); } -const QMetaObject* PythonQtShell_QLocalServer::metaObject() const { +const QMetaObject* PythonQtShell_QNetworkSession::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QLocalServer::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QNetworkSession::staticMetaObject); } else { - return &QLocalServer::staticMetaObject; + return &QNetworkSession::staticMetaObject; } } -int PythonQtShell_QLocalServer::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QLocalServer::qt_metacall(call, id, args); +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; } -void PythonQtWrapper_QLocalServer::close(QLocalServer* theWrappedObject) +quint64 PythonQtWrapper_QNetworkSession::activeTime(QNetworkSession* theWrappedObject) const { - ( theWrappedObject->close()); + 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)); } -QString PythonQtWrapper_QLocalServer::errorString(QLocalServer* theWrappedObject) const +QNetworkSession::SessionError PythonQtWrapper_QNetworkSession::error(QNetworkSession* theWrappedObject) const +{ + return ( theWrappedObject->error()); +} + +QString PythonQtWrapper_QNetworkSession::errorString(QNetworkSession* theWrappedObject) const { return ( theWrappedObject->errorString()); } -QString PythonQtWrapper_QLocalServer::fullServerName(QLocalServer* theWrappedObject) const +QNetworkInterface PythonQtWrapper_QNetworkSession::interface(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->fullServerName()); + return ( theWrappedObject->interface()); } -bool PythonQtWrapper_QLocalServer::hasPendingConnections(QLocalServer* theWrappedObject) const +bool PythonQtWrapper_QNetworkSession::isOpen(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->hasPendingConnections()); + return ( theWrappedObject->isOpen()); } -void PythonQtWrapper_QLocalServer::incomingConnection(QLocalServer* theWrappedObject, quintptr socketDescriptor) +QVariant PythonQtWrapper_QNetworkSession::sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const { - ( ((PythonQtPublicPromoter_QLocalServer*)theWrappedObject)->promoted_incomingConnection(socketDescriptor)); + return ( theWrappedObject->sessionProperty(key)); } -bool PythonQtWrapper_QLocalServer::isListening(QLocalServer* theWrappedObject) const +void PythonQtWrapper_QNetworkSession::setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value) { - return ( theWrappedObject->isListening()); + ( theWrappedObject->setSessionProperty(key, value)); } -bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, const QString& name) +QNetworkSession::State PythonQtWrapper_QNetworkSession::state(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->listen(name)); + return ( theWrappedObject->state()); } -bool PythonQtWrapper_QLocalServer::listen(QLocalServer* theWrappedObject, qintptr socketDescriptor) +QNetworkSession::UsagePolicies PythonQtWrapper_QNetworkSession::usagePolicies(QNetworkSession* theWrappedObject) const { - return ( theWrappedObject->listen(socketDescriptor)); + return ( theWrappedObject->usagePolicies()); } -int PythonQtWrapper_QLocalServer::maxPendingConnections(QLocalServer* theWrappedObject) const +bool PythonQtWrapper_QNetworkSession::waitForOpened(QNetworkSession* theWrappedObject, int msecs) { - return ( theWrappedObject->maxPendingConnections()); + return ( theWrappedObject->waitForOpened(msecs)); } -QLocalSocket* PythonQtWrapper_QLocalServer::nextPendingConnection(QLocalServer* theWrappedObject) + + +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->nextPendingConnection()); + return ( theWrappedObject->certificateStatus()); } -bool PythonQtWrapper_QLocalServer::static_QLocalServer_removeServer(const QString& name) +bool PythonQtWrapper_QOcspResponse::__ne__(QOcspResponse* theWrappedObject, const QOcspResponse& rhs) { - return (QLocalServer::removeServer(name)); + return ( (*theWrappedObject)!= rhs); } -QAbstractSocket::SocketError PythonQtWrapper_QLocalServer::serverError(QLocalServer* theWrappedObject) const +QOcspResponse* PythonQtWrapper_QOcspResponse::operator_assign(QOcspResponse* theWrappedObject, const QOcspResponse& other) { - return ( theWrappedObject->serverError()); + return &( (*theWrappedObject)= other); } -QString PythonQtWrapper_QLocalServer::serverName(QLocalServer* theWrappedObject) const +bool PythonQtWrapper_QOcspResponse::__eq__(QOcspResponse* theWrappedObject, const QOcspResponse& rhs) { - return ( theWrappedObject->serverName()); + return ( (*theWrappedObject)== rhs); } -void PythonQtWrapper_QLocalServer::setMaxPendingConnections(QLocalServer* theWrappedObject, int numConnections) +QSslCertificate PythonQtWrapper_QOcspResponse::responder(QOcspResponse* theWrappedObject) const { - ( theWrappedObject->setMaxPendingConnections(numConnections)); + return ( theWrappedObject->responder()); } -void PythonQtWrapper_QLocalServer::setSocketOptions(QLocalServer* theWrappedObject, QLocalServer::SocketOptions options) +QOcspRevocationReason PythonQtWrapper_QOcspResponse::revocationReason(QOcspResponse* theWrappedObject) const { - ( theWrappedObject->setSocketOptions(options)); + return ( theWrappedObject->revocationReason()); } -qintptr PythonQtWrapper_QLocalServer::socketDescriptor(QLocalServer* theWrappedObject) const +QSslCertificate PythonQtWrapper_QOcspResponse::subject(QOcspResponse* theWrappedObject) const { - return ( theWrappedObject->socketDescriptor()); + return ( theWrappedObject->subject()); } -QLocalServer::SocketOptions PythonQtWrapper_QLocalServer::socketOptions(QLocalServer* theWrappedObject) const +void PythonQtWrapper_QOcspResponse::swap(QOcspResponse* theWrappedObject, QOcspResponse& other) { - return ( theWrappedObject->socketOptions()); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QLocalServer::waitForNewConnection(QLocalServer* theWrappedObject, int msec, bool* timedOut) + + +#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) { - return ( theWrappedObject->waitForNewConnection(msec, timedOut)); + ( 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()); +} -PythonQtShell_QLocalSocket::~PythonQtShell_QLocalSocket() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QDateTime PythonQtWrapper_QSslCertificate::expiryDate(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->expiryDate()); } -bool PythonQtShell_QLocalSocket::atEnd() const + +QList PythonQtWrapper_QSslCertificate::extensions(QSslCertificate* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->extensions()); } - return QLocalSocket::atEnd(); + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromData(const QByteArray& data, QSsl::EncodingFormat format) +{ + return (QSslCertificate::fromData(data, format)); } -qint64 PythonQtShell_QLocalSocket::bytesAvailable() const + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromDevice(QIODevice* device, QSsl::EncodingFormat format) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QSslCertificate::fromDevice(device, format)); } - return QLocalSocket::bytesAvailable(); + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax) +{ + return (QSslCertificate::fromPath(path, format, syntax)); } -qint64 PythonQtShell_QLocalSocket::bytesToWrite() const + +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_fromPath(const QString& path, QSsl::EncodingFormat format, QSslCertificate::PatternSyntax syntax) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QSslCertificate::fromPath(path, format, syntax)); } - return QLocalSocket::bytesToWrite(); + +Qt::HANDLE PythonQtWrapper_QSslCertificate::handle(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->handle()); } -bool PythonQtShell_QLocalSocket::canReadLine() const + +bool PythonQtWrapper_QSslCertificate::static_QSslCertificate_importPkcs12(QIODevice* device, QSslKey* key, QSslCertificate* cert, QList* caCertificates, const QByteArray& passPhrase) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QSslCertificate::importPkcs12(device, key, cert, caCertificates, passPhrase)); } - return QLocalSocket::canReadLine(); + +bool PythonQtWrapper_QSslCertificate::isBlacklisted(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->isBlacklisted()); } -void PythonQtShell_QLocalSocket::close() + +bool PythonQtWrapper_QSslCertificate::isNull(QSslCertificate* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isNull()); } - QLocalSocket::close(); + +bool PythonQtWrapper_QSslCertificate::isSelfSigned(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->isSelfSigned()); } -bool PythonQtShell_QLocalSocket::isSequential() const + +QString PythonQtWrapper_QSslCertificate::issuerDisplayName(QSslCertificate* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->issuerDisplayName()); } - return QLocalSocket::isSequential(); + +QStringList PythonQtWrapper_QSslCertificate::issuerInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const +{ + return ( theWrappedObject->issuerInfo(info)); } -bool PythonQtShell_QLocalSocket::open(QIODevice::OpenMode openMode0) + +QStringList PythonQtWrapper_QSslCertificate::issuerInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const { -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] = {NULL, (void*)&openMode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->issuerInfo(attribute)); } - return QLocalSocket::open(openMode0); + +QList PythonQtWrapper_QSslCertificate::issuerInfoAttributes(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->issuerInfoAttributes()); } -qint64 PythonQtShell_QLocalSocket::pos() const + +bool PythonQtWrapper_QSslCertificate::__ne__(QSslCertificate* theWrappedObject, const QSslCertificate& other) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= other); } - return QLocalSocket::pos(); + +QSslCertificate* PythonQtWrapper_QSslCertificate::operator_assign(QSslCertificate* theWrappedObject, const QSslCertificate& other) +{ + return &( (*theWrappedObject)= other); } -qint64 PythonQtShell_QLocalSocket::readData(char* arg__1, qint64 arg__2) + +bool PythonQtWrapper_QSslCertificate::__eq__(QSslCertificate* theWrappedObject, const QSslCertificate& other) const { -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] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( (*theWrappedObject)== other); } - return QLocalSocket::readData(arg__1, arg__2); + +QSslKey PythonQtWrapper_QSslCertificate::publicKey(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->publicKey()); } -qint64 PythonQtShell_QLocalSocket::readLineData(char* data0, qint64 maxlen1) + +QByteArray PythonQtWrapper_QSslCertificate::serialNumber(QSslCertificate* theWrappedObject) const { -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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->serialNumber()); } - return QLocalSocket::readLineData(data0, maxlen1); + +QMultiMap PythonQtWrapper_QSslCertificate::subjectAlternativeNames(QSslCertificate* theWrappedObject) const +{ + return ( theWrappedObject->subjectAlternativeNames()); } -bool PythonQtShell_QLocalSocket::reset() + +QString PythonQtWrapper_QSslCertificate::subjectDisplayName(QSslCertificate* theWrappedObject) const { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->subjectDisplayName()); } - return QLocalSocket::reset(); + +QStringList PythonQtWrapper_QSslCertificate::subjectInfo(QSslCertificate* theWrappedObject, QSslCertificate::SubjectInfo info) const +{ + return ( theWrappedObject->subjectInfo(info)); } -bool PythonQtShell_QLocalSocket::seek(qint64 pos0) + +QStringList PythonQtWrapper_QSslCertificate::subjectInfo(QSslCertificate* theWrappedObject, const QByteArray& attribute) const { -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] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QLocalSocket::size(); -} -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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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)); + return ( theWrappedObject->subjectInfo(attribute)); } -void PythonQtWrapper_QLocalSocket::connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode) +QList PythonQtWrapper_QSslCertificate::subjectInfoAttributes(QSslCertificate* theWrappedObject) const { - ( theWrappedObject->connectToServer(name, openMode)); + return ( theWrappedObject->subjectInfoAttributes()); } -void PythonQtWrapper_QLocalSocket::disconnectFromServer(QLocalSocket* theWrappedObject) +void PythonQtWrapper_QSslCertificate::swap(QSslCertificate* theWrappedObject, QSslCertificate& other) { - ( theWrappedObject->disconnectFromServer()); + ( theWrappedObject->swap(other)); } -QLocalSocket::LocalSocketError PythonQtWrapper_QLocalSocket::error(QLocalSocket* theWrappedObject) const +QByteArray PythonQtWrapper_QSslCertificate::toDer(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->error()); -} - -bool PythonQtWrapper_QLocalSocket::flush(QLocalSocket* theWrappedObject) -{ - return ( theWrappedObject->flush()); + return ( theWrappedObject->toDer()); } -QString PythonQtWrapper_QLocalSocket::fullServerName(QLocalSocket* theWrappedObject) const +QByteArray PythonQtWrapper_QSslCertificate::toPem(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->fullServerName()); + return ( theWrappedObject->toPem()); } -bool PythonQtWrapper_QLocalSocket::isValid(QLocalSocket* theWrappedObject) const +QString PythonQtWrapper_QSslCertificate::toText(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->toText()); } -qint64 PythonQtWrapper_QLocalSocket::readBufferSize(QLocalSocket* theWrappedObject) const +QList PythonQtWrapper_QSslCertificate::static_QSslCertificate_verify(QList certificateChain, const QString& hostName) { - return ( theWrappedObject->readBufferSize()); + return (QSslCertificate::verify(certificateChain, hostName)); } -QString PythonQtWrapper_QLocalSocket::serverName(QLocalSocket* theWrappedObject) const +QByteArray PythonQtWrapper_QSslCertificate::version(QSslCertificate* theWrappedObject) const { - return ( theWrappedObject->serverName()); + return ( theWrappedObject->version()); } -void PythonQtWrapper_QLocalSocket::setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size) -{ - ( theWrappedObject->setReadBufferSize(size)); +QString PythonQtWrapper_QSslCertificate::py_toString(QSslCertificate* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtWrapper_QLocalSocket::setServerName(QLocalSocket* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setServerName(name)); -} +#endif -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()); -} +#ifndef QT_NO_SSL +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::new_QSslCertificateExtension() +{ +return new QSslCertificateExtension(); } -QLocalSocket::LocalSocketState PythonQtWrapper_QLocalSocket::state(QLocalSocket* theWrappedObject) const -{ - return ( theWrappedObject->state()); -} +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::new_QSslCertificateExtension(const QSslCertificateExtension& other) +{ +return new QSslCertificateExtension(other); } -bool PythonQtWrapper_QLocalSocket::waitForConnected(QLocalSocket* theWrappedObject, int msecs) +bool PythonQtWrapper_QSslCertificateExtension::isCritical(QSslCertificateExtension* theWrappedObject) const { - return ( theWrappedObject->waitForConnected(msecs)); + return ( theWrappedObject->isCritical()); } -bool PythonQtWrapper_QLocalSocket::waitForDisconnected(QLocalSocket* theWrappedObject, int msecs) +bool PythonQtWrapper_QSslCertificateExtension::isSupported(QSslCertificateExtension* theWrappedObject) const { - return ( theWrappedObject->waitForDisconnected(msecs)); + return ( theWrappedObject->isSupported()); } - - -PythonQtShell_QNetworkAccessManager::~PythonQtShell_QNetworkAccessManager() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QNetworkReply* PythonQtShell_QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation op0, const QNetworkRequest& request1, QIODevice* outgoingData2) +QString PythonQtWrapper_QSslCertificateExtension::name(QSslCertificateExtension* theWrappedObject) const { -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] = {NULL, (void*)&op0, (void*)&request1, (void*)&outgoingData2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); + return ( theWrappedObject->name()); } -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 +QString PythonQtWrapper_QSslCertificateExtension::oid(QSslCertificateExtension* theWrappedObject) const { - return ( theWrappedObject->activeConfiguration()); + return ( theWrappedObject->oid()); } -void PythonQtWrapper_QNetworkAccessManager::addStrictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject, const QVector& knownHosts) +QSslCertificateExtension* PythonQtWrapper_QSslCertificateExtension::operator_assign(QSslCertificateExtension* theWrappedObject, const QSslCertificateExtension& other) { - ( theWrappedObject->addStrictTransportSecurityHosts(knownHosts)); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QNetworkAccessManager::autoDeleteReplies(QNetworkAccessManager* theWrappedObject) const +void PythonQtWrapper_QSslCertificateExtension::swap(QSslCertificateExtension* theWrappedObject, QSslCertificateExtension& other) { - return ( theWrappedObject->autoDeleteReplies()); + ( theWrappedObject->swap(other)); } -QAbstractNetworkCache* PythonQtWrapper_QNetworkAccessManager::cache(QNetworkAccessManager* theWrappedObject) const +QVariant PythonQtWrapper_QSslCertificateExtension::value(QSslCertificateExtension* theWrappedObject) const { - return ( theWrappedObject->cache()); + return ( theWrappedObject->value()); } -void PythonQtWrapper_QNetworkAccessManager::clearAccessCache(QNetworkAccessManager* theWrappedObject) -{ - ( theWrappedObject->clearAccessCache()); -} +#endif -void PythonQtWrapper_QNetworkAccessManager::clearConnectionCache(QNetworkAccessManager* theWrappedObject) -{ - ( theWrappedObject->clearConnectionCache()); -} -QNetworkConfiguration PythonQtWrapper_QNetworkAccessManager::configuration(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->configuration()); -} +#ifndef QT_NO_SSL +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher() +{ +return new QSslCipher(); } -void PythonQtWrapper_QNetworkAccessManager::connectToHost(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port) -{ - ( theWrappedObject->connectToHost(hostName, port)); -} +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QSslCipher& other) +{ +return new QSslCipher(other); } -void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration) -{ - ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration)); -} +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QString& name) +{ +return new QSslCipher(name); } -void PythonQtWrapper_QNetworkAccessManager::connectToHostEncrypted(QNetworkAccessManager* theWrappedObject, const QString& hostName, unsigned short port, const QSslConfiguration& sslConfiguration, const QString& peerName) -{ - ( theWrappedObject->connectToHostEncrypted(hostName, port, sslConfiguration, peerName)); -} +QSslCipher* PythonQtWrapper_QSslCipher::new_QSslCipher(const QString& name, QSsl::SslProtocol protocol) +{ +return new QSslCipher(name, protocol); } -QNetworkCookieJar* PythonQtWrapper_QNetworkAccessManager::cookieJar(QNetworkAccessManager* theWrappedObject) const +QString PythonQtWrapper_QSslCipher::authenticationMethod(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->cookieJar()); + return ( theWrappedObject->authenticationMethod()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::createRequest(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::Operation op, const QNetworkRequest& request, QIODevice* outgoingData) +QString PythonQtWrapper_QSslCipher::encryptionMethod(QSslCipher* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QNetworkAccessManager*)theWrappedObject)->promoted_createRequest(op, request, outgoingData)); + return ( theWrappedObject->encryptionMethod()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::deleteResource(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +bool PythonQtWrapper_QSslCipher::isNull(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->deleteResource(request)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QNetworkAccessManager::enableStrictTransportSecurityStore(QNetworkAccessManager* theWrappedObject, bool enabled, const QString& storeDir) +QString PythonQtWrapper_QSslCipher::keyExchangeMethod(QSslCipher* theWrappedObject) const { - ( theWrappedObject->enableStrictTransportSecurityStore(enabled, storeDir)); + return ( theWrappedObject->keyExchangeMethod()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +QString PythonQtWrapper_QSslCipher::name(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->get(request)); + return ( theWrappedObject->name()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request) +bool PythonQtWrapper_QSslCipher::__ne__(QSslCipher* theWrappedObject, const QSslCipher& other) const { - return ( theWrappedObject->head(request)); + return ( (*theWrappedObject)!= other); } -bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject) const +QSslCipher* PythonQtWrapper_QSslCipher::operator_assign(QSslCipher* theWrappedObject, const QSslCipher& other) { - return ( theWrappedObject->isStrictTransportSecurityEnabled()); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QNetworkAccessManager::isStrictTransportSecurityStoreEnabled(QNetworkAccessManager* theWrappedObject) const +bool PythonQtWrapper_QSslCipher::__eq__(QSslCipher* theWrappedObject, const QSslCipher& other) const { - return ( theWrappedObject->isStrictTransportSecurityStoreEnabled()); + return ( (*theWrappedObject)== other); } -QNetworkAccessManager::NetworkAccessibility PythonQtWrapper_QNetworkAccessManager::networkAccessible(QNetworkAccessManager* theWrappedObject) const +QSsl::SslProtocol PythonQtWrapper_QSslCipher::protocol(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->networkAccessible()); + return ( theWrappedObject->protocol()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) +QString PythonQtWrapper_QSslCipher::protocolString(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->post(request, multiPart)); + return ( theWrappedObject->protocolString()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data) +int PythonQtWrapper_QSslCipher::supportedBits(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->post(request, data)); + return ( theWrappedObject->supportedBits()); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data) +void PythonQtWrapper_QSslCipher::swap(QSslCipher* theWrappedObject, QSslCipher& other) { - return ( theWrappedObject->post(request, data)); + ( theWrappedObject->swap(other)); } -QNetworkProxy PythonQtWrapper_QNetworkAccessManager::proxy(QNetworkAccessManager* theWrappedObject) const +int PythonQtWrapper_QSslCipher::usedBits(QSslCipher* theWrappedObject) const { - return ( theWrappedObject->proxy()); + return ( theWrappedObject->usedBits()); } -QNetworkProxyFactory* PythonQtWrapper_QNetworkAccessManager::proxyFactory(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->proxyFactory()); +QString PythonQtWrapper_QSslCipher::py_toString(QSslCipher* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QHttpMultiPart* multiPart) -{ - return ( theWrappedObject->put(request, multiPart)); -} +#endif -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)); +#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(); } -QNetworkRequest::RedirectPolicy PythonQtWrapper_QNetworkAccessManager::redirectPolicy(QNetworkAccessManager* theWrappedObject) const -{ - return ( theWrappedObject->redirectPolicy()); -} +QSslConfiguration* PythonQtWrapper_QSslConfiguration::new_QSslConfiguration(const QSslConfiguration& other) +{ +return new PythonQtShell_QSslConfiguration(other); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QHttpMultiPart* multiPart) +void PythonQtWrapper_QSslConfiguration::addCaCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate) { - return ( theWrappedObject->sendCustomRequest(request, verb, multiPart)); + ( theWrappedObject->addCaCertificate(certificate)); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, QIODevice* data) +void PythonQtWrapper_QSslConfiguration::addCaCertificates(QSslConfiguration* theWrappedObject, const QList& certificates) { - return ( theWrappedObject->sendCustomRequest(request, verb, data)); + ( theWrappedObject->addCaCertificates(certificates)); } -QNetworkReply* PythonQtWrapper_QNetworkAccessManager::sendCustomRequest(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& verb, const QByteArray& data) +bool PythonQtWrapper_QSslConfiguration::addCaCertificates(QSslConfiguration* theWrappedObject, const QString& path, QSsl::EncodingFormat format, QSslCertificate::PatternSyntax syntax) { - return ( theWrappedObject->sendCustomRequest(request, verb, data)); + return ( theWrappedObject->addCaCertificates(path, format, syntax)); } -void PythonQtWrapper_QNetworkAccessManager::setAutoDeleteReplies(QNetworkAccessManager* theWrappedObject, bool autoDelete) +QList PythonQtWrapper_QSslConfiguration::allowedNextProtocols(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setAutoDeleteReplies(autoDelete)); + return ( theWrappedObject->allowedNextProtocols()); } -void PythonQtWrapper_QNetworkAccessManager::setCache(QNetworkAccessManager* theWrappedObject, QAbstractNetworkCache* cache) +QMap PythonQtWrapper_QSslConfiguration::backendConfiguration(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setCache(cache)); + return ( theWrappedObject->backendConfiguration()); } -void PythonQtWrapper_QNetworkAccessManager::setConfiguration(QNetworkAccessManager* theWrappedObject, const QNetworkConfiguration& config) +QList PythonQtWrapper_QSslConfiguration::caCertificates(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setConfiguration(config)); + return ( theWrappedObject->caCertificates()); } -void PythonQtWrapper_QNetworkAccessManager::setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar) +QList PythonQtWrapper_QSslConfiguration::ciphers(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setCookieJar(cookieJar)); + return ( theWrappedObject->ciphers()); } -void PythonQtWrapper_QNetworkAccessManager::setNetworkAccessible(QNetworkAccessManager* theWrappedObject, QNetworkAccessManager::NetworkAccessibility accessible) +QSslConfiguration PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_defaultConfiguration() { - ( theWrappedObject->setNetworkAccessible(accessible)); + return (QSslConfiguration::defaultConfiguration()); } -void PythonQtWrapper_QNetworkAccessManager::setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy) +QSslConfiguration PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_defaultDtlsConfiguration() { - ( theWrappedObject->setProxy(proxy)); + return (QSslConfiguration::defaultDtlsConfiguration()); } -void PythonQtWrapper_QNetworkAccessManager::setProxyFactory(QNetworkAccessManager* theWrappedObject, QNetworkProxyFactory* factory) +QSslDiffieHellmanParameters PythonQtWrapper_QSslConfiguration::diffieHellmanParameters(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setProxyFactory(factory)); + return ( theWrappedObject->diffieHellmanParameters()); } -void PythonQtWrapper_QNetworkAccessManager::setRedirectPolicy(QNetworkAccessManager* theWrappedObject, QNetworkRequest::RedirectPolicy policy) +bool PythonQtWrapper_QSslConfiguration::dtlsCookieVerificationEnabled(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setRedirectPolicy(policy)); + return ( theWrappedObject->dtlsCookieVerificationEnabled()); } -void PythonQtWrapper_QNetworkAccessManager::setStrictTransportSecurityEnabled(QNetworkAccessManager* theWrappedObject, bool enabled) +QVector PythonQtWrapper_QSslConfiguration::ellipticCurves(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setStrictTransportSecurityEnabled(enabled)); + return ( theWrappedObject->ellipticCurves()); } -void PythonQtWrapper_QNetworkAccessManager::setTransferTimeout(QNetworkAccessManager* theWrappedObject, int timeout) +QSslKey PythonQtWrapper_QSslConfiguration::ephemeralServerKey(QSslConfiguration* theWrappedObject) const { - ( theWrappedObject->setTransferTimeout(timeout)); + return ( theWrappedObject->ephemeralServerKey()); } -QVector PythonQtWrapper_QNetworkAccessManager::strictTransportSecurityHosts(QNetworkAccessManager* theWrappedObject) const +bool PythonQtWrapper_QSslConfiguration::isNull(QSslConfiguration* theWrappedObject) const { - return ( theWrappedObject->strictTransportSecurityHosts()); + return ( theWrappedObject->isNull()); } -QStringList PythonQtWrapper_QNetworkAccessManager::supportedSchemes(QNetworkAccessManager* theWrappedObject) const +QSslCertificate PythonQtWrapper_QSslConfiguration::localCertificate(QSslConfiguration* theWrappedObject) const { - return ( theWrappedObject->supportedSchemes()); + return ( theWrappedObject->localCertificate()); } -int PythonQtWrapper_QNetworkAccessManager::transferTimeout(QNetworkAccessManager* theWrappedObject) const +QList PythonQtWrapper_QSslConfiguration::localCertificateChain(QSslConfiguration* theWrappedObject) const { - return ( theWrappedObject->transferTimeout()); -} - - - -PythonQtShell_QNetworkConfigurationManager::~PythonQtShell_QNetworkConfigurationManager() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return ( theWrappedObject->localCertificateChain()); } -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()); -} - - - -PythonQtShell_QNetworkCookieJar::~PythonQtShell_QNetworkCookieJar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -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] = {NULL, (void*)&cookie0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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::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] = {NULL, (void*)&cookie0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&cookieList0, (void*)&url1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); -} -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] = {NULL, (void*)&cookie0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&cookie0, (void*)&url1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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)); -} - - - -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QNetworkDiskCache::clear(); -} -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] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&metaData0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&url0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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::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] = {NULL, (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)); -} - - - -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] = {NULL}; - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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::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] = {NULL}; - 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::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] = {NULL}; - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&mode0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + +QByteArray PythonQtWrapper_QSslConfiguration::nextNegotiatedProtocol(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->nextNegotiatedProtocol()); } - return qint64(); + +QSslConfiguration::NextProtocolNegotiationStatus PythonQtWrapper_QSslConfiguration::nextProtocolNegotiationStatus(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->nextProtocolNegotiationStatus()); } -qint64 PythonQtShell_QNetworkReply::readLineData(char* data0, qint64 maxlen1) + +bool PythonQtWrapper_QSslConfiguration::ocspStaplingEnabled(QSslConfiguration* theWrappedObject) const { -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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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 ( theWrappedObject->ocspStaplingEnabled()); } - return QNetworkReply::readLineData(data0, maxlen1); + +bool PythonQtWrapper_QSslConfiguration::__ne__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const +{ + return ( (*theWrappedObject)!= other); } -bool PythonQtShell_QNetworkReply::reset() + +QSslConfiguration* PythonQtWrapper_QSslConfiguration::operator_assign(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) { -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)= other); } - return QNetworkReply::reset(); + +bool PythonQtWrapper_QSslConfiguration::__eq__(QSslConfiguration* theWrappedObject, const QSslConfiguration& other) const +{ + return ( (*theWrappedObject)== other); } -bool PythonQtShell_QNetworkReply::seek(qint64 pos0) + +QSslCertificate PythonQtWrapper_QSslConfiguration::peerCertificate(QSslConfiguration* theWrappedObject) const { -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] = {NULL, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->peerCertificate()); } - return QNetworkReply::seek(pos0); + +QList PythonQtWrapper_QSslConfiguration::peerCertificateChain(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerCertificateChain()); } -void PythonQtShell_QNetworkReply::setReadBufferSize(qint64 size0) + +int PythonQtWrapper_QSslConfiguration::peerVerifyDepth(QSslConfiguration* theWrappedObject) const { -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] = {NULL, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->peerVerifyDepth()); } - QNetworkReply::setReadBufferSize(size0); + +QSslSocket::PeerVerifyMode PythonQtWrapper_QSslConfiguration::peerVerifyMode(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->peerVerifyMode()); } -void PythonQtShell_QNetworkReply::setSslConfigurationImplementation(const QSslConfiguration& arg__1) + +QByteArray PythonQtWrapper_QSslConfiguration::preSharedKeyIdentityHint(QSslConfiguration* theWrappedObject) const { -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->preSharedKeyIdentityHint()); } - QNetworkReply::setSslConfigurationImplementation(arg__1); + +QSslKey PythonQtWrapper_QSslConfiguration::privateKey(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->privateKey()); } -qint64 PythonQtShell_QNetworkReply::size() const + +QSsl::SslProtocol PythonQtWrapper_QSslConfiguration::protocol(QSslConfiguration* theWrappedObject) 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->protocol()); } - return QNetworkReply::size(); + +QSslCipher PythonQtWrapper_QSslConfiguration::sessionCipher(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionCipher()); } -void PythonQtShell_QNetworkReply::sslConfigurationImplementation(QSslConfiguration& arg__1) const + +QSsl::SslProtocol PythonQtWrapper_QSslConfiguration::sessionProtocol(QSslConfiguration* theWrappedObject) 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sessionProtocol()); } - QNetworkReply::sslConfigurationImplementation(arg__1); + +QByteArray PythonQtWrapper_QSslConfiguration::sessionTicket(QSslConfiguration* theWrappedObject) const +{ + return ( theWrappedObject->sessionTicket()); } -bool PythonQtShell_QNetworkReply::waitForBytesWritten(int msecs0) + +int PythonQtWrapper_QSslConfiguration::sessionTicketLifeTimeHint(QSslConfiguration* theWrappedObject) const { -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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sessionTicketLifeTimeHint()); } - return QNetworkReply::waitForBytesWritten(msecs0); + +void PythonQtWrapper_QSslConfiguration::setAllowedNextProtocols(QSslConfiguration* theWrappedObject, QList protocols) +{ + ( theWrappedObject->setAllowedNextProtocols(protocols)); } -bool PythonQtShell_QNetworkReply::waitForReadyRead(int msecs0) + +void PythonQtWrapper_QSslConfiguration::setBackendConfiguration(QSslConfiguration* theWrappedObject, const QMap& backendConfiguration) { -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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( 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)); } - return QNetworkReply::waitForReadyRead(msecs0); + +void PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_setDefaultConfiguration(const QSslConfiguration& configuration) +{ + (QSslConfiguration::setDefaultConfiguration(configuration)); } -qint64 PythonQtShell_QNetworkReply::writeData(const char* data0, qint64 len1) + +void PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_setDefaultDtlsConfiguration(const QSslConfiguration& configuration) { -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] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + (QSslConfiguration::setDefaultDtlsConfiguration(configuration)); } - return QNetworkReply::writeData(data0, len1); + +void PythonQtWrapper_QSslConfiguration::setDiffieHellmanParameters(QSslConfiguration* theWrappedObject, const QSslDiffieHellmanParameters& dhparams) +{ + ( theWrappedObject->setDiffieHellmanParameters(dhparams)); } -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; - } +void PythonQtWrapper_QSslConfiguration::setDtlsCookieVerificationEnabled(QSslConfiguration* theWrappedObject, bool enable) +{ + ( theWrappedObject->setDtlsCookieVerificationEnabled(enable)); } -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; + +void PythonQtWrapper_QSslConfiguration::setEllipticCurves(QSslConfiguration* theWrappedObject, const QVector& curves) +{ + ( theWrappedObject->setEllipticCurves(curves)); } -QVariant PythonQtWrapper_QNetworkReply::attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const + +void PythonQtWrapper_QSslConfiguration::setLocalCertificate(QSslConfiguration* theWrappedObject, const QSslCertificate& certificate) { - return ( theWrappedObject->attribute(code)); + ( theWrappedObject->setLocalCertificate(certificate)); } -QNetworkReply::NetworkError PythonQtWrapper_QNetworkReply::error(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setLocalCertificateChain(QSslConfiguration* theWrappedObject, const QList& localChain) { - return ( theWrappedObject->error()); + ( theWrappedObject->setLocalCertificateChain(localChain)); } -bool PythonQtWrapper_QNetworkReply::hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +void PythonQtWrapper_QSslConfiguration::setOcspStaplingEnabled(QSslConfiguration* theWrappedObject, bool enable) { - return ( theWrappedObject->hasRawHeader(headerName)); + ( theWrappedObject->setOcspStaplingEnabled(enable)); } -QVariant PythonQtWrapper_QNetworkReply::header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const +void PythonQtWrapper_QSslConfiguration::setPeerVerifyDepth(QSslConfiguration* theWrappedObject, int depth) { - return ( theWrappedObject->header(header)); + ( theWrappedObject->setPeerVerifyDepth(depth)); } -void PythonQtWrapper_QNetworkReply::ignoreSslErrorsImplementation(QNetworkReply* theWrappedObject, const QList& arg__1) +void PythonQtWrapper_QSslConfiguration::setPeerVerifyMode(QSslConfiguration* theWrappedObject, QSslSocket::PeerVerifyMode mode) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_ignoreSslErrorsImplementation(arg__1)); + ( theWrappedObject->setPeerVerifyMode(mode)); } -bool PythonQtWrapper_QNetworkReply::isFinished(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setPreSharedKeyIdentityHint(QSslConfiguration* theWrappedObject, const QByteArray& hint) { - return ( theWrappedObject->isFinished()); + ( theWrappedObject->setPreSharedKeyIdentityHint(hint)); } -bool PythonQtWrapper_QNetworkReply::isRunning(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setPrivateKey(QSslConfiguration* theWrappedObject, const QSslKey& key) { - return ( theWrappedObject->isRunning()); + ( theWrappedObject->setPrivateKey(key)); } -QNetworkAccessManager* PythonQtWrapper_QNetworkReply::manager(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setProtocol(QSslConfiguration* theWrappedObject, QSsl::SslProtocol protocol) { - return ( theWrappedObject->manager()); + ( theWrappedObject->setProtocol(protocol)); } -QNetworkAccessManager::Operation PythonQtWrapper_QNetworkReply::operation(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::setSessionTicket(QSslConfiguration* theWrappedObject, const QByteArray& sessionTicket) { - return ( theWrappedObject->operation()); + ( theWrappedObject->setSessionTicket(sessionTicket)); } -QByteArray PythonQtWrapper_QNetworkReply::rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const +void PythonQtWrapper_QSslConfiguration::setSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option, bool on) { - return ( theWrappedObject->rawHeader(headerName)); + ( theWrappedObject->setSslOption(option, on)); } -QList PythonQtWrapper_QNetworkReply::rawHeaderList(QNetworkReply* theWrappedObject) const +QList PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_supportedCiphers() { - return ( theWrappedObject->rawHeaderList()); + return (QSslConfiguration::supportedCiphers()); } -const QList >* PythonQtWrapper_QNetworkReply::rawHeaderPairs(QNetworkReply* theWrappedObject) const +QVector PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_supportedEllipticCurves() { - return &( theWrappedObject->rawHeaderPairs()); + return (QSslConfiguration::supportedEllipticCurves()); } -qint64 PythonQtWrapper_QNetworkReply::readBufferSize(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslConfiguration::swap(QSslConfiguration* theWrappedObject, QSslConfiguration& other) { - return ( theWrappedObject->readBufferSize()); + ( theWrappedObject->swap(other)); } -QNetworkRequest PythonQtWrapper_QNetworkReply::request(QNetworkReply* theWrappedObject) const +QList PythonQtWrapper_QSslConfiguration::static_QSslConfiguration_systemCaCertificates() { - return ( theWrappedObject->request()); + return (QSslConfiguration::systemCaCertificates()); } -void PythonQtWrapper_QNetworkReply::setAttribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code, const QVariant& value) +bool PythonQtWrapper_QSslConfiguration::testSslOption(QSslConfiguration* theWrappedObject, QSsl::SslOption option) const { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setAttribute(code, value)); + return ( theWrappedObject->testSslOption(option)); } -void PythonQtWrapper_QNetworkReply::setError(QNetworkReply* theWrappedObject, QNetworkReply::NetworkError errorCode, const QString& errorString) +#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() { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setError(errorCode, errorString)); + return (QSslDiffieHellmanParameters::defaultParameters()); } -void PythonQtWrapper_QNetworkReply::setFinished(QNetworkReply* theWrappedObject, bool arg__1) +QSslDiffieHellmanParameters::Error PythonQtWrapper_QSslDiffieHellmanParameters::error(QSslDiffieHellmanParameters* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setFinished(arg__1)); + return ( theWrappedObject->error()); } -void PythonQtWrapper_QNetworkReply::setHeader(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header, const QVariant& value) +QString PythonQtWrapper_QSslDiffieHellmanParameters::errorString(QSslDiffieHellmanParameters* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setHeader(header, value)); + return ( theWrappedObject->errorString()); } -void PythonQtWrapper_QNetworkReply::setOperation(QNetworkReply* theWrappedObject, QNetworkAccessManager::Operation operation) +QSslDiffieHellmanParameters PythonQtWrapper_QSslDiffieHellmanParameters::static_QSslDiffieHellmanParameters_fromEncoded(QIODevice* device, QSsl::EncodingFormat format) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setOperation(operation)); + return (QSslDiffieHellmanParameters::fromEncoded(device, format)); } -void PythonQtWrapper_QNetworkReply::setRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName, const QByteArray& value) +QSslDiffieHellmanParameters PythonQtWrapper_QSslDiffieHellmanParameters::static_QSslDiffieHellmanParameters_fromEncoded(const QByteArray& encoded, QSsl::EncodingFormat format) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRawHeader(headerName, value)); + return (QSslDiffieHellmanParameters::fromEncoded(encoded, format)); } -void PythonQtWrapper_QNetworkReply::setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size) +bool PythonQtWrapper_QSslDiffieHellmanParameters::isEmpty(QSslDiffieHellmanParameters* theWrappedObject) const { - ( theWrappedObject->setReadBufferSize(size)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QNetworkReply::setRequest(QNetworkReply* theWrappedObject, const QNetworkRequest& request) +bool PythonQtWrapper_QSslDiffieHellmanParameters::isValid(QSslDiffieHellmanParameters* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setRequest(request)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QNetworkReply::setSslConfigurationImplementation(QNetworkReply* theWrappedObject, const QSslConfiguration& arg__1) +bool PythonQtWrapper_QSslDiffieHellmanParameters::__ne__(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& rhs) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setSslConfigurationImplementation(arg__1)); + return ( (*theWrappedObject)!= rhs); } -void PythonQtWrapper_QNetworkReply::setUrl(QNetworkReply* theWrappedObject, const QUrl& url) +QSslDiffieHellmanParameters* PythonQtWrapper_QSslDiffieHellmanParameters::operator_assign(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& other) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_setUrl(url)); + return &( (*theWrappedObject)= other); } -void PythonQtWrapper_QNetworkReply::sslConfigurationImplementation(QNetworkReply* theWrappedObject, QSslConfiguration& arg__1) const +bool PythonQtWrapper_QSslDiffieHellmanParameters::__eq__(QSslDiffieHellmanParameters* theWrappedObject, const QSslDiffieHellmanParameters& rhs) { - ( ((PythonQtPublicPromoter_QNetworkReply*)theWrappedObject)->promoted_sslConfigurationImplementation(arg__1)); + return ( (*theWrappedObject)== rhs); } -QUrl PythonQtWrapper_QNetworkReply::url(QNetworkReply* theWrappedObject) const +void PythonQtWrapper_QSslDiffieHellmanParameters::swap(QSslDiffieHellmanParameters* theWrappedObject, QSslDiffieHellmanParameters& other) { - return ( theWrappedObject->url()); + ( theWrappedObject->swap(other)); } +QString PythonQtWrapper_QSslDiffieHellmanParameters::py_toString(QSslDiffieHellmanParameters* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} +#endif -PythonQtShell_QNetworkSession::~PythonQtShell_QNetworkSession() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + +#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)); } -void PythonQtShell_QNetworkSession::connectNotify(const QMetaMethod& signal0) + +QSslEllipticCurve PythonQtWrapper_QSslEllipticCurve::static_QSslEllipticCurve_fromShortName(const QString& name) { -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] = {NULL, (void*)&signal0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QSslEllipticCurve::fromShortName(name)); } - QNetworkSession::connectNotify(signal0); + +bool PythonQtWrapper_QSslEllipticCurve::isTlsNamedCurve(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->isTlsNamedCurve()); } -void PythonQtShell_QNetworkSession::disconnectNotify(const QMetaMethod& signal0) + +bool PythonQtWrapper_QSslEllipticCurve::isValid(QSslEllipticCurve* theWrappedObject) const { -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] = {NULL, (void*)&signal0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isValid()); } - QNetworkSession::disconnectNotify(signal0); + +QString PythonQtWrapper_QSslEllipticCurve::longName(QSslEllipticCurve* theWrappedObject) const +{ + return ( theWrappedObject->longName()); } -QNetworkSession* PythonQtWrapper_QNetworkSession::new_QNetworkSession(const QNetworkConfiguration& connConfig, QObject* parent) + +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 PythonQtShell_QNetworkSession(connConfig, parent); } +return new QSslError(); } -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; - } +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()); } -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; + +QSslError::SslError PythonQtWrapper_QSslError::error(QSslError* theWrappedObject) const +{ + return ( theWrappedObject->error()); } -quint64 PythonQtWrapper_QNetworkSession::activeTime(QNetworkSession* theWrappedObject) const + +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->activeTime()); + return ( theWrappedObject->algorithm()); } -quint64 PythonQtWrapper_QNetworkSession::bytesReceived(QNetworkSession* theWrappedObject) const +void PythonQtWrapper_QSslKey::clear(QSslKey* theWrappedObject) { - return ( theWrappedObject->bytesReceived()); + ( theWrappedObject->clear()); } -quint64 PythonQtWrapper_QNetworkSession::bytesWritten(QNetworkSession* theWrappedObject) const +Qt::HANDLE PythonQtWrapper_QSslKey::handle(QSslKey* theWrappedObject) const { - return ( theWrappedObject->bytesWritten()); + return ( theWrappedObject->handle()); } -QNetworkConfiguration PythonQtWrapper_QNetworkSession::configuration(QNetworkSession* theWrappedObject) const +bool PythonQtWrapper_QSslKey::isNull(QSslKey* theWrappedObject) const { - return ( theWrappedObject->configuration()); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QNetworkSession::connectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) +int PythonQtWrapper_QSslKey::length(QSslKey* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_connectNotify(signal)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QNetworkSession::disconnectNotify(QNetworkSession* theWrappedObject, const QMetaMethod& signal) +bool PythonQtWrapper_QSslKey::__ne__(QSslKey* theWrappedObject, const QSslKey& key) const { - ( ((PythonQtPublicPromoter_QNetworkSession*)theWrappedObject)->promoted_disconnectNotify(signal)); + return ( (*theWrappedObject)!= key); } -QNetworkSession::SessionError PythonQtWrapper_QNetworkSession::error(QNetworkSession* theWrappedObject) const +QSslKey* PythonQtWrapper_QSslKey::operator_assign(QSslKey* theWrappedObject, const QSslKey& other) { - return ( theWrappedObject->error()); + return &( (*theWrappedObject)= other); } -QString PythonQtWrapper_QNetworkSession::errorString(QNetworkSession* theWrappedObject) const +bool PythonQtWrapper_QSslKey::__eq__(QSslKey* theWrappedObject, const QSslKey& key) const { - return ( theWrappedObject->errorString()); + return ( (*theWrappedObject)== key); } -QNetworkInterface PythonQtWrapper_QNetworkSession::interface(QNetworkSession* theWrappedObject) const +void PythonQtWrapper_QSslKey::swap(QSslKey* theWrappedObject, QSslKey& other) { - return ( theWrappedObject->interface()); + ( theWrappedObject->swap(other)); } -bool PythonQtWrapper_QNetworkSession::isOpen(QNetworkSession* theWrappedObject) const +QByteArray PythonQtWrapper_QSslKey::toDer(QSslKey* theWrappedObject, const QByteArray& passPhrase) const { - return ( theWrappedObject->isOpen()); + return ( theWrappedObject->toDer(passPhrase)); } -QVariant PythonQtWrapper_QNetworkSession::sessionProperty(QNetworkSession* theWrappedObject, const QString& key) const +QByteArray PythonQtWrapper_QSslKey::toPem(QSslKey* theWrappedObject, const QByteArray& passPhrase) const { - return ( theWrappedObject->sessionProperty(key)); + return ( theWrappedObject->toPem(passPhrase)); } -void PythonQtWrapper_QNetworkSession::setSessionProperty(QNetworkSession* theWrappedObject, const QString& key, const QVariant& value) +QSsl::KeyType PythonQtWrapper_QSslKey::type(QSslKey* theWrappedObject) const { - ( theWrappedObject->setSessionProperty(key, value)); + return ( theWrappedObject->type()); } -QNetworkSession::State PythonQtWrapper_QNetworkSession::state(QNetworkSession* theWrappedObject) const -{ - return ( theWrappedObject->state()); +QString PythonQtWrapper_QSslKey::py_toString(QSslKey* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -QNetworkSession::UsagePolicies PythonQtWrapper_QNetworkSession::usagePolicies(QNetworkSession* theWrappedObject) const +#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->usagePolicies()); + return ( theWrappedObject->identity()); } -bool PythonQtWrapper_QNetworkSession::waitForOpened(QNetworkSession* theWrappedObject, int msecs) +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::identityHint(QSslPreSharedKeyAuthenticator* theWrappedObject) const { - return ( theWrappedObject->waitForOpened(msecs)); + return ( theWrappedObject->identityHint()); } +int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumIdentityLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->maximumIdentityLength()); +} +int PythonQtWrapper_QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->maximumPreSharedKeyLength()); +} -#ifndef QT_NO_SSL -#endif +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); +} -#ifndef QT_NO_SSL -QSslError* PythonQtWrapper_QSslError::new_QSslError() -{ -return new QSslError(); } +bool PythonQtWrapper_QSslPreSharedKeyAuthenticator::__eq__(QSslPreSharedKeyAuthenticator* theWrappedObject, const QSslPreSharedKeyAuthenticator& rhs) +{ + return ( (*theWrappedObject)== rhs); +} -QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error) -{ -return new QSslError(error); } +QByteArray PythonQtWrapper_QSslPreSharedKeyAuthenticator::preSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject) const +{ + return ( theWrappedObject->preSharedKey()); +} -QSslError* PythonQtWrapper_QSslError::new_QSslError(QSslError::SslError error, const QSslCertificate& certificate) -{ -return new QSslError(error, certificate); } +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::setIdentity(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& identity) +{ + ( theWrappedObject->setIdentity(identity)); +} -QSslError* PythonQtWrapper_QSslError::new_QSslError(const QSslError& other) -{ -return new QSslError(other); } +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::setPreSharedKey(QSslPreSharedKeyAuthenticator* theWrappedObject, const QByteArray& preSharedKey) +{ + ( theWrappedObject->setPreSharedKey(preSharedKey)); +} -QString PythonQtWrapper_QSslError::py_toString(QSslError* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +void PythonQtWrapper_QSslPreSharedKeyAuthenticator::swap(QSslPreSharedKeyAuthenticator* theWrappedObject, QSslPreSharedKeyAuthenticator& other) +{ + ( theWrappedObject->swap(other)); } #endif @@ -4309,19 +2905,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4342,19 +2938,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4375,19 +2971,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4408,19 +3004,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4430,6 +3026,28 @@ if (_wrapper) { } 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) { @@ -4440,9 +3058,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4462,9 +3080,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&openMode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4474,6 +3092,28 @@ if (_wrapper) { } 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) { @@ -4484,9 +3124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4496,6 +3136,72 @@ if (_wrapper) { } 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) { @@ -4507,19 +3213,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4540,19 +3246,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4573,19 +3279,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4606,19 +3312,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4639,19 +3345,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4672,19 +3378,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4704,9 +3410,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4727,19 +3433,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4759,9 +3465,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4782,19 +3488,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4814,9 +3520,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4837,19 +3543,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4870,19 +3576,19 @@ if (_wrapper) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qintptr returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4903,19 +3609,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4925,6 +3631,28 @@ if (_wrapper) { } 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) { @@ -4936,19 +3664,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4969,19 +3697,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5002,19 +3730,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5035,19 +3763,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5068,19 +3796,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5212,6 +3940,11 @@ QSslSocket::SslMode PythonQtWrapper_QSslSocket::mode(QSslSocket* theWrappedObje return ( theWrappedObject->mode()); } +QVector PythonQtWrapper_QSslSocket::ocspResponses(QSslSocket* theWrappedObject) const +{ + return ( theWrappedObject->ocspResponses()); +} + QSslCertificate PythonQtWrapper_QSslSocket::peerCertificate(QSslSocket* theWrappedObject) const { return ( theWrappedObject->peerCertificate()); @@ -5376,23 +4109,133 @@ bool PythonQtWrapper_QSslSocket::static_QSslSocket_supportsSsl() { return (QSslSocket::supportsSsl()); } - -QList PythonQtWrapper_QSslSocket::static_QSslSocket_systemCaCertificates() -{ - return (QSslSocket::systemCaCertificates()); + +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 PythonQtWrapper_QSslSocket::waitForEncrypted(QSslSocket* theWrappedObject, int msecs) +bool PythonQtShell_QTcpServer::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->waitForEncrypted(msecs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -#endif - - -PythonQtShell_QTcpServer::~PythonQtShell_QTcpServer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTcpServer::eventFilter(watched0, event1); } bool PythonQtShell_QTcpServer::hasPendingConnections() const { @@ -5405,19 +4248,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasPendingConnections", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5437,9 +4280,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&handle0}; + void* args[2] = {nullptr, (void*)&handle0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5460,19 +4303,19 @@ if (_wrapper) { static const char* argumentList[] ={"QTcpSocket*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QTcpSocket* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextPendingConnection", methodInfo, result); } else { returnValue = *((QTcpSocket**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5482,6 +4325,28 @@ if (_wrapper) { } 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); } @@ -5616,19 +4481,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5649,19 +4514,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5682,19 +4547,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5715,19 +4580,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5737,6 +4602,28 @@ if (_wrapper) { } 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) { @@ -5747,9 +4634,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5769,9 +4656,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5791,9 +4678,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5803,6 +4690,28 @@ if (_wrapper) { } 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) { @@ -5813,9 +4722,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5825,6 +4734,72 @@ if (_wrapper) { } 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) { @@ -5836,19 +4811,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5869,19 +4844,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5902,19 +4877,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5935,19 +4910,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5968,19 +4943,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6001,19 +4976,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6033,9 +5008,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6056,19 +5031,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6088,9 +5063,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6111,19 +5086,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6143,9 +5118,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6166,19 +5141,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6199,19 +5174,19 @@ if (_wrapper) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qintptr returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6232,19 +5207,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6254,6 +5229,28 @@ if (_wrapper) { } 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) { @@ -6265,19 +5262,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6298,19 +5295,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6331,19 +5328,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6364,19 +5361,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6397,19 +5394,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6453,19 +5450,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("atEnd", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6486,19 +5483,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesAvailable", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6519,19 +5516,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("bytesToWrite", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6552,19 +5549,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canReadLine", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6574,6 +5571,28 @@ if (_wrapper) { } 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) { @@ -6584,9 +5603,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6606,9 +5625,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QHostAddress&" , "unsigned short" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&address0, (void*)&port1, (void*)&mode2}; + void* args[4] = {nullptr, (void*)&address0, (void*)&port1, (void*)&mode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6628,9 +5647,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "unsigned short" , "QIODevice::OpenMode" , "QAbstractSocket::NetworkLayerProtocol"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {NULL, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; + void* args[5] = {nullptr, (void*)&hostName0, (void*)&port1, (void*)&mode2, (void*)&protocol3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6640,6 +5659,28 @@ if (_wrapper) { } 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) { @@ -6650,9 +5691,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6662,6 +5703,72 @@ if (_wrapper) { } 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) { @@ -6673,19 +5780,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isSequential", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6706,19 +5813,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&mode0}; + void* args[2] = {nullptr, (void*)&mode0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6739,19 +5846,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("pos", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6772,19 +5879,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6805,19 +5912,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&maxlen1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&maxlen1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("readLineData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6838,19 +5945,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6870,9 +5977,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6893,19 +6000,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("seek", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6925,9 +6032,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&size0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6948,19 +6055,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "qintptr" , "QAbstractSocket::SocketState" , "QIODevice::OpenMode"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; + void* args[4] = {nullptr, (void*)&socketDescriptor0, (void*)&state1, (void*)&openMode2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setSocketDescriptor", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6980,9 +6087,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QAbstractSocket::SocketOption" , "const QVariant&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&option0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&option0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -7003,19 +6110,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qint64 returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7036,19 +6143,19 @@ if (_wrapper) { static const char* argumentList[] ={"qintptr"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); qintptr returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketDescriptor", methodInfo, result); } else { returnValue = *((qintptr*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7069,19 +6176,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "QAbstractSocket::SocketOption"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&option0}; + void* args[2] = {nullptr, (void*)&option0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("socketOption", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7091,6 +6198,28 @@ if (_wrapper) { } 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) { @@ -7102,19 +6231,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForBytesWritten", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7135,19 +6264,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForConnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7168,19 +6297,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForDisconnected", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7201,19 +6330,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&msecs0}; + void* args[2] = {nullptr, (void*)&msecs0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("waitForReadyRead", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7234,19 +6363,19 @@ if (_wrapper) { static const char* argumentList[] ={"qint64" , "const char*" , "qint64"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); qint64 returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&len1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&len1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("writeData", methodInfo, result); } else { returnValue = *((qint64*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7334,3 +6463,5 @@ qint64 PythonQtWrapper_QUdpSocket::writeDatagram(QUdpSocket* theWrappedObject, } + + diff --git a/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.h b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network1.h new file mode 100644 index 00000000..091739ca --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp new file mode 100644 index 00000000..fd46f394 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp similarity index 53% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp index 66b0db0f..3c55bddb 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp @@ -3,27 +3,58 @@ #include #include #include +#include #include +#include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include #include #include -#include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #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() { @@ -52,7 +83,7 @@ bool PythonQtWrapper_QGLBuffer::bind(QGLBuffer* theWrappedObject) return ( theWrappedObject->bind()); } -GLuint PythonQtWrapper_QGLBuffer::bufferId(QGLBuffer* theWrappedObject) const +uint PythonQtWrapper_QGLBuffer::bufferId(QGLBuffer* theWrappedObject) const { return ( theWrappedObject->bufferId()); } @@ -208,19 +239,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGLContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&shareContext0}; + void* args[2] = {nullptr, (void*)&shareContext0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("chooseContext", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -241,19 +272,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QGLContext*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&shareContext0}; + void* args[2] = {nullptr, (void*)&shareContext0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -273,9 +304,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -295,9 +326,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -317,9 +348,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -342,27 +373,27 @@ bool PythonQtWrapper_QGLContext::static_QGLContext_areSharing(const QGLContext* return (QGLContext::areSharing(context1, context2)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format) { return ( theWrappedObject->bindTexture(image, target, format)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) { return ( theWrappedObject->bindTexture(image, target, format, options)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) { return ( theWrappedObject->bindTexture(pixmap, target, format)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) { return ( theWrappedObject->bindTexture(pixmap, target, format, options)); } -GLuint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) +uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) { return ( theWrappedObject->bindTexture(fileName)); } @@ -392,7 +423,7 @@ const QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_currentContext( return (QGLContext::currentContext()); } -void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, GLuint tx_id) +void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, uint tx_id) { ( theWrappedObject->deleteTexture(tx_id)); } @@ -412,12 +443,12 @@ void PythonQtWrapper_QGLContext::doneCurrent(QGLContext* theWrappedObject) ( theWrappedObject->doneCurrent()); } -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget) +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, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(target, textureId, textureTarget)); } @@ -626,6 +657,11 @@ QGLFormat::OpenGLVersionFlags PythonQtWrapper_QGLFormat::static_QGLFormat_openG return (QGLFormat::openGLVersionFlags()); } +bool PythonQtWrapper_QGLFormat::__ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} + bool PythonQtWrapper_QGLFormat::__eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) { return ( (*theWrappedObject)== arg__2); @@ -840,19 +876,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -872,9 +908,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -895,19 +931,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -928,19 +964,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -961,19 +997,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -994,19 +1030,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1060,12 +1096,12 @@ void PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_blitFrame (QGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); } -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget) +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, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(target, textureId, textureTarget)); } @@ -1075,7 +1111,7 @@ QGLFramebufferObjectFormat PythonQtWrapper_QGLFramebufferObject::format(QGLFram return ( theWrappedObject->format()); } -GLuint PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const +uint PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const { return ( theWrappedObject->handle()); } @@ -1110,7 +1146,7 @@ QSize PythonQtWrapper_QGLFramebufferObject::size(QGLFramebufferObject* theWrapp return ( theWrappedObject->size()); } -GLuint PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const +uint PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const { return ( theWrappedObject->texture()); } @@ -1210,27 +1246,27 @@ void PythonQtWrapper_QGLFunctions::glActiveTexture(QGLFunctions* theWrappedObjec ( theWrappedObject->glActiveTexture(texture)); } -void PythonQtWrapper_QGLFunctions::glAttachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader) +void PythonQtWrapper_QGLFunctions::glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader) { ( theWrappedObject->glAttachShader(program, shader)); } -void PythonQtWrapper_QGLFunctions::glBindAttribLocation(QGLFunctions* theWrappedObject, GLuint program, GLuint index, const char* name) +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, GLuint buffer) +void PythonQtWrapper_QGLFunctions::glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer) { ( theWrappedObject->glBindBuffer(target, buffer)); } -void PythonQtWrapper_QGLFunctions::glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint framebuffer) +void PythonQtWrapper_QGLFunctions::glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer) { ( theWrappedObject->glBindFramebuffer(target, framebuffer)); } -void PythonQtWrapper_QGLFunctions::glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint renderbuffer) +void PythonQtWrapper_QGLFunctions::glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer) { ( theWrappedObject->glBindRenderbuffer(target, renderbuffer)); } @@ -1265,7 +1301,7 @@ void PythonQtWrapper_QGLFunctions::glClearDepthf(QGLFunctions* theWrappedObject, ( theWrappedObject->glClearDepthf(depth)); } -void PythonQtWrapper_QGLFunctions::glCompileShader(QGLFunctions* theWrappedObject, GLuint shader) +void PythonQtWrapper_QGLFunctions::glCompileShader(QGLFunctions* theWrappedObject, uint shader) { ( theWrappedObject->glCompileShader(shader)); } @@ -1280,37 +1316,37 @@ void PythonQtWrapper_QGLFunctions::glCompressedTexSubImage2D(QGLFunctions* theWr ( theWrappedObject->glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)); } -GLuint PythonQtWrapper_QGLFunctions::glCreateProgram(QGLFunctions* theWrappedObject) +uint PythonQtWrapper_QGLFunctions::glCreateProgram(QGLFunctions* theWrappedObject) { return ( theWrappedObject->glCreateProgram()); } -GLuint PythonQtWrapper_QGLFunctions::glCreateShader(QGLFunctions* theWrappedObject, GLenum type) +uint PythonQtWrapper_QGLFunctions::glCreateShader(QGLFunctions* theWrappedObject, GLenum type) { return ( theWrappedObject->glCreateShader(type)); } -void PythonQtWrapper_QGLFunctions::glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* buffers) +void PythonQtWrapper_QGLFunctions::glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers) { ( theWrappedObject->glDeleteBuffers(n, buffers)); } -void PythonQtWrapper_QGLFunctions::glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* framebuffers) +void PythonQtWrapper_QGLFunctions::glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers) { ( theWrappedObject->glDeleteFramebuffers(n, framebuffers)); } -void PythonQtWrapper_QGLFunctions::glDeleteProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glDeleteProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glDeleteProgram(program)); } -void PythonQtWrapper_QGLFunctions::glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* renderbuffers) +void PythonQtWrapper_QGLFunctions::glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers) { ( theWrappedObject->glDeleteRenderbuffers(n, renderbuffers)); } -void PythonQtWrapper_QGLFunctions::glDeleteShader(QGLFunctions* theWrappedObject, GLuint shader) +void PythonQtWrapper_QGLFunctions::glDeleteShader(QGLFunctions* theWrappedObject, uint shader) { ( theWrappedObject->glDeleteShader(shader)); } @@ -1320,42 +1356,42 @@ void PythonQtWrapper_QGLFunctions::glDepthRangef(QGLFunctions* theWrappedObject, ( theWrappedObject->glDepthRangef(zNear, zFar)); } -void PythonQtWrapper_QGLFunctions::glDetachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader) +void PythonQtWrapper_QGLFunctions::glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader) { ( theWrappedObject->glDetachShader(program, shader)); } -void PythonQtWrapper_QGLFunctions::glDisableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index) +void PythonQtWrapper_QGLFunctions::glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) { ( theWrappedObject->glDisableVertexAttribArray(index)); } -void PythonQtWrapper_QGLFunctions::glEnableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index) +void PythonQtWrapper_QGLFunctions::glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) { ( theWrappedObject->glEnableVertexAttribArray(index)); } -void PythonQtWrapper_QGLFunctions::glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) +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, GLuint texture, GLint level) +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, GLuint* buffers) +void PythonQtWrapper_QGLFunctions::glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers) { ( theWrappedObject->glGenBuffers(n, buffers)); } -void PythonQtWrapper_QGLFunctions::glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* framebuffers) +void PythonQtWrapper_QGLFunctions::glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers) { ( theWrappedObject->glGenFramebuffers(n, framebuffers)); } -void PythonQtWrapper_QGLFunctions::glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* renderbuffers) +void PythonQtWrapper_QGLFunctions::glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers) { ( theWrappedObject->glGenRenderbuffers(n, renderbuffers)); } @@ -1365,22 +1401,22 @@ void PythonQtWrapper_QGLFunctions::glGenerateMipmap(QGLFunctions* theWrappedObje ( theWrappedObject->glGenerateMipmap(target)); } -void PythonQtWrapper_QGLFunctions::glGetActiveAttrib(QGLFunctions* theWrappedObject, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) +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, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* 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, GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) +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, GLuint program, const char* name) +int PythonQtWrapper_QGLFunctions::glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name) { return ( theWrappedObject->glGetAttribLocation(program, name)); } @@ -1395,12 +1431,12 @@ void PythonQtWrapper_QGLFunctions::glGetFramebufferAttachmentParameteriv(QGLFunc ( theWrappedObject->glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)); } -void PythonQtWrapper_QGLFunctions::glGetProgramInfoLog(QGLFunctions* theWrappedObject, GLuint program, GLsizei bufsize, GLsizei* length, char* infolog) +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, GLuint program, GLenum pname, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params) { ( theWrappedObject->glGetProgramiv(program, pname, params)); } @@ -1410,7 +1446,7 @@ void PythonQtWrapper_QGLFunctions::glGetRenderbufferParameteriv(QGLFunctions* th ( theWrappedObject->glGetRenderbufferParameteriv(target, pname, params)); } -void PythonQtWrapper_QGLFunctions::glGetShaderInfoLog(QGLFunctions* theWrappedObject, GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog) +void PythonQtWrapper_QGLFunctions::glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog) { ( theWrappedObject->glGetShaderInfoLog(shader, bufsize, length, infolog)); } @@ -1420,72 +1456,72 @@ void PythonQtWrapper_QGLFunctions::glGetShaderPrecisionFormat(QGLFunctions* theW ( theWrappedObject->glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision)); } -void PythonQtWrapper_QGLFunctions::glGetShaderSource(QGLFunctions* theWrappedObject, GLuint shader, GLsizei bufsize, GLsizei* length, char* source) +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, GLuint shader, GLenum pname, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params) { ( theWrappedObject->glGetShaderiv(shader, pname, params)); } -int PythonQtWrapper_QGLFunctions::glGetUniformLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name) +int PythonQtWrapper_QGLFunctions::glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name) { return ( theWrappedObject->glGetUniformLocation(program, name)); } -void PythonQtWrapper_QGLFunctions::glGetUniformfv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLfloat* params) +void PythonQtWrapper_QGLFunctions::glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params) { ( theWrappedObject->glGetUniformfv(program, location, params)); } -void PythonQtWrapper_QGLFunctions::glGetUniformiv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params) { ( theWrappedObject->glGetUniformiv(program, location, params)); } -void PythonQtWrapper_QGLFunctions::glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, void** pointer) +void PythonQtWrapper_QGLFunctions::glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer) { ( theWrappedObject->glGetVertexAttribPointerv(index, pname, pointer)); } -void PythonQtWrapper_QGLFunctions::glGetVertexAttribfv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLfloat* params) +void PythonQtWrapper_QGLFunctions::glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params) { ( theWrappedObject->glGetVertexAttribfv(index, pname, params)); } -void PythonQtWrapper_QGLFunctions::glGetVertexAttribiv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLint* params) +void PythonQtWrapper_QGLFunctions::glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params) { ( theWrappedObject->glGetVertexAttribiv(index, pname, params)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsBuffer(QGLFunctions* theWrappedObject, GLuint buffer) +GLboolean PythonQtWrapper_QGLFunctions::glIsBuffer(QGLFunctions* theWrappedObject, uint buffer) { return ( theWrappedObject->glIsBuffer(buffer)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsFramebuffer(QGLFunctions* theWrappedObject, GLuint framebuffer) +GLboolean PythonQtWrapper_QGLFunctions::glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer) { return ( theWrappedObject->glIsFramebuffer(framebuffer)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsProgram(QGLFunctions* theWrappedObject, GLuint program) +GLboolean PythonQtWrapper_QGLFunctions::glIsProgram(QGLFunctions* theWrappedObject, uint program) { return ( theWrappedObject->glIsProgram(program)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsRenderbuffer(QGLFunctions* theWrappedObject, GLuint renderbuffer) +GLboolean PythonQtWrapper_QGLFunctions::glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer) { return ( theWrappedObject->glIsRenderbuffer(renderbuffer)); } -GLboolean PythonQtWrapper_QGLFunctions::glIsShader(QGLFunctions* theWrappedObject, GLuint shader) +GLboolean PythonQtWrapper_QGLFunctions::glIsShader(QGLFunctions* theWrappedObject, uint shader) { return ( theWrappedObject->glIsShader(shader)); } -void PythonQtWrapper_QGLFunctions::glLinkProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glLinkProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glLinkProgram(program)); } @@ -1505,22 +1541,22 @@ void PythonQtWrapper_QGLFunctions::glSampleCoverage(QGLFunctions* theWrappedObje ( theWrappedObject->glSampleCoverage(value, invert)); } -void PythonQtWrapper_QGLFunctions::glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLint length) +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, GLuint shader, GLsizei count, const char** string, const GLint* 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, GLuint mask) +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, GLuint mask) +void PythonQtWrapper_QGLFunctions::glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask) { ( theWrappedObject->glStencilMaskSeparate(face, mask)); } @@ -1625,57 +1661,57 @@ void PythonQtWrapper_QGLFunctions::glUniformMatrix4fv(QGLFunctions* theWrappedOb ( theWrappedObject->glUniformMatrix4fv(location, count, transpose, value)); } -void PythonQtWrapper_QGLFunctions::glUseProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glUseProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glUseProgram(program)); } -void PythonQtWrapper_QGLFunctions::glValidateProgram(QGLFunctions* theWrappedObject, GLuint program) +void PythonQtWrapper_QGLFunctions::glValidateProgram(QGLFunctions* theWrappedObject, uint program) { ( theWrappedObject->glValidateProgram(program)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib1f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x) +void PythonQtWrapper_QGLFunctions::glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x) { ( theWrappedObject->glVertexAttrib1f(indx, x)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib1fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib1fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib2f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y) +void PythonQtWrapper_QGLFunctions::glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y) { ( theWrappedObject->glVertexAttrib2f(indx, x, y)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib2fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib2fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib3f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z) +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, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib3fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttrib4f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +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, GLuint indx, const GLfloat* values) +void PythonQtWrapper_QGLFunctions::glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) { ( theWrappedObject->glVertexAttrib4fv(indx, values)); } -void PythonQtWrapper_QGLFunctions::glVertexAttribPointer(QGLFunctions* theWrappedObject, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) +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)); } @@ -1712,19 +1748,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1744,9 +1780,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1767,19 +1803,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1800,19 +1836,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1833,19 +1869,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1866,19 +1902,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1896,22 +1932,22 @@ QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(int width, i { return new PythonQtShell_QGLPixelBuffer(width, height, format, shareWidget); } -GLuint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target) +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target) { return ( theWrappedObject->bindTexture(image, target)); } -GLuint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target) +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target) { return ( theWrappedObject->bindTexture(pixmap, target)); } -GLuint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) +uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) { return ( theWrappedObject->bindTexture(fileName)); } -bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture) +bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture) { return ( theWrappedObject->bindToDynamicTexture(texture)); } @@ -1921,7 +1957,7 @@ QGLContext* PythonQtWrapper_QGLPixelBuffer::context(QGLPixelBuffer* theWrappedO return ( theWrappedObject->context()); } -void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id) +void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) { ( theWrappedObject->deleteTexture(texture_id)); } @@ -1931,12 +1967,12 @@ bool PythonQtWrapper_QGLPixelBuffer::doneCurrent(QGLPixelBuffer* theWrappedObje return ( theWrappedObject->doneCurrent()); } -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, GLuint textureId, GLenum textureTarget) +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, GLuint textureId, GLenum textureTarget) +void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) { ( theWrappedObject->drawTexture(target, textureId, textureTarget)); } @@ -1946,7 +1982,7 @@ QGLFormat PythonQtWrapper_QGLPixelBuffer::format(QGLPixelBuffer* theWrappedObje return ( theWrappedObject->format()); } -GLuint PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const +uint PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const { return ( theWrappedObject->generateDynamicTexture()); } @@ -1986,7 +2022,7 @@ QImage PythonQtWrapper_QGLPixelBuffer::toImage(QGLPixelBuffer* theWrappedObject return ( theWrappedObject->toImage()); } -void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id) const +void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const { ( theWrappedObject->updateDynamicTexture(texture_id)); } @@ -1997,6 +2033,138 @@ 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); } @@ -2053,7 +2221,7 @@ QString PythonQtWrapper_QGLShader::log(QGLShader* theWrappedObject) const return ( theWrappedObject->log()); } -GLuint PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const +uint PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const { return ( theWrappedObject->shaderId()); } @@ -2074,6 +2242,116 @@ 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) { @@ -2085,19 +2363,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2107,6 +2385,28 @@ if (_wrapper) { } 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); } @@ -2248,7 +2548,7 @@ int PythonQtWrapper_QGLShaderProgram::maxGeometryOutputVertices(QGLShaderProgra return ( theWrappedObject->maxGeometryOutputVertices()); } -GLuint PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const +uint PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const { return ( theWrappedObject->programId()); } @@ -2508,6 +2808,11 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrap ( 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)); @@ -2583,6 +2888,11 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrap ( 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)); @@ -2613,17 +2923,17 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* th ( theWrappedObject->setUniformValueArray(name, values, count)); } -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count) { - ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); + ( theWrappedObject->setUniformValueArray(name, values, count)); } -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); } -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) +void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) { ( theWrappedObject->setUniformValueArray(location, values, count)); } @@ -2648,6 +2958,11 @@ void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* th ( 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()); @@ -2669,3 +2984,1583 @@ int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrap } + +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.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h similarity index 66% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h index 588a35ad..a3f36f43 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h @@ -1,8 +1,19 @@ #include #include #include +#include #include +#include +#include +#include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include @@ -10,18 +21,39 @@ #include #include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #include +#include +#include #include #include #include #include +#include +#include +#include #include +#include +#include +#include +#include +#include #include #include +#include #include #include #include +#include +#include @@ -39,11 +71,11 @@ public slots: QGLBuffer* new_QGLBuffer(); QGLBuffer* new_QGLBuffer(QGLBuffer::Type type); QGLBuffer* new_QGLBuffer(const QGLBuffer& other); -void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } +void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } void allocate(QGLBuffer* theWrappedObject, const void* data, int count); void allocate(QGLBuffer* theWrappedObject, int count); bool bind(QGLBuffer* theWrappedObject); - GLuint bufferId(QGLBuffer* theWrappedObject) const; + uint bufferId(QGLBuffer* theWrappedObject) const; bool create(QGLBuffer* theWrappedObject); void destroy(QGLBuffer* theWrappedObject); bool isCreated(QGLBuffer* theWrappedObject) const; @@ -67,13 +99,13 @@ void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } class PythonQtShell_QGLColormap : public QGLColormap { public: - PythonQtShell_QGLColormap():QGLColormap(),_wrapper(NULL) {}; - PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(NULL) {}; + PythonQtShell_QGLColormap():QGLColormap(),_wrapper(nullptr) {}; + PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(nullptr) {}; ~PythonQtShell_QGLColormap(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLColormap : public QGLColormap @@ -88,7 +120,7 @@ class PythonQtWrapper_QGLColormap : public QObject public slots: QGLColormap* new_QGLColormap(); QGLColormap* new_QGLColormap(const QGLColormap& arg__1); -void delete_QGLColormap(QGLColormap* obj) { delete obj; } +void delete_QGLColormap(QGLColormap* obj) { delete obj; } QColor entryColor(QGLColormap* theWrappedObject, int idx) const; unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const; int find(QGLColormap* theWrappedObject, unsigned int color) const; @@ -109,18 +141,18 @@ void delete_QGLColormap(QGLColormap* obj) { delete obj; } class PythonQtShell_QGLContext : public QGLContext { public: - PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(NULL) {}; - PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(NULL) {}; + PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(nullptr) {}; + PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(nullptr) {}; - ~PythonQtShell_QGLContext(); + ~PythonQtShell_QGLContext() override; -virtual bool chooseContext(const QGLContext* shareContext = nullptr); -virtual bool create(const QGLContext* shareContext = nullptr); -virtual void doneCurrent(); -virtual void makeCurrent(); -virtual void swapBuffers() const; +bool chooseContext(const QGLContext* shareContext = nullptr) override; +bool create(const QGLContext* shareContext = nullptr) override; +void doneCurrent() override; +void makeCurrent() override; +void swapBuffers() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLContext : public QGLContext @@ -151,13 +183,13 @@ Q_DECLARE_FLAGS(BindOptions, BindOption) public slots: QGLContext* new_QGLContext(const QGLFormat& format); QGLContext* new_QGLContext(const QGLFormat& format, QPaintDevice* device); -void delete_QGLContext(QGLContext* obj) { delete obj; } +void delete_QGLContext(QGLContext* obj) { delete obj; } bool static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2); - GLuint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); - GLuint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); - GLuint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); - GLuint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); - GLuint bindTexture(QGLContext* theWrappedObject, const QString& fileName); + 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; @@ -165,13 +197,13 @@ void delete_QGLContext(QGLContext* obj) { delete obj; } 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, GLuint tx_id); + 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, GLuint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLContext* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget = 0x0DE1); + 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; @@ -214,7 +246,7 @@ public slots: QGLFormat* new_QGLFormat(); QGLFormat* new_QGLFormat(QGL::FormatOptions options, int plane = 0); QGLFormat* new_QGLFormat(const QGLFormat& other); -void delete_QGLFormat(QGLFormat* obj) { delete obj; } +void delete_QGLFormat(QGLFormat* obj) { delete obj; } bool accum(QGLFormat* theWrappedObject) const; int accumBufferSize(QGLFormat* theWrappedObject) const; bool alpha(QGLFormat* theWrappedObject) const; @@ -234,6 +266,7 @@ void delete_QGLFormat(QGLFormat* obj) { delete obj; } int majorVersion(QGLFormat* theWrappedObject) const; int minorVersion(QGLFormat* theWrappedObject) const; QGLFormat::OpenGLVersionFlags static_QGLFormat_openGLVersionFlags(); + bool __ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); bool __eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); int plane(QGLFormat* theWrappedObject) const; QGLFormat::OpenGLContextProfile profile(QGLFormat* theWrappedObject) const; @@ -282,23 +315,23 @@ void delete_QGLFormat(QGLFormat* obj) { delete obj; } class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject { public: - PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(NULL) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QGLFramebufferObject(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(nullptr) {}; + PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; + + ~PythonQtShell_QGLFramebufferObject() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject @@ -323,16 +356,16 @@ QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, const QGLFram QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1); QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0); QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format); -void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } +void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; bool bind(QGLFramebufferObject* theWrappedObject); bool static_QGLFramebufferObject_bindDefault(); 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, GLuint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget = 0x0DE1); + 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; - GLuint handle(QGLFramebufferObject* theWrappedObject) const; + uint handle(QGLFramebufferObject* theWrappedObject) const; bool static_QGLFramebufferObject_hasOpenGLFramebufferBlit(); bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects(); bool isBound(QGLFramebufferObject* theWrappedObject) const; @@ -341,7 +374,7 @@ void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } QPaintEngine* py_q_paintEngine(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_paintEngine());} bool release(QGLFramebufferObject* theWrappedObject); QSize size(QGLFramebufferObject* theWrappedObject) const; - GLuint texture(QGLFramebufferObject* theWrappedObject) const; + uint texture(QGLFramebufferObject* theWrappedObject) const; QImage toImage(QGLFramebufferObject* theWrappedObject) const; bool __nonzero__(QGLFramebufferObject* obj) { return obj->isValid(); } }; @@ -356,7 +389,7 @@ class PythonQtWrapper_QGLFramebufferObjectFormat : public QObject public slots: QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(); QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other); -void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } +void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } QGLFramebufferObject::Attachment attachment(QGLFramebufferObjectFormat* theWrappedObject) const; GLenum internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const; bool mipmap(QGLFramebufferObjectFormat* theWrappedObject) const; @@ -387,71 +420,71 @@ Q_DECLARE_FLAGS(OpenGLFeatures, OpenGLFeature) public slots: QGLFunctions* new_QGLFunctions(); QGLFunctions* new_QGLFunctions(const QGLContext* context); -void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } +void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } void glActiveTexture(QGLFunctions* theWrappedObject, GLenum texture); - void glAttachShader(QGLFunctions* theWrappedObject, GLuint program, GLuint shader); - void glBindAttribLocation(QGLFunctions* theWrappedObject, GLuint program, GLuint index, const char* name); - void glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint buffer); - void glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint framebuffer); - void glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLuint renderbuffer); + 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, GLuint shader); + 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); - GLuint glCreateProgram(QGLFunctions* theWrappedObject); - GLuint glCreateShader(QGLFunctions* theWrappedObject, GLenum type); - void glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* buffers); - void glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* framebuffers); - void glDeleteProgram(QGLFunctions* theWrappedObject, GLuint program); - void glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const GLuint* renderbuffers); - void glDeleteShader(QGLFunctions* theWrappedObject, GLuint shader); + 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, GLuint program, GLuint shader); - void glDisableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index); - void glEnableVertexAttribArray(QGLFunctions* theWrappedObject, GLuint index); - void glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); - void glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); - void glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* buffers); - void glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* framebuffers); - void glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, GLuint* renderbuffers); + 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, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); - void glGetActiveUniform(QGLFunctions* theWrappedObject, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); - void glGetAttachedShaders(QGLFunctions* theWrappedObject, GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); - int glGetAttribLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name); + 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, GLuint program, GLsizei bufsize, GLsizei* length, char* infolog); - void glGetProgramiv(QGLFunctions* theWrappedObject, GLuint program, 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, GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog); + 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, GLuint shader, GLsizei bufsize, GLsizei* length, char* source); - void glGetShaderiv(QGLFunctions* theWrappedObject, GLuint shader, GLenum pname, GLint* params); - int glGetUniformLocation(QGLFunctions* theWrappedObject, GLuint program, const char* name); - void glGetUniformfv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLfloat* params); - void glGetUniformiv(QGLFunctions* theWrappedObject, GLuint program, GLint location, GLint* params); - void glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, void** pointer); - void glGetVertexAttribfv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLfloat* params); - void glGetVertexAttribiv(QGLFunctions* theWrappedObject, GLuint index, GLenum pname, GLint* params); - GLboolean glIsBuffer(QGLFunctions* theWrappedObject, GLuint buffer); - GLboolean glIsFramebuffer(QGLFunctions* theWrappedObject, GLuint framebuffer); - GLboolean glIsProgram(QGLFunctions* theWrappedObject, GLuint program); - GLboolean glIsRenderbuffer(QGLFunctions* theWrappedObject, GLuint renderbuffer); - GLboolean glIsShader(QGLFunctions* theWrappedObject, GLuint shader); - void glLinkProgram(QGLFunctions* theWrappedObject, GLuint program); + 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 GLuint* shaders, GLenum binaryformat, const void* binary, GLint length); - void glShaderSource(QGLFunctions* theWrappedObject, GLuint shader, GLsizei count, const char** string, const GLint* length); - void glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, GLuint mask); - void glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, GLuint mask); + 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); @@ -472,17 +505,17 @@ void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } 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, GLuint program); - void glValidateProgram(QGLFunctions* theWrappedObject, GLuint program); - void glVertexAttrib1f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x); - void glVertexAttrib1fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttrib2f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y); - void glVertexAttrib2fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttrib3f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z); - void glVertexAttrib3fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttrib4f(QGLFunctions* theWrappedObject, GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void glVertexAttrib4fv(QGLFunctions* theWrappedObject, GLuint indx, const GLfloat* values); - void glVertexAttribPointer(QGLFunctions* theWrappedObject, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); + 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; @@ -495,19 +528,19 @@ void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer { public: - PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(NULL) {}; - PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(NULL) {}; + PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(nullptr) {}; + PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(nullptr) {}; - ~PythonQtShell_QGLPixelBuffer(); + ~PythonQtShell_QGLPixelBuffer() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer @@ -525,19 +558,19 @@ class PythonQtWrapper_QGLPixelBuffer : public QObject public slots: QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); -void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } - GLuint bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target = 0x0DE1); - GLuint bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1); - GLuint bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); - bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture); +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, GLuint texture_id); + 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, GLuint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, GLuint textureId, GLenum textureTarget = 0x0DE1); + 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; - GLuint generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; + uint generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const; bool static_QGLPixelBuffer_hasOpenGLPbuffers(); bool isValid(QGLPixelBuffer* theWrappedObject) const; @@ -547,7 +580,7 @@ void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject); QSize size(QGLPixelBuffer* theWrappedObject) const; QImage toImage(QGLPixelBuffer* theWrappedObject) const; - void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, GLuint texture_id) const; + void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const; bool __nonzero__(QGLPixelBuffer* obj) { return obj->isValid(); } }; @@ -558,15 +591,20 @@ void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } class PythonQtShell_QGLShader : public QGLShader { public: - PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(NULL) {}; - PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGLShader(); + ~PythonQtShell_QGLShader() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QGLShader : public QObject @@ -580,7 +618,7 @@ Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) public slots: QGLShader* new_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr); QGLShader* new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShader(QGLShader* obj) { delete obj; } +void delete_QGLShader(QGLShader* obj) { delete obj; } bool compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source); bool compileSourceCode(QGLShader* theWrappedObject, const QString& source); bool compileSourceCode(QGLShader* theWrappedObject, const char* source); @@ -588,7 +626,7 @@ void delete_QGLShader(QGLShader* obj) { delete obj; } bool static_QGLShader_hasOpenGLShaders(QGLShader::ShaderType type, const QGLContext* context = nullptr); bool isCompiled(QGLShader* theWrappedObject) const; QString log(QGLShader* theWrappedObject) const; - GLuint shaderId(QGLShader* theWrappedObject) const; + uint shaderId(QGLShader* theWrappedObject) const; QGLShader::ShaderType shaderType(QGLShader* theWrappedObject) const; QByteArray sourceCode(QGLShader* theWrappedObject) const; }; @@ -600,16 +638,21 @@ void delete_QGLShader(QGLShader* obj) { delete obj; } class PythonQtShell_QGLShaderProgram : public QGLShaderProgram { public: - PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(NULL) {}; - PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(NULL) {}; + PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(nullptr) {}; + PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QGLShaderProgram(); + ~PythonQtShell_QGLShaderProgram() override; -virtual bool link(); +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool link() override; +void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram @@ -623,7 +666,7 @@ class PythonQtWrapper_QGLShaderProgram : public QObject public slots: QGLShaderProgram* new_QGLShaderProgram(QObject* parent = nullptr); QGLShaderProgram* new_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } +void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } bool addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source); bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source); @@ -649,7 +692,7 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } bool py_q_link(QGLShaderProgram* theWrappedObject){ return (((PythonQtPublicPromoter_QGLShaderProgram*)theWrappedObject)->py_q_link());} QString log(QGLShaderProgram* theWrappedObject) const; int maxGeometryOutputVertices(QGLShaderProgram* theWrappedObject) const; - GLuint programId(QGLShaderProgram* theWrappedObject) const; + uint programId(QGLShaderProgram* theWrappedObject) const; void release(QGLShaderProgram* theWrappedObject); void removeAllShaders(QGLShaderProgram* theWrappedObject); void removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); @@ -701,6 +744,7 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } 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); @@ -716,19 +760,21 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } 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 GLuint* 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; @@ -736,3 +782,170 @@ void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } }; + + + +class PythonQtShell_QGLWidget : public QGLWidget +{ +public: + PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(context, parent, shareWidget, f),_wrapper(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.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp similarity index 79% rename from generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp index dd587419..ffde511f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp @@ -5,18 +5,19 @@ void PythonQt_init_QtOpenGL(PyObject* module) { -PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGLColormap", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QGLContext", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QGLFramebufferObject", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QGLFramebufferObject", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QGLPixelBuffer", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QGLPixelBuffer", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::priv()->registerClass(&QGLShader::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); 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.2/com_trolltech_qt_qml/com_trolltech_qt_qml.pri b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml.pri new file mode 100644 index 00000000..7f02ea66 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp new file mode 100644 index 00000000..236cfdb3 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.h b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml0.h new file mode 100644 index 00000000..bc05c491 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp new file mode 100644 index 00000000..f568cf96 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_quick/com_trolltech_qt_quick.pri b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick.pri new file mode 100644 index 00000000..1dcdced7 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp new file mode 100644 index 00000000..f755e65d --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.h b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick0.h new file mode 100644 index 00000000..a7b9d440 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp new file mode 100644 index 00000000..39a0e732 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.h b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick1.h new file mode 100644 index 00000000..cdeccef8 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp new file mode 100644 index 00000000..a93e251f --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_sql/com_trolltech_qt_sql.pri b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql.pri rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp similarity index 81% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp index c7dcbee5..76c6f72a 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp @@ -12,17 +12,28 @@ #include #include #include +#include +#include #include -#include +#include +#include #include +#include +#include #include #include +#include #include #include #include #include +#include #include #include +#include +#include +#include +#include @@ -280,19 +291,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("beginTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -313,19 +324,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("cancelQuery", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -335,6 +346,28 @@ if (_wrapper) { } 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) { @@ -345,9 +378,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -368,19 +401,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("commitTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -401,19 +434,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlResult*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSqlResult* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createResult", methodInfo, result); } else { returnValue = *((QSqlResult**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -421,7 +454,29 @@ if (_wrapper) { } } } - return 0; + 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 { @@ -434,19 +489,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("escapeIdentifier", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -456,6 +511,72 @@ if (_wrapper) { } 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) { @@ -467,19 +588,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QSqlField&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&field0, (void*)&trimStrings1}; + void* args[3] = {nullptr, (void*)&field0, (void*)&trimStrings1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("formatValue", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -500,19 +621,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -533,19 +654,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QSqlDriver::DriverFeature"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&f0}; + void* args[2] = {nullptr, (void*)&f0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasFeature", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -566,19 +687,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isIdentifierEscaped", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -599,19 +720,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isOpen", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -632,19 +753,19 @@ if (_wrapper) { 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] = {NULL, (void*)&db0, (void*)&user1, (void*)&password2, (void*)&host3, (void*)&port4, (void*)&connOpts5}; + void* args[7] = {nullptr, (void*)&db0, (void*)&user1, (void*)&password2, (void*)&host3, (void*)&port4, (void*)&connOpts5}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("open", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -665,19 +786,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlIndex" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSqlIndex returnValue{}; - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("primaryIndex", methodInfo, result); } else { returnValue = *((QSqlIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -698,19 +819,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlRecord" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSqlRecord returnValue{}; - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); } else { returnValue = *((QSqlRecord*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -731,19 +852,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rollbackTransaction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -763,9 +884,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSqlError&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -785,9 +906,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&o0}; + void* args[2] = {nullptr, (void*)&o0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -807,9 +928,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -830,19 +951,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "QSqlDriver::StatementType" , "const QString&" , "const QSqlRecord&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); QString returnValue{}; - void* args[5] = {NULL, (void*)&type0, (void*)&tableName1, (void*)&rec2, (void*)&preparedStatement3}; + void* args[5] = {nullptr, (void*)&type0, (void*)&tableName1, (void*)&rec2, (void*)&preparedStatement3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sqlStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -863,19 +984,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QString&" , "QSqlDriver::IdentifierType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&identifier0, (void*)&type1}; + void* args[3] = {nullptr, (void*)&identifier0, (void*)&type1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("stripDelimiters", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -896,19 +1017,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subscribeToNotification", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -929,19 +1050,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("subscribedToNotifications", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -962,19 +1083,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList" , "QSql::TableType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QStringList returnValue{}; - void* args[2] = {NULL, (void*)&tableType0}; + void* args[2] = {nullptr, (void*)&tableType0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("tables", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -984,6 +1105,28 @@ if (_wrapper) { } 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) { @@ -995,19 +1138,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unsubscribeFromNotification", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1191,19 +1334,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlDriver*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSqlDriver* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); } else { returnValue = *((QSqlDriver**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1211,7 +1354,7 @@ if (_wrapper) { } } } - return 0; + return nullptr; } QSqlDriverCreatorBase* PythonQtWrapper_QSqlDriverCreatorBase::new_QSqlDriverCreatorBase() { @@ -1224,10 +1367,105 @@ QSqlDriver* PythonQtWrapper_QSqlDriverCreatorBase::createObject(QSqlDriverCreat +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); } @@ -1669,19 +1907,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1702,19 +1940,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1735,19 +1973,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1757,6 +1995,28 @@ if (_wrapper) { } 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) { @@ -1767,9 +2027,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1790,19 +2050,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1812,6 +2072,28 @@ if (_wrapper) { } 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) { @@ -1823,19 +2105,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&item0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&item0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1856,19 +2138,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1878,6 +2160,72 @@ if (_wrapper) { } 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) { @@ -1888,9 +2236,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1911,19 +2259,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1944,19 +2292,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1977,19 +2325,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2010,19 +2358,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2043,19 +2391,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2076,19 +2424,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2109,19 +2457,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2142,19 +2490,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2175,19 +2523,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2208,19 +2556,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2241,19 +2589,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2274,19 +2622,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2306,9 +2654,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2329,19 +2677,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2362,19 +2710,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2394,9 +2742,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2417,19 +2765,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2450,19 +2798,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2483,19 +2831,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2516,19 +2864,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2549,19 +2897,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2582,19 +2930,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2614,9 +2962,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2637,19 +2985,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2670,19 +3018,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2703,19 +3051,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2736,19 +3084,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2758,6 +3106,28 @@ if (_wrapper) { } 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); } @@ -3034,6 +3404,41 @@ QString PythonQtWrapper_QSqlRecord::py_toString(QSqlRecord* obj) { +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); } @@ -3049,19 +3454,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3082,19 +3487,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3115,19 +3520,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3137,6 +3542,28 @@ if (_wrapper) { } 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) { @@ -3147,9 +3574,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3170,19 +3597,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3192,6 +3619,28 @@ if (_wrapper) { } 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) { @@ -3203,19 +3652,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&item0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&item0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3236,19 +3685,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3269,19 +3718,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3291,6 +3740,72 @@ if (_wrapper) { } 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) { @@ -3301,9 +3816,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3324,19 +3839,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3357,19 +3872,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3390,19 +3905,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3423,19 +3938,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3456,19 +3971,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3489,19 +4004,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&values0}; + void* args[2] = {nullptr, (void*)&values0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3522,19 +4037,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3555,19 +4070,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3588,19 +4103,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3621,19 +4136,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3654,19 +4169,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3687,19 +4202,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3720,19 +4235,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3753,19 +4268,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3785,9 +4300,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3808,19 +4323,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlTableModel*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSqlTableModel* returnValue{}; - void* args[2] = {NULL, (void*)&column0}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("relationModel", methodInfo, result); } else { returnValue = *((QSqlTableModel**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3841,19 +4356,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3874,19 +4389,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3906,9 +4421,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3928,9 +4443,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3951,19 +4466,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3984,19 +4499,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4017,19 +4532,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4050,19 +4565,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4083,19 +4598,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4116,19 +4631,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&item0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&item0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4148,9 +4663,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy0}; + void* args[2] = {nullptr, (void*)&strategy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4170,9 +4685,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter0}; + void* args[2] = {nullptr, (void*)&filter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4193,19 +4708,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4226,19 +4741,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4258,9 +4773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QSqlRelation&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&relation1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&relation1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4280,9 +4795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4302,9 +4817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4325,19 +4840,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4357,9 +4872,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4380,19 +4895,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4413,19 +4928,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4446,19 +4961,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4479,19 +4994,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4501,6 +5016,28 @@ if (_wrapper) { } 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) { @@ -4512,19 +5049,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&row0, (void*)&values1}; + void* args[3] = {nullptr, (void*)&row0, (void*)&values1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4587,9 +5124,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&" , "const QVariant&" , "QSql::ParamType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&placeholder0, (void*)&val1, (void*)&type2}; + void* args[4] = {nullptr, (void*)&placeholder0, (void*)&val1, (void*)&type2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4609,9 +5146,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "const QVariant&" , "QSql::ParamType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&pos0, (void*)&val1, (void*)&type2}; + void* args[4] = {nullptr, (void*)&pos0, (void*)&val1, (void*)&type2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4632,19 +5169,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4664,9 +5201,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -4687,19 +5224,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4720,19 +5257,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&arrayBind0}; + void* args[2] = {nullptr, (void*)&arrayBind0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("execBatch", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4753,19 +5290,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetch", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4786,19 +5323,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchFirst", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4819,19 +5356,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchLast", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4852,19 +5389,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchNext", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4885,19 +5422,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fetchPrevious", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4918,19 +5455,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("handle", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4951,19 +5488,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&i0}; + void* args[2] = {nullptr, (void*)&i0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("isNull", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -4984,19 +5521,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QVariant returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lastInsertId", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5017,19 +5554,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nextResult", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5050,19 +5587,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("numRowsAffected", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5083,19 +5620,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("prepare", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5116,19 +5653,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSqlRecord"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSqlRecord returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("record", methodInfo, result); } else { returnValue = *((QSqlRecord*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5149,19 +5686,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sqlquery0}; + void* args[2] = {nullptr, (void*)&sqlquery0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("reset", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5182,19 +5719,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&sqlquery0}; + void* args[2] = {nullptr, (void*)&sqlquery0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("savePrepare", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5214,9 +5751,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&a0}; + void* args[2] = {nullptr, (void*)&a0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5236,9 +5773,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&at0}; + void* args[2] = {nullptr, (void*)&at0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5258,9 +5795,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&forward0}; + void* args[2] = {nullptr, (void*)&forward0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5280,9 +5817,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QSqlError&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&e0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5302,9 +5839,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSql::NumericalPrecisionPolicy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&policy0}; + void* args[2] = {nullptr, (void*)&policy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5324,9 +5861,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&query0}; + void* args[2] = {nullptr, (void*)&query0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5346,9 +5883,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&s0}; + void* args[2] = {nullptr, (void*)&s0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5369,19 +5906,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5391,28 +5928,6 @@ if (_wrapper) { } return int(); } -void PythonQtShell_QSqlResult::virtual_hook(int id0, void* data1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("virtual_hook"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "void*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&id0, (void*)&data1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSqlResult::virtual_hook(id0, data1); -} QSqlResult* PythonQtWrapper_QSqlResult::new_QSqlResult(const QSqlDriver* db) { return new PythonQtShell_QSqlResult(db); } @@ -5684,19 +6199,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("buddy", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5717,19 +6232,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canDropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5750,19 +6265,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("canFetchMore", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5772,6 +6287,28 @@ if (_wrapper) { } 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) { @@ -5782,9 +6319,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5805,19 +6342,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5827,6 +6364,28 @@ if (_wrapper) { } 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) { @@ -5838,19 +6397,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "const QModelIndex&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QVariant returnValue{}; - void* args[3] = {NULL, (void*)&idx0, (void*)&role1}; + void* args[3] = {nullptr, (void*)&idx0, (void*)&role1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5871,19 +6430,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("deleteRowFromTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5904,19 +6463,19 @@ if (_wrapper) { 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] = {NULL, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; + void* args[6] = {nullptr, (void*)&data0, (void*)&action1, (void*)&row2, (void*)&column3, (void*)&parent4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5926,6 +6485,72 @@ if (_wrapper) { } 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) { @@ -5936,9 +6561,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -5959,19 +6584,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::ItemFlags" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); Qt::ItemFlags returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("flags", methodInfo, result); } else { returnValue = *((Qt::ItemFlags*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -5992,19 +6617,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "int" , "Qt::Orientation" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QVariant returnValue{}; - void* args[4] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&role2}; + void* args[4] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("headerData", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6025,19 +6650,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("index", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6058,19 +6683,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QModelIndex returnValue{}; - void* args[2] = {NULL, (void*)&item0}; + void* args[2] = {nullptr, (void*)&item0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("indexInQuery", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6091,19 +6716,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6124,19 +6749,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&values0}; + void* args[2] = {nullptr, (void*)&values0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRowIntoTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6157,19 +6782,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("insertRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6190,19 +6815,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMap" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMap returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("itemData", methodInfo, result); } else { returnValue = *((QMap*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6223,19 +6848,19 @@ if (_wrapper) { static const char* argumentList[] ={"QList" , "const QModelIndex&" , "int" , "const QVariant&" , "int" , "Qt::MatchFlags"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); QList returnValue{}; - void* args[6] = {NULL, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; + void* args[6] = {nullptr, (void*)&start0, (void*)&role1, (void*)&value2, (void*)&hits3, (void*)&flags4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("match", methodInfo, result); } else { returnValue = *((QList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6256,19 +6881,19 @@ if (_wrapper) { static const char* argumentList[] ={"QMimeData*" , "const QList&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QMimeData* returnValue{}; - void* args[2] = {NULL, (void*)&indexes0}; + void* args[2] = {nullptr, (void*)&indexes0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); } else { returnValue = *((QMimeData**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6289,19 +6914,19 @@ if (_wrapper) { static const char* argumentList[] ={"QStringList"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QStringList returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); } else { returnValue = *((QStringList*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6322,19 +6947,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceColumn1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6355,19 +6980,19 @@ if (_wrapper) { 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] = {NULL, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; + void* args[6] = {nullptr, (void*)&sourceParent0, (void*)&sourceRow1, (void*)&count2, (void*)&destinationParent3, (void*)&destinationChild4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("moveRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6388,19 +7013,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("orderByClause", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6420,9 +7045,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6443,19 +7068,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&column0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&column0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeColumns", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6476,19 +7101,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&count1, (void*)&parent2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&count1, (void*)&parent2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("removeRows", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6508,9 +7133,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6530,9 +7155,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6553,19 +7178,19 @@ if (_wrapper) { static const char* argumentList[] ={"QHash"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QHash returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("roleNames", methodInfo, result); } else { returnValue = *((QHash*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6586,19 +7211,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&parent0}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("rowCount", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6619,19 +7244,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("select", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6652,19 +7277,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&row0}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectRow", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6685,19 +7310,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("selectStatement", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6718,19 +7343,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&index0, (void*)&value1, (void*)&role2}; + void* args[4] = {nullptr, (void*)&index0, (void*)&value1, (void*)&role2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6750,9 +7375,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QSqlTableModel::EditStrategy"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&strategy0}; + void* args[2] = {nullptr, (void*)&strategy0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6772,9 +7397,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&filter0}; + void* args[2] = {nullptr, (void*)&filter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6795,19 +7420,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "Qt::Orientation" , "const QVariant&" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[5] = {NULL, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; + void* args[5] = {nullptr, (void*)§ion0, (void*)&orientation1, (void*)&value2, (void*)&role3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setHeaderData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6828,19 +7453,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QModelIndex&" , "const QMap&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&index0, (void*)&roles1}; + void* args[3] = {nullptr, (void*)&index0, (void*)&roles1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("setItemData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6860,9 +7485,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6882,9 +7507,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&tableName0}; + void* args[2] = {nullptr, (void*)&tableName0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6905,19 +7530,19 @@ if (_wrapper) { static const char* argumentList[] ={"QModelIndex" , "int" , "int" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); QModelIndex returnValue{}; - void* args[4] = {NULL, (void*)&row0, (void*)&column1, (void*)&idx2}; + void* args[4] = {nullptr, (void*)&row0, (void*)&column1, (void*)&idx2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sibling", methodInfo, result); } else { returnValue = *((QModelIndex*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6937,9 +7562,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "int" , "Qt::SortOrder"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {NULL, (void*)&column0, (void*)&order1}; + void* args[3] = {nullptr, (void*)&column0, (void*)&order1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -6960,19 +7585,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QSize returnValue{}; - void* args[2] = {NULL, (void*)&index0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("span", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -6993,19 +7618,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("submit", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7026,19 +7651,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDragActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7059,19 +7684,19 @@ if (_wrapper) { static const char* argumentList[] ={"Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); Qt::DropActions returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); } else { returnValue = *((Qt::DropActions*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -7081,6 +7706,28 @@ if (_wrapper) { } 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) { @@ -7092,19 +7739,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "int" , "const QSqlRecord&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&row0, (void*)&values1}; + void* args[3] = {nullptr, (void*)&row0, (void*)&values1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("updateRowInTable", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.h similarity index 77% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.h rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.h index 9ec9d31c..684c4a93 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql0.h @@ -10,12 +10,18 @@ #include #include #include +#include +#include #include -#include +#include +#include #include +#include +#include #include #include #include +#include #include #include #include @@ -24,6 +30,10 @@ #include #include #include +#include +#include +#include +#include @@ -51,15 +61,15 @@ public slots: class PythonQtShell_QSqlDatabase : public QSqlDatabase { public: - PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(NULL) {}; - PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(NULL) {}; + PythonQtShell_QSqlDatabase():QSqlDatabase(),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(QSqlDriver* driver):QSqlDatabase(driver),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(const QSqlDatabase& other):QSqlDatabase(other),_wrapper(nullptr) {}; + PythonQtShell_QSqlDatabase(const QString& type):QSqlDatabase(type),_wrapper(nullptr) {}; ~PythonQtShell_QSqlDatabase(); - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSqlDatabase : public QObject @@ -70,7 +80,7 @@ QSqlDatabase* new_QSqlDatabase(); QSqlDatabase* new_QSqlDatabase(QSqlDriver* driver); QSqlDatabase* new_QSqlDatabase(const QSqlDatabase& other); QSqlDatabase* new_QSqlDatabase(const QString& type); -void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } +void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } QSqlDatabase static_QSqlDatabase_addDatabase(QSqlDriver* driver, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); QSqlDatabase static_QSqlDatabase_addDatabase(const QString& type, const QString& connectionName = QLatin1String(QSqlDatabase::defaultConnection)); QSqlDatabase static_QSqlDatabase_cloneDatabase(const QSqlDatabase& other, const QString& connectionName); @@ -124,38 +134,43 @@ void delete_QSqlDatabase(QSqlDatabase* obj) { delete obj; } class PythonQtShell_QSqlDriver : public QSqlDriver { public: - PythonQtShell_QSqlDriver(QObject* parent = nullptr):QSqlDriver(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlDriver(); - -virtual bool beginTransaction(); -virtual bool cancelQuery(); -virtual void close(); -virtual bool commitTransaction(); -virtual QSqlResult* createResult() const; -virtual QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual QString formatValue(const QSqlField& field, bool trimStrings = false) const; -virtual QVariant handle() const; -virtual bool hasFeature(QSqlDriver::DriverFeature f) const; -virtual bool isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool isOpen() const; -virtual bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()); -virtual QSqlIndex primaryIndex(const QString& tableName) const; -virtual QSqlRecord record(const QString& tableName) const; -virtual bool rollbackTransaction(); -virtual void setLastError(const QSqlError& e); -virtual void setOpen(bool o); -virtual void setOpenError(bool e); -virtual QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const; -virtual QString stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const; -virtual bool subscribeToNotification(const QString& name); -virtual QStringList subscribedToNotifications() const; -virtual QStringList tables(QSql::TableType tableType) const; -virtual bool unsubscribeFromNotification(const QString& name); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlDriver(QObject* parent = nullptr):QSqlDriver(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlDriver() override; + +bool beginTransaction() override; +bool cancelQuery() override; +void childEvent(QChildEvent* event) override; +void close() override; +bool commitTransaction() override; +QSqlResult* createResult() const override; +void customEvent(QEvent* event) override; +QString escapeIdentifier(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QString formatValue(const QSqlField& field, bool trimStrings = false) const override; +QVariant handle() const override; +bool hasFeature(QSqlDriver::DriverFeature f) const override; +bool isIdentifierEscaped(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool isOpen() const override; +bool open(const QString& db, const QString& user = QString(), const QString& password = QString(), const QString& host = QString(), int port = -1, const QString& connOpts = QString()) override; +QSqlIndex primaryIndex(const QString& tableName) const override; +QSqlRecord record(const QString& tableName) const override; +bool rollbackTransaction() override; +void setLastError(const QSqlError& e) override; +void setOpen(bool o) override; +void setOpenError(bool e) override; +QString sqlStatement(QSqlDriver::StatementType type, const QString& tableName, const QSqlRecord& rec, bool preparedStatement) const override; +QString stripDelimiters(const QString& identifier, QSqlDriver::IdentifierType type) const override; +bool subscribeToNotification(const QString& name) override; +QStringList subscribedToNotifications() const override; +QStringList tables(QSql::TableType tableType) const override; +void timerEvent(QTimerEvent* event) override; +bool unsubscribeFromNotification(const QString& name) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriver : public QSqlDriver @@ -205,7 +220,7 @@ enum StatementType{ WhereStatement = QSqlDriver::WhereStatement, SelectStatement = QSqlDriver::SelectStatement, UpdateStatement = QSqlDriver::UpdateStatement, InsertStatement = QSqlDriver::InsertStatement, DeleteStatement = QSqlDriver::DeleteStatement}; public slots: QSqlDriver* new_QSqlDriver(QObject* parent = nullptr); -void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } +void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } bool beginTransaction(QSqlDriver* theWrappedObject); bool py_q_beginTransaction(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_beginTransaction());} bool py_q_cancelQuery(QSqlDriver* theWrappedObject){ return (((PythonQtPublicPromoter_QSqlDriver*)theWrappedObject)->py_q_cancelQuery());} @@ -267,13 +282,13 @@ void delete_QSqlDriver(QSqlDriver* obj) { delete obj; } class PythonQtShell_QSqlDriverCreatorBase : public QSqlDriverCreatorBase { public: - PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(NULL) {}; + PythonQtShell_QSqlDriverCreatorBase():QSqlDriverCreatorBase(),_wrapper(nullptr) {}; - ~PythonQtShell_QSqlDriverCreatorBase(); + ~PythonQtShell_QSqlDriverCreatorBase() override; -virtual QSqlDriver* createObject() const; +QSqlDriver* createObject() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlDriverCreatorBase : public QSqlDriverCreatorBase @@ -286,7 +301,7 @@ class PythonQtWrapper_QSqlDriverCreatorBase : public QObject public: public slots: QSqlDriverCreatorBase* new_QSqlDriverCreatorBase(); -void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } +void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } QSqlDriver* createObject(QSqlDriverCreatorBase* theWrappedObject) const; QSqlDriver* py_q_createObject(QSqlDriverCreatorBase* theWrappedObject) const{ return (((PythonQtPublicPromoter_QSqlDriverCreatorBase*)theWrappedObject)->py_q_createObject());} }; @@ -295,6 +310,39 @@ void delete_QSqlDriverCreatorBase(QSqlDriverCreatorBase* obj) { delete obj; } +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: @@ -303,8 +351,9 @@ 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 delete_QSqlField(QSqlField* obj) { delete obj; } void clear(QSqlField* theWrappedObject); QVariant defaultValue(QSqlField* theWrappedObject) const; bool isAutoValue(QSqlField* theWrappedObject) const; @@ -349,7 +398,7 @@ class PythonQtWrapper_QSqlIndex : public QObject public slots: QSqlIndex* new_QSqlIndex(const QSqlIndex& other); QSqlIndex* new_QSqlIndex(const QString& cursorName = QString(), const QString& name = QString()); -void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } +void delete_QSqlIndex(QSqlIndex* obj) { delete obj; } void append(QSqlIndex* theWrappedObject, const QSqlField& field); void append(QSqlIndex* theWrappedObject, const QSqlField& field, bool desc); QString cursorName(QSqlIndex* theWrappedObject) const; @@ -376,7 +425,7 @@ QSqlQuery* new_QSqlQuery(QSqlDatabase db); QSqlQuery* new_QSqlQuery(QSqlResult* r); QSqlQuery* new_QSqlQuery(const QSqlQuery& other); QSqlQuery* new_QSqlQuery(const QString& query = QString(), QSqlDatabase db = QSqlDatabase()); -void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } +void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } void addBindValue(QSqlQuery* theWrappedObject, const QVariant& val, QSql::ParamType type = QSql::In); int at(QSqlQuery* theWrappedObject) const; void bindValue(QSqlQuery* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type = QSql::In); @@ -426,49 +475,54 @@ void delete_QSqlQuery(QSqlQuery* obj) { delete obj; } class PythonQtShell_QSqlQueryModel : public QSqlQueryModel { public: - PythonQtShell_QSqlQueryModel(QObject* parent = nullptr):QSqlQueryModel(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlQueryModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual void queryChange(); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlQueryModel(QObject* parent = nullptr):QSqlQueryModel(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlQueryModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +void queryChange() override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlQueryModel : public QSqlQueryModel @@ -506,7 +560,7 @@ class PythonQtWrapper_QSqlQueryModel : public QObject public: public slots: QSqlQueryModel* new_QSqlQueryModel(QObject* parent = nullptr); -void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } +void delete_QSqlQueryModel(QSqlQueryModel* obj) { delete obj; } void beginInsertColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginInsertRows(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); void beginRemoveColumns(QSqlQueryModel* theWrappedObject, const QModelIndex& parent, int first, int last); @@ -552,7 +606,7 @@ class PythonQtWrapper_QSqlRecord : public QObject public slots: QSqlRecord* new_QSqlRecord(); QSqlRecord* new_QSqlRecord(const QSqlRecord& other); -void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } +void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } void append(QSqlRecord* theWrappedObject, const QSqlField& field); void clear(QSqlRecord* theWrappedObject); void clearValues(QSqlRecord* theWrappedObject); @@ -589,66 +643,94 @@ void delete_QSqlRecord(QSqlRecord* obj) { delete obj; } +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(NULL) {}; - - ~PythonQtShell_QSqlRelationalTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const; -virtual bool deleteRowFromTable(int row); -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRowIntoTable(const QSqlRecord& values); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QString orderByClause() const; -virtual void queryChange(); -virtual QSqlTableModel* relationModel(int column) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual void revertRow(int row); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual bool selectRow(int row); -virtual QString selectStatement() const; -virtual bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole); -virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); -virtual void setFilter(const QString& filter); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setRelation(int column, const QSqlRelation& relation); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlRelationalTableModel(parent, db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlRelationalTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& item, int role = Qt::DisplayRole) const override; +bool deleteRowFromTable(int row) override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRowIntoTable(const QSqlRecord& values) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QString orderByClause() const override; +void queryChange() override; +QSqlTableModel* relationModel(int column) const override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +void revertRow(int row) override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool select() override; +bool selectRow(int row) override; +QString selectStatement() const override; +bool setData(const QModelIndex& item, const QVariant& value, int role = Qt::EditRole) override; +void setEditStrategy(QSqlTableModel::EditStrategy strategy) override; +void setFilter(const QString& filter) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setRelation(int column, const QSqlRelation& relation) override; +void setSort(int column, Qt::SortOrder order) override; +void setTable(const QString& tableName) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; +bool updateRowInTable(int row, const QSqlRecord& values) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlRelationalTableModel : public QSqlRelationalTableModel @@ -680,7 +762,7 @@ enum JoinMode{ InnerJoin = QSqlRelationalTableModel::InnerJoin, LeftJoin = QSqlRelationalTableModel::LeftJoin}; public slots: QSqlRelationalTableModel* new_QSqlRelationalTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } +void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj; } void py_q_clear(QSqlRelationalTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_clear());} QVariant py_q_data(QSqlRelationalTableModel* theWrappedObject, const QModelIndex& item, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_data(item, role));} bool py_q_insertRowIntoTable(QSqlRelationalTableModel* theWrappedObject, const QSqlRecord& values){ return (((PythonQtPublicPromoter_QSqlRelationalTableModel*)theWrappedObject)->py_q_insertRowIntoTable(values));} @@ -707,41 +789,40 @@ void delete_QSqlRelationalTableModel(QSqlRelationalTableModel* obj) { delete obj class PythonQtShell_QSqlResult : public QSqlResult { public: - PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlResult(); - -virtual void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type); -virtual void bindValue(int pos, const QVariant& val, QSql::ParamType type); -virtual QVariant data(int i); -virtual void detachFromResultSet(); -virtual bool exec(); -virtual bool execBatch(bool arrayBind = false); -virtual bool fetch(int i); -virtual bool fetchFirst(); -virtual bool fetchLast(); -virtual bool fetchNext(); -virtual bool fetchPrevious(); -virtual QVariant handle() const; -virtual bool isNull(int i); -virtual QVariant lastInsertId() const; -virtual bool nextResult(); -virtual int numRowsAffected(); -virtual bool prepare(const QString& query); -virtual QSqlRecord record() const; -virtual bool reset(const QString& sqlquery); -virtual bool savePrepare(const QString& sqlquery); -virtual void setActive(bool a); -virtual void setAt(int at); -virtual void setForwardOnly(bool forward); -virtual void setLastError(const QSqlError& e); -virtual void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy); -virtual void setQuery(const QString& query); -virtual void setSelect(bool s); -virtual int size(); -virtual void virtual_hook(int id, void* data); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlResult(const QSqlDriver* db):QSqlResult(db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlResult() override; + +void bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType type) override; +void bindValue(int pos, const QVariant& val, QSql::ParamType type) override; +QVariant data(int i) override; +void detachFromResultSet() override; +bool exec() override; +bool execBatch(bool arrayBind = false) override; +bool fetch(int i) override; +bool fetchFirst() override; +bool fetchLast() override; +bool fetchNext() override; +bool fetchPrevious() override; +QVariant handle() const override; +bool isNull(int i) override; +QVariant lastInsertId() const override; +bool nextResult() override; +int numRowsAffected() override; +bool prepare(const QString& query) override; +QSqlRecord record() const override; +bool reset(const QString& sqlquery) override; +bool savePrepare(const QString& sqlquery) override; +void setActive(bool a) override; +void setAt(int at) override; +void setForwardOnly(bool forward) override; +void setLastError(const QSqlError& e) override; +void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy policy) override; +void setQuery(const QString& query) override; +void setSelect(bool s) override; +int size() override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlResult : public QSqlResult @@ -839,7 +920,7 @@ enum VirtualHookOperation{ }; public slots: QSqlResult* new_QSqlResult(const QSqlDriver* db); -void delete_QSqlResult(QSqlResult* obj) { delete obj; } +void delete_QSqlResult(QSqlResult* obj) { delete obj; } void addBindValue(QSqlResult* theWrappedObject, const QVariant& val, QSql::ParamType type); int at(QSqlResult* theWrappedObject) const; void bindValue(QSqlResult* theWrappedObject, const QString& placeholder, const QVariant& val, QSql::ParamType type); @@ -927,61 +1008,66 @@ void delete_QSqlResult(QSqlResult* obj) { delete obj; } class PythonQtShell_QSqlTableModel : public QSqlTableModel { public: - PythonQtShell_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(NULL) {}; - - ~PythonQtShell_QSqlTableModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent = QModelIndex()) const; -virtual void clear(); -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const; -virtual bool deleteRowFromTable(int row); -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent = QModelIndex()); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual QModelIndex indexInQuery(const QModelIndex& item) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRowIntoTable(const QSqlRecord& values); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QString orderByClause() const; -virtual void queryChange(); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual void revertRow(int row); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool select(); -virtual bool selectRow(int row); -virtual QString selectStatement() const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual void setEditStrategy(QSqlTableModel::EditStrategy strategy); -virtual void setFilter(const QString& filter); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSort(int column, Qt::SortOrder order); -virtual void setTable(const QString& tableName); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; -virtual bool updateRowInTable(int row, const QSqlRecord& values); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()):QSqlTableModel(parent, db),_wrapper(nullptr) {}; + + ~PythonQtShell_QSqlTableModel() override; + +QModelIndex buddy(const QModelIndex& index) const override; +bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const override; +bool canFetchMore(const QModelIndex& parent = QModelIndex()) const override; +void childEvent(QChildEvent* event) override; +void clear() override; +int columnCount(const QModelIndex& parent = QModelIndex()) const override; +void customEvent(QEvent* event) override; +QVariant data(const QModelIndex& idx, int role = Qt::DisplayRole) const override; +bool deleteRowFromTable(int row) override; +bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fetchMore(const QModelIndex& parent = QModelIndex()) override; +Qt::ItemFlags flags(const QModelIndex& index) const override; +QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; +QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; +QModelIndex indexInQuery(const QModelIndex& item) const override; +bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool insertRowIntoTable(const QSqlRecord& values) override; +bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +QMap itemData(const QModelIndex& index) const override; +QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const override; +QMimeData* mimeData(const QList& indexes) const override; +QStringList mimeTypes() const override; +bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild) override; +bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild) override; +QString orderByClause() const override; +void queryChange() override; +bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) override; +bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; +void revert() override; +void revertRow(int row) override; +QHash roleNames() const override; +int rowCount(const QModelIndex& parent = QModelIndex()) const override; +bool select() override; +bool selectRow(int row) override; +QString selectStatement() const override; +bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; +void setEditStrategy(QSqlTableModel::EditStrategy strategy) override; +void setFilter(const QString& filter) override; +bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) override; +bool setItemData(const QModelIndex& index, const QMap& roles) override; +void setSort(int column, Qt::SortOrder order) override; +void setTable(const QString& tableName) override; +QModelIndex sibling(int row, int column, const QModelIndex& idx) const override; +void sort(int column, Qt::SortOrder order) override; +QSize span(const QModelIndex& index) const override; +bool submit() override; +Qt::DropActions supportedDragActions() const override; +Qt::DropActions supportedDropActions() const override; +void timerEvent(QTimerEvent* event) override; +bool updateRowInTable(int row, const QSqlRecord& values) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSqlTableModel : public QSqlTableModel @@ -1030,7 +1116,7 @@ enum EditStrategy{ OnFieldChange = QSqlTableModel::OnFieldChange, OnRowChange = QSqlTableModel::OnRowChange, OnManualSubmit = QSqlTableModel::OnManualSubmit}; public slots: QSqlTableModel* new_QSqlTableModel(QObject* parent = nullptr, QSqlDatabase db = QSqlDatabase()); -void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } +void delete_QSqlTableModel(QSqlTableModel* obj) { delete obj; } void py_q_clear(QSqlTableModel* theWrappedObject){ (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_clear());} QVariant py_q_data(QSqlTableModel* theWrappedObject, const QModelIndex& idx, int role = Qt::DisplayRole) const{ return (((PythonQtPublicPromoter_QSqlTableModel*)theWrappedObject)->py_q_data(idx, role));} QSqlDatabase database(QSqlTableModel* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp similarity index 71% rename from generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp index fb993663..3747b859 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp @@ -5,15 +5,17 @@ void PythonQt_init_QtSql(PyObject* module) { -PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QSql", "", "QtSql", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QSqlDatabase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlDriver::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSqlDriverCreatorBase", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QSqlError", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlField", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlIndex", "QSqlRecord", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlQuery", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlQueryModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlRecord", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QSqlRelation", "", "QtSql", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); PythonQt::priv()->registerClass(&QSqlRelationalTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QSqlResult", "", "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QSqlTableModel::staticMetaObject, "QtSql", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg.pri b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg.pri similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg.pri rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg.pri diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp similarity index 50% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp index 2379a4ce..3985473f 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp @@ -12,23 +12,48 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include #include -#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include #include #include -#include +#include +#include #include #include #include @@ -37,30 +62,946 @@ PythonQtShell_QGraphicsSvgItem::~PythonQtShell_QGraphicsSvgItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } +void PythonQtShell_QGraphicsSvgItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::advance(phase0); +} QRectF PythonQtShell_QGraphicsSvgItem::boundingRect() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("boundingRect"); + static PyObject* name = PyString_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::boundingRect(); +} +void PythonQtShell_QGraphicsSvgItem::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::childEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsSvgItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::contains(point0); +} +void PythonQtShell_QGraphicsSvgItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::customEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::dropEvent(event0); +} +bool PythonQtShell_QGraphicsSvgItem::event(QEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::event(ev0); +} +bool PythonQtShell_QGraphicsSvgItem::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsSvgItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::extension(variant0); +} +void PythonQtShell_QGraphicsSvgItem::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsSvgItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsSvgItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsSvgItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsSvgItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"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[] ={"QRectF"}; + 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); - QRectF returnValue{}; - void* args[1] = {NULL}; + QPainterPath returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); } else { - returnValue = *((QRectF*)args[0]); + returnValue = *((QPainterPath*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -68,21 +1009,54 @@ if (_wrapper) { } } } - return QGraphicsSvgItem::boundingRect(); + return QGraphicsSvgItem::shape(); } -void PythonQtShell_QGraphicsSvgItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +bool PythonQtShell_QGraphicsSvgItem::supportsExtension(QGraphicsItem::Extension extension0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("paint"); + static PyObject* name = PyString_FromString("supportsExtension"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {NULL, (void*)&painter0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"bool" , "QGraphicsItem::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); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -90,7 +1064,7 @@ if (_wrapper) { } } } - QGraphicsSvgItem::paint(painter0, option1, widget2); + QGraphicsSvgItem::timerEvent(event0); } int PythonQtShell_QGraphicsSvgItem::type() const { @@ -103,19 +1077,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -125,6 +1099,28 @@ if (_wrapper) { } return QGraphicsSvgItem::type(); } +void PythonQtShell_QGraphicsSvgItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (((PyObject*)_wrapper)->ob_refcnt > 0) { + static PyObject* name = PyString_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsSvgItem::wheelEvent(event0); +} QGraphicsSvgItem* PythonQtWrapper_QGraphicsSvgItem::new_QGraphicsSvgItem(QGraphicsItem* parentItem) { return new PythonQtShell_QGraphicsSvgItem(parentItem); } @@ -146,11 +1142,6 @@ int PythonQtShell_QGraphicsSvgItem::qt_metacall(QMetaObject::Call call, int id, int result = QGraphicsSvgItem::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QRectF PythonQtWrapper_QGraphicsSvgItem::boundingRect(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - QString PythonQtWrapper_QGraphicsSvgItem::elementId(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->elementId()); @@ -166,11 +1157,6 @@ QSize PythonQtWrapper_QGraphicsSvgItem::maximumCacheSize(QGraphicsSvgItem* theW return ( theWrappedObject->maximumCacheSize()); } -void PythonQtWrapper_QGraphicsSvgItem::paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) -{ - ( theWrappedObject->paint(painter, option, widget)); -} - QSvgRenderer* PythonQtWrapper_QGraphicsSvgItem::renderer(QGraphicsSvgItem* theWrappedObject) const { return ( theWrappedObject->renderer()); @@ -196,11 +1182,6 @@ void PythonQtWrapper_QGraphicsSvgItem::setSharedRenderer(QGraphicsSvgItem* theWr ( theWrappedObject->setSharedRenderer(renderer)); } -int PythonQtWrapper_QGraphicsSvgItem::type(QGraphicsSvgItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - PythonQtShell_QSvgGenerator::~PythonQtShell_QSvgGenerator() { @@ -218,19 +1199,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -250,9 +1231,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -273,19 +1254,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -306,19 +1287,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -339,19 +1320,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -372,19 +1353,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -484,6 +1465,138 @@ 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); } @@ -619,9 +1732,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -641,9 +1754,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -653,6 +1766,28 @@ if (_wrapper) { } 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) { @@ -663,9 +1798,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -685,9 +1820,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -697,6 +1832,28 @@ if (_wrapper) { } 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) { @@ -708,19 +1865,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -740,9 +1897,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -762,9 +1919,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -784,9 +1941,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -806,9 +1963,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -828,9 +1985,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -851,19 +2008,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -873,6 +2030,39 @@ if (_wrapper) { } 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) { @@ -883,9 +2073,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -906,19 +2096,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&next0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -938,9 +2128,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -961,19 +2151,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -994,19 +2184,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1026,9 +2216,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1048,9 +2238,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1070,9 +2260,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1093,19 +2283,19 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { returnValue = *((QVariant*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1125,9 +2315,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1147,9 +2337,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1169,9 +2359,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1192,19 +2382,19 @@ if (_wrapper) { static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {NULL, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1225,19 +2415,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("getMinimumSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1257,9 +2447,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1279,9 +2469,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1301,9 +2491,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1323,9 +2513,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1345,9 +2535,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1368,19 +2558,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1401,19 +2591,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPaintEngine* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { returnValue = *((QPaintEngine**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1433,9 +2623,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1456,19 +2646,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {NULL, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { returnValue = *((QPaintDevice**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1488,9 +2678,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1510,9 +2700,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1533,19 +2723,19 @@ if (_wrapper) { static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QPainter* returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { returnValue = *((QPainter**)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1565,9 +2755,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1588,19 +2778,19 @@ if (_wrapper) { static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QSize returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1620,9 +2810,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1632,6 +2822,28 @@ if (_wrapper) { } 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) { @@ -1642,9 +2854,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.h similarity index 54% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.h rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.h index 123cc743..10669e3b 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg0.h @@ -10,24 +10,51 @@ #include #include #include +#include #include +#include #include +#include #include +#include #include #include #include +#include +#include #include +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include +#include #include #include #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include #include #include #include #include #include +#include +#include #include #include #include @@ -37,18 +64,55 @@ class PythonQtShell_QGraphicsSvgItem : public QGraphicsSvgItem { public: - PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(NULL) {}; - PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(NULL) {}; - - ~PythonQtShell_QGraphicsSvgItem(); - -virtual QRectF boundingRect() const; -virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); -virtual int type() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(parentItem),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr):QGraphicsSvgItem(fileName, parentItem),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsSvgItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void childEvent(QChildEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +bool event(QEvent* ev) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsSvgItem : public QGraphicsSvgItem @@ -67,20 +131,17 @@ enum enum_1{ public slots: QGraphicsSvgItem* new_QGraphicsSvgItem(QGraphicsItem* parentItem = nullptr); QGraphicsSvgItem* new_QGraphicsSvgItem(const QString& fileName, QGraphicsItem* parentItem = nullptr); -void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } - QRectF boundingRect(QGraphicsSvgItem* theWrappedObject) const; +void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } QRectF py_q_boundingRect(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_boundingRect());} QString elementId(QGraphicsSvgItem* theWrappedObject) const; bool isCachingEnabled(QGraphicsSvgItem* theWrappedObject) const; QSize maximumCacheSize(QGraphicsSvgItem* theWrappedObject) const; - void paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr); void py_q_paint(QGraphicsSvgItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_paint(painter, option, widget));} QSvgRenderer* renderer(QGraphicsSvgItem* theWrappedObject) const; void setCachingEnabled(QGraphicsSvgItem* theWrappedObject, bool arg__1); void setElementId(QGraphicsSvgItem* theWrappedObject, const QString& id); void setMaximumCacheSize(QGraphicsSvgItem* theWrappedObject, const QSize& size); void setSharedRenderer(QGraphicsSvgItem* theWrappedObject, QSvgRenderer* renderer); - int type(QGraphicsSvgItem* theWrappedObject) const; int py_q_type(QGraphicsSvgItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsSvgItem*)theWrappedObject)->py_q_type());} }; @@ -91,18 +152,18 @@ void delete_QGraphicsSvgItem(QGraphicsSvgItem* obj) { delete obj; } class PythonQtShell_QSvgGenerator : public QSvgGenerator { public: - PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {}; + PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(nullptr) {}; - ~PythonQtShell_QSvgGenerator(); + ~PythonQtShell_QSvgGenerator() override; -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator @@ -118,7 +179,7 @@ class PythonQtWrapper_QSvgGenerator : public QObject public: public slots: QSvgGenerator* new_QSvgGenerator(); -void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } +void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } QString description(QSvgGenerator* theWrappedObject) const; QString fileName(QSvgGenerator* theWrappedObject) const; int py_q_metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QSvgGenerator*)theWrappedObject)->py_q_metric(metric));} @@ -146,17 +207,22 @@ void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; } class PythonQtShell_QSvgRenderer : public QSvgRenderer { public: - PythonQtShell_QSvgRenderer(QObject* parent = nullptr):QSvgRenderer(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(NULL) {}; - PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = nullptr):QSvgRenderer(filename, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSvgRenderer(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSvgRenderer(QObject* parent = nullptr):QSvgRenderer(parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr):QSvgRenderer(contents, parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgRenderer(const QString& filename, QObject* parent = nullptr):QSvgRenderer(filename, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgRenderer() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QSvgRenderer : public QObject @@ -167,7 +233,7 @@ QSvgRenderer* new_QSvgRenderer(QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(QXmlStreamReader* contents, QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(const QByteArray& contents, QObject* parent = nullptr); QSvgRenderer* new_QSvgRenderer(const QString& filename, QObject* parent = nullptr); -void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } +void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } bool animated(QSvgRenderer* theWrappedObject) const; int animationDuration(QSvgRenderer* theWrappedObject) const; Qt::AspectRatioMode aspectRatioMode(QSvgRenderer* theWrappedObject) const; @@ -196,56 +262,60 @@ void delete_QSvgRenderer(QSvgRenderer* obj) { delete obj; } class PythonQtShell_QSvgWidget : public QSvgWidget { public: - PythonQtShell_QSvgWidget(QWidget* parent = nullptr):QSvgWidget(parent),_wrapper(NULL) {}; - PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = nullptr):QSvgWidget(file, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QSvgWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QSvgWidget(QWidget* parent = nullptr):QSvgWidget(parent),_wrapper(nullptr) {}; + PythonQtShell_QSvgWidget(const QString& file, QWidget* parent = nullptr):QSvgWidget(file, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QSvgWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QSvgWidget : public QSvgWidget @@ -261,7 +331,7 @@ class PythonQtWrapper_QSvgWidget : public QObject public slots: QSvgWidget* new_QSvgWidget(QWidget* parent = nullptr); QSvgWidget* new_QSvgWidget(const QString& file, QWidget* parent = nullptr); -void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } +void delete_QSvgWidget(QSvgWidget* obj) { delete obj; } void py_q_paintEvent(QSvgWidget* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QSvgWidget*)theWrappedObject)->py_q_paintEvent(event));} QSvgRenderer* renderer(QSvgWidget* theWrappedObject) const; QSize sizeHint(QSvgWidget* theWrappedObject) const; diff --git a/generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp similarity index 100% rename from generated_cpp_5.15.3/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp diff --git a/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri new file mode 100644 index 00000000..680ce525 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp new file mode 100644 index 00000000..dde5bcb8 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h new file mode 100644 index 00000000..3c35bef4 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp new file mode 100644 index 00000000..068f7b08 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_xml/com_trolltech_qt_xml.pri b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml.pri similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml.pri rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml.pri index 08630adb..222476a5 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml.pri +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml.pri @@ -1,6 +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.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp similarity index 64% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp index 7aeccf01..f6a466c7 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp @@ -3,9 +3,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -1069,6 +1069,105 @@ QDomText PythonQtWrapper_QDomText::splitText(QDomText* theWrappedObject, int o +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); } @@ -1084,19 +1183,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1117,19 +1216,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1150,19 +1249,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; + void* args[4] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1183,19 +1282,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&prefix0}; + void* args[2] = {nullptr, (void*)&prefix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1216,19 +1315,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1249,19 +1348,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1282,19 +1381,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&target0, (void*)&data1}; + void* args[3] = {nullptr, (void*)&target0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1314,9 +1413,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLocator*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator0}; + void* args[2] = {nullptr, (void*)&locator0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1337,19 +1436,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1370,19 +1469,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1403,19 +1502,19 @@ if (_wrapper) { 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] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; + void* args[5] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1436,19 +1535,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&prefix0, (void*)&uri1}; + void* args[3] = {nullptr, (void*)&prefix0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1539,19 +1638,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1572,19 +1671,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1605,19 +1704,19 @@ if (_wrapper) { 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] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; + void* args[5] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1663,19 +1762,19 @@ if (_wrapper) { 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] = {NULL, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; + void* args[6] = {nullptr, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1696,19 +1795,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1729,19 +1828,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1762,19 +1861,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1825,19 +1924,19 @@ if (_wrapper) { 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] = {NULL, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; + void* args[6] = {nullptr, (void*)&eName0, (void*)&aName1, (void*)&type2, (void*)&valueDefault3, (void*)&value4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("attributeDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1858,19 +1957,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("characters", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1891,19 +1990,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1924,19 +2023,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1957,19 +2056,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -1990,19 +2089,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2023,19 +2122,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; + void* args[4] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2056,19 +2155,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2089,19 +2188,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&prefix0}; + void* args[2] = {nullptr, (void*)&prefix0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2122,19 +2221,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2155,19 +2254,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2188,19 +2287,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("externalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2221,19 +2320,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2254,19 +2353,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("ignorableWhitespace", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2287,19 +2386,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&name0, (void*)&value1}; + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("internalEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2320,19 +2419,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("notationDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2353,19 +2452,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&target0, (void*)&data1}; + void* args[3] = {nullptr, (void*)&target0, (void*)&data1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("processingInstruction", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2386,19 +2485,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; + void* args[4] = {nullptr, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2418,9 +2517,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QXmlLocator*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&locator0}; + void* args[2] = {nullptr, (void*)&locator0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -2441,19 +2540,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("skippedEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2474,19 +2573,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2507,19 +2606,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2540,19 +2639,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDocument", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2573,19 +2672,19 @@ if (_wrapper) { 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] = {NULL, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; + void* args[5] = {nullptr, (void*)&namespaceURI0, (void*)&localName1, (void*)&qName2, (void*)&atts3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startElement", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2606,19 +2705,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2639,19 +2738,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {NULL, (void*)&prefix0, (void*)&uri1}; + void* args[3] = {nullptr, (void*)&prefix0, (void*)&uri1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startPrefixMapping", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2672,19 +2771,19 @@ if (_wrapper) { 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] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; + void* args[5] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2, (void*)¬ationName3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("unparsedEntityDecl", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2705,19 +2804,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2748,19 +2847,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2781,19 +2880,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QXmlInputSource*&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; + void* args[4] = {nullptr, (void*)&publicId0, (void*)&systemId1, (void*)&ret2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("resolveEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2834,19 +2933,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("error", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2867,19 +2966,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2900,19 +2999,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fatalError", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2933,19 +3032,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QXmlParseException&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&exception0}; + void* args[2] = {nullptr, (void*)&exception0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("warning", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -2996,19 +3095,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3028,9 +3127,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3051,19 +3150,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString" , "const QByteArray&" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); QString returnValue{}; - void* args[3] = {NULL, (void*)&data0, (void*)&beginning1}; + void* args[3] = {nullptr, (void*)&data0, (void*)&beginning1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("fromRawData", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3084,19 +3183,19 @@ if (_wrapper) { static const char* argumentList[] ={"QChar"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QChar returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("next", methodInfo, result); } else { returnValue = *((QChar*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3116,9 +3215,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3138,9 +3237,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QByteArray&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat0}; + void* args[2] = {nullptr, (void*)&dat0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3160,9 +3259,9 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&dat0}; + void* args[2] = {nullptr, (void*)&dat0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -3232,19 +3331,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&ch0}; + void* args[2] = {nullptr, (void*)&ch0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("comment", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3265,19 +3364,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3298,19 +3397,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3331,19 +3430,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("endEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3364,19 +3463,19 @@ if (_wrapper) { static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); QString returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("errorString", methodInfo, result); } else { returnValue = *((QString*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3397,19 +3496,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startCDATA", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3430,19 +3529,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[4] = {NULL, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; + void* args[4] = {nullptr, (void*)&name0, (void*)&publicId1, (void*)&systemId2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startDTD", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3463,19 +3562,19 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {NULL, (void*)&name0}; + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("startEntity", methodInfo, result); } else { returnValue = *((bool*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3546,19 +3645,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("columnNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3579,19 +3678,19 @@ if (_wrapper) { static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[1] = {NULL}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { - if (args[0]==NULL) { + if (args[0]==nullptr) { PythonQt::priv()->handleVirtualOverloadReturnError("lineNumber", methodInfo, result); } else { returnValue = *((int*)args[0]); } } } - if (result) { Py_DECREF(result); } + if (result) { Py_DECREF(result); } Py_DECREF(obj); return returnValue; } else { @@ -3652,487 +3751,1342 @@ QString PythonQtWrapper_QXmlParseException::systemId(QXmlParseException* theWra -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)); -} - -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)); -} - -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)); -} - - - -void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QByteArray& data) -{ - ( theWrappedObject->addData(data)); -} - -void PythonQtWrapper_QXmlStreamReader::addData(QXmlStreamReader* theWrappedObject, const QString& data) -{ - ( theWrappedObject->addData(data)); +PythonQtShell_QXmlReader::~PythonQtShell_QXmlReader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclaration(QXmlStreamReader* theWrappedObject, const QXmlStreamNamespaceDeclaration& extraNamespaceDeclaraction) +QXmlDTDHandler* PythonQtShell_QXmlReader::DTDHandler() const { - ( theWrappedObject->addExtraNamespaceDeclaration(extraNamespaceDeclaraction)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamReader::addExtraNamespaceDeclarations(QXmlStreamReader* theWrappedObject, const QVector& extraNamespaceDeclaractions) -{ - ( theWrappedObject->addExtraNamespaceDeclarations(extraNamespaceDeclaractions)); + return nullptr; } - -bool PythonQtWrapper_QXmlStreamReader::atEnd(QXmlStreamReader* theWrappedObject) const +QXmlContentHandler* PythonQtShell_QXmlReader::contentHandler() const { - return ( theWrappedObject->atEnd()); +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(); + } + } } - -QXmlStreamAttributes PythonQtWrapper_QXmlStreamReader::attributes(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->attributes()); + return nullptr; } - -qint64 PythonQtWrapper_QXmlStreamReader::characterOffset(QXmlStreamReader* theWrappedObject) const +QXmlDeclHandler* PythonQtShell_QXmlReader::declHandler() const { - return ( theWrappedObject->characterOffset()); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamReader::clear(QXmlStreamReader* theWrappedObject) -{ - ( theWrappedObject->clear()); + return nullptr; } - -qint64 PythonQtWrapper_QXmlStreamReader::columnNumber(QXmlStreamReader* theWrappedObject) const +QXmlEntityResolver* PythonQtShell_QXmlReader::entityResolver() const { - return ( theWrappedObject->columnNumber()); +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(); + } + } } - -QIODevice* PythonQtWrapper_QXmlStreamReader::device(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->device()); + return nullptr; } - -QStringRef PythonQtWrapper_QXmlStreamReader::documentEncoding(QXmlStreamReader* theWrappedObject) const +QXmlErrorHandler* PythonQtShell_QXmlReader::errorHandler() const { - return ( theWrappedObject->documentEncoding()); +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(); + } + } } - -QStringRef PythonQtWrapper_QXmlStreamReader::documentVersion(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->documentVersion()); + return nullptr; } - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdName(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::feature(const QString& name0, bool* ok1) const { - return ( theWrappedObject->dtdName()); +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(); + } + } } - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdPublicId(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->dtdPublicId()); + return bool(); } - -QStringRef PythonQtWrapper_QXmlStreamReader::dtdSystemId(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::hasFeature(const QString& name0) const { - return ( theWrappedObject->dtdSystemId()); +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(); + } + } } - -QVector PythonQtWrapper_QXmlStreamReader::entityDeclarations(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->entityDeclarations()); + return bool(); } - -int PythonQtWrapper_QXmlStreamReader::entityExpansionLimit(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::hasProperty(const QString& name0) const { - return ( theWrappedObject->entityExpansionLimit()); +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(); + } + } } - -QXmlStreamEntityResolver* PythonQtWrapper_QXmlStreamReader::entityResolver(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->entityResolver()); + return bool(); } - -QXmlStreamReader::Error PythonQtWrapper_QXmlStreamReader::error(QXmlStreamReader* theWrappedObject) const +QXmlLexicalHandler* PythonQtShell_QXmlReader::lexicalHandler() const { - return ( theWrappedObject->error()); +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(); + } + } } - -QString PythonQtWrapper_QXmlStreamReader::errorString(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->errorString()); + return nullptr; } - -bool PythonQtWrapper_QXmlStreamReader::hasError(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource& input0) { - return ( theWrappedObject->hasError()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isCDATA(QXmlStreamReader* theWrappedObject) const -{ - return ( theWrappedObject->isCDATA()); + return bool(); } - -bool PythonQtWrapper_QXmlStreamReader::isCharacters(QXmlStreamReader* theWrappedObject) const +bool PythonQtShell_QXmlReader::parse(const QXmlInputSource* input0) { - return ( theWrappedObject->isCharacters()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isComment(QXmlStreamReader* theWrappedObject) const + return bool(); +} +void* PythonQtShell_QXmlReader::property(const QString& name0, bool* ok1) const { - return ( theWrappedObject->isComment()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isDTD(QXmlStreamReader* theWrappedObject) const + return nullptr; +} +void PythonQtShell_QXmlReader::setContentHandler(QXmlContentHandler* handler0) { - return ( theWrappedObject->isDTD()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isEndDocument(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setDTDHandler(QXmlDTDHandler* handler0) { - return ( theWrappedObject->isEndDocument()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isEndElement(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setDeclHandler(QXmlDeclHandler* handler0) { - return ( theWrappedObject->isEndElement()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isEntityReference(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setEntityResolver(QXmlEntityResolver* handler0) { - return ( theWrappedObject->isEntityReference()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isProcessingInstruction(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setErrorHandler(QXmlErrorHandler* handler0) { - return ( theWrappedObject->isProcessingInstruction()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isStandaloneDocument(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setFeature(const QString& name0, bool value1) { - return ( theWrappedObject->isStandaloneDocument()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isStartDocument(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setLexicalHandler(QXmlLexicalHandler* handler0) { - return ( theWrappedObject->isStartDocument()); +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(); + } + } } - -bool PythonQtWrapper_QXmlStreamReader::isStartElement(QXmlStreamReader* theWrappedObject) const + +} +void PythonQtShell_QXmlReader::setProperty(const QString& name0, void* value1) { - return ( theWrappedObject->isStartElement()); +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(); } -bool PythonQtWrapper_QXmlStreamReader::isWhitespace(QXmlStreamReader* theWrappedObject) const +QXmlDTDHandler* PythonQtWrapper_QXmlReader::DTDHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->isWhitespace()); + return ( theWrappedObject->DTDHandler()); } -qint64 PythonQtWrapper_QXmlStreamReader::lineNumber(QXmlStreamReader* theWrappedObject) const +QXmlContentHandler* PythonQtWrapper_QXmlReader::contentHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->lineNumber()); + return ( theWrappedObject->contentHandler()); } -QStringRef PythonQtWrapper_QXmlStreamReader::name(QXmlStreamReader* theWrappedObject) const +QXmlDeclHandler* PythonQtWrapper_QXmlReader::declHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->name()); + return ( theWrappedObject->declHandler()); } -QVector PythonQtWrapper_QXmlStreamReader::namespaceDeclarations(QXmlStreamReader* theWrappedObject) const +QXmlEntityResolver* PythonQtWrapper_QXmlReader::entityResolver(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->namespaceDeclarations()); + return ( theWrappedObject->entityResolver()); } -bool PythonQtWrapper_QXmlStreamReader::namespaceProcessing(QXmlStreamReader* theWrappedObject) const +QXmlErrorHandler* PythonQtWrapper_QXmlReader::errorHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->namespaceProcessing()); + return ( theWrappedObject->errorHandler()); } -QStringRef PythonQtWrapper_QXmlStreamReader::namespaceUri(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::feature(QXmlReader* theWrappedObject, const QString& name, bool* ok) const { - return ( theWrappedObject->namespaceUri()); + return ( theWrappedObject->feature(name, ok)); } -QVector PythonQtWrapper_QXmlStreamReader::notationDeclarations(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::hasFeature(QXmlReader* theWrappedObject, const QString& name) const { - return ( theWrappedObject->notationDeclarations()); + return ( theWrappedObject->hasFeature(name)); } -QStringRef PythonQtWrapper_QXmlStreamReader::prefix(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::hasProperty(QXmlReader* theWrappedObject, const QString& name) const { - return ( theWrappedObject->prefix()); + return ( theWrappedObject->hasProperty(name)); } -QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionData(QXmlStreamReader* theWrappedObject) const +QXmlLexicalHandler* PythonQtWrapper_QXmlReader::lexicalHandler(QXmlReader* theWrappedObject) const { - return ( theWrappedObject->processingInstructionData()); + return ( theWrappedObject->lexicalHandler()); } -QStringRef PythonQtWrapper_QXmlStreamReader::processingInstructionTarget(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::parse(QXmlReader* theWrappedObject, const QXmlInputSource& input) { - return ( theWrappedObject->processingInstructionTarget()); + return ( theWrappedObject->parse(input)); } -QStringRef PythonQtWrapper_QXmlStreamReader::qualifiedName(QXmlStreamReader* theWrappedObject) const +bool PythonQtWrapper_QXmlReader::parse(QXmlReader* theWrappedObject, const QXmlInputSource* input) { - return ( theWrappedObject->qualifiedName()); + return ( theWrappedObject->parse(input)); } -void PythonQtWrapper_QXmlStreamReader::raiseError(QXmlStreamReader* theWrappedObject, const QString& message) +void* PythonQtWrapper_QXmlReader::property(QXmlReader* theWrappedObject, const QString& name, bool* ok) const { - ( theWrappedObject->raiseError(message)); + return ( theWrappedObject->property(name, ok)); } -QString PythonQtWrapper_QXmlStreamReader::readElementText(QXmlStreamReader* theWrappedObject, QXmlStreamReader::ReadElementTextBehaviour behaviour) +void PythonQtWrapper_QXmlReader::setContentHandler(QXmlReader* theWrappedObject, QXmlContentHandler* handler) { - return ( theWrappedObject->readElementText(behaviour)); + ( theWrappedObject->setContentHandler(handler)); } -QXmlStreamReader::TokenType PythonQtWrapper_QXmlStreamReader::readNext(QXmlStreamReader* theWrappedObject) +void PythonQtWrapper_QXmlReader::setDTDHandler(QXmlReader* theWrappedObject, QXmlDTDHandler* handler) { - return ( theWrappedObject->readNext()); + ( theWrappedObject->setDTDHandler(handler)); } -bool PythonQtWrapper_QXmlStreamReader::readNextStartElement(QXmlStreamReader* theWrappedObject) +void PythonQtWrapper_QXmlReader::setDeclHandler(QXmlReader* theWrappedObject, QXmlDeclHandler* handler) { - return ( theWrappedObject->readNextStartElement()); + ( theWrappedObject->setDeclHandler(handler)); } -void PythonQtWrapper_QXmlStreamReader::setDevice(QXmlStreamReader* theWrappedObject, QIODevice* device) +void PythonQtWrapper_QXmlReader::setEntityResolver(QXmlReader* theWrappedObject, QXmlEntityResolver* handler) { - ( theWrappedObject->setDevice(device)); + ( theWrappedObject->setEntityResolver(handler)); } -void PythonQtWrapper_QXmlStreamReader::setEntityExpansionLimit(QXmlStreamReader* theWrappedObject, int limit) +void PythonQtWrapper_QXmlReader::setErrorHandler(QXmlReader* theWrappedObject, QXmlErrorHandler* handler) { - ( theWrappedObject->setEntityExpansionLimit(limit)); + ( theWrappedObject->setErrorHandler(handler)); } -void PythonQtWrapper_QXmlStreamReader::setEntityResolver(QXmlStreamReader* theWrappedObject, QXmlStreamEntityResolver* resolver) +void PythonQtWrapper_QXmlReader::setFeature(QXmlReader* theWrappedObject, const QString& name, bool value) { - ( theWrappedObject->setEntityResolver(resolver)); + ( theWrappedObject->setFeature(name, value)); } -void PythonQtWrapper_QXmlStreamReader::setNamespaceProcessing(QXmlStreamReader* theWrappedObject, bool arg__1) +void PythonQtWrapper_QXmlReader::setLexicalHandler(QXmlReader* theWrappedObject, QXmlLexicalHandler* handler) { - ( theWrappedObject->setNamespaceProcessing(arg__1)); + ( theWrappedObject->setLexicalHandler(handler)); } -void PythonQtWrapper_QXmlStreamReader::skipCurrentElement(QXmlStreamReader* theWrappedObject) +void PythonQtWrapper_QXmlReader::setProperty(QXmlReader* theWrappedObject, const QString& name, void* value) { - ( theWrappedObject->skipCurrentElement()); + ( theWrappedObject->setProperty(name, value)); } -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()); +PythonQtShell_QXmlSimpleReader::~PythonQtShell_QXmlSimpleReader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - - - -bool PythonQtWrapper_QXmlStreamWriter::autoFormatting(QXmlStreamWriter* theWrappedObject) const +QXmlDTDHandler* PythonQtShell_QXmlSimpleReader::DTDHandler() const { - return ( theWrappedObject->autoFormatting()); +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(); + } + } } - -int PythonQtWrapper_QXmlStreamWriter::autoFormattingIndent(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->autoFormattingIndent()); + return QXmlSimpleReader::DTDHandler(); } - -QTextCodec* PythonQtWrapper_QXmlStreamWriter::codec(QXmlStreamWriter* theWrappedObject) const +QXmlContentHandler* PythonQtShell_QXmlSimpleReader::contentHandler() const { - return ( theWrappedObject->codec()); +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(); + } + } } - -QIODevice* PythonQtWrapper_QXmlStreamWriter::device(QXmlStreamWriter* theWrappedObject) const -{ - return ( theWrappedObject->device()); + return QXmlSimpleReader::contentHandler(); } - -bool PythonQtWrapper_QXmlStreamWriter::hasError(QXmlStreamWriter* theWrappedObject) const +QXmlDeclHandler* PythonQtShell_QXmlSimpleReader::declHandler() const { - return ( theWrappedObject->hasError()); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::setAutoFormatting(QXmlStreamWriter* theWrappedObject, bool arg__1) -{ - ( theWrappedObject->setAutoFormatting(arg__1)); + return QXmlSimpleReader::declHandler(); } - -void PythonQtWrapper_QXmlStreamWriter::setAutoFormattingIndent(QXmlStreamWriter* theWrappedObject, int spacesOrTabs) +QXmlEntityResolver* PythonQtShell_QXmlSimpleReader::entityResolver() const { - ( theWrappedObject->setAutoFormattingIndent(spacesOrTabs)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, QTextCodec* codec) -{ - ( theWrappedObject->setCodec(codec)); + return QXmlSimpleReader::entityResolver(); } - -void PythonQtWrapper_QXmlStreamWriter::setCodec(QXmlStreamWriter* theWrappedObject, const char* codecName) +QXmlErrorHandler* PythonQtShell_QXmlSimpleReader::errorHandler() const { - ( theWrappedObject->setCodec(codecName)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::setDevice(QXmlStreamWriter* theWrappedObject, QIODevice* device) -{ - ( theWrappedObject->setDevice(device)); + return QXmlSimpleReader::errorHandler(); } - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +bool PythonQtShell_QXmlSimpleReader::feature(const QString& name0, bool* ok1) const { - ( theWrappedObject->writeAttribute(namespaceUri, name, value)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& value) -{ - ( theWrappedObject->writeAttribute(qualifiedName, value)); + return QXmlSimpleReader::feature(name0, ok1); } - -void PythonQtWrapper_QXmlStreamWriter::writeAttribute(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttribute& attribute) +bool PythonQtShell_QXmlSimpleReader::hasFeature(const QString& name0) const { - ( theWrappedObject->writeAttribute(attribute)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeAttributes(QXmlStreamWriter* theWrappedObject, const QXmlStreamAttributes& attributes) -{ - ( theWrappedObject->writeAttributes(attributes)); + return QXmlSimpleReader::hasFeature(name0); } - -void PythonQtWrapper_QXmlStreamWriter::writeCDATA(QXmlStreamWriter* theWrappedObject, const QString& text) +bool PythonQtShell_QXmlSimpleReader::hasProperty(const QString& name0) const { - ( theWrappedObject->writeCDATA(text)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeCharacters(QXmlStreamWriter* theWrappedObject, const QString& text) -{ - ( theWrappedObject->writeCharacters(text)); + return QXmlSimpleReader::hasProperty(name0); } - -void PythonQtWrapper_QXmlStreamWriter::writeComment(QXmlStreamWriter* theWrappedObject, const QString& text) +QXmlLexicalHandler* PythonQtShell_QXmlSimpleReader::lexicalHandler() const { - ( theWrappedObject->writeComment(text)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeCurrentToken(QXmlStreamWriter* theWrappedObject, const QXmlStreamReader& reader) -{ - ( theWrappedObject->writeCurrentToken(reader)); + return QXmlSimpleReader::lexicalHandler(); } - -void PythonQtWrapper_QXmlStreamWriter::writeDTD(QXmlStreamWriter* theWrappedObject, const QString& dtd) +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource& input0) { - ( theWrappedObject->writeDTD(dtd)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeDefaultNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri) -{ - ( theWrappedObject->writeDefaultNamespace(namespaceUri)); + return QXmlSimpleReader::parse(input0); } - -void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0) { - ( theWrappedObject->writeEmptyElement(namespaceUri, name)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEmptyElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) + return QXmlSimpleReader::parse(input0); +} +bool PythonQtShell_QXmlSimpleReader::parse(const QXmlInputSource* input0, bool incremental1) { - ( theWrappedObject->writeEmptyElement(qualifiedName)); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEndDocument(QXmlStreamWriter* theWrappedObject) + return QXmlSimpleReader::parse(input0, incremental1); +} +bool PythonQtShell_QXmlSimpleReader::parseContinue() { - ( theWrappedObject->writeEndDocument()); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEndElement(QXmlStreamWriter* theWrappedObject) + return QXmlSimpleReader::parseContinue(); +} +void* PythonQtShell_QXmlSimpleReader::property(const QString& name0, bool* ok1) const { - ( theWrappedObject->writeEndElement()); +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(); + } + } } - -void PythonQtWrapper_QXmlStreamWriter::writeEntityReference(QXmlStreamWriter* theWrappedObject, const QString& name) + return QXmlSimpleReader::property(name0, ok1); +} +void PythonQtShell_QXmlSimpleReader::setContentHandler(QXmlContentHandler* handler0) { - ( theWrappedObject->writeEntityReference(name)); +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 PythonQtWrapper_QXmlStreamWriter::writeNamespace(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& prefix) + QXmlSimpleReader::setContentHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setDTDHandler(QXmlDTDHandler* handler0) { - ( theWrappedObject->writeNamespace(namespaceUri, prefix)); +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 PythonQtWrapper_QXmlStreamWriter::writeProcessingInstruction(QXmlStreamWriter* theWrappedObject, const QString& target, const QString& data) + QXmlSimpleReader::setDTDHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setDeclHandler(QXmlDeclHandler* handler0) { - ( theWrappedObject->writeProcessingInstruction(target, data)); +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 PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject) + QXmlSimpleReader::setDeclHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setEntityResolver(QXmlEntityResolver* handler0) { - ( theWrappedObject->writeStartDocument()); +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 PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version) + QXmlSimpleReader::setEntityResolver(handler0); +} +void PythonQtShell_QXmlSimpleReader::setErrorHandler(QXmlErrorHandler* handler0) { - ( theWrappedObject->writeStartDocument(version)); +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 PythonQtWrapper_QXmlStreamWriter::writeStartDocument(QXmlStreamWriter* theWrappedObject, const QString& version, bool standalone) + QXmlSimpleReader::setErrorHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setFeature(const QString& name0, bool value1) { - ( theWrappedObject->writeStartDocument(version, standalone)); +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 PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name) + QXmlSimpleReader::setFeature(name0, value1); +} +void PythonQtShell_QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler* handler0) { - ( theWrappedObject->writeStartElement(namespaceUri, name)); +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 PythonQtWrapper_QXmlStreamWriter::writeStartElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName) + QXmlSimpleReader::setLexicalHandler(handler0); +} +void PythonQtShell_QXmlSimpleReader::setProperty(const QString& name0, void* value1) { - ( theWrappedObject->writeStartElement(qualifiedName)); +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(); } -void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& text) +bool PythonQtWrapper_QXmlSimpleReader::parse(QXmlSimpleReader* theWrappedObject, const QXmlInputSource* input, bool incremental) { - ( theWrappedObject->writeTextElement(namespaceUri, name, text)); + return ( theWrappedObject->parse(input, incremental)); } -void PythonQtWrapper_QXmlStreamWriter::writeTextElement(QXmlStreamWriter* theWrappedObject, const QString& qualifiedName, const QString& text) +bool PythonQtWrapper_QXmlSimpleReader::parseContinue(QXmlSimpleReader* theWrappedObject) { - ( theWrappedObject->writeTextElement(qualifiedName, text)); + return ( theWrappedObject->parseContinue()); } diff --git a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.h similarity index 67% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.h rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.h index 63436afb..28a186dd 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml0.h +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml0.h @@ -1,9 +1,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -16,7 +16,7 @@ class PythonQtWrapper_QDomAttr : public QObject public slots: QDomAttr* new_QDomAttr(); QDomAttr* new_QDomAttr(const QDomAttr& x); -void delete_QDomAttr(QDomAttr* obj) { delete obj; } +void delete_QDomAttr(QDomAttr* obj) { delete obj; } QString name(QDomAttr* theWrappedObject) const; QDomElement ownerElement(QDomAttr* theWrappedObject) const; void setValue(QDomAttr* theWrappedObject, const QString& arg__1); @@ -35,7 +35,7 @@ class PythonQtWrapper_QDomCDATASection : public QObject public slots: QDomCDATASection* new_QDomCDATASection(); QDomCDATASection* new_QDomCDATASection(const QDomCDATASection& x); -void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } +void delete_QDomCDATASection(QDomCDATASection* obj) { delete obj; } bool __nonzero__(QDomCDATASection* obj) { return !obj->isNull(); } }; @@ -49,7 +49,7 @@ class PythonQtWrapper_QDomCharacterData : public QObject public slots: QDomCharacterData* new_QDomCharacterData(); QDomCharacterData* new_QDomCharacterData(const QDomCharacterData& x); -void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } +void delete_QDomCharacterData(QDomCharacterData* obj) { delete obj; } void appendData(QDomCharacterData* theWrappedObject, const QString& arg); QString data(QDomCharacterData* theWrappedObject) const; void deleteData(QDomCharacterData* theWrappedObject, unsigned long offset, unsigned long count); @@ -71,7 +71,7 @@ class PythonQtWrapper_QDomComment : public QObject public slots: QDomComment* new_QDomComment(); QDomComment* new_QDomComment(const QDomComment& x); -void delete_QDomComment(QDomComment* obj) { delete obj; } +void delete_QDomComment(QDomComment* obj) { delete obj; } bool __nonzero__(QDomComment* obj) { return !obj->isNull(); } }; @@ -87,7 +87,7 @@ QDomDocument* new_QDomDocument(); QDomDocument* new_QDomDocument(const QDomDocument& x); QDomDocument* new_QDomDocument(const QDomDocumentType& doctype); QDomDocument* new_QDomDocument(const QString& name); -void delete_QDomDocument(QDomDocument* obj) { delete obj; } +void delete_QDomDocument(QDomDocument* obj) { delete obj; } QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); @@ -130,7 +130,7 @@ class PythonQtWrapper_QDomDocumentFragment : public QObject public slots: QDomDocumentFragment* new_QDomDocumentFragment(); QDomDocumentFragment* new_QDomDocumentFragment(const QDomDocumentFragment& x); -void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } +void delete_QDomDocumentFragment(QDomDocumentFragment* obj) { delete obj; } bool __nonzero__(QDomDocumentFragment* obj) { return !obj->isNull(); } }; @@ -144,7 +144,7 @@ class PythonQtWrapper_QDomDocumentType : public QObject public slots: QDomDocumentType* new_QDomDocumentType(); QDomDocumentType* new_QDomDocumentType(const QDomDocumentType& x); -void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } +void delete_QDomDocumentType(QDomDocumentType* obj) { delete obj; } QDomNamedNodeMap entities(QDomDocumentType* theWrappedObject) const; QString internalSubset(QDomDocumentType* theWrappedObject) const; QString name(QDomDocumentType* theWrappedObject) const; @@ -164,7 +164,7 @@ class PythonQtWrapper_QDomElement : public QObject public slots: QDomElement* new_QDomElement(); QDomElement* new_QDomElement(const QDomElement& x); -void delete_QDomElement(QDomElement* obj) { delete obj; } +void delete_QDomElement(QDomElement* obj) { delete obj; } QString attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue = QString()) const; QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; QDomAttr attributeNode(QDomElement* theWrappedObject, const QString& name); @@ -204,7 +204,7 @@ class PythonQtWrapper_QDomEntity : public QObject public slots: QDomEntity* new_QDomEntity(); QDomEntity* new_QDomEntity(const QDomEntity& x); -void delete_QDomEntity(QDomEntity* obj) { delete obj; } +void delete_QDomEntity(QDomEntity* obj) { delete obj; } QString notationName(QDomEntity* theWrappedObject) const; QString publicId(QDomEntity* theWrappedObject) const; QString systemId(QDomEntity* theWrappedObject) const; @@ -221,7 +221,7 @@ class PythonQtWrapper_QDomEntityReference : public QObject public slots: QDomEntityReference* new_QDomEntityReference(); QDomEntityReference* new_QDomEntityReference(const QDomEntityReference& x); -void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } +void delete_QDomEntityReference(QDomEntityReference* obj) { delete obj; } bool __nonzero__(QDomEntityReference* obj) { return !obj->isNull(); } }; @@ -238,7 +238,7 @@ enum InvalidDataPolicy{ public slots: QDomImplementation* new_QDomImplementation(); QDomImplementation* new_QDomImplementation(const QDomImplementation& arg__1); -void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } +void delete_QDomImplementation(QDomImplementation* obj) { delete obj; } QDomDocument createDocument(QDomImplementation* theWrappedObject, const QString& nsURI, const QString& qName, const QDomDocumentType& doctype); QDomDocumentType createDocumentType(QDomImplementation* theWrappedObject, const QString& qName, const QString& publicId, const QString& systemId); bool hasFeature(QDomImplementation* theWrappedObject, const QString& feature, const QString& version) const; @@ -260,7 +260,7 @@ class PythonQtWrapper_QDomNamedNodeMap : public QObject public slots: QDomNamedNodeMap* new_QDomNamedNodeMap(); QDomNamedNodeMap* new_QDomNamedNodeMap(const QDomNamedNodeMap& arg__1); -void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } +void delete_QDomNamedNodeMap(QDomNamedNodeMap* obj) { delete obj; } bool contains(QDomNamedNodeMap* theWrappedObject, const QString& name) const; int count(QDomNamedNodeMap* theWrappedObject) const; bool isEmpty(QDomNamedNodeMap* theWrappedObject) const; @@ -293,7 +293,7 @@ enum NodeType{ public slots: QDomNode* new_QDomNode(); QDomNode* new_QDomNode(const QDomNode& arg__1); -void delete_QDomNode(QDomNode* obj) { delete obj; } +void delete_QDomNode(QDomNode* obj) { delete obj; } QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); QDomNodeList childNodes(QDomNode* theWrappedObject) const; void clear(QDomNode* theWrappedObject); @@ -371,7 +371,7 @@ class PythonQtWrapper_QDomNodeList : public QObject public slots: QDomNodeList* new_QDomNodeList(); QDomNodeList* new_QDomNodeList(const QDomNodeList& arg__1); -void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } +void delete_QDomNodeList(QDomNodeList* obj) { delete obj; } QDomNode at(QDomNodeList* theWrappedObject, int index) const; int count(QDomNodeList* theWrappedObject) const; bool isEmpty(QDomNodeList* theWrappedObject) const; @@ -393,7 +393,7 @@ class PythonQtWrapper_QDomNotation : public QObject public slots: QDomNotation* new_QDomNotation(); QDomNotation* new_QDomNotation(const QDomNotation& x); -void delete_QDomNotation(QDomNotation* obj) { delete obj; } +void delete_QDomNotation(QDomNotation* obj) { delete obj; } QString publicId(QDomNotation* theWrappedObject) const; QString systemId(QDomNotation* theWrappedObject) const; bool __nonzero__(QDomNotation* obj) { return !obj->isNull(); } @@ -409,7 +409,7 @@ class PythonQtWrapper_QDomProcessingInstruction : public QObject public slots: QDomProcessingInstruction* new_QDomProcessingInstruction(); QDomProcessingInstruction* new_QDomProcessingInstruction(const QDomProcessingInstruction& x); -void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } +void delete_QDomProcessingInstruction(QDomProcessingInstruction* obj) { delete obj; } QString data(QDomProcessingInstruction* theWrappedObject) const; void setData(QDomProcessingInstruction* theWrappedObject, const QString& d); QString target(QDomProcessingInstruction* theWrappedObject) const; @@ -426,7 +426,7 @@ class PythonQtWrapper_QDomText : public QObject public slots: QDomText* new_QDomText(); QDomText* new_QDomText(const QDomText& x); -void delete_QDomText(QDomText* obj) { delete obj; } +void delete_QDomText(QDomText* obj) { delete obj; } QDomText splitText(QDomText* theWrappedObject, int offset); bool __nonzero__(QDomText* obj) { return !obj->isNull(); } }; @@ -435,27 +435,69 @@ void delete_QDomText(QDomText* obj) { delete obj; } +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(NULL) {}; - - ~PythonQtShell_QXmlContentHandler(); - -virtual bool characters(const QString& ch); -virtual bool endDocument(); -virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); -virtual bool endPrefixMapping(const QString& prefix); -virtual QString errorString() const; -virtual bool ignorableWhitespace(const QString& ch); -virtual bool processingInstruction(const QString& target, const QString& data); -virtual void setDocumentLocator(QXmlLocator* locator); -virtual bool skippedEntity(const QString& name); -virtual bool startDocument(); -virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); -virtual bool startPrefixMapping(const QString& prefix, const QString& uri); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QXmlContentHandler():QXmlContentHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlContentHandler() override; + +bool characters(const QString& ch) override; +bool endDocument() override; +bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; +bool endPrefixMapping(const QString& prefix) override; +QString errorString() const override; +bool ignorableWhitespace(const QString& ch) override; +bool processingInstruction(const QString& target, const QString& data) override; +void setDocumentLocator(QXmlLocator* locator) override; +bool skippedEntity(const QString& name) override; +bool startDocument() override; +bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; +bool startPrefixMapping(const QString& prefix, const QString& uri) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlContentHandler : public QXmlContentHandler @@ -479,7 +521,7 @@ class PythonQtWrapper_QXmlContentHandler : public QObject public: public slots: QXmlContentHandler* new_QXmlContentHandler(); -void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } +void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } bool characters(QXmlContentHandler* theWrappedObject, const QString& ch); bool py_q_characters(QXmlContentHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlContentHandler*)theWrappedObject)->py_q_characters(ch));} bool endDocument(QXmlContentHandler* theWrappedObject); @@ -513,15 +555,15 @@ void delete_QXmlContentHandler(QXmlContentHandler* obj) { delete obj; } class PythonQtShell_QXmlDTDHandler : public QXmlDTDHandler { public: - PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlDTDHandler():QXmlDTDHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlDTDHandler(); + ~PythonQtShell_QXmlDTDHandler() override; -virtual QString errorString() const; -virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); +QString errorString() const override; +bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDTDHandler : public QXmlDTDHandler @@ -536,7 +578,7 @@ class PythonQtWrapper_QXmlDTDHandler : public QObject public: public slots: QXmlDTDHandler* new_QXmlDTDHandler(); -void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } +void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } QString errorString(QXmlDTDHandler* theWrappedObject) const; QString py_q_errorString(QXmlDTDHandler* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlDTDHandler*)theWrappedObject)->py_q_errorString());} bool notationDecl(QXmlDTDHandler* theWrappedObject, const QString& name, const QString& publicId, const QString& systemId); @@ -552,16 +594,16 @@ void delete_QXmlDTDHandler(QXmlDTDHandler* obj) { delete obj; } class PythonQtShell_QXmlDeclHandler : public QXmlDeclHandler { public: - PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlDeclHandler():QXmlDeclHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlDeclHandler(); + ~PythonQtShell_QXmlDeclHandler() override; -virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); -virtual QString errorString() const; -virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool internalEntityDecl(const QString& name, const QString& value); +bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; +QString errorString() const override; +bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool internalEntityDecl(const QString& name, const QString& value) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDeclHandler : public QXmlDeclHandler @@ -577,7 +619,7 @@ class PythonQtWrapper_QXmlDeclHandler : public QObject public: public slots: QXmlDeclHandler* new_QXmlDeclHandler(); -void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } +void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } bool attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); bool py_q_attributeDecl(QXmlDeclHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value){ return (((PythonQtPublicPromoter_QXmlDeclHandler*)theWrappedObject)->py_q_attributeDecl(eName, aName, type, valueDefault, value));} QString errorString(QXmlDeclHandler* theWrappedObject) const; @@ -595,40 +637,40 @@ void delete_QXmlDeclHandler(QXmlDeclHandler* obj) { delete obj; } class PythonQtShell_QXmlDefaultHandler : public QXmlDefaultHandler { public: - PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(NULL) {}; - - ~PythonQtShell_QXmlDefaultHandler(); - -virtual bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value); -virtual bool characters(const QString& ch); -virtual bool comment(const QString& ch); -virtual bool endCDATA(); -virtual bool endDTD(); -virtual bool endDocument(); -virtual bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName); -virtual bool endEntity(const QString& name); -virtual bool endPrefixMapping(const QString& prefix); -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool fatalError(const QXmlParseException& exception); -virtual bool ignorableWhitespace(const QString& ch); -virtual bool internalEntityDecl(const QString& name, const QString& value); -virtual bool notationDecl(const QString& name, const QString& publicId, const QString& systemId); -virtual bool processingInstruction(const QString& target, const QString& data); -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); -virtual void setDocumentLocator(QXmlLocator* locator); -virtual bool skippedEntity(const QString& name); -virtual bool startCDATA(); -virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); -virtual bool startDocument(); -virtual bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts); -virtual bool startEntity(const QString& name); -virtual bool startPrefixMapping(const QString& prefix, const QString& uri); -virtual bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName); -virtual bool warning(const QXmlParseException& exception); - - PythonQtInstanceWrapper* _wrapper; + PythonQtShell_QXmlDefaultHandler():QXmlDefaultHandler(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlDefaultHandler() override; + +bool attributeDecl(const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value) override; +bool characters(const QString& ch) override; +bool comment(const QString& ch) override; +bool endCDATA() override; +bool endDTD() override; +bool endDocument() override; +bool endElement(const QString& namespaceURI, const QString& localName, const QString& qName) override; +bool endEntity(const QString& name) override; +bool endPrefixMapping(const QString& prefix) override; +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool externalEntityDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool fatalError(const QXmlParseException& exception) override; +bool ignorableWhitespace(const QString& ch) override; +bool internalEntityDecl(const QString& name, const QString& value) override; +bool notationDecl(const QString& name, const QString& publicId, const QString& systemId) override; +bool processingInstruction(const QString& target, const QString& data) override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; +void setDocumentLocator(QXmlLocator* locator) override; +bool skippedEntity(const QString& name) override; +bool startCDATA() override; +bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; +bool startDocument() override; +bool startElement(const QString& namespaceURI, const QString& localName, const QString& qName, const QXmlAttributes& atts) override; +bool startEntity(const QString& name) override; +bool startPrefixMapping(const QString& prefix, const QString& uri) override; +bool unparsedEntityDecl(const QString& name, const QString& publicId, const QString& systemId, const QString& notationName) override; +bool warning(const QXmlParseException& exception) override; + + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlDefaultHandler : public QXmlDefaultHandler @@ -668,7 +710,7 @@ class PythonQtWrapper_QXmlDefaultHandler : public QObject public: public slots: QXmlDefaultHandler* new_QXmlDefaultHandler(); -void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } +void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } bool py_q_attributeDecl(QXmlDefaultHandler* theWrappedObject, const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_attributeDecl(eName, aName, type, valueDefault, value));} bool py_q_characters(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_characters(ch));} bool py_q_comment(QXmlDefaultHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlDefaultHandler*)theWrappedObject)->py_q_comment(ch));} @@ -706,14 +748,14 @@ void delete_QXmlDefaultHandler(QXmlDefaultHandler* obj) { delete obj; } class PythonQtShell_QXmlEntityResolver : public QXmlEntityResolver { public: - PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(NULL) {}; + PythonQtShell_QXmlEntityResolver():QXmlEntityResolver(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlEntityResolver(); + ~PythonQtShell_QXmlEntityResolver() override; -virtual QString errorString() const; -virtual bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret); +QString errorString() const override; +bool resolveEntity(const QString& publicId, const QString& systemId, QXmlInputSource*& ret) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlEntityResolver : public QXmlEntityResolver @@ -727,7 +769,7 @@ class PythonQtWrapper_QXmlEntityResolver : public QObject public: public slots: QXmlEntityResolver* new_QXmlEntityResolver(); -void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } +void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } QString errorString(QXmlEntityResolver* theWrappedObject) const; QString py_q_errorString(QXmlEntityResolver* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlEntityResolver*)theWrappedObject)->py_q_errorString());} bool resolveEntity(QXmlEntityResolver* theWrappedObject, const QString& publicId, const QString& systemId, QXmlInputSource*& ret); @@ -741,16 +783,16 @@ void delete_QXmlEntityResolver(QXmlEntityResolver* obj) { delete obj; } class PythonQtShell_QXmlErrorHandler : public QXmlErrorHandler { public: - PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlErrorHandler():QXmlErrorHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlErrorHandler(); + ~PythonQtShell_QXmlErrorHandler() override; -virtual bool error(const QXmlParseException& exception); -virtual QString errorString() const; -virtual bool fatalError(const QXmlParseException& exception); -virtual bool warning(const QXmlParseException& exception); +bool error(const QXmlParseException& exception) override; +QString errorString() const override; +bool fatalError(const QXmlParseException& exception) override; +bool warning(const QXmlParseException& exception) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlErrorHandler : public QXmlErrorHandler @@ -766,7 +808,7 @@ class PythonQtWrapper_QXmlErrorHandler : public QObject public: public slots: QXmlErrorHandler* new_QXmlErrorHandler(); -void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } +void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } bool error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception); bool py_q_error(QXmlErrorHandler* theWrappedObject, const QXmlParseException& exception){ return (((PythonQtPublicPromoter_QXmlErrorHandler*)theWrappedObject)->py_q_error(exception));} QString errorString(QXmlErrorHandler* theWrappedObject) const; @@ -784,20 +826,20 @@ void delete_QXmlErrorHandler(QXmlErrorHandler* obj) { delete obj; } class PythonQtShell_QXmlInputSource : public QXmlInputSource { public: - PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(NULL) {}; - PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(NULL) {}; + PythonQtShell_QXmlInputSource():QXmlInputSource(),_wrapper(nullptr) {}; + PythonQtShell_QXmlInputSource(QIODevice* dev):QXmlInputSource(dev),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlInputSource(); + ~PythonQtShell_QXmlInputSource() override; -virtual QString data() const; -virtual void fetchData(); -virtual QString fromRawData(const QByteArray& data, bool beginning = false); -virtual QChar next(); -virtual void reset(); -virtual void setData(const QByteArray& dat); -virtual void setData(const QString& dat); +QString data() const override; +void fetchData() override; +QString fromRawData(const QByteArray& data, bool beginning = false) override; +QChar next() override; +void reset() override; +void setData(const QByteArray& dat) override; +void setData(const QString& dat) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlInputSource : public QXmlInputSource @@ -818,7 +860,7 @@ class PythonQtWrapper_QXmlInputSource : public QObject public slots: QXmlInputSource* new_QXmlInputSource(); QXmlInputSource* new_QXmlInputSource(QIODevice* dev); -void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } +void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } QString data(QXmlInputSource* theWrappedObject) const; QString py_q_data(QXmlInputSource* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlInputSource*)theWrappedObject)->py_q_data());} void fetchData(QXmlInputSource* theWrappedObject); @@ -842,20 +884,20 @@ void delete_QXmlInputSource(QXmlInputSource* obj) { delete obj; } class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler { public: - PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(NULL) {}; + PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlLexicalHandler(); + ~PythonQtShell_QXmlLexicalHandler() override; -virtual bool comment(const QString& ch); -virtual bool endCDATA(); -virtual bool endDTD(); -virtual bool endEntity(const QString& name); -virtual QString errorString() const; -virtual bool startCDATA(); -virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); -virtual bool startEntity(const QString& name); +bool comment(const QString& ch) override; +bool endCDATA() override; +bool endDTD() override; +bool endEntity(const QString& name) override; +QString errorString() const override; +bool startCDATA() override; +bool startDTD(const QString& name, const QString& publicId, const QString& systemId) override; +bool startEntity(const QString& name) override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLexicalHandler : public QXmlLexicalHandler @@ -875,7 +917,7 @@ class PythonQtWrapper_QXmlLexicalHandler : public QObject public: public slots: QXmlLexicalHandler* new_QXmlLexicalHandler(); -void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } +void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } bool comment(QXmlLexicalHandler* theWrappedObject, const QString& ch); bool py_q_comment(QXmlLexicalHandler* theWrappedObject, const QString& ch){ return (((PythonQtPublicPromoter_QXmlLexicalHandler*)theWrappedObject)->py_q_comment(ch));} bool endCDATA(QXmlLexicalHandler* theWrappedObject); @@ -901,14 +943,14 @@ void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } class PythonQtShell_QXmlLocator : public QXmlLocator { public: - PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(NULL) {}; + PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(nullptr) {}; - ~PythonQtShell_QXmlLocator(); + ~PythonQtShell_QXmlLocator() override; -virtual int columnNumber() const; -virtual int lineNumber() const; +int columnNumber() const override; +int lineNumber() const override; - PythonQtInstanceWrapper* _wrapper; + PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QXmlLocator : public QXmlLocator @@ -922,7 +964,7 @@ class PythonQtWrapper_QXmlLocator : public QObject public: public slots: QXmlLocator* new_QXmlLocator(); -void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } +void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } int columnNumber(QXmlLocator* theWrappedObject) const; int py_q_columnNumber(QXmlLocator* theWrappedObject) const{ return (((PythonQtPublicPromoter_QXmlLocator*)theWrappedObject)->py_q_columnNumber());} int lineNumber(QXmlLocator* theWrappedObject) const; @@ -939,7 +981,7 @@ class PythonQtWrapper_QXmlParseException : public QObject public slots: QXmlParseException* new_QXmlParseException(const QString& name = QString(), int c = -1, int l = -1, const QString& p = QString(), const QString& s = QString()); QXmlParseException* new_QXmlParseException(const QXmlParseException& other); -void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } +void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } int columnNumber(QXmlParseException* theWrappedObject) const; int lineNumber(QXmlParseException* theWrappedObject) const; QString message(QXmlParseException* theWrappedObject) const; @@ -951,140 +993,202 @@ void delete_QXmlParseException(QXmlParseException* obj) { delete obj; } -class PythonQtWrapper_QXmlStreamAttributes : public QObject -{ Q_OBJECT +class PythonQtShell_QXmlReader : public QXmlReader +{ 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); - bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; - bool hasAttribute(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; - QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; - QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; + 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_QXmlStreamReader : public QObject +class PythonQtWrapper_QXmlReader : 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: -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; +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 PythonQtWrapper_QXmlStreamWriter : public QObject +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: -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); +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.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp new file mode 100644 index 00000000..c7a9e809 --- /dev/null +++ b/generated_cpp_5.15.2/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.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml1.h new file mode 100644 index 00000000..a9105fa0 --- /dev/null +++ b/generated_cpp_5.15.2/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.3/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp similarity index 58% rename from generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp rename to generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp index 343b186e..fa280697 100644 --- a/generated_cpp_5.15.3/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp @@ -1,27 +1,29 @@ #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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlContentHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDTDHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDeclHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -37,12 +39,20 @@ PythonQt::priv()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCrea PythonQt::priv()->registerCPPClass("QXmlInputSource", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLexicalHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLocator", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, NULL, module, 0); +PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlStreamAttribute", "", "QtXml", PythonQtCreateObject, 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.3/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.h deleted file mode 100644 index afe5f456..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core0.h +++ /dev/null @@ -1,1691 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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(NULL) {}; - - ~PythonQtShell_QAbstractAnimation(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 event(QAbstractAnimation* theWrappedObject, QEvent* event); - 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(NULL) {}; - - ~PythonQtShell_QAbstractItemModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QAbstractListModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QAbstractState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 event(QAbstractState* theWrappedObject, QEvent* e); - 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(NULL) {}; - - ~PythonQtShell_QAbstractTransition(); - -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 event(QAbstractTransition* theWrappedObject, QEvent* e); - 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(NULL) {}; - - ~PythonQtShell_QAnimationGroup(); - -virtual int duration() const; -virtual bool event(QEvent* event); -virtual void updateCurrentTime(int currentTime); -virtual void updateDirection(QAbstractAnimation::Direction direction); -virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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_QBuffer : public QBuffer -{ -public: - PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = nullptr):QBuffer(buf, parent),_wrapper(NULL) {}; - PythonQtShell_QBuffer(QObject* parent = nullptr):QBuffer(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QBuffer(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual void connectNotify(const QMetaMethod& arg__1); -virtual void disconnectNotify(const QMetaMethod& arg__1); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode openMode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 off); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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_QChildEvent : public QChildEvent -{ -public: - PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {}; - - ~PythonQtShell_QChildEvent(); - - - 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_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: -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 event(QCoreApplication* theWrappedObject, QEvent* arg__1); - 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: -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: -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_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_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: -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 PythonQtShell_QEvent : public QEvent -{ -public: - PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {}; - PythonQtShell_QEvent(const QEvent& other):QEvent(other),_wrapper(NULL) {}; - - ~PythonQtShell_QEvent(); - - - 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); - 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(NULL) {}; - - ~PythonQtShell_QEventLoop(); - -virtual bool event(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 event(QEventLoop* theWrappedObject, QEvent* event); - 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(NULL) {}; - PythonQtShell_QEventTransition(QState* sourceState = nullptr):QEventTransition(sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QEventTransition(); - -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QFactoryInterface(); - -virtual QStringList keys() const; - - 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(NULL) {}; - PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(NULL) {}; - PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFile(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode flags); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - PythonQtShell_QFileDevice(QObject* parent):QFileDevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QFileDevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual QString fileName() const; -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual QFileDevice::Permissions permissions() const; -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool resize(qint64 sz); -virtual bool seek(qint64 offset); -virtual bool setPermissions(QFileDevice::Permissions permissionSpec); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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_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 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(NULL) {}; - - ~PythonQtShell_QFinalState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QHistoryState(QState* parent = nullptr):QHistoryState(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QHistoryState(); - -virtual bool event(QEvent* e); -virtual void onEntry(QEvent* event); -virtual void onExit(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIODevice(); - -virtual bool atEnd() const; -virtual qint64 bytesAvailable() const; -virtual qint64 bytesToWrite() const; -virtual bool canReadLine() const; -virtual void close(); -virtual bool isSequential() const; -virtual bool open(QIODevice::OpenMode mode); -virtual qint64 pos() const; -virtual qint64 readData(char* data, qint64 maxlen); -virtual qint64 readLineData(char* data, qint64 maxlen); -virtual bool reset(); -virtual bool seek(qint64 pos); -virtual qint64 size() const; -virtual bool waitForBytesWritten(int msecs); -virtual bool waitForReadyRead(int msecs); -virtual qint64 writeData(const char* data, qint64 len); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~PythonQtShell_QIdentityProxyModel(); - -virtual QModelIndex buddy(const QModelIndex& index) const; -virtual bool canDropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) const; -virtual bool canFetchMore(const QModelIndex& parent) const; -virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant data(const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; -virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); -virtual void fetchMore(const QModelIndex& parent); -virtual Qt::ItemFlags flags(const QModelIndex& index) const; -virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const; -virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; -virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; -virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual QMap itemData(const QModelIndex& index) const; -virtual QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; -virtual QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; -virtual QItemSelection mapSelectionToSource(const QItemSelection& selection) const; -virtual QModelIndex mapToSource(const QModelIndex& proxyIndex) const; -virtual QList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; -virtual QMimeData* mimeData(const QList& indexes) const; -virtual QStringList mimeTypes() const; -virtual bool moveColumns(const QModelIndex& sourceParent, int sourceColumn, int count, const QModelIndex& destinationParent, int destinationChild); -virtual bool moveRows(const QModelIndex& sourceParent, int sourceRow, int count, const QModelIndex& destinationParent, int destinationChild); -virtual QModelIndex parent(const QModelIndex& child) const; -virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); -virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); -virtual void revert(); -virtual QHash roleNames() const; -virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; -virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); -virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole); -virtual bool setItemData(const QModelIndex& index, const QMap& roles); -virtual void setSourceModel(QAbstractItemModel* sourceModel); -virtual QModelIndex sibling(int row, int column, const QModelIndex& idx) const; -virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); -virtual QSize span(const QModelIndex& index) const; -virtual bool submit(); -virtual Qt::DropActions supportedDragActions() const; -virtual Qt::DropActions supportedDropActions() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 PythonQtShell_QJsonParseError : public QJsonParseError -{ -public: - PythonQtShell_QJsonParseError():QJsonParseError(),_wrapper(NULL) {}; - - ~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; } -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp deleted file mode 100644 index 471098a1..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core/com_trolltech_qt_core2.cpp +++ /dev/null @@ -1,3434 +0,0 @@ -#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 -#include - -PythonQtShell_QSignalTransition::~PythonQtShell_QSignalTransition() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSignalTransition::event(e0); -} -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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); -} -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); } -} -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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QSocketNotifier::event(arg__1); -} -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::event(QSocketNotifier* theWrappedObject, QEvent* arg__1) -{ - return ( ((PythonQtPublicPromoter_QSocketNotifier*)theWrappedObject)->promoted_event(arg__1)); -} - -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); } -} -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QState::event(e0); -} -void PythonQtShell_QState::onEntry(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::onEntry(event0); -} -void PythonQtShell_QState::onExit(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QState::onExit(event0); -} -QState* PythonQtWrapper_QState::new_QState(QState* parent) -{ -return new PythonQtShell_QState(parent); } - -QState* PythonQtWrapper_QState::new_QState(QState::ChildMode childMode, QState* parent) -{ -return new PythonQtShell_QState(childMode, parent); } - -const QMetaObject* PythonQtShell_QState::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QState::staticMetaObject); - } else { - return &QState::staticMetaObject; - } -} -int PythonQtShell_QState::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QState::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QAbstractTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP target) -{ - return ( theWrappedObject->addTransition(target)); -} - -void PythonQtWrapper_QState::addTransition(QState* theWrappedObject, PythonQtPassOwnershipToCPP transition) -{ - ( theWrappedObject->addTransition(transition)); -} - -QSignalTransition* PythonQtWrapper_QState::addTransition(QState* theWrappedObject, const QObject* sender, const char* signal, QAbstractState* target) -{ - return ( theWrappedObject->addTransition(sender, signal, target)); -} - -void PythonQtWrapper_QState::assignProperty(QState* theWrappedObject, QObject* object, const char* name, const QVariant& value) -{ - ( theWrappedObject->assignProperty(object, name, value)); -} - -QState::ChildMode PythonQtWrapper_QState::childMode(QState* theWrappedObject) const -{ - return ( theWrappedObject->childMode()); -} - -QAbstractState* PythonQtWrapper_QState::errorState(QState* theWrappedObject) const -{ - return ( theWrappedObject->errorState()); -} - -QAbstractState* PythonQtWrapper_QState::initialState(QState* theWrappedObject) const -{ - return ( theWrappedObject->initialState()); -} - -void PythonQtWrapper_QState::removeTransition(QState* theWrappedObject, PythonQtPassOwnershipToPython transition) -{ - ( theWrappedObject->removeTransition(transition)); -} - -void PythonQtWrapper_QState::setChildMode(QState* theWrappedObject, QState::ChildMode mode) -{ - ( theWrappedObject->setChildMode(mode)); -} - -void PythonQtWrapper_QState::setErrorState(QState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setErrorState(state)); -} - -void PythonQtWrapper_QState::setInitialState(QState* theWrappedObject, QAbstractState* state) -{ - ( theWrappedObject->setInitialState(state)); -} - -QList PythonQtWrapper_QState::transitions(QState* theWrappedObject) const -{ - return ( theWrappedObject->transitions()); -} - - - -PythonQtShell_QStateMachine::~PythonQtShell_QStateMachine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStateMachine::beginMicrostep(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::beginMicrostep(event0); -} -void PythonQtShell_QStateMachine::beginSelectTransitions(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("beginSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::beginSelectTransitions(event0); -} -void PythonQtShell_QStateMachine::endMicrostep(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endMicrostep"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::endMicrostep(event0); -} -void PythonQtShell_QStateMachine::endSelectTransitions(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("endSelectTransitions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::endSelectTransitions(event0); -} -bool PythonQtShell_QStateMachine::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStateMachine::event(e0); -} -bool PythonQtShell_QStateMachine::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {NULL, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStateMachine::eventFilter(watched0, event1); -} -void PythonQtShell_QStateMachine::onEntry(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onEntry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::onEntry(event0); -} -void PythonQtShell_QStateMachine::onExit(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("onExit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStateMachine::onExit(event0); -} -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()); -} - -bool PythonQtWrapper_QStateMachine::eventFilter(QStateMachine* theWrappedObject, QObject* watched, QEvent* event) -{ - return ( theWrappedObject->eventFilter(watched, event)); -} - -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()); -} - - - -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()); -} - -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()); -} - - - -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)); -} - - - -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTemporaryFile::close(); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&flags0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&data0, (void*)&maxlen1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&sz0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&permissionSpec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((qint64*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTemporaryFile::size(); -} -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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&msecs0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&data0, (void*)&len1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&in0, (void*)&length1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&in0, (void*)&length1, (void*)&state2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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)); -} - - - -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)); -} - - - -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::__lshift__(QTextStream* theWrappedObject, QLatin1String s) -{ - 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); } -} -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QThread::event(event0); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QThread::run(); -} -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()); -} - -bool PythonQtWrapper_QThread::event(QThread* theWrappedObject, QEvent* event) -{ - return ( theWrappedObject->event(event)); -} - -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)); -} - -bool PythonQtWrapper_QThread::isFinished(QThread* theWrappedObject) const -{ - return ( theWrappedObject->isFinished()); -} - -bool PythonQtWrapper_QThread::isInterruptionRequested(QThread* theWrappedObject) const -{ - return ( theWrappedObject->isInterruptionRequested()); -} - -bool PythonQtWrapper_QThread::isRunning(QThread* theWrappedObject) const -{ - return ( theWrappedObject->isRunning()); -} - -int PythonQtWrapper_QThread::loopLevel(QThread* theWrappedObject) const -{ - return ( theWrappedObject->loopLevel()); -} - -void PythonQtWrapper_QThread::static_QThread_msleep(unsigned long arg__1) -{ - (QThread::msleep(arg__1)); -} - -void PythonQtWrapper_QThread::requestInterruption(QThread* theWrappedObject) -{ - ( theWrappedObject->requestInterruption()); -} - -void PythonQtWrapper_QThread::run(QThread* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QThread*)theWrappedObject)->promoted_run()); -} - -void PythonQtWrapper_QThread::setEventDispatcher(QThread* theWrappedObject, QAbstractEventDispatcher* eventDispatcher) -{ - ( theWrappedObject->setEventDispatcher(eventDispatcher)); -} - -void PythonQtWrapper_QThread::setStackSize(QThread* theWrappedObject, uint stackSize) -{ - ( theWrappedObject->setStackSize(stackSize)); -} - -void PythonQtWrapper_QThread::static_QThread_setTerminationEnabled(bool enabled) -{ - (PythonQtPublicPromoter_QThread::promoted_setTerminationEnabled(enabled)); -} - -void PythonQtWrapper_QThread::static_QThread_sleep(unsigned long arg__1) -{ - (QThread::sleep(arg__1)); -} - -uint PythonQtWrapper_QThread::stackSize(QThread* theWrappedObject) const -{ - return ( theWrappedObject->stackSize()); -} - -void PythonQtWrapper_QThread::static_QThread_usleep(unsigned long arg__1) -{ - (QThread::usleep(arg__1)); -} - -bool PythonQtWrapper_QThread::wait(QThread* theWrappedObject, 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()); -} - - - -QThreadPool* PythonQtWrapper_QThreadPool::new_QThreadPool(QObject* parent) -{ -return new QThreadPool(parent); } - -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::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (((PyObject*)_wrapper)->ob_refcnt > 0) { - static PyObject* name = PyString_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - 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] = {NULL, (void*)&msec0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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()); -} - -void PythonQtWrapper_QTimeLine::timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event) -{ - ( ((PythonQtPublicPromoter_QTimeLine*)theWrappedObject)->promoted_timerEvent(event)); -} - -int PythonQtWrapper_QTimeLine::updateInterval(QTimeLine* theWrappedObject) const -{ - return ( theWrappedObject->updateInterval()); -} - -qreal PythonQtWrapper_QTimeLine::valueForTime(QTimeLine* theWrappedObject, int msec) const -{ - return ( theWrappedObject->valueForTime(msec)); -} - - - -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); } -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTranslator::isEmpty(); -} -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] = {NULL, (void*)&context0, (void*)&sourceText1, (void*)&disambiguation2, (void*)&n3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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); } - -QUrlQuery* PythonQtWrapper_QUrlQuery::operator_assign(QUrlQuery* theWrappedObject, const QUrlQuery& other) -{ - return &( (*theWrappedObject)= other); -} - - - -PythonQtShell_QVariantAnimation::~PythonQtShell_QVariantAnimation() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVariantAnimation::event(event0); -} -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] = {NULL, (void*)&from0, (void*)&to1, (void*)&progress2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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::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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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)); -} - - - -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()); -} - - - -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] = {NULL, (void*)&publicId0, (void*)&systemId1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL, (void*)&name0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp deleted file mode 100644 index ef822d0e..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp +++ /dev/null @@ -1,938 +0,0 @@ -#include "com_trolltech_qt_core_builtin0.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -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::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::addYears(QDate* theWrappedObject, int years) const -{ - return ( theWrappedObject->addYears(years)); -} - -QDate PythonQtWrapper_QDate::static_QDate_currentDate() -{ - return (QDate::currentDate()); -} - -int PythonQtWrapper_QDate::day(QDate* theWrappedObject) const -{ - return ( theWrappedObject->day()); -} - -int PythonQtWrapper_QDate::dayOfWeek(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfWeek()); -} - -int PythonQtWrapper_QDate::dayOfYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->dayOfYear()); -} - -int PythonQtWrapper_QDate::daysInMonth(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInMonth()); -} - -int PythonQtWrapper_QDate::daysInYear(QDate* theWrappedObject) const -{ - return ( theWrappedObject->daysInYear()); -} - -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)); -} - -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()); -} - -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)); -} - -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, const QString& format) const -{ - return ( theWrappedObject->toString(format)); -} - -int PythonQtWrapper_QDate::weekNumber(QDate* theWrappedObject, int* yearNum) const -{ - return ( theWrappedObject->weekNumber(yearNum)); -} - -int PythonQtWrapper_QDate::year(QDate* theWrappedObject) const -{ - return ( theWrappedObject->year()); -} - -QString PythonQtWrapper_QDate::py_toString(QDate* 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)); -} - -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; -} - - - -PythonQtShell_QRect::~PythonQtShell_QRect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRect* PythonQtWrapper_QRect::new_QRect() -{ -return new PythonQtShell_QRect(); } - -void PythonQtWrapper_QRect::writeTo(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QRect::readFrom(QRect* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QRect::py_toString(QRect* 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); } - -void PythonQtWrapper_QUrl::writeTo(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QUrl::readFrom(QUrl* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -QString PythonQtWrapper_QUrl::py_toString(QUrl* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -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.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h deleted file mode 100644 index f2c3f618..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h +++ /dev/null @@ -1,332 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -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(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 addYears(QDate* theWrappedObject, int years) const; - QDate static_QDate_currentDate(); - int day(QDate* theWrappedObject) const; - int dayOfWeek(QDate* theWrappedObject) const; - int dayOfYear(QDate* theWrappedObject) const; - int daysInMonth(QDate* theWrappedObject) const; - int daysInYear(QDate* theWrappedObject) 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); - 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; - 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); - 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, const QString& format) const; - int weekNumber(QDate* theWrappedObject, int* yearNum = nullptr) const; - int year(QDate* theWrappedObject) const; - QString py_toString(QDate*); - bool __nonzero__(QDate* 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; - 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 PythonQtShell_QRect : public QRect -{ -public: - PythonQtShell_QRect():QRect(),_wrapper(NULL) {}; - - ~PythonQtShell_QRect(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QRect : public QObject -{ Q_OBJECT -public: -public slots: -QRect* new_QRect(); -QRect* new_QRect(const QRect& other) { -PythonQtShell_QRect* a = new PythonQtShell_QRect(); -*((QRect*)a) = other; -return a; } -void delete_QRect(QRect* obj) { delete obj; } - void writeTo(QRect* theWrappedObject, QDataStream& arg__1); - void readFrom(QRect* theWrappedObject, QDataStream& arg__1); - QString py_toString(QRect*); -}; - - - - - -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 ) -Q_FLAGS(ComponentFormattingOptions ) -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}; -Q_DECLARE_FLAGS(ComponentFormattingOptions, ComponentFormattingOption) -public slots: -QUrl* new_QUrl(); -QUrl* new_QUrl(const QString& url, QUrl::ParsingMode mode = QUrl::TolerantMode); -QUrl* new_QUrl(const QUrl& copy); -void delete_QUrl(QUrl* obj) { delete obj; } - void writeTo(QUrl* theWrappedObject, QDataStream& arg__1); - void readFrom(QUrl* theWrappedObject, QDataStream& arg__1); - QString py_toString(QUrl*); -}; - - - - - -class PythonQtWrapper_Qt : public QObject -{ Q_OBJECT -public: -Q_ENUMS(GlobalColor KeyboardModifier ) -Q_FLAGS(KeyboardModifiers ) -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 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}; -Q_DECLARE_FLAGS(KeyboardModifiers, KeyboardModifier) -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.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp deleted file mode 100644 index 3e8eb574..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include "com_trolltech_qt_core_builtin0.h" - - -void PythonQt_init_QtCoreBuiltin(PyObject* module) { -PythonQt::priv()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_Multiply|PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject, NULL, module, 0); - - -} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.h deleted file mode 100644 index 2a2a8859..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui4.h +++ /dev/null @@ -1,2719 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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_QInputDialog : public QInputDialog -{ -public: - PythonQtShell_QInputDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QInputDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QInputDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QInputEvent(); - - - 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(NULL) {}; - PythonQtShell_QInputMethodEvent__Attribute(QInputMethodEvent::AttributeType typ, int s, int l, QVariant val):QInputMethodEvent::Attribute(typ, s, l, val),_wrapper(NULL) {}; - - ~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(NULL) {}; - PythonQtShell_QIntValidator(int bottom, int top, QObject* parent = nullptr):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QIntValidator(); - -virtual void fixup(QString& input) const; -virtual void setRange(int bottom, int top); -virtual QValidator::State validate(QString& arg__1, int& arg__2) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QItemDelegate(); - -virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const; -virtual void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; -virtual void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; -virtual void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; -virtual void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; -virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index); -virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual QVector paintingRoles() const; -virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; -virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; -virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; -virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event); - 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(NULL) {}; - - ~PythonQtShell_QItemEditorCreatorBase(); - -virtual QWidget* createWidget(QWidget* parent) const; -virtual QByteArray valuePropertyName() const; - - 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(NULL) {}; - - ~PythonQtShell_QItemEditorFactory(); - -virtual QWidget* createEditor(int userType, QWidget* parent) const; -virtual QByteArray valuePropertyName(int userType) const; - - 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(const QModelIndex& topLeft, const QModelIndex& bottomRight); -void delete_QItemSelection(QItemSelection* obj) { delete obj; } - bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; - QList indexes(QItemSelection* theWrappedObject) const; - void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); - void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); - void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); -}; - - - - - -class PythonQtShell_QItemSelectionModel : public QItemSelectionModel -{ -public: - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model = nullptr):QItemSelectionModel(model),_wrapper(NULL) {}; - PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QItemSelectionModel(); - -virtual void clear(); -virtual void clearCurrentIndex(); -virtual void reset(); -virtual void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); -virtual void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); -virtual void setCurrentIndex(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 PythonQtShell_QKeyEvent : public QKeyEvent -{ -public: - PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, text, autorep, count),_wrapper(NULL) {}; - PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count),_wrapper(NULL) {}; - - ~PythonQtShell_QKeyEvent(); - - - 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(NULL) {}; - PythonQtShell_QKeyEventTransition(QState* sourceState = nullptr):QKeyEventTransition(sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QKeyEventTransition(); - -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QKeySequenceEdit(const QKeySequence& keySequence, QWidget* parent = nullptr):QKeySequenceEdit(keySequence, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QKeySequenceEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* arg__1); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 timerEvent(QKeySequenceEdit* theWrappedObject, QTimerEvent* arg__1); - 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(NULL) {}; - PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = nullptr):QLCDNumber(numDigits, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLCDNumber(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QLabel(const QString& text, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QLabel(text, parent, f),_wrapper(NULL) {}; - - ~PythonQtShell_QLabel(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* ev); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* ev); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* ev); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* ev); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* ev); -virtual void mousePressEvent(QMouseEvent* ev); -virtual void mouseReleaseEvent(QMouseEvent* ev); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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_QLayoutItem : public QLayoutItem -{ -public: - PythonQtShell_QLayoutItem(Qt::Alignment alignment = Qt::Alignment()):QLayoutItem(alignment),_wrapper(NULL) {}; - - ~PythonQtShell_QLayoutItem(); - -virtual QSizePolicy::ControlTypes controlTypes() const; -virtual Qt::Orientations expandingDirections() const; -virtual QRect geometry() const; -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void invalidate(); -virtual bool isEmpty() const; -virtual QSize maximumSize() const; -virtual int minimumHeightForWidth(int arg__1) const; -virtual QSize minimumSize() const; -virtual void setGeometry(const QRect& arg__1); -virtual QSize sizeHint() const; -virtual QSpacerItem* spacerItem(); -virtual QWidget* widget(); - - PythonQtInstanceWrapper* _wrapper; -}; - -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 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());} - 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(NULL) {}; - PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = nullptr):QLineEdit(arg__1, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QLineEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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; -}; - - - - - -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(NULL) {}; - - ~PythonQtShell_QListView(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setModel(QAbstractItemModel* model); -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~PythonQtShell_QListWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); -virtual void closeEvent(QCloseEvent* event); -virtual void commitData(QWidget* editor); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); -virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); -virtual int devType() const; -virtual void doItemsLayout(); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* event); -virtual bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action); -virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); -virtual void editorDestroyed(QObject* editor); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual int horizontalOffset() const; -virtual void horizontalScrollbarAction(int action); -virtual void horizontalScrollbarValueChanged(int value); -virtual QModelIndex indexAt(const QPoint& p) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* event); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; -virtual bool isIndexHidden(const QModelIndex& index) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void keyboardSearch(const QString& search); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QMimeData* mimeData(const QList items) const; -virtual QStringList mimeTypes() const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reset(); -virtual void resizeEvent(QResizeEvent* e); -virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); -virtual void rowsInserted(const QModelIndex& parent, int start, int end); -virtual void scrollContentsBy(int dx, int dy); -virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); -virtual void selectAll(); -virtual QList selectedIndexes() const; -virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); -virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const; -virtual void setRootIndex(const QModelIndex& index); -virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); -virtual void setSelectionModel(QItemSelectionModel* selectionModel); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual int sizeHintForColumn(int column) const; -virtual int sizeHintForRow(int row) const; -virtual void startDrag(Qt::DropActions supportedActions); -virtual Qt::DropActions supportedDropActions() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void updateEditorData(); -virtual void updateEditorGeometries(); -virtual void updateGeometries(); -virtual int verticalOffset() const; -virtual void verticalScrollbarAction(int action); -virtual void verticalScrollbarValueChanged(int value); -virtual QStyleOptionViewItem viewOptions() const; -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual QRect visualRect(const QModelIndex& index) const; -virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(icon, text, listview, type),_wrapper(NULL) {}; - PythonQtShell_QListWidgetItem(const QString& text, QListWidget* listview = nullptr, int type = Type):QListWidgetItem(text, listview, type),_wrapper(NULL) {}; - - ~PythonQtShell_QListWidgetItem(); - -virtual QListWidgetItem* clone() const; -virtual QVariant data(int role) const; -virtual bool __lt__(const QListWidgetItem& other) const; -virtual void read(QDataStream& in); -virtual void setBackgroundColor(const QColor& color); -virtual void setData(int role, const QVariant& value); -virtual void write(QDataStream& out) const; - - 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(NULL) {}; - - ~PythonQtShell_QMainWindow(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual QMenu* createPopupMenu(); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 PythonQtShell_QMargins : public QMargins -{ -public: - PythonQtShell_QMargins():QMargins(),_wrapper(NULL) {}; - - ~PythonQtShell_QMargins(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMargins : public QObject -{ Q_OBJECT -public: -public slots: -QMargins* new_QMargins(); -QMargins* new_QMargins(const QMargins& other) { -PythonQtShell_QMargins* a = new PythonQtShell_QMargins(); -*((QMargins*)a) = other; -return a; } -void delete_QMargins(QMargins* obj) { delete obj; } - 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); - void readFrom(QMargins* theWrappedObject, QDataStream& arg__1); - QString py_toString(QMargins*); -}; - - - - - -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, 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 PythonQtShell_QMdiArea : public QMdiArea -{ -public: - PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMdiArea(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* arg__1); -virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); -virtual void dragMoveEvent(QDragMoveEvent* arg__1); -virtual void dropEvent(QDropEvent* arg__1); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual bool viewportEvent(QEvent* event); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent); - 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 timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent); - 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(NULL) {}; - - ~PythonQtShell_QMdiSubWindow(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* changeEvent); -virtual void childEvent(QChildEvent* childEvent); -virtual void closeEvent(QCloseEvent* closeEvent); -virtual void contextMenuEvent(QContextMenuEvent* contextMenuEvent); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* object, QEvent* event); -virtual void focusInEvent(QFocusEvent* focusInEvent); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* focusOutEvent); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* hideEvent); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* keyEvent); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* leaveEvent); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* mouseEvent); -virtual void mouseMoveEvent(QMouseEvent* mouseEvent); -virtual void mousePressEvent(QMouseEvent* mouseEvent); -virtual void mouseReleaseEvent(QMouseEvent* mouseEvent); -virtual void moveEvent(QMoveEvent* moveEvent); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* paintEvent); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* resizeEvent); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* showEvent); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* timerEvent); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent); - 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 eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* 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 timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent); - 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(NULL) {}; - PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMenu(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* arg__1); -virtual bool event(QEvent* arg__1); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* arg__1); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* arg__1); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1); - 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(NULL) {}; - - ~PythonQtShell_QMenuBar(); - -virtual void actionEvent(QActionEvent* arg__1); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* arg__1); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* arg__1); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* arg__1); -virtual void mouseReleaseEvent(QMouseEvent* arg__1); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* arg__1); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2); - 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 timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1); - 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; - } - -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp deleted file mode 100644 index b38b278e..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ /dev/null @@ -1,8519 +0,0 @@ -#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 - -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] = {NULL}; - 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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 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] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - 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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (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::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] = {NULL, (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); } -} -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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QMouseEventTransition::event(e0); -} -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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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); -} -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); } -} -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); } -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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(); -} -QOffscreenSurface* PythonQtWrapper_QOffscreenSurface::new_QOffscreenSurface() -{ -return new PythonQtShell_QOffscreenSurface(); } - -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()); -} - -QSurfaceFormat PythonQtWrapper_QOffscreenSurface::format(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -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()); -} - -void PythonQtWrapper_QOffscreenSurface::setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QOffscreenSurface::setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle) -{ - ( theWrappedObject->setNativeHandle(handle)); -} - -QSize PythonQtWrapper_QOffscreenSurface::size(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QSurface::SurfaceType PythonQtWrapper_QOffscreenSurface::surfaceType(QOffscreenSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceType()); -} - - - -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); } -} -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()); -} - -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::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - 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] = {NULL, (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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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()); -} - - - -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); } -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLShaderProgram::link(); -} -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)); -} - - - -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; -} - - - -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)); -} - - - -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()); -} - - - -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()); -} - -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; -} - - - -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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLWidget::event(e0); -} -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] = {NULL, (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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL}; - 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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - 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] = {NULL, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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::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] = {NULL, (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::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWindow::initializeGL(); -} -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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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::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] = {NULL, (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] = {NULL}; - 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] = {NULL}; - 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] = {NULL}; - 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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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); -} -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()); -} - -int PythonQtWrapper_QOpenGLWindow::metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_metric(metric)); -} - -void PythonQtWrapper_QOpenGLWindow::paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintEvent(event)); -} - -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()); -} - -QPaintDevice* PythonQtWrapper_QOpenGLWindow::redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const -{ - return ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_redirected(arg__1)); -} - -void PythonQtWrapper_QOpenGLWindow::resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeEvent(event)); -} - -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()); -} - - - -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] = {NULL}; - 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] = {NULL, (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] = {NULL, (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::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] = {NULL, (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] = {NULL, (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); -} -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - 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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - 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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - 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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (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::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] = {NULL, (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()); -} - - - -PythonQtShell_QPagedPaintDevice::~PythonQtShell_QPagedPaintDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPagedPaintDevice::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::devType(); -} -void PythonQtShell_QPagedPaintDevice::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] = {NULL, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::initPainter(painter0); -} -int PythonQtShell_QPagedPaintDevice::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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::metric(metric0); -} -bool PythonQtShell_QPagedPaintDevice::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return bool(); -} -QPaintEngine* PythonQtShell_QPagedPaintDevice::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -QPaintDevice* PythonQtShell_QPagedPaintDevice::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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::redirected(offset0); -} -void PythonQtShell_QPagedPaintDevice::setMargins(const QPagedPaintDevice::Margins& margins0) -{ -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] = {NULL, (void*)&margins0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::setMargins(margins0); -} -void PythonQtShell_QPagedPaintDevice::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] = {NULL, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::setPageSize(size0); -} -void PythonQtShell_QPagedPaintDevice::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] = {NULL, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPagedPaintDevice::setPageSizeMM(size0); -} -QPainter* PythonQtShell_QPagedPaintDevice::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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPagedPaintDevice::sharedPainter(); -} -QPagedPaintDevice* PythonQtWrapper_QPagedPaintDevice::new_QPagedPaintDevice() -{ -return new PythonQtShell_QPagedPaintDevice(); } - -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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()); -} - - - -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] = {NULL, (void*)&pdev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL, (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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((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] = {NULL, (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()); -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.h deleted file mode 100644 index 2d348469..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui5.h +++ /dev/null @@ -1,1802 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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_QMessageBox : public QMessageBox -{ -public: - PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(NULL) {}; - PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMessageBox(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(NULL) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(NULL) {}; - - ~PythonQtShell_QMouseEvent(); - - - 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(NULL) {}; - PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(NULL) {}; - - ~PythonQtShell_QMouseEventTransition(); - -virtual bool event(QEvent* e); -virtual bool eventTest(QEvent* event); -virtual void onTransition(QEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QMoveEvent(); - - - 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(NULL) {}; - PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(NULL) {}; - PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QMovie(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(NULL) {}; - - ~PythonQtShell_QNativeGestureEvent(); - - - 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():QOffscreenSurface(),_wrapper(NULL) {}; - - ~PythonQtShell_QOffscreenSurface(); - -virtual QSurfaceFormat format() const; -virtual QSize size() const; -virtual QSurface::SurfaceType surfaceType() const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(); -void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } - void create(QOffscreenSurface* theWrappedObject); - void destroy(QOffscreenSurface* theWrappedObject); - QSurfaceFormat format(QOffscreenSurface* theWrappedObject) const; - 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; - void setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format); - void setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle); - QSize size(QOffscreenSurface* theWrappedObject) const; - QSize py_q_size(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_size());} - QSurface::SurfaceType surfaceType(QOffscreenSurface* theWrappedObject) const; - 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(NULL) {}; - - ~PythonQtShell_QOpenGLContext(); - - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(); - void setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format); - void setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle); - 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 = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(NULL) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLFramebufferObject(); - - - 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 = GL_TEXTURE_2D); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format); -void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } - void 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 = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); - void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); - 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(NULL) {}; - PythonQtShell_QOpenGLPaintDevice(const QSize& size):QOpenGLPaintDevice(size),_wrapper(NULL) {}; - PythonQtShell_QOpenGLPaintDevice(int width, int height):QOpenGLPaintDevice(width, height),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLPaintDevice(); - -virtual int devType() const; -virtual void ensureActiveTarget(); -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - 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 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: -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(NULL) {}; - - ~PythonQtShell_QOpenGLShaderProgram(); - -virtual bool link(); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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: -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: -void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } - void bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target = GL_TEXTURE_2D); - void blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin); - bool create(QOpenGLTextureBlitter* theWrappedObject); - 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 PythonQtWrapper_QOpenGLTimeMonitor : public QObject -{ Q_OBJECT -public: -public slots: -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 PythonQtWrapper_QOpenGLTimerQuery : public QObject -{ Q_OBJECT -public: -public slots: -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; - 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(); } -}; - - - - - -class PythonQtWrapper_QOpenGLVertexArrayObject : public QObject -{ Q_OBJECT -public: -public slots: -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(NULL) {}; - - ~PythonQtShell_QOpenGLWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void initializeGL(); -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual void paintGL(); -virtual QPaintDevice* redirected(QPoint* p) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void resizeGL(int w, int h); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(updateBehavior, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QOpenGLWindow(); - -virtual void initializeGL(); -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual void paintEvent(QPaintEvent* event); -virtual void paintGL(); -virtual void paintOverGL(); -virtual void paintUnderGL(); -virtual QPaintDevice* redirected(QPoint* arg__1) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void resizeGL(int w, int h); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int py_q_metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_metric(metric));} - void paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event); - 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* redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const; - QPaintDevice* py_q_redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_redirected(arg__1));} - void resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event); - 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 PythonQtShell_QPageSetupDialog : public QPageSetupDialog -{ -public: - PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(NULL) {}; - PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPageSetupDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 PythonQtShell_QPagedPaintDevice : public QPagedPaintDevice -{ -public: - PythonQtShell_QPagedPaintDevice():QPagedPaintDevice(),_wrapper(NULL) {}; - - ~PythonQtShell_QPagedPaintDevice(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& margins); -virtual void setPageSize(QPagedPaintDevice::PageSize size); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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: -QPagedPaintDevice* new_QPagedPaintDevice(); -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(NULL) {}; - - ~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(NULL) {}; - - ~PythonQtShell_QPaintDevice(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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 PythonQtShell_QPaintEngine : public QPaintEngine -{ -public: - PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintEngine(); - -virtual bool begin(QPaintDevice* pdev); -virtual QPoint coordinateOffset() const; -virtual void drawEllipse(const QRect& r); -virtual void drawEllipse(const QRectF& r); -virtual void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); -virtual void drawLines(const QLine* lines, int lineCount); -virtual void drawLines(const QLineF* lines, int lineCount); -virtual void drawPath(const QPainterPath& path); -virtual void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr); -virtual void drawPoints(const QPoint* points, int pointCount); -virtual void drawPoints(const QPointF* points, int pointCount); -virtual void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); -virtual void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); -virtual void drawRects(const QRect* rects, int rectCount); -virtual void drawRects(const QRectF* rects, int rectCount); -virtual void drawTextItem(const QPointF& p, const QTextItem& textItem); -virtual void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s); -virtual bool end(); -virtual QPaintEngine::Type type() const; -virtual void updateState(const QPaintEngineState& state); - - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~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(NULL) {}; - PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(NULL) {}; - - ~PythonQtShell_QPaintEvent(); - - - 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; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h deleted file mode 100644 index 6f84be59..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui/com_trolltech_qt_gui6.h +++ /dev/null @@ -1,2216 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#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_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: -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, 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, 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, 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(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, qreal x, qreal y, qreal w, qreal h); - void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode); - void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); - void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); - void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); - void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); - void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); - void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); - QPainterPath __mul__(QPainterPath* theWrappedObject, const QMatrix& m); - QPainterPath __mul__(QPainterPath* theWrappedObject, const QTransform& m); - void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); - void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); - void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); - void translate(QPainterPath* theWrappedObject, const QPointF& offset); - QPainterPath translated(QPainterPath* theWrappedObject, const QPointF& offset) const; - QString py_toString(QPainterPath*); -}; - - - - - -class PythonQtWrapper_QPainterPathStroker : public QObject -{ Q_OBJECT -public: -public slots: -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(NULL) {}; - - ~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(NULL) {}; - - ~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 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(NULL) {}; - PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(NULL) {}; - - ~PythonQtShell_QPdfWriter(); - -virtual int metric(QPaintDevice::PaintDeviceMetric id) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual void setMargins(const QPagedPaintDevice::Margins& m); -virtual void setPageSize(QPagedPaintDevice::PageSize size); -virtual void setPageSizeMM(const QSizeF& size); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const; - int py_q_metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_metric(id));} - bool newPage(QPdfWriter* theWrappedObject); - bool py_q_newPage(QPdfWriter* theWrappedObject){ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_newPage());} - QPaintEngine* paintEngine(QPdfWriter* theWrappedObject) const; - 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 setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m); - void py_q_setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setMargins(m));} - void setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size); - void py_q_setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSize(size));} - void setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& 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_QPictureFormatPlugin : public QPictureFormatPlugin -{ -public: - PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPictureFormatPlugin(); - -virtual bool installIOHandler(const QString& format); -virtual bool loadPicture(const QString& format, const QString& filename, QPicture* pic); -virtual bool savePicture(const QString& format, const QString& filename, const QPicture& pic); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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: -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 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 PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout -{ -public: - PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(NULL) {}; - - ~PythonQtShell_QPlainTextDocumentLayout(); - -virtual QRectF blockBoundingRect(const QTextBlock& block) const; -virtual void documentChanged(int from, int arg__2, int charsAdded); -virtual QSizeF documentSize() const; -virtual void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2); -virtual void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format); -virtual QRectF frameBoundingRect(QTextFrame* arg__1) const; -virtual int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const; -virtual int pageCount() const; -virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); -virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPlainTextEdit(); - -virtual void actionEvent(QActionEvent* event); -virtual bool canInsertFromMimeData(const QMimeData* source) const; -virtual void changeEvent(QEvent* e); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* e); -virtual QMimeData* createMimeDataFromSelection() const; -virtual int devType() const; -virtual void doSetTextCursor(const QTextCursor& cursor); -virtual void dragEnterEvent(QDragEnterEvent* e); -virtual void dragLeaveEvent(QDragLeaveEvent* e); -virtual void dragMoveEvent(QDragMoveEvent* e); -virtual void dropEvent(QDropEvent* e); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; -virtual void insertFromMimeData(const QMimeData* source); -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual QVariant loadResource(int type, const QUrl& name); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* e); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* e); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* e); -virtual void scrollContentsBy(int dx, int dy); -virtual void setVisible(bool visible); -virtual void setupViewport(QWidget* viewport); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual bool viewportEvent(QEvent* arg__1); -virtual QSize viewportSizeHint() const; -virtual void wheelEvent(QWheelEvent* e); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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 timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e); - 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(NULL) {}; - - ~PythonQtShell_QPlatformSurfaceEvent(); - - - 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; -}; - - - - - -class PythonQtShell_QPrintDialog : public QPrintDialog -{ -public: - PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(NULL) {}; - PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - - ~PythonQtShell_QPrintEngine(); - -virtual bool abort(); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual bool newPage(); -virtual QPrinter::PrinterState printerState() const; -virtual QVariant property(QPrintEngine::PrintEnginePropertyKey key) const; -virtual void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); - - 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(NULL) {}; - PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintPreviewDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* arg__1); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int result); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* arg__1); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* arg__1); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QPrintPreviewWidget(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode = QPrinter::ScreenResolution):QPrinter(printer, mode),_wrapper(NULL) {}; - - ~PythonQtShell_QPrinter(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual bool newPage(); -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void setMargins(const QPagedPaintDevice::Margins& m); -virtual void setPageSize(QPagedPaintDevice::PageSize arg__1); -virtual void setPageSizeMM(const QSizeF& size); -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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; - bool __nonzero__(QPrinterInfo* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QProgressBar : public QProgressBar -{ -public: - PythonQtShell_QProgressBar(QWidget* parent = nullptr):QProgressBar(parent),_wrapper(NULL) {}; - - ~PythonQtShell_QProgressBar(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* arg__1); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* event); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual QString text() const; -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags),_wrapper(NULL) {}; - - ~PythonQtShell_QProgressDialog(); - -virtual void accept(); -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* event); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* arg__1); -virtual int devType() const; -virtual void done(int arg__1); -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* event); -virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); -virtual int exec(); -virtual void focusInEvent(QFocusEvent* event); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* event); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* event); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* event); -virtual void mousePressEvent(QMouseEvent* event); -virtual void mouseReleaseEvent(QMouseEvent* event); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* event); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void reject(); -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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(NULL) {}; - PythonQtShell_QProxyStyle(const QString& key):QProxyStyle(key),_wrapper(NULL) {}; - - ~PythonQtShell_QProxyStyle(); - -virtual void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual void drawControl(QStyle::ControlElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual void drawItemPixmap(QPainter* painter, const QRect& rect, int alignment, const QPixmap& pixmap) const; -virtual void drawItemText(QPainter* painter, const QRect& rect, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole) const; -virtual void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget = nullptr) const; -virtual bool event(QEvent* e); -virtual QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const; -virtual QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex* option, const QPoint& pos, const QWidget* widget = nullptr) const; -virtual QRect itemPixmapRect(const QRect& r, int flags, const QPixmap& pixmap) const; -virtual QRect itemTextRect(const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const; -virtual int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual int pixelMetric(QStyle::PixelMetric metric, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual void polish(QApplication* app); -virtual void polish(QPalette& pal); -virtual void polish(QWidget* widget); -virtual QSize sizeFromContents(QStyle::ContentsType type, const QStyleOption* option, const QSize& size, const QWidget* widget) const; -virtual QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption* option = nullptr, const QWidget* widget = nullptr) const; -virtual QPalette standardPalette() const; -virtual QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption* opt, const QWidget* widget = nullptr) const; -virtual int styleHint(QStyle::StyleHint hint, const QStyleOption* option = nullptr, const QWidget* widget = nullptr, QStyleHintReturn* returnData = nullptr) const; -virtual QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex* opt, QStyle::SubControl sc, const QWidget* widget) const; -virtual QRect subElementRect(QStyle::SubElement element, const QStyleOption* option, const QWidget* widget) const; -virtual void unpolish(QApplication* app); -virtual void unpolish(QWidget* widget); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 event(QProxyStyle* theWrappedObject, QEvent* e); - 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(NULL) {}; - PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = nullptr):QPushButton(icon, text, parent),_wrapper(NULL) {}; - PythonQtShell_QPushButton(const QString& text, QWidget* parent = nullptr):QPushButton(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QPushButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* arg__1); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* arg__1); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& pos) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* arg__1); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* e); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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; - 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& 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(NULL) {}; - PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRadioButton(); - -virtual void actionEvent(QActionEvent* event); -virtual void changeEvent(QEvent* e); -virtual void checkStateSet(); -virtual void closeEvent(QCloseEvent* event); -virtual void contextMenuEvent(QContextMenuEvent* event); -virtual int devType() const; -virtual void dragEnterEvent(QDragEnterEvent* event); -virtual void dragLeaveEvent(QDragLeaveEvent* event); -virtual void dragMoveEvent(QDragMoveEvent* event); -virtual void dropEvent(QDropEvent* event); -virtual void enterEvent(QEvent* event); -virtual bool event(QEvent* e); -virtual void focusInEvent(QFocusEvent* e); -virtual bool focusNextPrevChild(bool next); -virtual void focusOutEvent(QFocusEvent* e); -virtual bool hasHeightForWidth() const; -virtual int heightForWidth(int arg__1) const; -virtual void hideEvent(QHideEvent* event); -virtual bool hitButton(const QPoint& arg__1) const; -virtual void initPainter(QPainter* painter) const; -virtual void inputMethodEvent(QInputMethodEvent* arg__1); -virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; -virtual void keyPressEvent(QKeyEvent* e); -virtual void keyReleaseEvent(QKeyEvent* e); -virtual void leaveEvent(QEvent* event); -virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; -virtual QSize minimumSizeHint() const; -virtual void mouseDoubleClickEvent(QMouseEvent* event); -virtual void mouseMoveEvent(QMouseEvent* arg__1); -virtual void mousePressEvent(QMouseEvent* e); -virtual void mouseReleaseEvent(QMouseEvent* e); -virtual void moveEvent(QMoveEvent* event); -virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); -virtual void nextCheckState(); -virtual QPaintEngine* paintEngine() const; -virtual void paintEvent(QPaintEvent* arg__1); -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual void resizeEvent(QResizeEvent* event); -virtual void setVisible(bool visible); -virtual QPainter* sharedPainter() const; -virtual void showEvent(QShowEvent* event); -virtual QSize sizeHint() const; -virtual void tabletEvent(QTabletEvent* event); -virtual void timerEvent(QTimerEvent* e); -virtual void wheelEvent(QWheelEvent* event); - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~PythonQtShell_QRasterWindow(); - -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintDevice* redirected(QPoint* arg__1) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - 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 metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} - QPaintDevice* redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const; - QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} -}; - - - - - -class PythonQtShell_QRegExpValidator : public QRegExpValidator -{ -public: - PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(NULL) {}; - PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRegExpValidator(); - -virtual void fixup(QString& arg__1) const; -virtual QValidator::State validate(QString& input, int& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(NULL) {}; - - ~PythonQtShell_QRegularExpressionValidator(); - -virtual void fixup(QString& arg__1) const; -virtual QValidator::State validate(QString& input, int& pos) const; - - const QMetaObject* metaObject() const; - int qt_metacall(QMetaObject::Call call, int id, void** args); - PythonQtInstanceWrapper* _wrapper; -}; - -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(NULL) {}; - - ~PythonQtShell_QResizeEvent(); - - - 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; -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp deleted file mode 100644 index faf50984..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp +++ /dev/null @@ -1,629 +0,0 @@ -#include "com_trolltech_qt_gui_builtin0.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap() -{ -return new QBitmap(); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QBitmap& other) -{ -return new QBitmap(other); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QPixmap& arg__1) -{ -return new QBitmap(arg__1); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QSize& arg__1) -{ -return new QBitmap(arg__1); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(const QString& fileName, const char* format) -{ -return new QBitmap(fileName, format); } - -QBitmap* PythonQtWrapper_QBitmap::new_QBitmap(int w, int h) -{ -return new QBitmap(w, h); } - -QBitmap* PythonQtWrapper_QBitmap::operator_assign(QBitmap* theWrappedObject, const QBitmap& other) -{ - return &( (*theWrappedObject)= other); -} - - - -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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL, (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] = {NULL, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return 0; -} -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] = {NULL, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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] = {NULL}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==NULL) { - PythonQt::priv()->handleVirtualOverloadReturnError("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(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); } - -void PythonQtWrapper_QImage::writeTo(QImage* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -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)); -} - -QColor PythonQtWrapper_QImage::pixelColor(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixelColor(pt)); -} - -int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->pixelIndex(pt)); -} - -void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb) -{ - ( theWrappedObject->setPixel(pt, index_or_rgb)); -} - -void PythonQtWrapper_QImage::setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c) -{ - ( theWrappedObject->setPixelColor(pt, c)); -} - -bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, const QPoint& pt) const -{ - return ( theWrappedObject->valid(pt)); -} - -QString PythonQtWrapper_QImage::py_toString(QImage* 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; -} - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h deleted file mode 100644 index 73320d2d..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h +++ /dev/null @@ -1,214 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -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; } - QBitmap* operator_assign(QBitmap* theWrappedObject, const QBitmap& other); -}; - - - - - -class PythonQtShell_QImage : public QImage -{ -public: - PythonQtShell_QImage(const QImage& arg__1):QImage(arg__1),_wrapper(NULL) {}; - PythonQtShell_QImage(const QSize& size, QImage::Format format):QImage(size, format),_wrapper(NULL) {}; - PythonQtShell_QImage(const QString& fileName, const char* format = nullptr):QImage(fileName, format),_wrapper(NULL) {}; - PythonQtShell_QImage(int width, int height, QImage::Format format):QImage(width, height, format),_wrapper(NULL) {}; - - ~PythonQtShell_QImage(); - -virtual int devType() const; -virtual void initPainter(QPainter* painter) const; -virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; -virtual QPaintEngine* paintEngine() const; -virtual QPaintDevice* redirected(QPoint* offset) const; -virtual QPainter* sharedPainter() const; - - PythonQtInstanceWrapper* _wrapper; -}; - -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(const QImage& arg__1); -QImage* new_QImage(const QSize& size, QImage::Format format); -QImage* new_QImage(const QString& fileName, const char* format = nullptr); -QImage* new_QImage(int width, int height, QImage::Format format); -void delete_QImage(QImage* obj) { delete obj; } - void writeTo(QImage* theWrappedObject, QDataStream& arg__1); - void readFrom(QImage* theWrappedObject, QDataStream& arg__1); - unsigned int pixel(QImage* theWrappedObject, const QPoint& pt) const; - QColor pixelColor(QImage* theWrappedObject, const QPoint& pt) const; - int pixelIndex(QImage* theWrappedObject, const QPoint& pt) const; - void setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb); - void setPixelColor(QImage* theWrappedObject, const QPoint& pt, const QColor& c); - bool valid(QImage* theWrappedObject, const QPoint& pt) const; - QString py_toString(QImage*); - -QImage* new_QImage( const uchar * data, int width, int height, QImage::Format format ) -{ - QImage* image = new QImage(width, height, format); - memcpy(image->bits(), data, image->byteCount()); - return image; -} - -PyObject* bits(QImage* image) { - return PythonQtPrivate::wrapMemoryAsBuffer(image->bits(), image->bytesPerLine()* image->height()); -} - -#if 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_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*); -}; - - diff --git a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp deleted file mode 100644 index cf95ba0b..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include -#include "com_trolltech_qt_gui_builtin0.h" - - -void PythonQt_init_QtGuiBuiltin(PyObject* module) { -PythonQt::priv()->registerCPPClass("QBitmap", "", "QtGui", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QImage", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::self()->addParentClass("QImage", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); - - -} diff --git a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp deleted file mode 100644 index d2983cdb..00000000 --- a/generated_cpp_5.15.3/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include -#include -#include -#include "com_trolltech_qt_network0.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, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QDnsLookup::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -PythonQt::priv()->registerCPPClass("QHstsPolicy", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QHttpMultiPart::staticMetaObject, "QtNetwork", PythonQtCreateObject, NULL, module, 0); -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()->registerClass(&QNetworkConfigurationManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkDiskCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QNetworkSession::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -#ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -#endif -#ifndef QT_NO_SSL -PythonQt::priv()->registerCPPClass("QSslError", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); -#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); - - -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsDomainNameRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsHostAddressRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsMailExchangeRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsServiceRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QDnsTextRecord); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkConfiguration); -PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkCookie); -#ifndef QT_NO_SSL -PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificate); -#endif -#ifndef QT_NO_SSL -PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCipher); -#endif -#ifndef QT_NO_SSL -PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslError); -#endif -PythonQtRegisterListTemplateConverterForKnownClass(QVector, QHstsPolicy); -} diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index d2a25047..35aea33e 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -331,24 +331,31 @@ void PythonQt::cleanup() } } +void PythonQt::preCleanup() +{ + _self->priv()->preCleanup(); +} + PythonQt* PythonQt::self() { return _self; } PythonQt::PythonQt(int flags, const QByteArray& pythonQtModuleName) { -#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 8 && defined(__linux__) +// #if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 8 && defined(__linux__) /* Starting from python 3.8, python C extensions no longer link to libpython3.X.so - This is a problem, since libpython3.X.so is loaded through a reference in libtrikScriptRunner.so + This is a possible problem, since libpython3.X.so is loaded through a reference in libtrikScriptRunner.so and (somehow) ld.so does not place it's symbols into global symbol table. This results into a failure to load any C module. Loading libpython3.X.so with dlopen and RTLD_GLOBAL flag effectively solves this issue. */ // TODO: Someting like PyRun_String("sysconfig.get_config_var('LDLIBRARY')") // should be used to extract shared object name for current interpreter - const auto &libName = QString("libpython3.%1.so.1.0").arg(PY_MINOR_VERSION).toStdString(); - if (NULL == dlopen(libName.c_str(), RTLD_GLOBAL | RTLD_LAZY)) { - qFatal("Failed to load %s", libName.c_str()); - abort(); - } -#endif + +// NOTE 2023-07-07: On Centos7 .so is a link named `libpython3.8.so` and points to `libpython3.8.so.rh-python38-1.0` +// const auto &libName = QString("libpython3.%1.so.1.0").arg(PY_MINOR_VERSION).toStdString(); +// if (NULL == dlopen(libName.c_str(), RTLD_GLOBAL | RTLD_LAZY)) { + //qFatal("Failed to load %s", libName.c_str()); + //abort(); +// } +// #endif _p = new PythonQtPrivate; _p->_initFlags = flags; @@ -1547,6 +1554,15 @@ PythonQtPrivate::PythonQtPrivate() _configAPI = new PythonQtConfigAPI(this); } +void PythonQtPrivate::preCleanup() +{ + _pySourceFileLoader = nullptr; + _pySourcelessFileLoader = nullptr; + _pyEnsureFuture = nullptr; + _pyFutureClass = nullptr; + _pyTaskDoneCallback = nullptr; +} + void PythonQtPrivate::setupSharedLibrarySuffixes() { _sharedLibrarySuffixes.clear(); @@ -1915,7 +1931,11 @@ void PythonQt::initPythonQtModule(bool redirectStdOut, const QByteArray& pythonQ Py_XDECREF(old_module_names); #ifdef PY3K - PyDict_SetItem(PyObject_GetAttrString(sys.object(), "modules"), PyUnicode_FromString(name.constData()), _p->_pythonQtModule.object()); + PyObject* modulesAttr = PyObject_GetAttrString(sys.object(), "modules"); + PyObject* pyUnicodeObject = PyUnicode_FromString(name.constData()); + PyDict_SetItem(modulesAttr, pyUnicodeObject, _p->_pythonQtModule.object()); + Py_XDECREF(modulesAttr); + Py_XDECREF(pyUnicodeObject); #endif } diff --git a/src/PythonQt.h b/src/PythonQt.h index dcce7135..72a2e7f0 100644 --- a/src/PythonQt.h +++ b/src/PythonQt.h @@ -238,6 +238,8 @@ class PYTHONQT_EXPORT PythonQt : public QObject { //! cleanup of the singleton static void cleanup(); + static void preCleanup(); + //! get the singleton instance static PythonQt* self(); @@ -660,6 +662,7 @@ class PYTHONQT_EXPORT PythonQtPrivate : public QObject { public: PythonQtPrivate(); + void preCleanup(); ~PythonQtPrivate() override; enum DecoratorTypes {